- 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
@@ -5115,7 +5115,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 // TODO.Translate
L"--Cheat Mode Options--", // TOPTION_CHEAT_MODE_OPTIONS_HEADER,
L"Forcer envois Bobby Ray", // force all pending Bobby Ray shipments
L"-----------------", // TOPTION_CHEAT_MODE_OPTIONS_END
@@ -5231,7 +5231,7 @@ STR16 zOptionsScreenHelpText[] =
#ifdef ENABLE_ZOMBIES
L"When ON, zombies will span. Be aware!", // allow zombies // TODO.Translate
#endif
L"When ON, enables popup boxes that appear when you left click on empty merc inventory slots while viewing sector inventory in mapscreen.", // TODO.Translate
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER",
L"Forcer tous les envois en attente de Bobby Ray",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END",
@@ -7348,4 +7348,16 @@ STR16 zNewTacticalMessages[]=
L"Vous avez choisi la campagne %S. Cette campagne est un mod d'Unfinished Business. Etes-vous sûr de vouloir jouer la campagne %S ?", // @@@ new text
L"Pour pouvoir utiliser l'éditeur, veuillez choisir une autre campagne que celle par défaut.", ///@@new
};
// The_bob : pocket popup text defs // TODO.Translate
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 //FRENCH