Completed the clues across and down functionality
[wordblah.git] / constantstrings.h
1 #ifndef __CONSTANTSTRINGS_H
2 #define __CONSTANTSTRINGS_H
3
4 #define FROZEN_GRID "Grid is frozen. Unfreeze grid first!"
5 #define UNFROZEN_GRID "Grid is unfrozen. Freeze grid first!"
6 #define EXCEED_GRID_SIZE "Row/col exceeded grid size!"
7 #define INPUT_ROW "Enter the row: "
8 #define INPUT_COL "Enter the col: "
9 #define INPUT_INDEX "Enter the word index: "
10 #define INPUT_CLUE "Enter the clue: "
11 #define WORD_TOO_LONG "Word too long"
12 #define INPUT_WORD "Enter the word: "
13 #define INPUT_FILE "Enter the file name: "
14 #define PUZZLE_MENU_TITLE "Edit Puzzle"
15 #define MAIN_MENU_TITLE "Main Menu"
16 #define INPUT_GRID_SIZE "Number of rows/columns: "
17 #define INPUT_CHOICE "Your Choice: "
18 #define EXCEED_MAX_GRID_SIZE "Exceeds max puzzle size"
19 #define ERROR_WRITING_FILE "Error writing file"
20 #define ERROR_READING_FILE "Error reading file"
21 #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!"
22 #define FILE_SAVED "File saved successfully"
23 #define NO_WORD_INDEX "No such word with specified index"
24 #define INPUT_CONFIRM_EXIT "Are you sure you wish to exit? \
25 Unsaved changes will be lost [y/N]"
26
27 char *MAIN_MENU[] =
28 {"1. New puzzle",
29 "2. Open existing puzzle",
30 "3. Exit"};
31
32 char *PUZZLE_EDIT_MENU[] =
33 { "1. Display grid",
34 "2. Add word across",
35 "3. Add word down",
36 "4. Clear Cell",
37 "5. Freeze grid",
38 "6. Unfreeze grid",
39 "7. Set Clue - Across Word",
40 "8. Set Clue - Down Word",
41 "9. Save puzzle",
42 "10.Return to main menu" };
43
44 #endif