summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-11 16:41:27 +0000
committerTim Angus <tim@ngus.net>2005-12-11 16:41:27 +0000
commit65b823bf367034c204d370a6a73965a196072153 (patch)
treeb7473da41151546fad6252ec70ca14b92b77046d /src/cgame/cg_local.h
parentd28c9b3a4178a8d653dc479d385f60969c241bdb (diff)
* Added trap_FS_GetFileList to cgame, so it's not longer necessary to hack
around it not being there * Removed Q3 console notify code and improved cgame rendered notify area * Sorted out pain blend texture coordinates
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r--src/cgame/cg_local.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index 15e226f7..b88d8d0c 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -191,6 +191,8 @@ typedef struct attachment_s
//======================================================================
//particle system stuff
+#define MAX_PARTICLE_FILES 128
+
#define MAX_PS_SHADER_FRAMES 32
#define MAX_PS_MODELS 8
#define MAX_EJECTORS_PER_SYSTEM 4
@@ -291,7 +293,7 @@ typedef struct baseParticle_s
pLerpValues_t radius;
pLerpValues_t alpha;
pLerpValues_t rotation;
-
+
qboolean dynamicLight;
pLerpValues_t dLightRadius;
byte dLightColor[ 3 ];
@@ -429,6 +431,8 @@ typedef struct particle_s
//======================================================================
//trail system stuff
+#define MAX_TRAIL_FILES 128
+
#define MAX_BEAMS_PER_SYSTEM 4
#define MAX_BASETRAIL_SYSTEMS 64
@@ -1121,7 +1125,6 @@ typedef struct
char consoleText[ MAX_CONSOLE_TEXT ];
consoleLine_t consoleLines[ MAX_CONSOLE_LINES ];
int numConsoleLines;
- qboolean consoleValid;
particleSystem_t *poisonCloudPS;
@@ -1503,7 +1506,6 @@ extern vmCvar_t cg_debugRandom;
const char *CG_ConfigString( int index );
const char *CG_Argv( int arg );
-void CG_TAUIConsole( const char *text );
void QDECL CG_Printf( const char *msg, ... );
void QDECL CG_Error( const char *msg, ... );
@@ -1521,7 +1523,8 @@ void CG_SetScoreSelection( void *menu );
void CG_BuildSpectatorString( void );
qboolean CG_FileExists( char *filename );
-void CG_RemoveConsoleLine( void );
+void CG_RemoveNotifyLine( void );
+void CG_AddNotifyText( void );
//
@@ -1839,6 +1842,7 @@ void trap_Cvar_VariableStringBuffer( const char *var_name, char *buffer
int trap_Argc( void );
void trap_Argv( int n, char *buffer, int bufferLength );
void trap_Args( char *buffer, int bufferLength );
+void trap_LiteralArgs( char *buffer, int bufferLength );
// filesystem access
// returns length of file
@@ -1847,6 +1851,8 @@ void trap_FS_Read( void *buffer, int len, fileHandle_t f );
void trap_FS_Write( const void *buffer, int len, fileHandle_t f );
void trap_FS_FCloseFile( fileHandle_t f );
void trap_FS_Seek( fileHandle_t f, long offset, fsOrigin_t origin ); // fsOrigin_t
+int trap_FS_GetFileList( const char *path, const char *extension,
+ char *listbuf, int bufsize );
// add commands to the local console as if they were typed in
// for map changing, etc. The command is not executed immediately,