You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implement fast index based lookup for ped pool.
The code is tested and works nicely without breaking anything. This technique allows us to eliminate std::map and looping through arrays by using the index of the object pointer within the pool. Next step is to do the same for other pools. This will give us a decent performance boost.
* Fix crashes, bugs, and formatting
Some code was written by lucy.x and some was written by me. I combined them in one commit to fix the formatting.
* Improve variable names
* Replaced calls to Xref manager with new CPool getters
* Remove CGameEntityXRefManager code
* Remove debug code (printf)
* Add sanity checks
* Disable console
* Remove commented code
* Restore original code for unintended changes
* Update bass files
* Apply source code formatting
* Fix source code formatting
* Remove map and array members of SPoolData struct
* Restore original code
* Remove commented code from CClientPed::GetContactEntity
* Add vehicle and object type check to CClientPed::GetContactEntity
0 commit comments