|
Product parts
|
|
Virtual File system
|
| Virtual Render |
| Virtual Machine |
| |
|
Demo Games
|
| |
|
3D Engine
|
|
gvSystem(dx9)
|
|
|
|
Link
|
 |
|
|
gv_system.h File Reference#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <stdio.h>
#include <dirent.h>
#include <sys/stat.h>
#include "GDEFINE.H"
#include "gv_types.h"
#include "gv_arraylist.h"
#include "gm_timer.h"
Include dependency graph for gv_system.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Classes |
| class | IOutputDevice |
| class | IErrorDevice |
| class | Var |
| class | ivars |
| class | Framework |
| | working frame interface class. variable,console window,timer,error message, out message, input. More...
|
| class | VFile |
| class | DumpFile |
| class | CmdFile |
| | The CmdFile class command file or. More...
|
| class | Parser |
| | parser module. More...
|
| class | vars |
| class | button_one |
Defines |
| #define | gv_assert(x) |
| #define | gv_verify(x) x |
| #define | gv_assert_true(x) |
| #define | gv_trace 1 ? (void)0 : _trace |
| #define | LOGFILE "console.log" |
| #define | MAXMSGS 1024 |
| #define | MSGLENGHT 256 |
| #define | GV_MSG_ERROR_LOADING 1 |
| #define | GV_MSG_ERROR_ALLOCATING 2 |
| #define | MAX_FILEPATH 1024 |
| #define | CONSOLE_LINE 1024 |
| #define | FILE_NAME 256 |
| #define | ZIPHeaderSig 0x04034b50 |
| #define | ZIPCtrlHeaderSig 0x02014b50 |
| #define | ZIPEndSig 0x06054b50 |
Typedefs |
| typedef _searchPath | searchPath |
| typedef _ZIPHeader | ZIPHeader |
| typedef _ZIPEnd | ZIPEnd |
| typedef _command | command |
| | internal command
|
| typedef enum _MOUSE_BUTTON | MOUSE_BUTTON |
| typedef enum _B_STATE | B_STATE |
Enumerations |
| enum | _MOUSE_BUTTON { LEFT_MBUTTON,
RIGHT_MBUTTON,
MIDDLE_MBUTTON
} |
| enum | _B_STATE { BUTTON_DOWN,
BUTTON_UP,
BUTTON_RELEASED,
BUTTON_PRESSED
} |
Functions |
| void | _trace (char *fmt,...) |
| char * | UnZip (FILE *h) |
| void | InitCommonCommands () |
| void | GV_COMMAND_ADD (const char *commandString, void(*funcBind)()) |
| void | f_DosToUnixName (char *name) |
| void | f_UnixToDosName (char *name) |
| char * | f_Name (char *path) |
| void | f_StripName (char *path) |
| char * | f_Extension (char *name) |
| void | f_StripExtension (char *path) |
| bool | gvCommandFile (const char *szCommandFileName) |
| int | gv_CompressZ (unsigned char *dest, unsigned long *destLen, unsigned char *src, unsigned long srcLen) |
| int | gv_DeCompressZ (unsigned char *dest, unsigned long *destLen, unsigned char *src, unsigned long srcLen) |
| float | gv_getFPS (void) |
| void | var_list_cmd (void) |
Variables |
| vars * | cvars |
| CmdList | Commands |
| gv_iTimer * | timer |
| Framework | Import |
| IOutputDevice * | out |
Define Documentation
| #define CONSOLE_LINE 1024 |
| #define gv_assert_true |
( |
x |
|
) |
|
| #define GV_MSG_ERROR_ALLOCATING 2 |
| #define GV_MSG_ERROR_LOADING 1 |
| #define gv_trace 1 ? (void)0 : _trace |
| #define gv_verify |
( |
x |
|
) |
x |
| #define LOGFILE "console.log" |
| #define MAX_FILEPATH 1024 |
| #define ZIPCtrlHeaderSig 0x02014b50 |
| #define ZIPEndSig 0x06054b50 |
| #define ZIPHeaderSig 0x04034b50 |
Typedef Documentation
mouse/keyboard/joystick button state
Enumeration Type Documentation
mouse/keyboard/joystick button state - Enumerator:
-
| BUTTON_DOWN |
the button is currently down |
| BUTTON_UP |
the button is currently up |
| BUTTON_RELEASED |
the button is currently up, but last frame it was down |
| BUTTON_PRESSED |
the button is currently down, but last frame it was up |
Definition at line 606 of file gv_system.h.
- Enumerator:
-
| LEFT_MBUTTON |
the left mouse button, button 0 |
| RIGHT_MBUTTON |
the right mouse button, button 1 |
| MIDDLE_MBUTTON |
the middle mouse button, button 2, (careful using this, not all mice have 3 buttons) |
Definition at line 597 of file gv_system.h.
Function Documentation
| void _trace |
( |
char * |
fmt, |
|
|
|
... | |
|
) |
| | [inline] |
| void f_DosToUnixName |
( |
char * |
name |
) |
|
| char* f_Extension |
( |
char * |
name |
) |
|
| char* f_Name |
( |
char * |
path |
) |
|
| void f_StripExtension |
( |
char * |
path |
) |
|
| void f_StripName |
( |
char * |
path |
) |
|
| void f_UnixToDosName |
( |
char * |
name |
) |
|
| void GV_COMMAND_ADD |
( |
const char * |
commandString, |
|
|
void(*)() |
funcBind | |
|
) |
| | |
| int gv_CompressZ |
( |
unsigned char * |
dest, |
|
|
unsigned long * |
destLen, |
|
|
unsigned char * |
src, |
|
|
unsigned long |
srcLen | |
|
) |
| | |
| int gv_DeCompressZ |
( |
unsigned char * |
dest, |
|
|
unsigned long * |
destLen, |
|
|
unsigned char * |
src, |
|
|
unsigned long |
srcLen | |
|
) |
| | |
| bool gvCommandFile |
( |
const char * |
szCommandFileName |
) |
|
| void InitCommonCommands |
( |
|
) |
|
| void var_list_cmd |
( |
void |
|
) |
|
Variable Documentation
|