diff options
author | Tim Angus <tim@ngus.net> | 2003-06-16 03:02:08 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-06-16 03:02:08 +0000 |
commit | 72b7a39be0762a9c604781404f047e2a0653f5f2 (patch) | |
tree | 3b96372204860b05dc854b0b355317492d46f1f1 /src/ui | |
parent | 6a4001989d0307be00dd85b7aa75cf1c5b09acb6 (diff) |
* Exchanged Dragoon and Hydra to better fit the models
* Adjusted relavant attributes
* Disabled bank
* Credits now non-volatile
* In stages where the advanced builder is allowed it is now available from the egg
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui_main.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 2bfe2b18..8f20effd 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3226,7 +3226,7 @@ static void UI_StartSinglePlayer() { UI_GetCurrentAlienStage =============== */ -static stage_t UI_GetCurrentAlienStage( ) +static stage_t UI_GetCurrentAlienStage( void ) { char buffer[ MAX_TOKEN_CHARS ]; stage_t stage, dummy; @@ -3242,7 +3242,7 @@ static stage_t UI_GetCurrentAlienStage( ) UI_GetCurrentHumanStage =============== */ -static stage_t UI_GetCurrentHumanStage( ) +static stage_t UI_GetCurrentHumanStage( void ) { char buffer[ MAX_TOKEN_CHARS ]; stage_t stage, dummy; @@ -3258,7 +3258,7 @@ static stage_t UI_GetCurrentHumanStage( ) UI_LoadTremTeams =============== */ -static void UI_LoadTremTeams( ) +static void UI_LoadTremTeams( void ) { uiInfo.tremTeamCount = 3; uiInfo.tremTeamList[ 0 ].text = String_Alloc( "Aliens" ); @@ -3279,16 +3279,23 @@ static void UI_LoadTremTeams( ) UI_LoadTremAlienClasses =============== */ -static void UI_LoadTremAlienClasses( ) +static void UI_LoadTremAlienClasses( void ) { + pClass_t bClass; + uiInfo.tremAlienClassCount = 2; + if( BG_FindStagesForClass( PCL_A_B_LEV1, UI_GetCurrentAlienStage( ) ) ) + bClass = PCL_A_B_LEV1; + else + bClass = PCL_A_B_BASE; + uiInfo.tremAlienClassList[ 0 ].text = - String_Alloc( BG_FindHumanNameForClassNum( PCL_A_B_BASE ) ); + String_Alloc( BG_FindHumanNameForClassNum( bClass ) ); uiInfo.tremAlienClassList[ 0 ].cmd = - String_Alloc( va( "cmd class %s", BG_FindNameForClassNum( PCL_A_B_BASE ) ) ); + String_Alloc( va( "cmd class %s", BG_FindNameForClassNum( bClass ) ) ); uiInfo.tremAlienClassList[ 0 ].infopane = - UI_FindInfoPaneByName( va( "%sclass", BG_FindNameForClassNum( PCL_A_B_BASE ) ) ); + UI_FindInfoPaneByName( va( "%sclass", BG_FindNameForClassNum( bClass ) ) ); uiInfo.tremAlienClassList[ 1 ].text = String_Alloc( BG_FindHumanNameForClassNum( PCL_A_O_BASE ) ); @@ -3303,7 +3310,7 @@ static void UI_LoadTremAlienClasses( ) UI_LoadTremHumanItems =============== */ -static void UI_LoadTremHumanItems( ) +static void UI_LoadTremHumanItems( void ) { uiInfo.tremHumanItemCount = 2; |