2018-09-20 01:27:47 +00:00
|
|
|
|
2019-01-10 05:32:25 +00:00
|
|
|
enum screenDimensions
|
|
|
|
{
|
|
|
|
SCREEN_WIDTH = 320,
|
|
|
|
SCREEN_HEIGHT = 180
|
|
|
|
};
|
|
|
|
|
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;
|
2019-01-09 22:26:38 +00:00
|
|
|
extern SDL_Surface* window;
|
2018-09-20 01:27:47 +00:00
|
|
|
extern Timer fps;
|
|
|
|
extern Room* rightHere;
|
2019-01-13 20:19:57 +00:00
|
|
|
|
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-12-16 12:18:26 +00:00
|
|
|
extern int spellKnowledge[10];
|
2018-12-14 22:52:24 +00:00
|
|
|
extern int bookMark;
|
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-12-19 18:17:49 +00:00
|
|
|
extern SDL_Surface* spellGlyphs;
|
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
|
|
|
|
2019-01-13 20:19:57 +00:00
|
|
|
extern Kaos** kaosData;
|
|
|
|
extern Scene** theatre;
|
|
|
|
|
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;
|
2019-01-13 20:19:57 +00:00
|
|
|
extern Mix_Music* menuBGM;
|
2018-11-13 21:30:59 +00:00
|
|
|
#endif
|
|
|
|
|