mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Altered the pName field from Pockets.xml to a CHAR16 value so it will support multilingual code.
Updated the Pockets.xml reader function so that we can include a german.pockets.xml and russian.pockets.xml (and any other language we eventually choose to support) just like we have with Items.xml. I moved the "Sold Item" and "Delete Item" phrases to the language specific cpp files. I updated the SHIFT+N hotkey so that it will now work from the strategic screen. On tactical it handles the entire team. On strategic, it handles only the one merc who is currently active. I fixed a problem with the ALT+W cheat key so that it cycles properly. I fixed a problem with the backpack buttons where the button key wasn't being properly deleted. This could sometimes cause an "overload" which would result in a crash. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1873 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -619,6 +619,7 @@ extern UINT16 gusNewItemIndex;
|
||||
extern BOOLEAN gfDeductPoints;
|
||||
|
||||
extern void CleanUpStack( OBJECTTYPE * pObj, OBJECTTYPE * pCursorObj );
|
||||
extern void SwapGoggles(SOLDIERTYPE *pTeamSoldier);
|
||||
|
||||
UINT32 guiCHARLIST;
|
||||
UINT32 guiCHARINFO;
|
||||
@@ -6366,6 +6367,13 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent )
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case 'N':
|
||||
if ( bSelectedInfoChar != -1 && fShowInventoryFlag )
|
||||
{
|
||||
SOLDIERTYPE *pSoldier = MercPtrs[ gCharactersList[ bSelectedInfoChar ].usSolID ];
|
||||
SwapGoggles(pSoldier);
|
||||
}
|
||||
break;
|
||||
case 'o':
|
||||
if( fAlt )
|
||||
{ // toggle if Orta & Tixa have been found
|
||||
|
||||
Reference in New Issue
Block a user