ChrisL
0e4c2ab79c
Updated the shopkeeper display so that items being offered for sale by the shopkeeper display their highest unit cost instead of the stack cost.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2350 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-09-15 20:43:49 +00:00
ChrisL
e6f9406ffe
Fix sector inventory so that right-click closes the panel when ALLOW_SECTOR_DESCRIPTION_WINDOW is FALSE.
...
Removed the "Major Version Update" system from the map editor. Now, maps will be updated only when they are actually loaded.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2345 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-09-11 14:57:12 +00:00
Wanne
eae98df88d
- externalization: Restrict female enemies from being in the queens army (except Female Elite enemies)? -> RESTRICT_FEMALE_ENEMIES_EXCEPT_ELITE
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2343 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-09-09 16:26:51 +00:00
ChrisL
7e37a07476
Fixed the sector inventory so that you can right click to look at an item's description even if you don't have an On Duty merc in the sector. You still need a merc in sector, but they can be involved in another activity where before they also had to be part of an active unit.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2306 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-08-12 17:09:29 +00:00
ChrisL
382fff0437
Possible fix for the intermittent sector inventory right-click issue.
...
Fixed the display AP cost for shooting (when you also have to change facing and/or ready a weapon) so that it correctly matches the APs that are really charged.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2298 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-08-08 23:26:20 +00:00
Wanne
15e7e467e5
New exe build (2296)
...
- A* enabled
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2296 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-08-06 19:01:39 +00:00
ChrisL
94ef5885bc
Adjusted the ChangeDropPackStatus function to account for "range to backpack" when enemies are in sector.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2295 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-08-06 16:33:52 +00:00
ChrisL
0b25d91e0e
Corrected a graphic rendering issue with attachment alignment on the strategic screen.
...
Corrected a problem with IMP hiring that caused an assertion error when trying to use the last female IMP profile ID.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2292 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-08-05 18:22:22 +00:00
haydent
768ad6ea74
hope to fix mp ctds, line 922
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2257 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-07-25 23:03:43 +00:00
ChrisL
411bec6fc4
More random number adjustments from SpaceViking.
...
Adjusted the default file location so that it doesn't point to a specific drive but, instead, creates builds in whatever driver your code is located on.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2254 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-07-23 18:12:48 +00:00
ChrisL
75c937544a
I messed up one of SpaceVikings changes. This corrects it.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2243 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-07-18 18:29:30 +00:00
ChrisL
ec87dd51e6
SpaceViking's random number and CTH adjustments.
...
OIV Graphic alignment correction.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2242 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-07-17 00:16:16 +00:00
Wanne
ad96055687
new exe build (2240)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2241 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-07-14 18:48:58 +00:00
ChrisL
6438f9164d
Corrected a display problem with the KeyRing popup when playing in OIV mode.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2239 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-07-11 16:49:12 +00:00
ChrisL
a2c73aab6d
Fixed the MapEditor configuration so that it will compile a "release" version of the editor instead of the "debug" version that had been created. People should use this updated configuration to generate the Map Editor instead of messing with the defines in the builddefines.h file.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2230 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-06-25 15:33:58 +00:00
Wanne
631ba52d19
- removed debug messages that occurred in release code in tactical screen
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2229 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-06-25 10:38:19 +00:00
Wanne
2baa1b7c94
- bugfix: Loading maps in map editor with creatures. They did not show up
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2218 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-06-07 18:27:56 +00:00
lalien
23b8b0c624
Fixes for VS2003
...
- added files
- changed Credits.cpp to non Unicode version
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2210 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-31 11:56:39 +00:00
ChrisL
b2b42e1958
I blew it and missed the fact that SpaceViking was still using the old structure in his test code.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2208 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-30 15:43:51 +00:00
ChrisL
bab3a586d7
Added new weapon jam code from SpaceViking (think that's who wrote it).
...
Updated the text files and moved a static phrase into the language specific files.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2207 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-30 15:32:54 +00:00
ChrisL
0fc5fd8e10
Turned A* Pathfinding off until someone can resolve the infinite loop issue that is occuring on custom maps.
...
Updated the 1024x768 tactical graphic coords to fix a "blacked out" display issue.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2205 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-29 15:15:03 +00:00
haydent
736f2a194d
*disable tank spawning, and fix bug causing lack of AI to spawn in maps with snipers or tanks.
...
*small change associated with hidden interrupts now occuring and not necessarily only being between AI to hopefully stop crashes. (thanks for the call stack!)
*added no gear option 4 MERC
*disable explosions
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2202 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-27 10:01:04 +00:00
ChrisL
51d541f29c
Turned on Abends so they appear rather then having the program simply CTD.
...
Setup a failsafe in the pathfinding system that will force an abend should the system fall into an infinite loop.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2194 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-21 16:55:38 +00:00
haydent
73acf25c7a
fixed up AI interrupts
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-21 10:23:54 +00:00
haydent
4b0dcb5e96
disabled spawning on roofs
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2190 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-20 22:16:11 +00:00
haydent
947dcb7e5d
synced merc collapse
...
'resolved' timer cursor lockups
add new server ini variable: DISABLE_SPEC_MODE = 0
possible lessening of chance for AI to Lockup.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2184 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-19 11:17:48 +00:00
haydent
70c6e61334
added sync for bandaging anim and ability to heal other teams
...
add names to end turn dialog.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2182 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-19 03:13:19 +00:00
Wanne
eedb409e48
- added multiplayer folder include for tactical project for release version
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2180 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-18 10:22:16 +00:00
Wanne
f17cc948a4
- fixed map editor incompatibility with the merged multiplayer code
...
- fixed crashes when loading modified maps in tactical
- added missing "is_networked" condition to the method AddPossiblePendingEnemiesToBattle()
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2177 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-17 21:51:32 +00:00
Wanne
d576fc6b99
- made a few project changes, so that the map editor exe can be compiled
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2172 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-16 18:12:15 +00:00
ChrisL
6565f14bc3
Fix for Bug#99
...
Fix for Bug#100
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2170 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-16 17:25:46 +00:00
haydent
66d55cf08a
* fixed bullet artifacts and removal !
...
* hopefull disable of grenades
* added a LOS check from your mercs to a door to see if it should be animated or not.
* looked into the "ENEMY_ENABLED" issue, it is not double defined, the one in network.h is part of a struct and not connected. made some changes to do tests for ==0 or ==1 rather than boolean. but i believe there must be some misunderstanding possibly. ENEMY_ENABLED only enables or disables the enemy AI, And only when coop is enabled... when its not there is no ai whatsoever, but you can still get into deathmatch battle under the various ini settings.
enjoy, the bullets are finishing themselves off much better now ! :)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2168 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-16 08:36:19 +00:00
haydent
a04768e6a6
added credit check to MERC purchases
...
fixed appearance of enemy MERC NPC's to show stats when targeted
fixed realtime
added check to only allow AI during game mode coop
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2167 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-15 14:41:47 +00:00
Wanne
bf99b6d9e6
- bugfix mp: fixed up coop
...
- bugfix mp: fixed bobby rays code my end
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2158 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-13 18:49:02 +00:00
lalien
3e22dce318
Merged Multi Player Project into main branch
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2144 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-12 08:20:47 +00:00
ChrisL
c448713412
Minor adjustment to the NIV mode 800x600 thigh and combat pack pocket coordinates on the tactical panel so that the stealing menu doesn't inadvertantly "double hatch" our pockets and make them look solid black.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2124 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-09 22:28:59 +00:00
ChrisL
82aec44382
Fixed bug #82 : SHIFT+N allowed both sun goggles and NVGs to be worn at the same time.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2108 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-06 17:32:34 +00:00
ChrisL
07549fdc68
Resolved a problem where ItemSize=99 items would cause a CTD because of a mission condition.
...
Adjusted the ALT+W function so it runs a bit better.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2094 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-05-02 16:39:16 +00:00
ChrisL
e2ad50963b
Bugfix that removes a rare CTD that can occur if a non-LBE item accidentally gets associated with a merc.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2077 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-25 18:17:53 +00:00
ChrisL
b4b31cdb06
Fixed a CTD that occurs when closing sector inventory while the item description window is open.
...
Added a new ALLOW_SECTOR_DESCRIPTION_WINDOW flag to the ja2_options.ini that allows players to turn off the stack popup and item description functionality for the sector inventory panel.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2063 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-21 21:04:35 +00:00
ChrisL
ece7ec25bb
Resolved an inadvertent memory leak I put into the code while fixing a previous CTD.
...
Cleaned up the cursor graphics so that the cursor is properly updated when reloading stacks of weapons from the stack popup screen.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2058 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-21 06:39:01 +00:00
ChrisL
896891431d
Fixed a CTD that occured when reloading a weapon from the sector inventory panel.
...
Fixed the sector inventory panel so that you could reload weapons that could be stacked.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2046 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-18 22:41:09 +00:00
ChrisL
38ee990e9f
Bugfix to stop a CTD that could occur if the system inadvertantly tries to stack two money objects that have a 0 uiMoneyAmount amount.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2043 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-18 05:21:01 +00:00
ChrisL
bffdfcc75d
Fixed an OIV mode bug where RPCs don't get initial gear at hire.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2037 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-16 16:42:43 +00:00
ChrisL
0596b0a553
MadLab fix related to handing him a weapon with attachments.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2029 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-15 16:14:14 +00:00
ChrisL
4d4536a8ee
Fixed an item duplication bug related to the item description window and unloading a weapon.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2013 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-11 18:04:29 +00:00
ChrisL
bbc4447ab6
Fixed a bug that would cause a freeze while in OldInv mode at the very start of the game if you didn't open the tactical inventory panel before trying to open the strategic inventory panel.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1977 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-04-02 21:34:11 +00:00
ChrisL
fbf63c8af0
Setup failsafe to block NIV Mode if "Data" is specified as the CUSTOM_DATA_LOCATION.
...
Setup language specific files to be optional.
Setup code to accept all language specific files for items.xml, pockets.xml and ammostrings.xml.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1953 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-03-31 19:02:34 +00:00
ChrisL
a7e6b96bbe
Build1937
...
This build includes the "Professional Sniper" skill and changes made to aiming and scopes in the CTH calculation functions.
Modified Sniper skill and "per click" aim bonus functionality.
Added some adjustments to how Scopes effect the CTH calculations. This should drastically reduce the effectiveness of sniper weapons and scopes, while still leaving them effective at closer ranges.
Adjusted the scope vision bonus so that it plays on range with a minimum attainable reduction equal to the scopes minrange value.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1937 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-03-29 20:40:40 +00:00
ChrisL
bdcc920c63
Build1936
...
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
2008-03-29 20:35:03 +00:00