X-Git-Url: https://harishankar.org/repos/?p=wordblah.git;a=blobdiff_plain;f=constantstrings.h;h=c8d3b58f67cb7fae6a754a3e1f1505f1cefb67bc;hp=4c1baa2f5fa560d3cd326de4ea26bdba56fb5e2d;hb=d29b37aa1b82dbd3c4baa55396521296f4a88ef4;hpb=3657c15588e4b2607d9225659f66158d92a85262 diff --git a/constantstrings.h b/constantstrings.h index 4c1baa2..c8d3b58 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -2,9 +2,12 @@ #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: " @@ -17,6 +20,7 @@ #define ERROR_READING_FILE "Error reading 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" char *MAIN_MENU[] = {"1. New puzzle", @@ -29,8 +33,9 @@ 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. Save puzzle", + "9. Return to main menu" }; #endif