#include <omicron.h>
Data Fields | |
| initvars_t | init |
| Initialization stuff. | |
| bool | bExit |
| HGLRC | hrc |
| (WIN) Rendering context | |
| HDC | hdc |
| (WIN) Device context | |
| sshort | debuglevel |
| debug level for messages | |
| list_c< shader_s > * | shaders |
| List of all shaders. | |
| ulong | lightcount |
| numbers of lights (max 8) | |
| light_s * | lights |
| the lights themselves | |
| sshort | lightmap |
| current lightmap texture | |
| texture_manager_c * | texman |
| the texture manager | |
| file_manager_c * | fileman |
| the file manager | |
| net_manager_c * | netman |
| the network manager | |
| sound_manager_c * | soundman |
| the sound manager | |
| renderer_c * | renderer |
| render manager | |
| gui_c * | gui |
| the gui | |
| float | aspect |
| Aspect ratio of view. | |
| float | dtime |
| time since last frame | |
| float | time |
| time since initialization | |
| float | timescale |
| time scaling factor | |
| long | frame |
| current frame | |
| sshort | mouse_dx |
| mouse movement x | |
| sshort | mouse_dy |
| mouse movement y | |
| sshort | mouse_dz |
| mouse wheel? | |
| sshort | mouse_b |
| mouse button state | |
| sshort | mouse_lb |
| mouse button state one frame ago | |
| uchar | kbdstate [256] |
| keyboard state | |
| uchar | lkbdstate [256] |
| keyboard state one frame ago | |
| bool | active |
| Window is currently active. | |
Definition at line 409 of file omicron.h.
|
|
exit? Set this to true to signal, that you wish to terminate the program. |
|
|
Only messages with this or higher level will be written to the log. There are predefined constants:
|
|
|
if you plan to use the gui, you have to create the gui_c singleton by putting "new gui_c;" in init(); |
1.2.18