diff options
Diffstat (limited to 'nebu/include/base/nebu_system.h')
-rw-r--r-- | nebu/include/base/nebu_system.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nebu/include/base/nebu_system.h b/nebu/include/base/nebu_system.h new file mode 100644 index 0000000..8dcae39 --- /dev/null +++ b/nebu/include/base/nebu_system.h @@ -0,0 +1,20 @@ +#ifndef NEBU_SYSTEM_H +#define NEBU_SYSTEM_H + +#include "nebu_callbacks.h" +#include "SDL.h" + +/* system specific functions (basically, an SDL/glut wrapper) */ +extern unsigned int SystemGetElapsedTime(); + +extern int SystemMainLoop(); +extern void SystemExitLoop(int return_code); +extern void SystemRegisterCallbacks(Callbacks* callbacks); + +extern void SystemExit(); + +extern void SystemHandleInput(SDL_Event *event); + +extern Callbacks* current; + +#endif |