mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- bugfix: Multiple IMPs with same voice causes wrong data and CTDs. Now it is impossible to have multiple IMPs with the same voice. No more invalid IMP data with multiple imps (hopefully) ;) - You can have a maximum number of 6 imps (3 women and 3 men). All have different voices - If an IMP is cloned (90210, nickname) an unused voice is set. So we have correct data - Prevent the user from selecting used voices in the IMP Voice selection screen git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@535 3b4a5df2-a311-0410-b5c6-a8a6f20db521
31 lines
573 B
C
31 lines
573 B
C
#ifndef __IMP_MAINPAGE_H
|
|
#define __IMP_MAINPAGE_H
|
|
#include "types.h"
|
|
|
|
void RenderIMPMainPage( void );
|
|
void ExitIMPMainPage( void );
|
|
void EnterIMPMainPage( void );
|
|
void HandleIMPMainPage( void );
|
|
void NextProfilingMode( void );
|
|
void ShadeUnSelectableButtons( void );
|
|
|
|
// WANNE NEW
|
|
INT32 GetFreeIMPSlot(INT32 iIMPId);
|
|
INT32 GetFilledIMPSlots( INT8 iSex );
|
|
|
|
extern INT32 iCurrentProfileMode;
|
|
|
|
|
|
//enums for the various Profile modes
|
|
enum
|
|
{
|
|
IMP__REGISTRY,
|
|
IMP__PERSONALITY,
|
|
IMP__ATTRIBUTES,
|
|
IMP__PORTRAIT,
|
|
IMP__VOICE,
|
|
IMP__FINISH,
|
|
};
|
|
|
|
|
|
#endif |