mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Minor adjustments to some of the rendering functions to grant a bit more control to the code. Adjusted the mouse areas for key and item popup windows. Added the pocket capacity indicator to sector inventory when using NewInv mode. Added the right click option to sector inventory so you can view/manipulate stacks and view item descriptions without first equiping an item. Updated sector inventory so that capacity values appear in all pockets. Not just currently filled one. Updated sector inventory so that newly placed items could be right-clicked on for details. Increased the mouse region for the various stack popups so there is always room to close the popup without activating the description box. Fixed a bug in the sector inventory description panel that caused a crash when trying to remove an attachment. Fixed sector inventory so you can add attachments to weapons. Fixed some weight issues. Fixed a crash resulting from right-clicking in sector inventory while Item Desc window was already open. Fixed the "Active Squad" message so it displays the squad that is actually activated. Fixed a bug that allowed you to start a new game in NewInv mode while in 640x480 resolution. Updated the Item Description windows so you can load a gun as well as unload. Added new CTRL+SHIFT+D hotkey to delete all items in sector. Added new CTRL+SHIFT+S hotkey to sell all items in sector, assuming you have the ALT+LMB option turned on in your INI file. Fixed a problem with sector inventory item description where the status did not appear for items that couldn't stack. Fixed a problem with Nails so he always starts with his leather jacket, even if you don't buy his gear. Incorporated a failsafe so that NewInv mode can't be selected, nor NIV saves loaded, when no custom data path is set. Add new IC_BELTCLIP item class. Update pocket definition restrictions to use bitwise compare. Add failsafe so that you can't merge LBENODEs. Reset VC2005 so it doesn't point to a specific drive. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1936 3b4a5df2-a311-0410-b5c6-a8a6f20db521
40 lines
796 B
C++
40 lines
796 B
C++
#ifdef PRECOMPILEDHEADERS
|
|
#include "JA2 All.h"
|
|
#else
|
|
#include "Types.h"
|
|
#include "GameVersion.h"
|
|
#endif
|
|
|
|
|
|
//
|
|
// Keeps track of the game version
|
|
//
|
|
|
|
#ifdef JA2EDITOR
|
|
|
|
//MAP EDITOR BUILD VERSION
|
|
CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.1936" };
|
|
|
|
#elif defined JA2BETAVERSION
|
|
|
|
//BETA/TEST BUILD VERSION
|
|
CHAR16 zVersionLabel[256] = { L"Debug v1.13.1936" };
|
|
|
|
#elif defined CRIPPLED_VERSION
|
|
|
|
//RELEASE BUILD VERSION s
|
|
CHAR16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
|
|
|
#else
|
|
|
|
//RELEASE BUILD VERSION
|
|
CHAR16 zVersionLabel[256] = { L"Release v1.13.1936" };
|
|
|
|
#endif
|
|
|
|
CHAR8 czVersionNumber[16] = { "Build 08.03.29" }; //YY.MM.DD
|
|
CHAR16 zTrackingNumber[16] = { L"Z" };
|
|
|
|
|
|
// SAVE_GAME_VERSION is defined in header, change it there
|