Flugente
a61d724335
- fix: combo food/drug items have to be eaten if drug effect was already attributed
...
- new food situation level for the transition from food refusal to dangerous levels
- more useful stat damage warings for food
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5468 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-13 21:25:51 +00:00
Flugente
660d8d126f
- added new item flag for camo-removing items, to remove hard-coded value (CAMO_REMOVAL, #1024 )
...
- fixed a bug that caused incorrect deduction of kit points
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5467 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-13 20:53:50 +00:00
Wanne
ef981b5342
- Bugfix: Finding and swapping shadow tiles when swapping a structure tile (by Realist)
...
o example: When cutting a fence tile, the proper shadow tile was not swapped and correctly updated
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5465 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-13 08:51:48 +00:00
Flugente
3cf0e5210c
fix: sector entering still behaved weird
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5459 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-11 17:52:12 +00:00
Flugente
333633b782
- fixed a bug that caused bad pointers when accessing the sector inventory and then entering it
...
- fixed: reinforcements can happen in turnbased again
- codechange: stacks of ammo item scan now be used to feed a gun from the inventory
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5458 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-11 17:07:28 +00:00
Flugente
7e8b51ad34
Fixes (by DepressivesBrot):
...
- fixed some text errors
- enabled 'mark remaining hostiles' for all resolution and maps
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5454 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-08 20:46:36 +00:00
Flugente
e8a6d58175
fix: night vision bonus wasn#t given correctly when using scope modes
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5450 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-07 21:25:29 +00:00
Flugente
24708bcf2b
Fix (by DepressivesBrot): draw AP costs were not calculated correctly
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5449 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-07 20:49:33 +00:00
Flugente
9a045be6ce
- fix: lines in UDB were displayed incorrectly
...
- fix: food does not decay the first time a sector is entered (to prevent pre-placed items from rotting)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5448 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-07 20:38:29 +00:00
Flugente
771d7179bf
- improved cooldown/decay functions. every time a sector inventory gets loaded, its inventory gets cooled down, thus all accessible world items always have the correct values.
...
- OVERHEATING_SET_ZERO_UPON_NEW_SECTOR is not used anymore
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5443 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-04 17:51:12 +00:00
Flugente
cd6a07d4be
Fix: drug effects from facilities did not decay over time
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5442 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-03 19:08:28 +00:00
Flugente
3077e27d9f
New feature (by DepressivesBrot): Molle Items
...
- individual LBE gear can be created via MOLLE items. For each LBE item, there's a definition which pockets may be changed and how much space the new pockets may take up in total.
- If there's a free pocket slot and enough space -> attach item and enable pocket.
- for further description, see Doc/Design Document- MOLLE.txt
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5441 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-02 22:30:15 +00:00
Flugente
832335d904
Improvement (by Tais): Weapons in the hands or gunsling position can also give a camo bonus. Can also be negative in regard to 'shiny' equipment
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5440 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-08-02 20:39:01 +00:00
Flugente
9e45af8347
change: penalties for food and water are now applied separately, thereby removing an exploit
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5437 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-31 20:54:26 +00:00
Flugente
96783bdc53
- when refilling canteens, mercs will instantly drink from them again when they are thirsty, provided that there is a source of unlimited water in the sector
...
- fix: mercs no longer consume food from inventory when staffing the cantina
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5435 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-30 22:24:54 +00:00
Wanne
a618bd241c
- ActionItems Fix: Increased number of action items from 255 (0-254) to 501 (0-500) (by Jazz)
...
o See file: ActionItems.xml
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5425 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-29 11:47:36 +00:00
Flugente
1079ef1fa4
Fix: food items from enemies or in a map spawn as fresh
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5424 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-26 20:39:28 +00:00
Wanne
4caae3fc6e
- New EXE Build: 5423
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5423 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-25 08:21:23 +00:00
Flugente
36055d4e4f
- new icon for ammo belt and ammo vest
...
- mercs can refuse to eat if they do not like the food (works only once)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5422 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-25 00:05:01 +00:00
Flugente
2cef09b50b
fixed bugs when handling items that are both food and drug
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5419 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-24 22:26:13 +00:00
Flugente
fe460b0325
New feature: guns can now be fed externally
...
- a machinegun can be fed by another emc if he has an ammo blet in his hands
- a merc can also feed his gun with ammo belts in his inventory
- the necessary tags can be set in Items.xml in the <ItemFlag> -tag
- this feature can be turned on and off via the JA2_Options.iniReader
- for more info, see http://www.bears-pit.com/board/ubbthreads.php/topics/307574/New_feature_Externally_fed_mac.html#Post307574
- this feature requires the newest GameDir files, as a new face icon was added
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5415 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-23 19:31:27 +00:00
Wanne
c265a63b28
- Updated Merc Inventory Popup-Code (by The_Bob)
...
o externalized the hardcoded popup text code
o enable/disable the popup in the ingame option screen
-> To open the popup, left click on empty merc inventory slot while viewing sector inventory in mapscreen
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5414 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-23 14:01:08 +00:00
Wanne
609047e333
- Updated VS 2005 and VS 2008 project files to include the missing referenced Food files
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5413 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-23 12:57:46 +00:00
Flugente
382fcbe14f
Fix: buildfile entries were missing
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5412 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-21 17:31:26 +00:00
Flugente
f6bf6bf4aa
New feature: food system requires mercs to eat and drink in order to survive
...
- food and water levels are lowered every hour, eat food to survive
- not doing so leads to various penalties and ultimately death
- added food items for that purpose. Food can degrade over time. Rotten food poisons.
- Mercs automatically consume food if hungry/thirsty and food is in their inventories
- for more info, see http://www.bears-pit.com/board/ubbthreads.php/topics/307396/Re_Mercs_need_food_and_water_t.html#Post307396
- this feature requires new STI files from the GameDir trunk.
- added a bunch of filler variable to the soldier type, so hopefully savegame compatibility can be maintained easier in the future.
WARNING: This will break savegame compatibility
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5411 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-21 16:41:04 +00:00
Flugente
b95d001812
- Bugfix: message said drugs were 'drunk' when they had to be 'taken'
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5405 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-18 19:32:49 +00:00
Wanne
edae3a836c
- Updated GameVersion to 5393
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5394 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-12 15:49:45 +00:00
Wanne
5a271cf6fb
- Bugfix: Prevent game from CTD, on players end turn, when there are problems updating the light tiles for the corpses. This is an AI feature from "ddd" mod which was added in revision: 3789
...
Development source trunk: https://ja2svn.dyndns.org/source/ja2/branches/Wanne/JA2%201.13%20MP
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5393 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-12 15:09:29 +00:00
Flugente
5f680b499a
- Code Improvement: it is now no longer necessary for the 'Full Sandbag' item to have a specific item number. The correct number will now be searched once per game.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5391 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-11 23:06:37 +00:00
Wanne
0d550743a7
- Updated Version Number: 5387
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5388 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-11 17:27:45 +00:00
Wanne
4ff07a0e4b
- Translated missing German Texts (// TODO.Translate)
...
- BUGZILLA #597 : Fixed spelling mistake in German Version and corrected some "bad" German translations in tool tips
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5387 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-11 08:28:41 +00:00
Wanne
cc89500c72
- Bugfix: Bobby Ray Quality and Quantity was initialized with wrong values (not the ones from the Start new Game Screen)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5374 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-10 13:47:11 +00:00
Wanne
5c3115d743
Bugfixes (by Flugente)
...
- added a flag that drastically lowers the time needed for drug evaluations
- FIX: fixed a but that could lead to iron sights be used although they were forbidden
- FIX: scopes/sights are also selectable if they do not have a magnification factor (1.0 is used)
- FIX: sector cooldown to zero didn't work as intended
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5372 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:50:26 +00:00
Wanne
66a2a41f7d
- Fixed compilation error in VS 2005 build: The 'hash_map' was not found in the namespace 'std', because it moved to namespace 'stdext'
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5371 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:26:44 +00:00
Wanne
8c4b952e6c
- Convert video object cache to hashmap from linked list. This will protect better against video object leaks and probably still be faster than the linked list. (by tazpn)
...
o new #define: USE_HASHMAP_FOR_VOBJECTS
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5370 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:16:37 +00:00
Wanne
d929b47aea
- A fix for the general slow down issue due to scope icons (by tazpn)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5369 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:14:38 +00:00
Wanne
c92729f93d
- Protection for random crash issue I have seen due to accessing a negative index in an array. (by tazpn)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5368 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:13:05 +00:00
Wanne
b1b98417ce
- convert outofbounds check to inline macro. (This gets called a lot in render map. The Visual Studio profiler highlighted this one though probably not a real optimization.) (by tazpn)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5367 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:11:27 +00:00
Wanne
863d079252
- add a handledefaultevents to the map. Might solve random mouse issues. (by tazpn)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5366 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-09 08:09:36 +00:00
Wanne
de6c84d4a9
- Made the "Rifle sling" feature optional, so we can decide if we like to build an executable with/without the feature
...
o See: builddefines.h: #define ENABLE_RIFLE_SLING
o Note: This feature is NOT the strategy performance killer
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5360 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-06 13:43:34 +00:00
Wanne
cecdc22d61
- Made the "Display - mines/bombs/tripwires" feature optional, so we can decide if we like to build an executable with/without the feature
...
o See: builddefines.h: #define ENABLE_DISPLAY_EXPLOSIVES
o Note: This feature is NOT the strategy performance killer
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5359 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-06 12:58:45 +00:00
Wanne
a3dcb642ca
- Fixed Date in version number
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5358 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-05 08:22:21 +00:00
Wanne
1eaa8947cf
- Fixed random crashes in Vista and Windows7 (e.g: when starting the map editor, ...) when executable is compiled in VS 2010 (by Tais)
...
o Solution: Disable ASLR (address space layout randomization) compatibilty on the "ja2" project
o See: http://msdn.microsoft.com/en-us/library/bb384887.aspx
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5357 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-04 23:34:47 +00:00
Wanne
f40e7fb118
- Made the "Zombie MOD" optional, so we can decide if we like to build an executable with/without the appearance of zombies
...
o See: builddefines.h: #define ENABLE_ZOMBIES (then you can turn on/off Zombies in the ingame option screen)
o Poison system is still in the code and not combined with the option "Zombie MOD"
o Gamers reported on the Bears Pit, that an executable compiled WITH the Zombies mod enabled makes the game unplayable slow in tactical screen after a few minutes in turn based/realtime
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5356 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-07-04 10:30:13 +00:00
Wanne
e8027d6663
- Made the "Highspeed timer game loop (FF-MOD by tazpn)" optional, so we can decide if we like to build an executable with/without the highspeed timer
...
o See: builddefines.h: #define USE_HIGHSPEED_GAMELOOP_TIMER
o Gamers reported on the Bears Pit, that an executable compiled WITH the highspeed timer enabled makes the game unplayable slow in mapscreen mode when doing certain actions (repair, ...). That is the reason, why I made the compilation of the highspeed timer optional. Currently it is disabled.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5355 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-06-25 15:06:04 +00:00
Wanne
f4d47f38e2
- Updated Version: 5353
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5354 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-06-19 10:58:04 +00:00
Wanne
31ec66539b
- Bugfix: Map Editor
...
o The "Save map in vanilla ..." was checked wrong after loading the map, when the map was not saved in "vanilla format"
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5353 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-06-19 10:49:05 +00:00
Wanne
c0448be2e6
Externalized some hardcoded grid numbers to "Mod_options.ini" (by DepressivesBrot)
...
- There is a new "Mod_options.ini" file located in the "Data" MOD folder
- Only modders should make changes to the file.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5352 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-06-19 07:54:08 +00:00
Wanne
bcec78472f
Bugfixes: Bombs (by Flugente)
...
- bombs armed in the inventory now have a small indicator that describes their settings
- fix: it is no longer possible to remove the detonators of an armed bomb. Trying so will detonate it.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5351 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-06-18 22:28:18 +00:00
Wanne
476391e600
- Updated version number: 5346
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5350 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-06-18 22:27:34 +00:00