28 #ifndef GROOVIE_LOGIC_TLCGAME_H 29 #define GROOVIE_LOGIC_TLCGAME_H 31 #include "common/textconsole.h" 32 #include "common/random.h" 34 #define GROOVIE_TLC_MAX_EPSIODES (15) 35 #define GROOVIE_TLC_MAX_QUEST_EP (50) 62 uint32 questionsOffset;
63 uint8 binDividends[16];
79 #ifdef ENABLE_GROOVIE2 83 static const char *getTlcMusicFilename(
int musicId);
85 void handleOp(uint8 op);
106 int getRegionNext(uint16 &left, uint16 &top, uint16 &right, uint16 &bottom);
112 void getRegionRewind();
139 void inline setScriptVar(uint16 var, byte value);
140 void inline setScriptVar16(uint16 var, uint16 value);
141 uint16
inline getScriptVar16(uint16 var);
142 byte *_scriptVariables;
152 int _numRegionHeaders;
154 int _curQuestNumAnswers;
162 void epSelectNextQuestion();
163 void epResultQuestion();
164 void epResultEpisode();
167 int16 _epScoreBin[6];
170 int _epQuestionNumOfPool;
171 int _epQuestionsInEpisode;
175 byte _tatFlags[0x0E][0x09];
182 void tatLoadDBHeaders();
183 void tatResultQuest();
184 void tatResultEpisode();
185 void tatGetProfile();
186 void debugTatFlags(
int y,
int y2);
199 #endif // GROOVIE_LOGIC_TLCGAME_H