mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New feature: Voicesets are now independent fom profile slots. Voiceset is set in MercProfiles.xml with <usVoiceIndex>. IMP voices are defined in IMPVoices.xml.
This feature is savegame compatible. Requires GameDir >= r2357 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8364 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -186,110 +186,6 @@ void EnterIMPColorChoice( void )
|
||||
bBigBody = gIMPValues[iPortraitNumber].bBigBody;
|
||||
}
|
||||
|
||||
// Based on the portrait chosen, set the default colors, when colors
|
||||
/* switch( iPortraitNumber )
|
||||
{
|
||||
case( 0 ):
|
||||
iCurrentSkin = 3;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 7;
|
||||
iCurrentPants = 2;
|
||||
bBigBody = TRUE;
|
||||
break;
|
||||
case( 1 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 4;
|
||||
iCurrentPants = 3;
|
||||
break;
|
||||
case( 2 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 0;
|
||||
iCurrentPants = 0;
|
||||
break;
|
||||
case( 3 ):
|
||||
iCurrentSkin = 2;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 0;
|
||||
iCurrentPants = 1;
|
||||
break;
|
||||
case( 4 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 3;
|
||||
iCurrentPants = 5;
|
||||
break;
|
||||
case( 5 ):
|
||||
iCurrentSkin = 2;
|
||||
iCurrentHair = 1;
|
||||
iCurrentShirt = 3;
|
||||
iCurrentPants = 1;
|
||||
break;
|
||||
case( 6 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 4;
|
||||
iCurrentPants = 0;
|
||||
bBigBody = TRUE;
|
||||
break;
|
||||
case( 7 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 10;
|
||||
iCurrentPants = 1;
|
||||
bBigBody = TRUE;
|
||||
break;
|
||||
case( 8 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 4;
|
||||
iCurrentPants = 3;
|
||||
break;
|
||||
case( 9 ):
|
||||
iCurrentSkin = 0;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 4;
|
||||
iCurrentPants = 4;
|
||||
break;
|
||||
case( 10 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 1;
|
||||
iCurrentShirt = 4;
|
||||
iCurrentPants = 1;
|
||||
break;
|
||||
case( 11 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 1;
|
||||
iCurrentShirt = 10;
|
||||
iCurrentPants = 1;
|
||||
break;
|
||||
case( 12 ):
|
||||
iCurrentSkin = 0;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 0;
|
||||
iCurrentPants = 5;
|
||||
break;
|
||||
case( 13 ):
|
||||
iCurrentSkin = 3;
|
||||
iCurrentHair = 0;
|
||||
iCurrentShirt = 3;
|
||||
iCurrentPants = 1;
|
||||
break;
|
||||
case( 14 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 4;
|
||||
iCurrentShirt = 0;
|
||||
iCurrentPants = 2;
|
||||
break;
|
||||
case( 15 ):
|
||||
iCurrentSkin = 1;
|
||||
iCurrentHair = 3;
|
||||
iCurrentShirt = 4;
|
||||
iCurrentPants = 5;
|
||||
break;
|
||||
}
|
||||
*/
|
||||
//add the buttons
|
||||
AddIMPColorChoiceButtons();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user