cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 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

varscvars
CmdList Commands
gv_iTimertimer
Framework Import
IOutputDeviceout


Define Documentation

#define CONSOLE_LINE   1024

Definition at line 236 of file gv_system.h.

#define FILE_NAME   256

Definition at line 237 of file gv_system.h.

#define gv_assert (  ) 

Definition at line 32 of file gv_system.h.

#define gv_assert_true (  ) 

Definition at line 34 of file gv_system.h.

#define GV_MSG_ERROR_ALLOCATING   2

Definition at line 233 of file gv_system.h.

#define GV_MSG_ERROR_LOADING   1

Definition at line 232 of file gv_system.h.

#define gv_trace   1 ? (void)0 : _trace

Definition at line 42 of file gv_system.h.

#define gv_verify (  )     x

Definition at line 33 of file gv_system.h.

#define LOGFILE   "console.log"

Definition at line 57 of file gv_system.h.

#define MAX_FILEPATH   1024

Definition at line 235 of file gv_system.h.

#define MAXMSGS   1024

Definition at line 58 of file gv_system.h.

#define MSGLENGHT   256

Definition at line 59 of file gv_system.h.

#define ZIPCtrlHeaderSig   0x02014b50

Definition at line 289 of file gv_system.h.

#define ZIPEndSig   0x06054b50

Definition at line 310 of file gv_system.h.

#define ZIPHeaderSig   0x04034b50

Definition at line 264 of file gv_system.h.


Typedef Documentation

typedef enum _B_STATE B_STATE

mouse/keyboard/joystick button state

typedef struct _command command

internal command

typedef struct _searchPath searchPath

typedef struct _ZIPEnd ZIPEnd

typedef struct _ZIPHeader ZIPHeader


Enumeration Type Documentation

enum _B_STATE

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]

Definition at line 41 of file gv_system.h.

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 
)

float gv_getFPS ( void   ) 

bool gvCommandFile ( const char *  szCommandFileName  ) 

void InitCommonCommands (  ) 

char* UnZip ( FILE *  h  ) 

void var_list_cmd ( void   ) 


Variable Documentation

CmdList Commands


Copyright(C) gvSystem & GamePlus All Rights Reserved.