28 #ifndef GROOVIE_LOGIC_WINERACK_H 29 #define GROOVIE_LOGIC_WINERACK_H 31 #include "common/random.h" 32 #include "common/system.h" 44 void run(byte *scriptVariables);
47 void initGrid(byte difficulty);
48 void placeBottle(byte pos, byte val);
49 int8 calculateNextMove(byte op);
51 void sub05(int8 player, int8 *moves);
52 int8 sub06(int8 *moves1, int8 *moves2);
53 uint32 didPlayerWin();
54 void sub10(int8 endPos, int8 pos,
int unused,
int player,
int *val);
55 void sub11(int8 pos, int8 *candidates);
57 void sub13(int8 cell, int8 player, int8 *moves1, int8 *moves2);
58 void sub15(int8 cell, int8 *candidates);
59 void sub16(int8 cell, int8 *candidates);
60 int8 countEmtpy(int8 *moves);
61 int8 randomMoveStart();
62 int8 randomMoveStart2();
64 void testWinCondition(byte player,
int baseX,
int baseY);
69 byte _wineRackGrid[100];
70 byte _wineRackGrid2[100];
76 #endif // GROOVIE_LOGIC_WINERACK_H
Definition: winerack.h:41