Flugente
380d858d2c
Added VS2017 solution and project files (by DepressivesBrot)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8490 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-10-02 13:00:46 +00:00
Flugente
3f057567dc
- Added bayonet animations (standing against standing/crouched targets) for all merc bodytypes (by Taro)
...
- Initiating a bayonet attack immediately after running adds a melee damage bonus (+20%)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8489 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-10-02 10:38:12 +00:00
Flugente
a57d9455f3
Dynamic dialogue boxes cause less issues when scrolling
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8486 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-10-01 11:08:38 +00:00
Flugente
8de2a8601e
New: if REDUCED_INSTANT_DEATH is TRUE, damage from guns/knives that would normally instantly kill non-comatose player-controlled mercs is lowered so that they instead fall into a coma (and can be saved by other mercs) (by sevenfm)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8485 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-29 19:48:32 +00:00
Flugente
2c84cbe48d
Change: AI does not attack mercs that are already dying, thus focusing on more dangerous opponents while giving the player a chance to rescue dying mercs (by sevenfm)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8483 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-28 21:27:59 +00:00
Flugente
dfc55c286d
Fix: boxing exception to covert behaviour only works between 2 boxers
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8482 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-28 19:40:49 +00:00
Flugente
dc4846a464
Fix: as being covert breaks boxing fights, boxers are not covert
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8481 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-27 21:18:35 +00:00
Flugente
bc85245a53
Fix: Squadleader level bonus for other mercs was applied in strategic.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8479 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-24 15:49:41 +00:00
silversurfer
0450b7a32c
Fixes:
...
- missing laser range in OCTH
- missing compare functionality for laser ranges
- missing ToHitBonus display for crouched stance
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8478 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-23 11:16:37 +00:00
Flugente
f30482d939
Soldiers move slower when dragging someone
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8476 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-18 17:36:39 +00:00
Flugente
6031257dcd
New feature: mercs can drag people and corpses
...
Requires GameDir >= r2386.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23508&goto=350989&#msg_350989
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8474 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-17 22:16:30 +00:00
Flugente
2fe522db4b
Fix: compiler warnings
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8471 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-13 20:01:48 +00:00
Sevenfm
c24a5da97a
- UseGunNCTH: initialize fBuckshot
...
- CreatureDecideActionBlack: use CreatureDecideActionRed instead of DecideActionRed
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8468 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-31 15:46:33 +00:00
Sevenfm
fb61c74e40
- fix min/max bug in EVENT_SoldierApplyItemToPerson
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8466 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-29 18:07:43 +00:00
Flugente
edbee58ca7
Fix: soldier alert status was not set correctly (by sevenfm)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8465 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-29 17:57:16 +00:00
Flugente
8e85ce5acf
When stacking ammo or kits, make the partially full object be the first instead of last on the stack
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8463 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-28 22:11:02 +00:00
Flugente
52558851f9
Fix: accidental commit
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8462 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-26 21:58:47 +00:00
Flugente
404e6f18ef
Fix: stat loss on torso hit never causes STR loss
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8461 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-26 21:57:22 +00:00
Flugente
a8197d5db7
Fix: crash when attempting to create illegal item
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8460 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-26 21:18:02 +00:00
Flugente
04ce05bdf3
fallback solution if no image is found
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8458 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-26 16:10:15 +00:00
Flugente
0da98cc687
Trade menu background is no longer generated by random noise, but by cutting out a section of a much bigger picture.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23486&goto=350754&#msg_350754
Requires GameDir >= r2385
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8457 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-26 15:51:37 +00:00
Flugente
e1f1437a95
Fix: some mercenaries can't refuel vehicles
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8451 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-15 13:48:02 +00:00
Flugente
874a006d06
Gear templates: multiple ammo item choices are possible via wildcards, but if item is a match, use ammo specified there
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8449 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-15 12:20:27 +00:00
Flugente
8e6cff9b5d
Gear templates: An entry with '0' and a valid ammo item will try to fit that ammo to any gun used in the slot
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8447 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-12 12:45:33 +00:00
Flugente
b044a3a24f
Trade menu background is now generated with the use of random noise.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8444 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-09 20:28:56 +00:00
Sevenfm
f4cbb59720
- DisplayLoadScreenWithID: use strcmp to correctly compare strings
...
- CalcThrownChanceToHit: fix integer calculation
- CalcBestThrow: allow CTH bonus for mortars, new less restrictive CTH check to allow attack
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8443 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-09 14:32:16 +00:00
Flugente
faf2d272bc
Loading a gear template also fills up canteens if the sector has drinkable water
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8441 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-06 22:56:30 +00:00
Flugente
f7423782db
New Feature: gear templates allow us to save and load a merc's equipment, thereby speeding up the equipment process.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23462&goto=350497&#msg_350497
Requires GameDir >= r2384
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8440 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-06 21:06:49 +00:00
Flugente
35cdd64a92
Fix: redraw ammo count in EDB if button is dirty
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8439 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-06 20:20:18 +00:00
Flugente
de22a5f9ab
Print a warning if a riot shield is destroyed
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8437 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-08-01 17:35:34 +00:00
Flugente
a7bb8b9fe9
If placing an item fails due to invalid item size, at least inform the player before crashing the game on purpose
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8436 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-31 17:46:50 +00:00
Flugente
11729a132e
New feature: riot shields protect against damage from some directions.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23452&start=0&
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8434 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-29 21:18:13 +00:00
Flugente
8a82802932
- Fix: crash when handling flashing items
...
- Fix: bad argument
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8433 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-26 13:57:29 +00:00
Flugente
0992a423e7
New feature: mercs with a gun-related trait (New trait system only) can use the 'Focus' skill via the skill menu ([$] in tactical). This skill grants an interrupt modifier bonus in the targeted area, but also a penalty outside of it.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=350400&#msg_350400
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8432 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-26 13:49:38 +00:00
Flugente
1a87aa3b1f
Improved the draw functions for the graphical explosion warning (TIME_BOMB_WARNING = TRUE):
...
- underlying terrain can still be seen
- Fix: graphical glich while scrolling
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8429 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-25 19:08:10 +00:00
Flugente
8d3d77ad84
Trait change: Ambidextrous trait reduces cth penalty for having any item in offhand, not just if it is a handgun (PENALTY_TO_SHOOT_DOUBLE_GUNS_REDUCTION)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8428 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-25 18:24:39 +00:00
Flugente
60233d2f8d
The total weight of the equipment carried by a merc is now displayed in a tooltip.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8427 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-25 17:28:39 +00:00
Flugente
57c9e16523
New feature: guns can be cannibalized via merge, increasing the status of the first gun while lowering that of the second gun.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=350386&#msg_350386
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8426 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-07-25 17:13:43 +00:00
Sevenfm
6ce47c4cef
- new option: ENEMY_JAMS in [Tactical Gameplay Settings] allows enemy gun jams
...
- take into account unjam AP cost for jammed weapon
- improved AI_BETTER_COVER option
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8409 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-06-21 07:40:36 +00:00
TheBob
3c4da04532
Cleaned up attachment removal code
...
Fixed rare issue with squads and movement groups not being defined at game start.
Fixed wrong type declarations in header files
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8407 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-06-12 17:09:25 +00:00
silversurfer
5d6de52be9
Fix: NPCs could get covert flags in old trait system which prevented them from ever losing it making them undetectable.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8405 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-06-12 11:15:29 +00:00
TheBob
b60a94afc5
Added: Ctrl+Shift+E now fill LBE items in sector with other items and places them in vehicles first.
...
Added: Right-Click on remove attachments button on sector inventory screen will not empty LBE items in sector
Changed: SLAY_STAYS_FOREVER disables Slay's hourly chance to leave when unattended
Added: SLAY_HOURLY_CHANCE_TO_LEAVE setting to Ja2_Options.ini
Fixed: a bunch of array index out of bounds bugs
Fixed: a bunch of typos in if contitions
Fixed: BuildListFile() function loading items from index 1 instead 0
Added translation: Polish text for some map inventory screen items
Added translation: English texts for new functionality for other language files
Cleaned up some old TODOs
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8404 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-05-19 13:40:34 +00:00
silversurfer
0c521e2623
Fixes (by The_Bob):
...
- Fixed never ending interrupt bug (cats/bugs got interrupt when out of breath)
- Added condition to interrupt code for minimal breath left to get interrupts
- Tweaked timer control code
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8401 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-04-14 19:03:55 +00:00
silversurfer
d7f91064f0
Fixes (by The_Bob):
...
- Fixed index out of bounds in get items assignment check
- Fixed attachment popup not allowing more than one of the same attachment
- Improved timer control sanity check code
- Added timer adjustment for variable CPU frequency
- Added shortcut: ctrl+left-click on attachment to remove and drop it in sector inventory
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8400 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-04-14 08:34:20 +00:00
silversurfer
fef0722178
Fixes (by The_Bob):
...
- Fixed random freeze on win8/10
- Fixed crash on mercs entering sector
- Fixed crash when using cover display (del/end)
- Fixed attachment popup showing incompatible attachments (crash/freeze/confusion on clicking the option)
- Fixed attachment popup positioning
- Fixed LBE contents corruption/deletion
- Fixed access violation (out of array bounds) in interrupt code
- Fixed a bunch of random old stuff
- Got the project to build on VS2015
- Improved popup class handling of grayed out options
- Improved performance of get item assignment check (added by Flugente)
- Added Ctrl+Space bind for testing/fixing broken LBE contents
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8399 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-04-12 08:09:12 +00:00
Flugente
c2b3d1a5a0
Speed up inventory rendering by avoiding unnecessary function calls
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8394 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-03-11 15:35:39 +00:00
Flugente
125fda3905
minor code cleanup
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8393 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-03-11 13:19:20 +00:00
Flugente
dc5db5c06a
- If a shopkeeper is a non-NPC dealer, show their body in the shopkeeper interface
...
- Fix: unwanted items in shopkeeper screen not always crossed out correctly
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8392 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-03-06 19:11:20 +00:00
Flugente
8a00c33946
Added AP modifiers for forest and plain sectors.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8390 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-02-26 19:25:11 +00:00
Flugente
f65f97a27a
New feature: the trade menu is now resolution dependent, as a result more items can be traded at the same time. Trader budget is now also displayed.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8389 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-02-26 16:08:03 +00:00