Cataclysm-BN
Cataclysm-BN copied to clipboard
perf(port): Optimization tweaks
Ports this pull request
https://github.com/CleverRaven/Cataclysm-DDA/pull/40961,
This also includes pull requests https://github.com/cataclysmbnteam/Cataclysm-BN/pull/4627, https://github.com/cataclysmbnteam/Cataclysm-BN/pull/4623 by @chaosvolt for easier mergeability
activity_handlers.cpp
file, line 1257 throws an error during compiling which, based on conversation with @Coolthulhu, will be fixed with help of Coolthulhu or other developers or both
Coauthors have been linked properly via GitHub Desktop built-in function to do this work hopefully
Autofix has formatted code style violation in this PR.
I edit commits locally (e.g: git, github desktop) and want to keep autofix
- Run
git pull
. this will merge the automated commit into your local copy of the PR branch. - Continue working.
I do not want the automated commit
- Format your code locally, then commit it.
- Run
git push --force
to force push your branch. This will overwrite the automated commit on remote with your local one. - Continue working.
If you don't do this, your following commits will be based on the old commit, and cause MERGE CONFLICT.
Okay so evidently https://github.com/cataclysmbnteam/Cataclysm-BN/pull/4636 contained the file changes for this PR and the other one so these can be closed? According to Kenan at least.
I'm going to hope this is the right decision, if anyone spots anything vital in this re-open and fix merge conflicts then, bleh.
Okay so it turns out merging that other PR was a mistake for reasons entirely unrelated to splitting them weirdly and instead just because the source PRs in https://github.com/cataclysmbnteam/Cataclysm-BN/pull/4635 specifically need more time in the oven before we want to port them, so I think this one specifically is 100% good to reopen after the revert, then we need to go on to figure out if anything in https://github.com/cataclysmbnteam/Cataclysm-BN/pull/4635 can be separated from the bad keybind code changes and salvaged, then lastly grab anything unique to https://github.com/cataclysmbnteam/Cataclysm-BN/pull/4635 as its own PR.
Closing this because pull request of @KheirFerrum includes fixed version of this work