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

 

 

gdefine.h File Reference

#include <math.h>
#include <memory.h>

Include dependency graph for gdefine.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _APP_   "gvSystem"
#define _VERSION_   "v2.1521233 (passed build)"
#define BASE_PATH   ""
#define BASE_PATH1   "data/"
#define MAXTOKEN   1024
#define LINE_TERMINATOR   TEXT("\r\n")
#define PATH_SEPARATOR   TEXT("\\")
#define DLLEXT   TEXT(".dll")
#define LIBRARY   HMODULE
#define LIB_PREFIX   ""
#define LIB_SUFFIX   ".dll"
#define LOADLIB(file)   LoadLibrary(file)
#define UNLOADLIB(lib)   FreeLibrary((HMODULE)lib)
#define INVALID_LIBRARY   NULL
#define _OS_   "linux"
#define ASM   0
#define pathcmp   stricmp
#define guard(func)   {static const char __FUNC_NAME__[]=TEXT(#func);
#define unguard   }
#define unguardf(msg)   }
#define MAX_DISP   32
#define MAX_KEYBKEYS   256
#define DINPUT_BUFFERSIZE   2048

Typedefs

typedef unsigned char BYTE
typedef unsigned short WORD
typedef unsigned long DWORD
typedef signed char SBYTE
typedef signed short SWORD
typedef signed int INT
typedef unsigned int UINT
typedef long LONG
typedef unsigned char byte
typedef unsigned short word
typedef unsigned int dword
typedef float FLOAT
typedef double DOUBLE
typedef INT BOOL

Enumerations

enum  inputType { ID_KEYBOARD = 0x01, ID_MOUSE = 0x02, ID_JOYSTICK1 = 0x04, ID_JOYSTICK2 = 0x08 }
enum  mouseAction {
  MV_XPOS, MV_YPOS, MV_XAXIS, MV_YAXIS,
  MV_ZAXIS, MV_BUTTON1, MV_BUTTON2, MV_BUTTON3,
  MV_BUTTON4, MV_WHEELUP, MV_WHEELDOWN
}
enum  errorType {
  _NO_ERROR, ERROR_LOADING_FILE, ERROR_LOADING_MODULE, ERROR_FREEING_MODULE,
  ERROR_ALLOCATING_MEMORY, ERROR_READING_FILE, ERROR_INVALID_FILENAME, ERROR_FORMAT_NOT_SUPPORTED,
  ERROR_CREATING_WINDOW, CRITICAL_ERROR, HEAP_ERROR, PARSE_ERROR,
  UNKNOWN_ERROR
}
enum  varType {
  VF_CHEAT = 0x0001, VF_SYSTEM = 0x0002, VF_PERSISTENT = 0x0004, VF_LATCH = 0x0008,
  VF_USER = 0x0010, VF_TEMP = 0x0020, VF_AUTO = 0x0040
}

Functions

int appRound (float F)
int appFloor (float F)
char appToUpper (char c)
char appToLower (char c)
bool appIsAlpha (char c)
bool appIsDigit (char c)
bool appIsAlnum (char c)
int gvStrcmp (const char *s1, const char *s2)
int gvStrncmp (const char *s1, const char *s2, int len)
char * gvStrcpy (register char *s1, register const char *s2)
DWORD appCycles ()
void appMemcpy (void *Dest, const void *Src, INT Count)
void appMemzero (void *Dest, INT Count)
void appMemset (void *Dest, int setvalue, int nsize)


Define Documentation

#define _APP_   "gvSystem"

Definition at line 13 of file gdefine.h.

#define _OS_   "linux"

Definition at line 98 of file gdefine.h.

#define _VERSION_   "v2.1521233 (passed build)"

Definition at line 16 of file gdefine.h.

#define ASM   0

Definition at line 99 of file gdefine.h.

#define BASE_PATH   ""

Definition at line 22 of file gdefine.h.

#define BASE_PATH1   "data/"

Definition at line 23 of file gdefine.h.

#define DINPUT_BUFFERSIZE   2048

Definition at line 220 of file gdefine.h.

#define DLLEXT   TEXT(".dll")

Definition at line 85 of file gdefine.h.

#define guard ( func   )     {static const char __FUNC_NAME__[]=TEXT(#func);

Definition at line 118 of file gdefine.h.

#define INVALID_LIBRARY   NULL

Definition at line 92 of file gdefine.h.

#define LIB_PREFIX   ""

Definition at line 88 of file gdefine.h.

#define LIB_SUFFIX   ".dll"

Definition at line 89 of file gdefine.h.

#define LIBRARY   HMODULE

Definition at line 87 of file gdefine.h.

#define LINE_TERMINATOR   TEXT("\r\n")

Definition at line 80 of file gdefine.h.

#define LOADLIB ( file   )     LoadLibrary(file)

Definition at line 90 of file gdefine.h.

#define MAX_DISP   32

Definition at line 218 of file gdefine.h.

#define MAX_KEYBKEYS   256

Definition at line 219 of file gdefine.h.

#define MAXTOKEN   1024

Definition at line 25 of file gdefine.h.

#define PATH_SEPARATOR   TEXT("\\")

Definition at line 81 of file gdefine.h.

#define pathcmp   stricmp

Definition at line 108 of file gdefine.h.

#define unguard   }

Definition at line 119 of file gdefine.h.

#define unguardf ( msg   )     }

Definition at line 120 of file gdefine.h.

#define UNLOADLIB ( lib   )     FreeLibrary((HMODULE)lib)

Definition at line 91 of file gdefine.h.


Typedef Documentation

typedef INT BOOL

Definition at line 76 of file gdefine.h.

typedef unsigned char byte

Definition at line 69 of file gdefine.h.

typedef unsigned char BYTE

Definition at line 49 of file gdefine.h.

typedef double DOUBLE

Definition at line 75 of file gdefine.h.

typedef unsigned int dword

Definition at line 71 of file gdefine.h.

typedef unsigned long DWORD

Definition at line 51 of file gdefine.h.

typedef float FLOAT

Definition at line 74 of file gdefine.h.

typedef signed int INT

Definition at line 59 of file gdefine.h.

typedef long LONG

Definition at line 66 of file gdefine.h.

typedef signed char SBYTE

Definition at line 57 of file gdefine.h.

typedef signed short SWORD

Definition at line 58 of file gdefine.h.

typedef unsigned int UINT

Definition at line 60 of file gdefine.h.

typedef unsigned short word

Definition at line 70 of file gdefine.h.

typedef unsigned short WORD

Definition at line 50 of file gdefine.h.


Enumeration Type Documentation

enum errorType

Enumerator:
_NO_ERROR 
ERROR_LOADING_FILE 
ERROR_LOADING_MODULE 
ERROR_FREEING_MODULE 
ERROR_ALLOCATING_MEMORY 
ERROR_READING_FILE 
ERROR_INVALID_FILENAME 
ERROR_FORMAT_NOT_SUPPORTED 
ERROR_CREATING_WINDOW 
CRITICAL_ERROR 
HEAP_ERROR 
PARSE_ERROR 
UNKNOWN_ERROR 

Definition at line 247 of file gdefine.h.

enum inputType

Enumerator:
ID_KEYBOARD 
ID_MOUSE 
ID_JOYSTICK1 
ID_JOYSTICK2 

Definition at line 223 of file gdefine.h.

Enumerator:
MV_XPOS 
MV_YPOS 
MV_XAXIS 
MV_YAXIS 
MV_ZAXIS 
MV_BUTTON1 
MV_BUTTON2 
MV_BUTTON3 
MV_BUTTON4 
MV_WHEELUP 
MV_WHEELDOWN 

Definition at line 232 of file gdefine.h.

enum varType

Enumerator:
VF_CHEAT 
VF_SYSTEM 
VF_PERSISTENT 
VF_LATCH 
VF_USER 
VF_TEMP 
VF_AUTO 

Definition at line 265 of file gdefine.h.


Function Documentation

DWORD appCycles (  ) 

int appFloor ( float  F  ) 

bool appIsAlnum ( char  c  ) 

bool appIsAlpha ( char  c  ) 

bool appIsDigit ( char  c  ) 

void appMemcpy ( void *  Dest,
const void *  Src,
INT  Count 
)

void appMemset ( void *  Dest,
int  setvalue,
int  nsize 
)

void appMemzero ( void *  Dest,
INT  Count 
)

int appRound ( float  F  ) 

char appToLower ( char  c  ) 

char appToUpper ( char  c  ) 

int gvStrcmp ( const char *  s1,
const char *  s2 
)

char* gvStrcpy ( register char *  s1,
register const char *  s2 
)

int gvStrncmp ( const char *  s1,
const char *  s2,
int  len 
)


Copyright(C) gvSystem & GamePlus All Rights Reserved.