mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
************************************************************
* Merged Source Code from Development Trunk: Revision 4063 * ************************************************************ - Source Code is merged from: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - This will be the Source for the Beta 2011 Test git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+22
-1
@@ -24,6 +24,9 @@
|
||||
#include "text.h"
|
||||
#endif
|
||||
|
||||
|
||||
#include "IMP Confirm.h"
|
||||
|
||||
// min time btween frames of animation
|
||||
#define ANIMATE_MIN_TIME 200
|
||||
|
||||
@@ -659,7 +662,25 @@ BOOLEAN LoadCharacterPortrait( void )
|
||||
|
||||
// load it
|
||||
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
|
||||
FilenameForBPP( pPlayerSelectedFaceFileNames[ iPortraitNumber ] , VObjectDesc.ImageFile);
|
||||
|
||||
|
||||
if( fCharacterIsMale )
|
||||
{
|
||||
if ( gIMPMaleValues[ iPortraitNumber ].Enabled == 1 )
|
||||
{
|
||||
sprintf( VObjectDesc.ImageFile, "Faces\\%02d.sti", gIMPMaleValues[ iPortraitNumber ].PortraitId );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( gIMPFemaleValues[ iPortraitNumber ].Enabled == 1 )
|
||||
{
|
||||
sprintf( VObjectDesc.ImageFile, "Faces\\%02d.sti", gIMPFemaleValues[ iPortraitNumber ].PortraitId );
|
||||
}
|
||||
}
|
||||
|
||||
//FilenameForBPP( pPlayerSelectedFaceFileNames[ iPortraitNumber ] , VObjectDesc.ImageFile);
|
||||
|
||||
CHECKF(AddVideoObject(&VObjectDesc, &guiCHARACTERPORTRAIT));
|
||||
|
||||
return( TRUE );
|
||||
|
||||
Reference in New Issue
Block a user