#define PUZZLE_MENU_TITLE "Edit Puzzle"
#define MAIN_MENU_TITLE "Main Menu"
#define INPUT_GRID_SIZE "Number of rows/columns: "
+#define INPUT_EXPORT_ANSWERS "Export as solution (y/N): "
#define INPUT_CHOICE "Your Choice: "
#define EXCEED_MAX_GRID_SIZE "Exceeds max puzzle size"
#define ERROR_WRITING_FILE "Error writing file"
#define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!"
#define FILE_SAVED "File saved successfully"
#define NO_WORD_INDEX "No such word with specified index"
+#define INPUT_CONFIRM_EXIT "Are you sure you wish to exit? \
+Unsaved changes will be lost [y/N]"
+
+#define USAGE_LINE_1 "Usage: %s [<filename> [new <nn>]]\n"
+#define USAGE_LINE_2 "<filename> - puzzle file name\n"
+#define USAGE_LINE_3 "new <nn> - create new puzzle with <nn> grid \
+columns (warning: existing file name may be overwritten)\n"
char *MAIN_MENU[] =
{"1. New puzzle",
"5. Freeze grid",
"6. Unfreeze grid",
"7. Set Clue - Across Word",
- "8. Save puzzle",
- "9. Return to main menu" };
+ "8. Set Clue - Down Word",
+ "9. Save puzzle",
+ "10.Export puzzle as PNG image",
+ "11.Return to main menu" };
#endif