Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizations #6

Merged
merged 6 commits into from
Jan 15, 2021
Merged

Optimizations #6

merged 6 commits into from
Jan 15, 2021

Conversation

rekterakathom
Copy link

  • Changed: BIS_fnc_selectRandom -> selectRandom

  • Changed: vehicle player -> objectParent

  • Changed: BIS_fnc_relPos -> getPos

  • Changed: BIS_fnc_arrayPushStack -> pushBack

  • Changed: BIS_fnc_dirTo -> getDir

  • Changed: Shopkeepers, priests, faction reps and gundealers now have less AI features.

  • Changed: Added a check for arrays to OT_fnc_getOwner because some function is passing arrays to it.

  • Changed: Tanoa mission now has dynamic simulation and is binarized

  • Changed: Probably something else as well that I forgot.

* Changed: BIS_fnc_selectRandom -> selectRandom

* Changed: vehicle player -> objectParent

* Changed: BIS_fnc_relPos -> getPos

* Changed: BIS_fnc_arrayPushStack -> pushBack

* Changed: BIS_fnc_dirTo -> getDir

* Changed: Shopkeepers, priests, faction reps and gundealers now have less AI features.

* Changed: Probably something else as well that I forgot.
Fixed all typos in the previous commit.
Applied the previous optimizations to the missions as well.
* Changed: Tanoa mission now has dynamic simulation and is binarized

* Fixed: Forgot to repack overthrow_main.pbo in previous commit
@Nifnat Nifnat self-assigned this Jan 9, 2021
Copy link
Owner

@Nifnat Nifnat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was looking into issue #7. Could only repro with the changes from this branch, could you replace the Tanoa mission sqm with the non binarized version but with the same changes to dynamic simulation. Will make it easier to do a comparison on changes made.

Unbinarized for debug reasons.
Final BIS_fnc_selectRandom removed.
@Nifnat
Copy link
Owner

Nifnat commented Jan 15, 2021

Still want to look into #7 but it seems it might not be connected to this PR. I'm going to merge this in the meantime and then do more testing before updating the workshop version.

@Nifnat Nifnat merged commit 6361fbf into Nifnat:dev Jan 15, 2021
@Nifnat Nifnat mentioned this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants