Reworked Encyclopedia (by Moa)

- Access Encyclopedia from laptop screen
- Encyclopedia can be enabled/disabled in the ja2_options.ini: ENCYCLOPEDIA
- more infos:  http://www.bears-pit.com/board/ubbthreads.php/topics/327315/Re_Ingame_Encyclopaedia.html#Post327315


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6550 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-10-31 11:42:05 +00:00
parent 5872d264f7
commit e7bd32dad9
39 changed files with 4125 additions and 54 deletions
+178
View File
@@ -249,6 +249,182 @@ STR16 pEncyclopediaSkrotyText[] =
L"Air.",
};
STR16 pEncyclopediaFilterLocationText[] =
{//major location filter button text max 7 chars
//..L"------v"
L"All",//0
L"City",
L"SAM",
L"Mine",
L"Airport",
L"Wilder.",
L"Underg.",
L"Facil.",
L"Other",
//filter button tooltip
//..L"---------------------------------------------------------------------v"
L"Show All",//facility index + 1
L"Show Cities",
L"Show SAM sites",
L"Show mines",
L"Show airports",
L"Show sectors in wilderness",
L"Show underground sectors",
L"Show sectors with facilities\n[|L|B]toggle filter\n[|R|B]reset filter",
L"Show Other sectors",
};
STR16 pEncyclopediaSubFilterLocationText[] =
{//item subfilter button text max 7 chars
//..L"------v"
L"",//reserved. Insert new city filters above!
L"",//reserved. Insert new SAM filters above!
L"",//reserved. Insert new mine filters above!
L"",//reserved. Insert new airport filters above!
L"",//reserved. Insert new wilderness filters above!
L"",//reserved. Insert new underground sector filters above!
L"",//reserved. facility filter texts are dynamicly loaded, leave this marker empty!
L"",//reserved. Insert new other filters above!
};
STR16 pEncyclopediaFilterCharText[] =
{//major char filter button text
//..L"------v"
L"All",//0
L"A.I.M.",
L"MERC",
L"RPC",
L"NPC",
L"IMP",
L"Other",//add new filter buttons before other
//filter button tooltip
//..L"---------------------------------------------------------------------v"
L"Show All",//Other index + 1
L"Show A.I.M. members",
L"Show M.E.R.C staff",
L"Show Rebels",
L"Show Non-hirable Characters",
L"Show Player created Characters",
L"Show Other\n[|L|B] toggle filter\n[|R|B] reset filter",
};
STR16 pEncyclopediaSubFilterCharText[] =
{//item subfilter button text
//..L"------v"
L"",//reserved. Insert new AIM filters above!
L"",//reserved. Insert new MERC filters above!
L"",//reserved. Insert new RPC filters above!
L"",//reserved. Insert new NPC filters above!
L"",//reserved. Insert new IMP filters above!
//Other-----v"
L"Vehic.",
L"EPC",
L"",//reserved. Insert new Other filters above!
};
STR16 pEncyclopediaFilterItemText[] =
{//major item filter button text max 7 chars
//..L"------v"
L"All",//0
L"Gun",
L"Ammo",
L"Armor",
L"LBE",
L"Attach.",
L"Misc",//add new filter buttons before misc
//filter button tooltip
//..L"---------------------------------------------------------------------v"
L"Show All",//misc index + 1
L"Show Guns\n[|L|B] toggle filter\n[|R|B] reset filter",
L"Show Amunition\n[|L|B] toggle filter\n[|R|B] reset filter",
L"Show Armor Gear\n[|L|B] toggle filter\n[|R|B] reset filter",
L"Show LBE Gear\n[|L|B] toggle filter\n[|R|B] reset filter",
L"Show Attachments\n[|L|B] toggle filter\n[|R|B] reset filter",
L"Show Misc Items\n[|L|B] toggle filter\n[|R|B] reset filter",
};
STR16 pEncyclopediaSubFilterItemText[] =
{//item subfilter button text max 7 chars
//..L"------v"
//Guns......v"
L"Pistol",
L"M.Pist.",
L"SMG",
L"Rifle",
L"SN Rif.",
L"AS Rif.",
L"MG",
L"Shotgun",
L"H.Weap.",
L"",//reserved. insert new gun filters above!
//Amunition.v"
L"Pistol",
L"M.Pist.",
L"SMG",
L"Rifle",
L"SN Rif.",
L"AS Rif.",
L"MG",
L"Shotgun",
L"H.Weap.",
L"",//reserved. insert new ammo filters above!
//Armor.....v"
L"Helmet",
L"Vest",
L"Pant",
L"Plate",
L"",//reserved. insert new armor filters above!
//LBE.......v"
L"Tight",
L"Vest",
L"Combat",
L"Backp.",
L"Pocket",
L"Other",
L"",//reserved. insert new LBE filters above!
//Attachments"
L"Optic",
L"Side",
L"Muzzle",
L"Extern.",
L"Intern.",
L"Other",
L"",//reserved. insert new attachment filters above!
//Misc......v"
L"Blade",
L"T.Knife",
L"Punch",
L"Grenade",
L"Bomb",
L"Medikit",
L"Kit",
L"Face",
L"Other",
L"",//reserved. insert new misc filters above!
//add filters for a new button here
};
STR16 pEncyclopediaFilterQuestText[] =
{//major quest filter button text max 7 chars
//..L"------v"
L"All",
L"Active",
L"Compl.",
//filter button tooltip
//..L"---------------------------------------------------------------------v"
L"Show All",//misc index + 1
L"Show Active Quests",
L"Show Completed Quests",
};
STR16 pEncyclopediaSubFilterQuestText[] =
{//Quest subfilter button text max 7 chars, not used, but needed if any subfilters are added
//..L"------v"
L"",//reserved. insert new active quest subfilters above!
L"",//reserved. insert new completed quest subfilters above!
};
STR16 pEncyclopediaShortInventoryText[] =
{
L"All", //0
@@ -6172,6 +6348,8 @@ STR16 gzTooltipStrings[] =
L"%s|Current |Health: %d\n",
L"%s|Current |Breath: %d\n",
L"%s|Current |Morale: %d\n",
L"%s|Current |S|hock: %d\n",
L"%s|Current |S|uppression Points: %d\n",
// Full info
L"%s|Helmet: %s\n",
L"%s|Vest: %s\n",