added tools to pack and unpack Avish resource files
[awish.git] / src / mainloop.h
blobc4ca6afb3bce778cb347f01ea68d42ac77a5806e
1 #ifndef _MAINLOOP_H_
2 #define _MAINLOOP_H_
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <string.h>
8 #include "SDL.h"
11 ////////////////////////////////////////////////////////////////////////////////
12 typedef void (*FrameCB) (SDL_Surface *frame);
13 typedef void (*KeyCB) (SDL_KeyboardEvent *key);
16 ////////////////////////////////////////////////////////////////////////////////
17 extern FrameCB frameCB;
18 extern KeyCB keyCB;
21 ////////////////////////////////////////////////////////////////////////////////
22 extern int vmPaused;
24 extern void mainLoop (void);
27 #endif