Implemented new IMP gear selection interface to replace the dropdown menus. Requires GameDir rev 2652.

Enrico's letter is forced to the first hired merc in old inventory, similar to new inventory in case a free item pocket is not found.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9391 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Asdow
2022-08-01 21:15:34 +00:00
parent 058a2cd40f
commit 1f095b7d31
14 changed files with 1553 additions and 868 deletions
+9
View File
@@ -154,6 +154,11 @@ BOOLEAN LoadColorChoiceFrame( void );
void DeleteColorChoiceFrame( void );
void RenderColorChoiceFrame(INT16 sX, INT16 sY);
BOOLEAN LoadImpGearSelection(void);
void DeleteImpGearSelection(void);
void RenderImpGearSelection(void);
void RenderImpGearSelectionGrid(void);
// graphical handles
extern UINT32 guiBACKGROUND;
@@ -174,6 +179,10 @@ extern UINT32 guiATTRIBUTEFRAME;
extern UINT32 guiATTRIBUTESCREENINDENT1;
extern UINT32 guiATTRIBUTESCREENINDENT2;
extern UINT32 guiSLIDERBAR;
extern UINT32 gIMPINVENTORY;
extern UINT32 gIMPFIGURES[3];
extern SGPRectangle gIMPGearLayout;
extern SGPRectangle gIMPInvPoolLayout;
#endif