Intercept Wind deflection#5704
Closed
dedmen wants to merge 8 commits into
Closed
Conversation
C++17 compat by removing stuff that was deprecated in C++14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrite of #3222 utilizing the latest Intercept features.
Performance at 200 bullets active
FPS baseline 50fps
Script: 10-12ms per simulation, FPS drop to 35fps
Intercept measured with script: 0.97-1ms per simulation(actually limited by diag_tickTime precision), FPS drops to 48 fps.
Intercept measured by Intercept: 0.474ms per simulation, FPS drops to 45 fps.
The FPS numbers are ofcause not really a reliable measurement.
The Intercept from Intercept measurement ignores the call from SQF->Intercept which should be about 3-20us.
Currently requires Intercept's
developbranch because this uses features that I just implemented because they were useful for this :DAs you can see I have kept focus on this being fully optional. There is only one isNil check inside PREP and nothing else was changed to make this possible. The isNil check isn't even needed but otherwise it would log errors about trying to overwrite a compileFinal'ed function.
CMake requires Intercept to be at
P:\z\interceptIMO not the nicest solution. But the old Intercept implementation did that and I didn't have a better idea.Open question. Where put the DLL?
Jonpas and I suggested to put it into
interceptfolder right in repository main directory. Next to tools/optionals/addons.Here is a full build including Intercept Core:
InterceptWindDef.zip