diff options
author | Tim Angus <tim@ngus.net> | 2005-06-05 22:16:54 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-06-05 22:16:54 +0000 |
commit | fb6006e34c1fe83acfb7976e50cb2f498e9c70b6 (patch) | |
tree | b8b3f26b52c3b2e71b51d40ff84e86b5bfb9d52d /src/ui/ui_main.c | |
parent | 47221c9c78f4a027211a041eb2ad527339b4d54b (diff) |
* Added flashing alien icon if already at maximum class
* Improved scanner render and refactored scanner code
* Added animated projectiles
* Grenade
* Changed model names to be human name agnostic
* Added sounds for lev1 grab and lev4 charge
* Added sound for failed evolution
* Added battery pack rendering code
* Added functionality to particle system to allow attachment of particle systems to particles (for nice explosions)
* Implemented CG_FileExists
* Added some code to gracefully handle missing sounds (easier than making the sounds :D)
* cg_drawBBOX now draws player BBOXen
* Renamed the alien classes (now done in class override scripts)
* Implemented Vector4Add
* The usual assorted bug fixes
Diffstat (limited to 'src/ui/ui_main.c')
-rw-r--r-- | src/ui/ui_main.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 4389074c..60480b90 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3349,16 +3349,16 @@ static void UI_LoadTremAlienClasses( void ) uiInfo.tremAlienClassCount = 2; uiInfo.tremAlienClassList[ 0 ].text = - String_Alloc( BG_FindHumanNameForClassNum( PCL_A_O_BASE ) ); + String_Alloc( BG_FindHumanNameForClassNum( PCL_ALIEN_LEVEL0 ) ); uiInfo.tremAlienClassList[ 0 ].cmd = - String_Alloc( va( "cmd class %s\n", BG_FindNameForClassNum( PCL_A_O_BASE ) ) ); + String_Alloc( va( "cmd class %s\n", BG_FindNameForClassNum( PCL_ALIEN_LEVEL0 ) ) ); uiInfo.tremAlienClassList[ 0 ].infopane = - UI_FindInfoPaneByName( va( "%sclass", BG_FindNameForClassNum( PCL_A_O_BASE ) ) ); + UI_FindInfoPaneByName( va( "%sclass", BG_FindNameForClassNum( PCL_ALIEN_LEVEL0 ) ) ); - if( BG_FindStagesForClass( PCL_A_B_LEV1, UI_GetCurrentAlienStage( ) ) ) - bClass = PCL_A_B_LEV1; + if( BG_FindStagesForClass( PCL_ALIEN_BUILDER0_UPG, UI_GetCurrentAlienStage( ) ) ) + bClass = PCL_ALIEN_BUILDER0_UPG; else - bClass = PCL_A_B_BASE; + bClass = PCL_ALIEN_BUILDER0; uiInfo.tremAlienClassList[ 1 ].text = String_Alloc( BG_FindHumanNameForClassNum( bClass ) ); @@ -6042,6 +6042,8 @@ void _UI_Init( qboolean inGameLoad ) { const char *menuSet; int start; + BG_InitClassOverrides( ); + //uiInfo.inGameLoad = inGameLoad; UI_RegisterCvars(); |