Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/physics/src/subprojects/particles/framework.h @ 4316

Last change on this file since 4316 was 4316, checked in by bensch, 19 years ago

orxonox/branches/physics: threaded gui starts parrallel to the particles-demo
also changed some smaller stuff in the gui_gtk-class

File size: 633 bytes
Line 
1#ifndef _FRAMEWORK_H
2#define _FRAMEWORK_H
3 
4#include "vector.h"
5#include "glincl.h"
6
7
8#define DATA_DIRECTORY "~/svn/data/"
9#define MOUSE_BUTTON_COUNT 8
10
11class Camera;
12
13class Framework {
14 private:
15  Camera* camera;
16 
17  int movement [4];
18 
19  Uint32 lastFrame;
20  Uint32 currFrame;
21   
22  Uint8* keys; // This variable will be used in the keyboard routine
23  bool mouseDown[MOUSE_BUTTON_COUNT];
24
25 public:
26  Framework();
27  ~Framework();
28 
29  void initModule();
30  bool mainLoop();
31  bool draw(float dt);
32  float tick();
33  bool keyHandler();
34
35  static void* initGui(void* argv);
36
37  void printHelp(void) const;
38};
39#endif /* _FRAMEWORK_H */
Note: See TracBrowser for help on using the repository browser.