00001 #ifndef MAIN_HPP
00002 #define MAIN_HPP
00003
00004 #include <SDL/SDL.h>
00005 #include <string>
00006
00007
00008
00009 #define RIGID_VIEWING
00010
00011
00012
00013
00014
00015 class fileNotFound {};
00016
00017 int main(int argc, char* argv[]);
00018 void initGL(int width, int height);
00019 void initSDL(int width, int height);
00021 void update(Uint32 ms);
00022 void draw();
00023 void handleInput(SDL_Event *e);
00024 int mainLoop();
00025 void terminateApp();
00026
00027 #endif //MAIN_HPP
00028