mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Merged from revision: 7123
Enhanced Description Box (EDB) Compare Feature (by anv & Buggler) - Now, when alt key is pressed, statistics of any item displayed in Description Box will change to show comparison with another items in sector inventory, allowing for quick revision of available equipment. Two items can be compared, if they belong to the same class, with exception of: - armor items can be compared only if they are of the same type (vest vs vest, helmet vs helmet, no point in comparing item if it can't be replaced by), - weapons can be compared with any other weapon (including throwing knives vs guns, knives vs blunt weapons, etc.), - explosives - bombs can be compared with grenades too (makes sense since TNT can be armed and thrown too). see: http://www.bears-pit.com/board/ubbthreads.php/topics/331501/Description_Box_enhancement:_C.html#Post331501 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7124 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -58,6 +58,8 @@ extern INT32 sObjectSourceGridNo;
|
||||
extern INT32 iCurrentInventoryPoolPage;
|
||||
extern INT32 iLastInventoryPoolPage;
|
||||
extern BOOLEAN fMapInventoryItemCompatable[ ];
|
||||
// anv: extern'd this for use in Interface Enhanced.cpp
|
||||
extern BOOLEAN gfCheckForCursorOverMapSectorInventoryItem;
|
||||
// HEADROCK HAM 5: Same idea as above, this flags items as being candidates for appearing in Zoomed mode.
|
||||
extern BOOLEAN gfMapInventoryItemToZoom[ ];
|
||||
extern INT32 MAP_INVENTORY_POOL_SLOT_COUNT;
|
||||
|
||||
Reference in New Issue
Block a user