Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

gvar_s Struct Reference

global stuff More...

#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_slights
 the lights themselves

sshort lightmap
 current lightmap texture

texture_manager_ctexman
 the texture manager

file_manager_cfileman
 the file manager

net_manager_cnetman
 the network manager

sound_manager_csoundman
 the sound manager

renderer_crenderer
 render manager

gui_cgui
 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.


Detailed Description

Global variable type Keeps all global variables (or better: it should [TODO] :) There is a global variable of this type called gv. Use it to access this information.

Definition at line 409 of file omicron.h.


Field Documentation

bool bExit
 

exit? Set this to true to signal, that you wish to terminate the program.

Definition at line 417 of file omicron.h.

sshort debuglevel
 

Only messages with this or higher level will be written to the log. There are predefined constants:

  • MSG_DEBUG3
  • MSG_DEBUG2
  • MSG_DEBUG
  • MSG_NORMAL
  • MSG_WARNING
  • MSG_ERROR
  • MSG_CRITICAL

Definition at line 432 of file omicron.h.

gui_c* gui
 

if you plan to use the gui, you have to create the gui_c singleton by putting "new gui_c;" in init();

Definition at line 463 of file omicron.h.


The documentation for this struct was generated from the following file:
Generated on Wed Dec 18 15:48:49 2002 for omicron engine by doxygen1.2.18