-
Notifications
You must be signed in to change notification settings - Fork 1
/
DEFS.h
40 lines (30 loc) · 1.07 KB
/
DEFS.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef DEFS_H
#define DEFS_H
#include "CMUgraphicsLib\CMUgraphics.h"
// This file contains some global constants and definitions to be used in the project.
enum ActionType // The actions supported (add more as needed)
{
// [1] Actions of Design Mode
ADD_LADDER, // Add Ladder Action
ADD_SNAKE, // Add Snake Action
ADD_CARD, // Add Card Action
COPY_CARD, // Copy Card Action /**/
CUT_CARD, // Cut Card Action /**/
PASTE_CARD, // Paste card Action /**/
DELETE_GAME_OBJECT, //Delete game object Action /**/
SAVE_GRID, // Save Grid Action /**/
OPEN_GRID, // Open Grid Action /**/
TO_PLAY_MODE, // Go to Play Mode
EXIT, // Exit Application
// [2] Actions of Play Mode
ROLL_DICE, // Roll Dice Action
INPUT_DICE_VALUE, //Input Dice Value Action /**/
NEW_GAME, // New Game Action /**/
TO_DESIGN_MODE, // Go to Design Mode
// [3] Others
EMPTY, // Empty Area in ToolBar (NOT inside any action icon)
GRID_AREA, // Inside Grid Area
STATUS // Inside StatusBar Area
};
enum ObjectType { Ladders, Snakes, Cards };
#endif