From fb6006e34c1fe83acfb7976e50cb2f498e9c70b6 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 5 Jun 2005 22:16:54 +0000 Subject: * 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 --- src/ui/ui_main.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/ui') 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(); -- cgit