2018-09-20 01:27:47 +00:00
|
|
|
|
|
|
|
extern int fullscreen;
|
|
|
|
extern int quit;
|
|
|
|
extern int playing;
|
|
|
|
extern int actionbutton;
|
2018-10-13 03:35:45 +00:00
|
|
|
extern int spellbutton;
|
2018-09-20 01:27:47 +00:00
|
|
|
extern int captive;
|
|
|
|
extern int hasMusic;
|
|
|
|
|
|
|
|
extern SDL_Event event;
|
|
|
|
extern SDL_Surface* screen;
|
|
|
|
extern Timer fps;
|
|
|
|
extern Room* rightHere;
|
2018-10-13 03:35:45 +00:00
|
|
|
extern Player* hero;
|
|
|
|
extern HyperKaos** spellBook;
|
|
|
|
|
2018-09-20 01:27:47 +00:00
|
|
|
extern int kaosFlag;
|
2018-10-13 03:35:45 +00:00
|
|
|
extern int spellFlag;
|
|
|
|
|
2018-09-20 01:27:47 +00:00
|
|
|
extern long long int savestate;
|
2018-10-13 03:35:45 +00:00
|
|
|
extern int spellKnowledge;
|
2018-09-20 01:27:47 +00:00
|
|
|
|
2018-10-13 03:35:45 +00:00
|
|
|
extern Room* menuBG;
|
2018-09-20 01:27:47 +00:00
|
|
|
extern SDL_Surface* saveMenu;
|
|
|
|
extern SDL_Surface* textBoxBG;
|
|
|
|
extern SDL_Surface* choiceBox;
|
|
|
|
extern SDL_Surface* nextArrow;
|
|
|
|
extern SDL_Surface* selectArrow;
|
|
|
|
extern SDL_Surface* loadingTxt;
|
|
|
|
|
2018-11-13 21:30:59 +00:00
|
|
|
#ifdef SOUND_ON
|
2018-09-20 01:27:47 +00:00
|
|
|
extern Mix_Music* menuBGM;
|
2018-11-13 21:30:59 +00:00
|
|
|
#endif
|
2018-09-20 01:27:47 +00:00
|
|
|
|
|
|
|
extern TTF_Font* font;
|
|
|
|
extern SDL_Color textColor;
|
|
|
|
|
|
|
|
extern enum dataChunks thisChunk;
|
|
|
|
extern enum dataChunks nextChunk;
|
|
|
|
|
|
|
|
extern Room** mapData;
|
|
|
|
extern Room** mapBuffer;
|
|
|
|
extern TextBox** dialogueData;
|
2018-11-13 21:30:59 +00:00
|
|
|
|
|
|
|
#ifdef SOUND_ON
|
2018-09-20 01:27:47 +00:00
|
|
|
extern Mix_Music** bgmData;
|
|
|
|
extern Mix_Chunk** sfxData;
|
2018-11-13 21:30:59 +00:00
|
|
|
#endif
|
|
|
|
|
2018-09-20 01:27:47 +00:00
|
|
|
extern Kaos** kaosData;
|
2018-09-24 18:41:09 +00:00
|
|
|
extern Scene** theatre;
|