38 lines
526 B
C
38 lines
526 B
C
|
// graphics primitives
|
||
|
|
||
|
SDL_Surface* loadImage(char* filename);
|
||
|
|
||
|
void applySurface(int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip);
|
||
|
|
||
|
// SDL sound
|
||
|
|
||
|
Mix_Music* loadBGM(char* filename);
|
||
|
|
||
|
Mix_Chunk* loadSFX(char* filename);
|
||
|
|
||
|
// world
|
||
|
|
||
|
void renderBackground();
|
||
|
|
||
|
void renderForeground();
|
||
|
|
||
|
void interact();
|
||
|
|
||
|
void kListen(int* whichKaos);
|
||
|
|
||
|
// system
|
||
|
|
||
|
int init(int argc, char* args[]);
|
||
|
|
||
|
void toggleFullscreen();
|
||
|
|
||
|
void timeDilation();
|
||
|
|
||
|
void cleanup();
|
||
|
|
||
|
void mainmenu();
|
||
|
|
||
|
void filemenu();
|
||
|
|
||
|
void pausemenu();
|