mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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:
@@ -1104,6 +1104,12 @@ BOOLEAN LoadExternalGameplayData(STR directoryName)
|
||||
|
||||
LoadIMPPortraitsTEMP( );
|
||||
|
||||
// Flugente: imp voices
|
||||
strcpy( fileName, directoryName );
|
||||
strcat( fileName, IMPVOICES );
|
||||
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, String( "LoadExternalGameplayData, fileName = %s", fileName ) );
|
||||
SGP_THROW_IFFALSE( ReadInIMPVoices( fileName ), IMPVOICES );
|
||||
|
||||
// Flugente: soldier profiles
|
||||
if (!is_networked)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user