Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/branches/physics: look-around works nicely…. it was easyer than i thought

File size: 565 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#endif /* _FRAMEWORK_H */
Note: See TracBrowser for help on using the repository browser.