28 #ifndef GROOVIE_LOGIC_BEEHIVE_H 29 #define GROOVIE_LOGIC_BEEHIVE_H 31 #include "common/system.h" 55 void run(byte *scriptVariables);
58 void sub02(int8 *a1, int8 *a2);
59 void sub04(int8 a1, int8 a2, int8 *scriptVariables);
60 void calcSamanthaMove(int8 *a1, int8 *a2, int8 *a3, int8 *a4, int8 *a5, int8 *a6);
61 void calcStaufMove(int8 *a1, int8 *a2, int8 *a3, int8 *a4, int8 *a5, int8 *a6);
62 int8 sub11(int8 *beehiveState, int8 *a2, int8 *a3, int8 *a4, int8 a5, int8 a6, int8 *a7);
63 int8 sub12(int8 *beehiveState, int8 a2, int8 a3, int8 a4);
64 int8 sub13(int8 *beehiveState, int8 a2, int8 a3);
65 void sub15(int8 *beehiveState, int8 a2, int8 *a3);
66 void sub16(int8 a1, int8 a2, int8 *a3, int8 *a4, int8 *a5);
67 void sub17(int8 *beehiveState, int8 a2, int8 *a3, int8 *a4, int8 *a5);
68 void selectSourceHexagon(int8 a1, int8 *a2, int8 *a3);
69 int8 sub19(int8 a1, int8 a2);
70 int8 getHexDifference();
71 int8 getTotal(int8 *hexagons);
72 int8 calcMove(int8 *beehiveState, int8 a2, int8 a3, int8 depth,
int a5, int8 *a6);
73 int8 findCell(int8 *beehiveState, int8 *pos, int8 key);
76 void overrideClick(byte *vars);
77 void overrideMove(byte *vars);
80 int8 _beehiveState[HEXCOUNT];
90 #endif // GROOVIE_LOGIC_BEEHIVE_H