* Massachusetts.
*
* Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,
- * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ * 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
*
* The following terms apply to Digital Equipment Corporation's copyright
* interest in XBoard:
#include "frontend.h"
#include "backend.h"
-#include "xhistory.h"
#include "menus.h"
#include "gettext.h"
}
void
-LoadPositionProc()
+LoadPositionProc()
{
if (gameMode == AnalyzeMode || gameMode == AnalyzeFile) {
Reset(FALSE, TRUE);
#else
char *zippy = "";
#endif
- snprintf(buf, sizeof(buf),
+ snprintf(buf, sizeof(buf),
_("%s%s\n\n"
"Copyright 1991 Digital Equipment Corporation\n"
-"Enhancements Copyright 1992-2012 Free Software Foundation\n"
+"Enhancements Copyright 1992-2013 Free Software Foundation\n"
"Enhancements Copyright 2005 Alessandro Scotti\n\n"
"%s is free software and carries NO WARRANTY;"
-"see the file COPYING for more information.\n\n"
+"see the file COPYING for more information.\n"
+"The GTK build of this version is experimental and unstable\n\n"
"Visit XBoard on the web at: http://www.gnu.org/software/xboard/\n"
"Check out the newest features at: http://www.gnu.org/software/xboard/whats_new.html\n\n"
"Report bugs via email at: <bug-xboard@gnu.org>\n\n"
MARK_MENU_ITEM("Options.HideThinking", appData.hideThinkingFromHuman);
}
+void
+CreateBookDelayed ()
+{
+ ScheduleDelayedEvent(CreateBookEvent, 50);
+}
+
/*
* Menu definition tables
*/
// {N_("Reload Same Position"), "Reload Same Position", ReloadPositionProc},
{N_("Save Game Ctrl+S"), "SaveGame", SaveGameProc},
{N_("Save Position Ctrl+Shift+S"), "SavePosition", SavePositionProc},
+ {N_("Save Games as Book"), "CreateBook", CreateBookDelayed},
{"----", NULL, NothingProc},
{N_("Mail Move"), "MailMove", MailMoveEvent},
{N_("Reload CMail Message"), "ReloadCMailMessage", ReloadCmailMsgProc},
{ "Mode.AnalyzeFile", False },
{ "Mode.TwoMachines", False },
{ "Mode.MachineMatch", False },
-#ifndef ZIPPY
+#if !ZIPPY
{ "Engine.Hint", False },
{ "Engine.Book", False },
{ "Engine.MoveNow", False },
MarkMenuItem("Options.SaveSettingsonExit", True);
}
}
-
-