Last change
on this file since 4295 was
4295,
checked in by bensch, 19 years ago
|
orxonox/branches/physics: a better check for the data-directory
|
File size:
549 bytes
|
Line | |
---|
1 | #ifndef _FRAMEWORK_H |
---|
2 | #define _FRAMEWORK_H |
---|
3 | |
---|
4 | #include "vector.h" |
---|
5 | #include "glincl.h" |
---|
6 | |
---|
7 | #define DATA_DIRECTORY "~/svn/data/" |
---|
8 | |
---|
9 | float rotatorP; |
---|
10 | float rotatorV; |
---|
11 | |
---|
12 | float dist; |
---|
13 | float zoomTo; |
---|
14 | |
---|
15 | Uint32 lastFrame; |
---|
16 | Uint32 currFrame; |
---|
17 | |
---|
18 | Vector dir; |
---|
19 | Vector up; |
---|
20 | |
---|
21 | float matQ[4][4]; |
---|
22 | |
---|
23 | Vector M; |
---|
24 | Vector p1; |
---|
25 | Vector p2; |
---|
26 | Vector rotAxis; |
---|
27 | float rotAngle; |
---|
28 | Quaternion rotQ; |
---|
29 | Quaternion rotQlast; |
---|
30 | |
---|
31 | Uint8* keys; // This variable will be used in the keyboard routine |
---|
32 | bool mouse1Down; |
---|
33 | |
---|
34 | bool mainLoop(); |
---|
35 | bool draw(float dt); |
---|
36 | float tick(); |
---|
37 | bool keyHandler(); |
---|
38 | |
---|
39 | #endif /* _FRAMEWORK_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.