00001 #ifndef DEFINITION_H 00002 #define DEFINITION_H 00003 00004 00005 struct Coord 00006 { 00007 int x; 00008 int y; 00009 int z; 00010 bool side; 00011 }; 00012 00013 struct Pieces 00014 { 00015 Coord player1[15]; 00016 Coord player2[15]; 00017 }; 00018 00019 struct Population 00020 { 00021 //positive = player 1 00022 //negative = player 2 00023 //zero = no pieces 00024 int total; 00025 }; 00026 00027 struct Marker 00028 { 00029 int x_current; 00030 int y_current; 00031 bool visible_current; 00032 00033 int x_next[4]; 00034 int y_next[4]; 00035 bool visible_next[4]; 00036 }; 00037 00038 struct LoadSave 00039 { 00040 Population pop[28]; 00041 }; 00042 00043 struct Possiblilites 00044 { 00045 int weight[4]; 00046 int to[4]; 00047 }; 00048 00049 struct AISettings 00050 { 00051 int rescue; 00052 int eliminate; 00053 int expose; 00054 int protect; 00055 int safe; 00056 int empty; 00057 }; 00058 00059 struct Rules 00060 { 00061 bool move_with_pieces_out; 00062 bool generous_dice; 00063 }; 00064 00065 00066 struct Display 00067 { 00068 bool small; 00069 bool warning; 00070 }; 00071 00072 00073 00074 #endif //DEFINITION_H
1.4.2