2018-09-20 01:27:47 +00:00
|
|
|
// graphics primitives
|
|
|
|
|
|
|
|
SDL_Surface* loadImage(char* filename);
|
|
|
|
|
|
|
|
void applySurface(int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip);
|
|
|
|
|
|
|
|
// SDL sound
|
|
|
|
|
2018-11-13 21:30:59 +00:00
|
|
|
|
|
|
|
#ifdef SOUND_ON
|
2018-09-20 01:27:47 +00:00
|
|
|
Mix_Music* loadBGM(char* filename);
|
|
|
|
|
|
|
|
Mix_Chunk* loadSFX(char* filename);
|
2018-11-13 21:30:59 +00:00
|
|
|
#endif
|
2018-09-20 01:27:47 +00:00
|
|
|
// world
|
|
|
|
|
|
|
|
void renderBackground();
|
|
|
|
|
|
|
|
void renderForeground();
|
|
|
|
|
2018-12-19 18:17:49 +00:00
|
|
|
void renderHUD();
|
|
|
|
|
2018-09-20 01:27:47 +00:00
|
|
|
void interact();
|
|
|
|
|
2018-12-17 04:36:35 +00:00
|
|
|
void kListen();
|
2018-09-20 01:27:47 +00:00
|
|
|
|
|
|
|
// system
|
|
|
|
|
|
|
|
int init(int argc, char* args[]);
|
|
|
|
|
2018-11-13 21:08:21 +00:00
|
|
|
void writeSpellBook();
|
|
|
|
|
2018-09-20 01:27:47 +00:00
|
|
|
void toggleFullscreen();
|
|
|
|
|
|
|
|
void timeDilation();
|
|
|
|
|
|
|
|
void cleanup();
|
|
|
|
|
2018-10-08 21:57:15 +00:00
|
|
|
void intro();
|
2018-09-20 01:27:47 +00:00
|
|
|
|
2018-10-08 21:57:15 +00:00
|
|
|
void mainmenu();
|
2018-09-20 01:27:47 +00:00
|
|
|
|
|
|
|
void pausemenu();
|