1 /* States the game are running through */
2 
3 #define FIRST_STATE		 0  /* Nothing done                          */
4 #define INIT_PLAYER      	 1  /* Some initializition of player         */
5 #define INIT_MAPWIN	  	 2  /* Initialize the map-window             */
6 #define INIT_CARDWIN      	 3  /* Initialize the card-window            */
7 #define INIT_INFOWIN    	 4  /* Initialize the info-window            */
8 #define PRESS_BUTTON      	 5  /* Let player choose color               */
9 #define GET_NAME          	 6  /* Let player choose name                */
10 #define CHECK_NAME          	 7  /* Check given name and export it        */
11 #define WAIT_FOR_ALL_0      	 8  /* Wait until everybode is here          */
12 #define INIT_PL_STAT	   	 9  /* Initialize statistics                 */
13 #define SET_UP_CARDWIN    	10  /* Set up the card-window                */
14 #define SET_UP_MAPWIN    	11  /* Set up the map-window                 */
15 #define INIT_ARMIES      	12  /* Start getting first armies            */
16 #define I_A_WHERE		13  /* Where to place them                   */
17 #define I_A_STRENG		14  /* Number to place there (Write in)      */
18 #define I_A_NUMBER		15  /* How many did the player want          */
19 #define I_A_PLACE		16  /* Place those armies                    */
20 #define WAIT_FOR_ALL_1		17  /* Wait for all to get here              */
21 #define WAIT_FOR_TURN    	18  /* Wait for your turn                    */
22 #define START_TURN              19  /* How many armies to start with etc.    */
23 #define P_A_WHERE               20  /* Where to place some of those armies   */
24 #define P_A_STRENG              21  /* How many to place ther (Write in)     */
25 #define P_A_NUMBER              22  /* How many did the player want          */
26 #define P_A_PLACE	     	23  /* Place the armies there                */
27 #define FIND_A_COUNTRY    	24  /* Find country to attack from           */
28 #define ATTACK_LAND      	25  /* Attack that country                   */
29 #define A_STRENG                26  /* How many to move over to conquered .. */
30 #define A_NUMBER                27  /* How many did the player want to move  */
31 #define A_PLACE                 28  /* Move the armes                        */
32 #define FREE_MOVE_INIT          29  /* Initializion of free moves            */
33 #define FREE_MOVE_FROM   	30  /* Where to move from                    */
34 #define FREE_MOVE_TO     	31  /* Where to move to (target)             */
35 #define F_M_STRENG              32  /* Number of armies to move (Write in)   */
36 #define F_M_NUMBER              33  /* How many did he want to move          */
37 #define F_M_PLACE               34  /* Move the armies                       */
38 #define END_TURN                35  /* End of this turn                      */
39 #define END_GAME                36  /* End of this game                      */
40 #define CLOSE_GAME       	37  /* Close down this game                  */
41 #define DUMMY_FUNC       	38  /* Never used anyway                     */
42 #define NUM_STATES              39  /* Number of states accsessible          */
43 
44 #define MENU_EXIT        0   /* Index of suecide-button                      */
45 #define MENU_DO_DIE      1   /* Index of do-or-die button                    */
46 #define MENU_ATT_FORCE   2   /* Index of attacking-forces button             */
47 #define MENU_MISSION     3   /* Index of mission-button                      */
48 #define MENU_REFRESH     4   /* Index of refresh-button                      */
49 #define MENU_WRITE       5   /* Index of write-message-to-all-players button */
50 #define MENU_NUMB        6   /* Number of menu-buttons                       */
51 
52 #define SCROLL_WIN       0   /* Index of scroll-window                       */
53 #define CARD_WIN         1   /* Index of cards-window                        */
54 #define INFO_WIN         2   /* Index of information-window                  */
55 #define WINDOW_ACTIONS   3   /* Number of other windows with event-handling  */
56 
57 #define CONTROL_WAIT_FOR_ALL_0	0 /* Used with WAIT_FOR_ALL_0                */
58 #define CONTROL_WAIT_FOR_ALL_1	1 /* Used with WAIT_FOR_ALL_1                */
59 #define CONTROL_WAIT_FOR_TURN	2 /* Used with WAIT_FOR_TURN                 */
60 #define CONTROL_WAIT_ALL_QUIT_1 3 /* Used at end of game                     */
61 #define CONTROL_WAIT_ALL_QUIT_2 4 /* Used at end of game                     */
62 #define CONTROL_END_GAME        5 /* Used at end of game                     */
63 #define CONTROL_STATES          6 /* Number of control_states                */
64 
65 #define RISK_CURSOR  0      /* Index of the standard risk-cursor     */
66 #define RISK_ATTACK  1      /* Cursor used upon attacks              */
67 #define RISK_DIE     2      /* Cursor to indicate button for suecide */
68 #define RISK_WAIT    3      /* Wait-state                            */
69 #define RISK_PRESS   4      /* Press button                          */
70 #define RISK_WRITE   5      /* Write something                       */
71 #define RISK_MOVE    6      /* Move your armies                      */
72 #define RISK_PLACE   7      /* Place your armies                     */
73 #define NUMB_CURSORS 8      /* Number of cursors                     */
74