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

initvars_s Struct Reference

Initialization variables struct. More...

#include <omicron.h>


Data Fields

HINSTANCE hInstance
ulong wnd
 window handle (HWND/Window)

const char * wndclassname
const char * wndtitle
ushort hres
 Size of window.

ushort vres
 Size of window.

int argc
 Argument count.

char ** argv
 Argument list.

char bpp
 display format

char zbuffer
 display format

char stencil
 display format

bool nosound
 disable sound?

bool nogfx
 disable gfx?

bool noinput
 disable input?

bool fullscreen
 fullscreen?

bool nolog
 dont write log file


Detailed Description

In this struct all initialization stuff is stored.

Definition at line 292 of file omicron.h.


Field Documentation

bool fullscreen
 

If true, the application is running in fullscreen mode. You may set it to false at initialization time to prevent fullscreen. Default = 1.

Definition at line 367 of file omicron.h.

HINSTANCE hInstance
 

(WIN) current instance Keeps the current instance of the process.

Definition at line 300 of file omicron.h.

bool nogfx
 

If true, graphics was not initialized. You may set it to true at initialization time to disable graphics. Default = 0.

Definition at line 357 of file omicron.h.

bool noinput
 

If true, input was not initialized. You may set it to true at initialization time to disable input. Default = 0.

Definition at line 362 of file omicron.h.

bool nolog
 

If true, a log file won't be created or written to.

Definition at line 373 of file omicron.h.

bool nosound
 

If true, sound was not initialized. You may set it to true at initialization time to disable sound. Default = 0.

Definition at line 352 of file omicron.h.

char stencil
 

These members give you some information about the display format. You may set them to choose a specific format at initialization time. Defaults: bpp = 32, zbuffer = 24, stencil = 1. If the specified format is not found Omicron chooses the next closest match.

Definition at line 343 of file omicron.h.

ushort vres
 

Horizontal and vertical resolution/size of window. Defaults: hres = 640, vres = 480.

Definition at line 335 of file omicron.h.

ulong wnd
 

(WIN) this is the HWND of the window. (X11) this is the Identifier of the window. If you set it to a nonzero value in gv.init_vars, Omicron will use the specified window for output. Otherwise Omicron creates one itself and stores its handle/id here.

Definition at line 323 of file omicron.h.

const char* wndclassname
 

Classname for window The name of the window. If none given it will default to "_OMICRON".

Definition at line 327 of file omicron.h.

const char* wndtitle
 

Title of window The title of the window. If none given it will default to "OMICRON TEST APPLICATION".

Definition at line 332 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