Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/branches/physics: moved the initialisation to the top

File size: 536 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
10class Camera;
11
12class Framework {
13 private:
14  Camera* camera;
15 
16  int movement [4];
17 
18  Uint32 lastFrame;
19  Uint32 currFrame;
20   
21  Uint8* keys; // This variable will be used in the keyboard routine
22  bool mouse1Down;
23  bool mouse2Down;
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.