Last change
on this file since 4309 was
4307,
checked in by bensch, 20 years ago
|
orxonox/branches/physics: new definitions of particle-return-values
|
File size:
596 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 | |
---|
11 | class Camera; |
---|
12 | |
---|
13 | class 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 | void printHelp(void) const; |
---|
36 | }; |
---|
37 | #endif /* _FRAMEWORK_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.