- Updated Merc Inventory Popup-Code (by The_Bob)

o externalized the hardcoded popup text code
o enable/disable the popup in the ingame option screen
-> To open the popup, left click on empty merc inventory slot while viewing sector inventory in mapscreen

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5414 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2012-07-23 14:01:08 +00:00
parent 609047e333
commit c265a63b28
14 changed files with 248 additions and 42 deletions
+14 -2
View File
@@ -5124,7 +5124,7 @@ STR16 zOptionsToggleText[] =
#ifdef ENABLE_ZOMBIES
L"Allow Zombies", // Flugente Zombies 1.0
#endif
L"Enable inventory popups", // the_bob : enable popups for picking items from sector inv
L"--Cheat Mode Options--", // TOPTION_CHEAT_MODE_OPTIONS_HEADER,
L"Force Bobby Ray shipments", // force all pending Bobby Ray shipments
L"-----------------", // TOPTION_CHEAT_MODE_OPTIONS_END
@@ -5240,7 +5240,7 @@ STR16 zOptionsScreenHelpText[] =
#ifdef ENABLE_ZOMBIES
L"When ON, zombies will spawn. Be aware!", // allow zombies
#endif
L"When ON, enables popup boxes that appear when you left click on empty merc inventory slots while viewing sector inventory in mapscreen.",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER",
L"Force all pending Bobby Ray shipments",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END",
@@ -7363,4 +7363,16 @@ STR16 zNewTacticalMessages[]=
L"You have selected the campaign %S. This campaign is a player-modified version of the original Unfinished Business campaign. Are you sure you wish to play the %S campaign?", // @@@ new text
L"In order to use the editor, please select a campaign other than the default.", ///@@new
};
// The_bob : pocket popup text defs
STR16 gszPocketPopupText[]=
{
L"Grenade launchers", // POCKET_POPUP_GRENADE_LAUNCHERS,
L"Rocket launchers", // POCKET_POPUP_ROCKET_LAUNCHERS
L"Melee & thrown weapons", // POCKET_POPUP_MEELE_AND_THROWN
L"- no matching ammo -", //POCKET_POPUP_NO_AMMO
L"- no guns in inventory -", //POCKET_POPUP_NO_GUNS
L"more...", //POCKET_POPUP_MOAR
};
#endif //ENGLISH