Commit Graph

  • 81f493aa5a Quick keys Alt + 0..9 and Alt + [~] now work consistently in normal and cheat mode. Moved Alt + 1..5 cheat hotkeys to Ctrl + Alt + 1..5 Sevenfm 2022-02-20 13:42:59 +00:00
  • a8fec72f2e ALT+g cheat changed from "semi-random" merc to merc of your choosing. Shadooow 2022-02-19 14:13:00 +00:00
  • a4aa443b32 Stat Progress Bar removed from options and made permanently active. Shadooow 2022-02-19 13:25:39 +00:00
  • f2d5adca88 Fixed APs to start running being charged twice. Shadooow 2022-02-19 13:07:20 +00:00
  • 539de4e838 Fixed dead enemies after autoresolve sometimes being placed on non-walkable grids which, if they dropped any items, made such items inaccessible as well. Shadooow 2022-02-19 10:22:49 +00:00
  • 1c8b6a0f29 fix: force inventory redraw when using the mouse wheel to navigate through your mercs in strategic view. fixes bad inventory render when using a mouse to scroll from vehicle's inventory to a merc, and vice versa (by rftr) Shadooow 2022-02-17 02:33:23 +00:00
  • 4f0386be62 ARC: add tooltips to admin actions to show the range of their effect (by rftr). Sevenfm 2022-02-16 18:26:11 +00:00
  • aaa88a11f3 Fix: shooting through roof. Sevenfm 2022-02-16 15:22:21 +00:00
  • aa5e2dc4c3 PlaceObject: don't show incompatible face item message when doing autoplacement. SwapGoggles: swap face item to helmet if possible. Sevenfm 2022-02-15 12:03:54 +00:00
  • 878447af9f Improved code for flashlight/stock transformation hotkeys. Sevenfm 2022-02-13 16:55:39 +00:00
  • f51c1b1e8d CalcEffVolume: removed bCheckTerrain as it's not used in the code. Sevenfm 2022-02-13 10:23:53 +00:00
  • 8d655ceb96 Shift+T: allow transformation into item with the same item size (for example, shovel mode transformation). Sevenfm 2022-02-13 07:22:12 +00:00
  • 04d14f436f New hotkey Shift+P - transform stock. Sevenfm 2022-02-13 06:56:23 +00:00
  • 3a9d6d65e4 Shift+T: only allow item transformation if item is corpse or resulting item is of the same item class, also check it's not transformation into same item. Sevenfm 2022-02-11 11:22:33 +00:00
  • b8b48e7d2e Only play certain sounds when soldier is visible or if there is player team member near: - cow sounds - crow sounds - animation based sounds - lock n' load sound for gun - enter deep water sound Sevenfm 2022-02-10 08:24:07 +00:00
  • 1015614473 Play different sound when object drops into water, depending on object weight and type. Play S_WATER_IMPACT1 when bullet hits water. Sevenfm 2022-02-08 10:17:38 +00:00
  • 44e4f96c0f Updated Chinese Text files (by kmoi) Wanne 2022-02-07 12:46:18 +00:00
  • 5e8fa16cb9 Added missing parenthesis to the code evaluating sightrange NCTH that could lead to issues. Shadooow 2022-02-06 09:24:04 +00:00
  • 9a11ddb375 Removed body inventory region in mapscreen for vehicles completely. There was no image rendered anyway, this way no popup message duplicating status will be shown and consumables won't popup the "Heh?" error either. Shadooow 2022-02-02 15:39:35 +00:00
  • 1503b32e30 Fixes random merc portraits sometimes appearing in a region where would merc inventory normally be when opening inventory of a vehicle. Shadooow 2022-02-02 15:20:12 +00:00
  • 9a89bb6793 Set the newly initialized vehicle driver to be NOBODY. This fixes jeep and possibly tank as well in autoresolve to play sounds of player merc. Shadooow 2022-02-02 13:11:34 +00:00
  • 31b17d99d0 Fixed bug in ASD code causing enemy patrols to have 0 elites no matter if ASD was enabled or not. I also changed the ASD feature, for patrols only, to assign tanks and jeeps in place of elites. So if the patrol spawned without any elite it can't have tank and jeep. Robots are still placed instead of regular troops, which however means that patrol full of elites will never have any robots. Shadooow 2022-02-02 03:41:34 +00:00
  • 52a42d0354 Changed behavior of Select All button in movement box. Now it will select remaining soldiers, if only some of them are selected instead of deselecting them. It will of course still deselect all if all are selected. Shadooow 2022-01-31 08:46:52 +00:00
  • 6ca75431ae Disallowed to pick up items from openable structures like crates if they are currently closed. This additionally fixes bug where Bobby Ray's delivery wouldn't show up if the player had sector of the delivery currently loaded and there were any unpicked items from previous delivery in the delivery crate. Shadooow 2022-01-31 03:39:50 +00:00
  • 0c95fd4f2a Fixed crash in debug mode when opening BR Order Page without any item selected first. Shadooow 2022-01-31 00:29:11 +00:00
  • 44eccb5eab Adds mouse wheel functionality to AIM member page when hovering mouse over the merc photo and for browsing Bobby Rays inventory pages. If mouse is over an item's big picture, 'ctrl' + mouse wheel will allow adding or removing items from shopping cart (by Asdow). Shadooow 2022-01-27 22:02:13 +00:00
  • ad8edc869e Fixed bug introduced in r9275; not being able to assign mercs to facilities or train militia Shadooow 2022-01-27 20:44:06 +00:00
  • 531849f7aa Disabled muzzle flash when trying to fire jammed gun. Sevenfm 2022-01-27 10:04:21 +00:00
  • 49989da8b1 Dropping items from hand when being hit: - civilians with profile should not drop items from hand as it may break quests - fixed possible incorrect type conversion which could result in dropping too often if weapon in hand marked as undroppable Sevenfm 2022-01-27 01:24:11 +00:00
  • c29e070ccf Fixes the missing muzzle flash lighting when firing in the dark. The flag was actually never set when using NCTH, and UseGunNCTH() that was supposed to set it gets called after the animation control checks whether a muzzleflash is true or not, so I had to add the setting the flag just before that check (by Asdow). Shadooow 2022-01-26 16:12:06 +00:00
  • 5c938440c2 Fix for decals not being cleared properly causing graphical issues on strategic map. Shadooow 2022-01-26 14:58:32 +00:00
  • 0fdaba84f6 World items patch (by Asdow). Adds timing logs to savegame function, similar to how we already had in loading a save file. Uses a global struct for unloaded sectors' inventory instead of using map item temp files every time unloaded inventory is accessed. From timing loading and saving functions with a save that has dozens of sectors with hundreds of items each, saving is a little bit slower than before, because map item temp files have to be written to disk just before the save, when that wasn't the case before (from ~0.3 s -> ~0.5s). It is offset by a decrease in loading a game (from ~1.1s -> 0.745s), once an older save is saved at least once. Any unloaded sector inventory access during gameplay is considerably faster and for example the autoresolve lag when militia is using sector equipment is completely gone for me. Preserves save game compatibility Sevenfm 2022-01-26 01:02:30 +00:00
  • be14552e32 Prevented the game trying to delete an already deleted button when leaving mapscreen and fixed visual bug for popup boxes drawing in item description box in widescreen UI (by Asdow). Sevenfm 2022-01-25 22:24:53 +00:00
  • bc8fac5c3e Fix: memset bugs (by Asdow). Sevenfm 2022-01-25 11:25:03 +00:00
  • e887f85a44 ProcessNoise: fixed incorrect noise terrain check. Reverted r9259. Sevenfm 2022-01-25 04:15:39 +00:00
  • f8be9a0db1 AI: minor code improvements (best cover calculation). Sevenfm 2022-01-23 03:10:13 +00:00
  • 24775ee398 Fixed crash when the cheat command to teleport on mapscreen assigned previous sector into sector from which the destination cannot be entered. Shadooow 2022-01-22 20:08:37 +00:00
  • 9668618b68 Demand surrender feature will now work on each team separately, ie. demanding surrender from regular enemy will not count hostile civilians or bandits and neither it will capture them. Shadooow 2022-01-22 16:46:13 +00:00
  • 7803378388 Militia: don't always spare RPGs when in tactical combat. Sevenfm 2022-01-21 19:22:12 +00:00
  • 8c59159213 Added "select all" option for strategic movement popup box (by Asdow). Sevenfm 2022-01-20 19:48:56 +00:00
  • 5282553a8c Stop being able to change assignments of in transit mercs (by Asdow). Sevenfm 2022-01-20 17:48:39 +00:00
  • abdfd022ae Implements mouse wheel scrolling for switching mercs in strategic map when hovering mouse above teamlist, character inventory and character info panels (by Asdow). Simplified the r9266 inventory scrolling and made it obey inverted mouse wheel scrolling direction that is in the options screen (by Asdow). Sevenfm 2022-01-18 22:05:01 +00:00
  • f1ba48f51f Added mouse wheel scroll functionality for changing pages in strategic map inventory (by Asdow). Sevenfm 2022-01-18 19:29:50 +00:00
  • 8e60b4d442 Fix&Revert of previous commit, I messed it up with my other edits in code that are not tested yet. Shadooow 2022-01-18 08:03:12 +00:00
  • bbd6b1393f Fixed Daily Expenses to no longer count salary of dead mercs or POW NPCs and RPCs. Shadooow 2022-01-18 07:53:06 +00:00
  • b06b9132a7 Added functions for utf8 <> wstring conversion. Added message when AI breaks deadlock because cannot complete action. Sevenfm 2022-01-16 17:09:09 +00:00
  • 43c46b9284 Updated ingame options tooltip to reflect hotkey change for grenade launcher angle. Sevenfm 2022-01-16 14:07:30 +00:00
  • c972655886 ESC key: - close active skill sub-menu - stop moving merc - stop moving group of mercs - stop dragging - unready weapon Sevenfm 2022-01-16 13:59:59 +00:00
  • 94b7d5611d Improved door noise sound playing: only play sound if merc opening/closing door is visible on screen or if player team hears noise from door. Sevenfm 2022-01-16 13:33:11 +00:00
  • 5bb4de2484 Fixed bug where kicking out a merc and telling him to drop items in current sector while having that sector map inventory open would fail to move his items into sector inventory. Shadooow 2022-01-15 14:08:41 +00:00
  • 7c40f27359 Dismissing vehicle will drop items in its inventory in current sector without asking. Shadooow 2022-01-14 22:58:32 +00:00
  • 67f62736ed Changed assignment text for destroyed vehicles in merc list. Shadooow 2022-01-14 22:27:37 +00:00
  • a9fa54e69a Fixed not being able to remove vehicle from merc list. Shadooow 2022-01-14 22:12:18 +00:00
  • 8f03709936 Updated text description for sector deployment screen with hint to use arrow keys to scroll map view. Sevenfm 2022-01-13 20:26:05 +00:00
  • 76472eed0a Separated cover view area update from RemoveCoverObjectsFromViewArea() into its own function to make it more explicit when and where we do it (by Asdow). Sevenfm 2022-01-12 16:09:10 +00:00
  • ec30fcde64 Fixed helicopter sound playing in loop indefinitely when quick-loading during helidrop animation. Shadooow 2022-01-12 03:33:27 +00:00
  • 18b21ce561 Fixed bug splitting escort-requiring npc with another merc, who is under that npc in squad list, from existing squad resulting in putting the two into different groups and disallowing to plot movement. Shadooow 2022-01-12 03:12:33 +00:00
  • 5aad9fc2dc Fixed bug where clicking where radar screen would be during Tactical Placement GUI broke it and allowed to enter map without placing anyone. Shadooow 2022-01-12 02:44:17 +00:00
  • 0792d70583 Fixed ALLOW_SKYRIDER_HOT_LZ = 1 actually not enforcing the center restriction and allowing to place mercs anywhere. Shadooow 2022-01-12 02:19:57 +00:00
  • beb6e35c09 Improved behavior of buttons in Tactical Placement GUI when hot-dropping. Shadooow 2022-01-12 02:11:34 +00:00
  • 586e3dd0d4 Disabled Spread button in Tactical Placement GUI when hotdropping as the group always appeared together anyway. Shadooow 2022-01-12 01:32:32 +00:00
  • d2ccd4a307 Correction to not disable retreat when ALLOW_SKYRIDER_HOT_LZ is 2 or 3. Shadooow 2022-01-12 01:31:08 +00:00
  • 2bf3549142 fix for error in last commit Shadooow 2022-01-12 00:02:28 +00:00
  • a577db2752 Disabled retreat when hot dropping and only center of the map is allowed. Shadooow 2022-01-11 23:54:17 +00:00
  • 3f0ccb0a56 Implemented the missing option of hot drop merc via helicopter into center of the map only, ie. ALLOW_SKYRIDER_HOT_LZ = 1 Shadooow 2022-01-11 23:52:50 +00:00
  • b320052d6b Revert of 9241 and a new more coherent solution which works for hot drops as well. Shadooow 2022-01-11 20:49:37 +00:00
  • 48f61bd7bf Fixed regression when newly arriving merc in Omerta was facing north instead of east if player pressed ESC key during helidrop animation. Shadooow 2022-01-11 19:59:49 +00:00
  • 082d9838a5 When taking/dropping corpse as object, use object's ubWireNetworkFlag and sRepairThreshold variables to store palette and camo status of corpse, instead of hardcoded flags. Sevenfm 2022-01-11 17:52:06 +00:00
  • a57cc79c83 enabled new attachments to be shown even without EDB for all items except LBE gear Shadooow 2022-01-11 01:11:50 +00:00
  • 61f1dd4acb fixed MAX_BACKPACK_WEIGHT_TO_CLIMB not being checked in all places which caused: - mouse cursor showing blocked path incorrectly and jumping over fence via mouse failing - endless clock issue at the end of the boxing match if player merc had backpack Shadooow 2022-01-10 22:44:52 +00:00
  • 7b9d12ff2e Removed extra 'q' case which may prevent compiling debug version. Sevenfm 2022-01-09 18:02:35 +00:00
  • 6704eca440 Added requirements for thrown object to break window glass: - ubWeight >= 4 - sinks - not unaerodynamic - made of metal or rock Sevenfm 2022-01-06 12:54:34 +00:00
  • f986129ab7 Fixes by rftr: - options screen: fixed crash related to handling inputs while the screen was loading/refreshing - options screen and features screen: added 'Q' input handling to quit to the main menu Sevenfm 2022-01-05 09:26:29 +00:00
  • 6a3f5cf29e Fix for the uncertain enemies question mark location in higher resolutions (by Asdow). Sevenfm 2022-01-04 19:59:16 +00:00
  • d7a48bbe1a Updated Chinese Text files (by kmoi) Wanne 2022-01-04 17:11:38 +00:00
  • 5c7959adec Removed duplicate macro (by rftr). Sevenfm 2022-01-03 23:13:44 +00:00
  • be80da650c Various improvements by rftr: - added more toggles to the features screen: drop all, suppression, drassen/city counterattacks, dynamic opinions and dialogue, and weather - fixed weather rendering check for individual weather types - added mousewheel support to options screen and features screen to navigate through pages - added keyboard inputs to options screen and features screen: TAB toggles between features and options, and A/D/leftarrow/rightarrow navigates through pages Sevenfm 2022-01-03 22:49:43 +00:00
  • 038410db4a fix for the new cheat not updating mapscreen automatically Shadooow 2022-01-02 16:12:23 +00:00
  • e20d0cb134 new cheat/debugging command for mapscreen: CTRL+SHIFT+A will reveal all sectors and enemies Shadooow 2022-01-02 14:13:02 +00:00
  • e600134786 fixed bug allowing to move robot without soldier having control device if they were both in party where another soldier not chosen to move had the device Shadooow 2022-01-01 20:44:21 +00:00
  • 1749d3adfb Surrender GUI when talking to boxing opponent replaced with MessageBox allowing to forfeit the match. Shadooow 2022-01-01 13:33:34 +00:00
  • 9737bd9255 fixed bug allowing to plot path with Robot or NPCs that needs to be escorted on their own Shadooow 2022-01-01 12:36:03 +00:00
  • 27c0d1f8fe With ALTERNATE_MOUSE_COMMANDS = TRUE, mouse wheel allows to change active interface level. Sevenfm 2021-12-31 20:46:44 +00:00
  • 9dbad2ace5 LOBOT option description update. Sevenfm 2021-12-31 09:13:02 +00:00
  • 992c487176 Reverted r9221 change. Sevenfm 2021-12-21 21:20:48 +00:00
  • ad044f38c6 Improved code for AI attack location randomization. Sevenfm 2021-12-21 08:09:41 +00:00
  • 210101463e fixed inability to turn around or aim gun while standing in a knee deep water Shadooow 2021-12-20 16:36:53 +00:00
  • c53721f0bd Updated Chinese Text files (by kmoi) Wanne 2021-12-06 22:17:35 +00:00
  • 7fcf2b196e UB patch (by rftr). Sevenfm 2021-12-01 19:31:33 +00:00
  • 0cc70519d3 Widescreen UI patch (by Asdow). Sevenfm 2021-11-21 12:56:27 +00:00
  • abb1aeeea2 Enable any wrapper that supports upscaling to use any resolution and if using no wrapper (or using a wrapper that doesn't support upscaling) it will still show the error message if the resolution is not supported (by Asdow). Sevenfm 2021-11-21 12:53:38 +00:00
  • be0d347a5c Reverted unwanted changes from r9212. Sevenfm 2021-11-21 11:10:22 +00:00
  • 45da1c2e6a Uploaded missing FeaturesScreen.cpp Sevenfm 2021-11-17 08:03:04 +00:00
  • 1ee875be61 New ingame options screen (by rftr). Sevenfm 2021-11-17 07:50:20 +00:00
  • f6fd480c45 This fixes player mercs' shading not updating based on the tile's lightlevel. Especially noticeable when running around at night in a map with lights (by Asdow). Sevenfm 2021-11-05 04:42:01 +00:00
  • f9cfb5e831 Auto Resolve code: added type change missing from previous commit, fixed some compiler warnings. Sevenfm 2021-11-01 16:19:17 +00:00
  • 01a566494e Fix possible signed/unsigned type inconsistency problems in auto resolve code, fix max limit for tries in auto bandage code. Sevenfm 2021-11-01 16:09:59 +00:00
  • fbade9d355 fixed rain disappearing with NCTH Shadooow 2021-10-31 00:20:10 +00:00
  • 828e015027 qol change: if the last movement mode prior to climbing down the roof was running, it won't be reset to walking Shadooow 2021-10-30 19:34:47 +00:00
  • bd5fc83ef8 fixed gap between the involved table and uninvolved table fixed uninvolved header not appearing at all when all mercs were involved Shadooow 2021-10-30 19:23:03 +00:00