Commit Graph

  • 561f6387cd - Fix: individual militia are not properly disbanded if player runs out of funds - Fix: wrong website names used - Removed confusing links on militia overview website Flugente 2017-08-15 11:57:10 +00:00
  • 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 Flugente 2017-08-12 12:45:33 +00:00
  • b64e0d0f91 Fix: enemy airdrops could cause a deployment screen when there shouldn't be one Flugente 2017-08-10 22:54:07 +00:00
  • 54f9238ec0 Fix: weather occured underground Flugente 2017-08-10 21:44:49 +00:00
  • b044a3a24f Trade menu background is now generated with the use of random noise. Flugente 2017-08-09 20:28:56 +00:00
  • 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 Sevenfm 2017-08-09 14:32:16 +00:00
  • 1646dd4606 When planning enemy helicopter attacks, increase the perceived threat from mercs Flugente 2017-08-08 00:01:08 +00:00
  • faf2d272bc Loading a gear template also fills up canteens if the sector has drinkable water Flugente 2017-08-06 22:56:30 +00:00
  • f7423782db New Feature: gear templates allow us to save and load a merc's equipment, thereby speeding up the equipment process. Flugente 2017-08-06 21:06:49 +00:00
  • 35cdd64a92 Fix: redraw ammo count in EDB if button is dirty Flugente 2017-08-06 20:20:18 +00:00
  • 1e7a5772d0 Fix: message log occasionally appears and disappears in strategic view Flugente 2017-08-06 20:18:32 +00:00
  • de22a5f9ab Print a warning if a riot shield is destroyed Flugente 2017-08-01 17:35:34 +00:00
  • a7bb8b9fe9 If placing an item fails due to invalid item size, at least inform the player before crashing the game on purpose Flugente 2017-07-31 17:46:50 +00:00
  • 41056de164 Fix: wrong text displayed Flugente 2017-07-30 09:31:15 +00:00
  • 11729a132e New feature: riot shields protect against damage from some directions. Flugente 2017-07-29 21:18:13 +00:00
  • 8a82802932 - Fix: crash when handling flashing items - Fix: bad argument Flugente 2017-07-26 13:57:29 +00:00
  • 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. Flugente 2017-07-26 13:49:38 +00:00
  • 7b00af164b - mercs are now used as prison guards regardless of sleep state - volunteers are now gained with a logarithmic rate, as otherwise the volunteer feature becomes pointless lategame Flugente 2017-07-25 20:46:28 +00:00
  • fe45820b02 slightly improved cursor calculations Flugente 2017-07-25 20:31:32 +00:00
  • 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 Flugente 2017-07-25 19:08:10 +00:00
  • 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) Flugente 2017-07-25 18:24:39 +00:00
  • 60233d2f8d The total weight of the equipment carried by a merc is now displayed in a tooltip. Flugente 2017-07-25 17:28:39 +00:00
  • 57c9e16523 New feature: guns can be cannibalized via merge, increasing the status of the first gun while lowering that of the second gun. Flugente 2017-07-25 17:13:43 +00:00
  • 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 Sevenfm 2017-06-21 07:40:36 +00:00
  • 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 TheBob 2017-06-12 17:09:25 +00:00
  • 5d6de52be9 Fix: NPCs could get covert flags in old trait system which prevented them from ever losing it making them undetectable. silversurfer 2017-06-12 11:15:29 +00:00
  • 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 TheBob 2017-05-19 13:40:34 +00:00
  • dc350d724d Update for Russian against latest included features (by IY) inshy 2017-04-19 08:53:34 +00:00
  • baf68cd7e6 Fix: performance of GetItem check Flugente 2017-04-15 20:48:04 +00:00
  • 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 silversurfer 2017-04-14 19:03:55 +00:00
  • 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 silversurfer 2017-04-14 08:34:20 +00:00
  • 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 silversurfer 2017-04-12 08:09:12 +00:00
  • 5d02ca8894 fix: UB build error from change in 8396 silversurfer 2017-04-02 16:07:23 +00:00
  • 3a4821286a fix: game info display showed incorrect levels for BR silversurfer 2017-04-02 07:38:09 +00:00
  • dbec9c6ca0 - Added external parameter CounterAttackGroupSize to DifficultySettings.xml for counter attack strength. This replaces the old hard coded value. Requires GameDir >= 2363! - Changed counter attack elite soldier distribution to replace regulars just like the rest of the code handles elites. silversurfer 2017-03-14 17:21:40 +00:00
  • a6b8b559f0 Fix: If troops spawn at the very northern edge of a sector, we often barely see them, and cannot target their head or torso. To stop that from happening, do not spawn there. Flugente 2017-03-11 19:03:10 +00:00
  • c2b3d1a5a0 Speed up inventory rendering by avoiding unnecessary function calls Flugente 2017-03-11 15:35:39 +00:00
  • 125fda3905 minor code cleanup Flugente 2017-03-11 13:19:20 +00:00
  • 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 Flugente 2017-03-06 19:11:20 +00:00
  • 1aa8eaa948 Fix: When reading in Skills_Settings.ini, NUMBER_OF_MAJOR_TRAITS_ALLOWED_FOR_IMP is now limited by min(NUMBER_OF_MAJOR_TRAITS_ALLOWED, MAX_NUMBER_OF_TRAITS_FOR_IMP - 1). Flugente 2017-03-04 13:30:37 +00:00
  • 8a00c33946 Added AP modifiers for forest and plain sectors. Flugente 2017-02-26 19:25:11 +00:00
  • 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. Flugente 2017-02-26 16:08:03 +00:00
  • ec7f15f1d7 Fix: merchants stack identical items Flugente 2017-02-04 14:43:28 +00:00
  • a8ba28d90a Cleaned up AIM gearkit code Flugente 2017-02-04 14:14:55 +00:00
  • 79ee1522f9 If 'GetItem' assignment isn't possible due to no valid items in target sector, indicate this to the player. Flugente 2017-02-01 19:05:58 +00:00
  • 48254ea5a5 Fix: deadlock on ammo creation popup Flugente 2017-01-31 21:05:01 +00:00
  • a6b641d701 Fix: crash when loading a savegame repeatedly due to initialisation flag not being reset Flugente 2017-01-30 20:06:45 +00:00
  • cd628ec4f2 Fix: animated explosion warnings were drawn over turn bar Flugente 2017-01-29 14:38:12 +00:00
  • 44577ee164 - Fix: delayed explosions not possible in roofs - Fix: delayed explosions warnings not correctly drawn depending on height level - improved delayed explosion warning calculations Flugente 2017-01-29 14:00:18 +00:00
  • bdc46603d8 - Fix: animated explosion warnings were drawn over inventory - Fix: animated explosion warnings were only drawn if explosive item was on screen Flugente 2017-01-29 12:54:09 +00:00
  • 70473557cd - Fix: ASD did not take mercs on assignment into account - Fix: crash when entering combat without any mercs in sector on duty Flugente 2017-01-28 20:00:52 +00:00
  • f41457250a Accelerated roof collapse code Flugente 2017-01-28 12:58:16 +00:00
  • d2a4d53a0a AmmoTypes.xml: tag <canGoThrough> replaced with <usPiercePersonChanceModifier> (unsigned integer). If value is > 0, a bullet can pierce a person after hitting. Higher values increase the chance to do so. Vehicles can now be pierced as well. Flugente 2017-01-27 22:35:31 +00:00
  • fd09d16b4d Added new records: total healing (combined healing, stat repair and diesease cure) Flugente 2017-01-27 20:37:28 +00:00
  • 5f2da3707c Added new records: diseases caught, interrogations, total damage taken, total damage dealt Flugente 2017-01-26 20:46:26 +00:00
  • e643c1ea57 - Hospital healing now uses the same function as normal healing - If surgery would not heal anything, don't do it - removed unnecessary defines Flugente 2017-01-23 23:05:30 +00:00
  • 91faf8a182 Fixed compilation error in VS2005 Wanne 2017-01-23 19:28:19 +00:00
  • 43fa9090c1 Fix: crash when displaying LBE with corrupted content. Flugente 2017-01-22 20:37:13 +00:00
  • 4690b89ffc Added new laptop merc data subpage to display more stats that weren't displayed before, like dialogue approach points and whether merc is a 'good guy' Flugente 2017-01-22 20:12:29 +00:00
  • 4f8498e5ef slightly modified the damage formula from r8370 silversurfer 2017-01-22 14:09:26 +00:00
  • a6b2568e24 - new jam damage thresholds for guns - when a gun jams it can only take damage if its status is below the threshold - modified damage calculation for jam damage - modified cleaning point calculation for mercs - natural dirt level of sectors now halved if the shooter is inside a building silversurfer 2017-01-22 13:33:44 +00:00
  • 9a46c2a9fc - The number of possible IMP voices is no lnger limited - If no IMP voices could be read, IMP creation is not allowed Flugente 2017-01-17 20:32:31 +00:00
  • ec52ab30e5 When trading, mark items that the trader won't buy. Flugente 2017-01-15 23:48:34 +00:00
  • 87809f222f Gun selection at shopkeepers is pre-sorted by weapon type (by DepressivesBrot) Flugente 2017-01-14 22:41:48 +00:00
  • 7163e98b6e Mercs won't attack teammates or neutrals (profile-based) if their opinion of them is > 20. For good guys, that value is -20. Flugente 2017-01-14 22:22:30 +00:00
  • efd9ab4723 New feature: Voicesets are now independent fom profile slots. Voiceset is set in MercProfiles.xml with <usVoiceIndex>. IMP voices are defined in IMPVoices.xml. Flugente 2017-01-14 20:20:11 +00:00
  • e2c05ce1c6 minor code cleanup Flugente 2017-01-13 20:19:44 +00:00
  • 3419fd1c5d dded new character trait "Coward" (charrcter trait #13) Flugente 2017-01-12 23:24:41 +00:00
  • 556ce68586 Fix: jeeps were not properly counted Flugente 2017-01-12 00:51:46 +00:00
  • 1b39535b15 Fix: during retreat, mercs got a morale penalty for being a pacifist, instead of getting it unless they are pacifist Flugente 2017-01-11 23:26:30 +00:00
  • 4d48876c1f added new disability "Self-Harming" Flugente 2017-01-11 22:32:33 +00:00
  • 322d307980 Fix: background value drink_energyregen not only increased breath gain, but also loss, which was not intended Flugente 2017-01-10 21:21:07 +00:00
  • bb6872787d - Fix: if merc cannot complain about his equipment due to being asleep or on duty, retry an hour later - Fix: in AIM bios, show max life, not life at start of game - Fix: typo resulted in AIM mercs not refusing job because of hated mercs present when they should do so - Dialogue clarification: QUOTE_PRE_NOT_SMART is now used for complaints about food, QUOTE_POST_NOT_SMART to refuse smoking Flugente 2017-01-06 01:17:45 +00:00
  • 4ab21a08c2 Fix: crash in pong due to bad iterator usage Flugente 2017-01-04 22:58:38 +00:00
  • 88abc6263f New minigame: Pong Flugente 2017-01-04 19:32:24 +00:00
  • 3ab70dde90 - added new disability "Fear of heights" - Fix: wrong backgrounds were filtered out when checking for personality/disability/traits Flugente 2016-12-31 12:00:45 +00:00
  • 58eb840439 Cleaned up IMP creation code Flugente 2016-12-30 17:43:30 +00:00
  • d6b7dd4d52 Fix: when buying gear kits from AIM/MERC, prices are incorrect for item stacks Flugente 2016-12-30 00:09:15 +00:00
  • 200899593e Fix: New IMP gear selection method: If identical items are selected in several slots, only those of one slot are given to the IMP Flugente 2016-12-15 21:05:23 +00:00
  • 929e0adf66 added comments Flugente 2016-12-13 20:05:36 +00:00
  • d08b4d13b9 New feature: Minigames are interactive actions that happen in a dedicated screen. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=347722&#msg_347722 Flugente 2016-12-11 12:43:41 +00:00
  • ea9d5f74a5 Fixed a few translations for Chinese version (by TBS) Wanne 2016-11-29 20:45:03 +00:00
  • ae2656b975 Fix: negative price backgrounds don't work as intended Flugente 2016-11-22 21:20:14 +00:00
  • 5a602f0b9c Fix: incorrect underground check for cave vision bonus and scouting silversurfer 2016-11-16 16:41:16 +00:00
  • 6c737fefd3 Fixed compilation errors in VS 2005: std::sqrt() -> sqrt() Wanne 2016-11-02 13:24:17 +00:00
  • 3c836ba191 Items in a slot granted by LBE with the flag LBE_EXPLOSIONPROOF (<ItemFlag> 2147483648) are protected from explosion damage (and cannot cause a chain reaction). Flugente 2016-10-24 20:15:35 +00:00
  • fcfab521fb unified code for enemy/militia gear selection Flugente 2016-10-24 18:46:39 +00:00
  • d6d4841d85 When loading a savegame with version < WORKERS, set up town worker population to initial rate Flugente 2016-10-24 18:44:13 +00:00
  • 372adc37b8 repair and dirt system change: Dirt is now part of gun status. The original dirt system has been removed. For details see: http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20198&goto=347370&#msg_347370 silversurfer 2016-10-19 15:58:02 +00:00
  • e9a1f4b352 New feature: delayed grenade explosions: - use transformation menu to change explosion mode - only Normal/Stun/Flashbang type grenades can be delayed - AI soldiers will avoid staying close to armed grenades\explosives - use option DELAYED_GRENADE_EXPLOSION to make all hand\GL grenades work as delayed - new value AP_GRENADE_MODE = 4 in APBPConstants.ini - new item flag DELAYED_GRENADE_EXPLOSION Sevenfm 2016-10-18 12:39:06 +00:00
  • 926b9d9e5c Updated Chinese translation and adjustments in WinFont (by zwwooooo and TBS) Wanne 2016-10-17 16:38:36 +00:00
  • 350e7cd849 If TIME_BOMB_WARNING is true, display a warning animation around any armed time bomb. Flugente 2016-10-16 14:32:37 +00:00
  • c086b98b4c Fix: tanks and jeeps can only be assigned to enemy patrols if ASD is active Flugente 2016-10-16 00:07:23 +00:00
  • 5f4a7e2331 - turned off compiler warning in VS2010 - fixed compiler error in VS2010 silversurfer 2016-10-15 18:18:10 +00:00
  • 68294910b8 - New command: On [Alt] + [N], all team members in the sector try to put on gas masks - Fix: gasmask status was not always evaluated correctly Flugente 2016-10-14 21:07:49 +00:00
  • a0c2b0a39a SAM site repair is now an assignment. For this, old code has been repurposed. Flugente 2016-10-14 17:20:23 +00:00
  • e38e37d99c When buying soda from a machine, check inventory for cash first Flugente 2016-10-13 18:22:47 +00:00
  • 5b6611bc61 Code change: When loading gun/looking for a default maazine for a gun while no mag with fitting magsize exists, instead take a magazine of same calibre and ammotype that has magsize bigger (but close to) the originally requested magsize. Flugente 2016-10-07 19:20:53 +00:00
  • bdc6aaf460 Updated Chinese text file (by TBS) Wanne 2016-10-06 18:00:03 +00:00
  • 258e9c24a0 New feature: SAM site cover can now overlap, and SAM sites can be hacked to lower their radius. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23211&goto=347188&#msg_347188 Flugente 2016-10-05 22:22:50 +00:00