performance(weapon): Optimized ProjectileStreamUpdate Behaviors + Added Variables to Optimize Weapon FX Rendering - #2051
Conversation
74511f8 to
02c4953
Compare
…Hackers#2540) When PRESERVE_RETAIL_BEHAVIOR is not zero
Until their compile times are fixed
…kers#2539) 1. Defer Render2D resolution update until after successful D3D reset 2. Snapshot current mode before Set_Device_Resolution for correct rollback 3. Fix fullscreen window failing to cover desktop by removing SWP_NOSIZE/NOMOVE 4. Remove duplicate D3DInterface release block in Shutdown
…ve camera offset and zoom calculations (TheSuperHackers#2524)
… and set compile option -Wsuggest-override (TheSuperHackers#2394)
…ants on save game load (TheSuperHackers#2508)
… plants on save game load (TheSuperHackers#2509)
…ing audio length script conditions in headless mode (TheSuperHackers#2313)
…ackers#2546) This adds two new meta events: DEMO_BEGIN_ADJUST_DEFAULTPITCH, DEMO_END_ADJUST_DEFAULTPITCH, which are default mapped to CTRL + MK_COMMA
…antly on save load (TheSuperHackers#2591)
…d logging in RecorderClass (TheSuperHackers#2543)
|
This PR is currently merge-conflicted and has not been updated since March 30. It also combines projectile-stream changes, partition-history changes and weapon-FX changes. |
…te_Add_Ref and add Assign_No_Add_Ref, Assign_Add_Ref (TheSuperHackers#3058)
Hey sorry. It's just that I haven't been active. Yeah, I would love to help. Let me update according to the recent branch first. Edit: Oops, looks like rebasing the branch doesn't go as friendly as the bot and github would liked. Yeah, just go ahead and run it as you guys needed due to rebasing issues. I can close an reopen the request if you would like. |
|
Too many files changed for review (2220 files, 500 file limit). |
Adresses issues: #57 and #124
ProjectileStreamUpdate - Minor changes of refractoring Modulo to use Comparison and Increment.
W3DProjectileStreamDraw - Minor change of updating Requirement Vector from being not equal zero Vector to any Vector above near zero.
Weapons
Added 4 FX Tweaking Variables:
The performance of Toxin Tractor and Dragon Tank can simply be improved by Increasing their Weapon's DelayBetweenShots from 40 to 80. This however, affects the Gameplay. Therefore, I propose a makeshift design to be able to Tweak Weapon's FX spawning Rate without affecting the Gameplay.
Each of these Variables enables the customization of Rendering WeaponFX and BoneFXUpdate without affecting Gameplay in any way.
The performance improvements from using the above tweaks without changing the DelayBetweenShots is noticeable. ToxinTruckGun is configured with these parameters and able to achieve 50-60% performance boost.