Implemented GZIP functionality for the data file
[wordblah.git] / constantstrings.h
index 4c1baa2..6b8a0bb 100644 (file)
@@ -2,21 +2,41 @@
 #define __CONSTANTSTRINGS_H
 
 #define FROZEN_GRID "Grid is frozen. Unfreeze grid first!"
+#define UNFROZEN_GRID "Grid is unfrozen. Freeze grid first!"
 #define EXCEED_GRID_SIZE "Row/col exceeded grid size!"
 #define INPUT_ROW "Enter the row: "
 #define INPUT_COL "Enter the col: "
+#define INPUT_INDEX "Enter the word index: "
+#define INPUT_CLUE "Enter the clue: "
 #define WORD_TOO_LONG "Word too long"
 #define INPUT_WORD "Enter the word: "
 #define INPUT_FILE "Enter the file name: "
 #define PUZZLE_MENU_TITLE "Edit Puzzle"
 #define MAIN_MENU_TITLE "Main Menu"
 #define INPUT_GRID_SIZE "Number of rows/columns: "
+#define INPUT_PASSWORD "Enter the password: "
+#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 ERROR_READING_FILE "Error reading file"
+#define COMPRESSED " (compressed)"
 #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!"
 #define FILE_SAVED "File saved successfully"
+#define PASSWORD_SET "Password set successfully"
+#define PASSWORD_RESET "Password reset successfully. Puzzle is no longer \
+password protected!"
+#define WRONG_PASSWORD "Wrong password!"
+#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 INPUT_CONFIRM_RESET "Are you sure? This will destroy the entire grid\
+and is irreversible (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",
@@ -29,8 +49,14 @@ char *PUZZLE_EDIT_MENU[] =
                                        "3. Add word down", 
                                        "4. Clear Cell", 
                                        "5. Freeze grid", 
-                                       "6. Unfreeze grid", 
-                                       "7. Save puzzle",
-                                       "8. Return to main" };
+                                       "6. Unfreeze grid",
+                                       "7. Set Clue - Across Word",
+                                       "8. Set Clue - Down Word",
+                                       "9. Save puzzle",
+                                       "10.Set puzzle password",
+                                       "11.Reset entire grid",
+                                       "12.Export puzzle as PNG image",
+                                       "13.Export clues to text file",
+                                       "14.Return to main menu" };
 
 #endif