First commit
[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 EXCEED_GRID_SIZE "Row/col exceeded grid size!"
6 #define INPUT_ROW "Enter the row: "
7 #define INPUT_COL "Enter the col: "
8 #define WORD_TOO_LONG "Word too long"
9 #define INPUT_WORD "Enter the word: "
10 #define INPUT_FILE "Enter the file name: "
11 #define PUZZLE_MENU_TITLE "Edit Puzzle"
12 #define MAIN_MENU_TITLE "Main Menu"
13 #define INPUT_GRID_SIZE "Number of rows/columns: "
14 #define INPUT_CHOICE "Your Choice: "
15 #define EXCEED_MAX_GRID_SIZE "Exceeds max puzzle size"
16 #define ERROR_WRITING_FILE "Error writing file"
17 #define ERROR_READING_FILE "Error reading file"
18 #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!"
19 #define FILE_SAVED "File saved successfully"
20
21 char *MAIN_MENU[] =
22 {"1. New puzzle",
23 "2. Open existing puzzle",
24 "3. Exit"};
25
26 char *PUZZLE_EDIT_MENU[] =
27 { "1. Display grid",
28 "2. Add word across",
29 "3. Add word down",
30 "4. Clear Cell",
31 "5. Freeze grid",
32 "6. Unfreeze grid",
33 "7. Save puzzle",
34 "8. Return to main" };
35
36 #endif