icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
23 #include "../qcommon/qcommon.h"
25 #define MAX_DLIGHTS 32
26 #define MAX_ENTITIES 128
27 #define MAX_PARTICLES 4096
28 #define MAX_LIGHTSTYLES 256
30 #define POWERSUIT_SCALE 4.0F
32 #define SHELL_RED_COLOR 0xF2
33 #define SHELL_GREEN_COLOR 0xD0
34 #define SHELL_BLUE_COLOR 0xF3
36 #define SHELL_RG_COLOR 0xDC
38 #define SHELL_RB_COLOR 0x68
39 #define SHELL_BG_COLOR 0x78
42 #define SHELL_DOUBLE_COLOR 0xDF // 223
43 #define SHELL_HALF_DAM_COLOR 0x90
44 #define SHELL_CYAN_COLOR 0x72
47 #define SHELL_WHITE_COLOR 0xD7
82 #define ENTITY_FLAGS 68
146 #define API_VERSION 3
157 int (*Init) (
void *hinstance,
void *wndproc );
175 void (*BeginRegistration) (
char *map);
186 void (*SetParticlePicture) (
int num,
char *
name);
187 void (*DrawScaledPic) (
int x,
int y,
float scale,
float alpha,
char *
name);
188 float (*CharMap_Scale) (
void);
189 void (*DrawStretchPic) (
int x,
int y,
int w,
int h,
char *
name,
float alpha);
198 void (*DrawFill) (
int x,
int y,
int w,
int h,
int c);
202 void (*DrawStretchRaw) (
int x,
int y,
int w,
int h,
int cols,
int rows,
byte *data);
207 void (*CinematicSetPalette)(
const unsigned char *palette);
208 void (*BeginFrame)(
float camera_separation );
225 char *(*Cmd_Argv) (
int i);
226 void (*Cmd_ExecuteText) (
int exec_when,
char *text);
228 void (*Con_Printf) (
int print_level,
char *str, ...);
256 #define DIV254BY255 (0.9960784313725490196078431372549f)
257 #define DIV255 (0.003921568627450980392156862745098f)
258 #define DIV256 (0.00390625f)
259 #define DIV512 (0.001953125f)
260 #define TWOTHIRDS (0.666666666666666666666666666666666666666f)
CONST PIXELFORMATDESCRIPTOR int
void Sys_Error(char *error,...)
void Cmd_RemoveCommand(char *cmd_name)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
int FS_LoadFile(char *path, void **buffer)
void Cvar_SetValue(char *var_name, float value)
GLfloat GLfloat GLfloat alpha
lightstyle_t * lightstyles
void AppActivate(BOOL fActive, BOOL minimize)
void FS_FreeFile(void *buffer)
GLdouble GLdouble GLdouble w
refexport_t(* GetRefAPI_t)(refimport_t)
void(APIENTRY *qglAccum)(GLenum op