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

use colony internally #116

Closed
cyanskies opened this issue Nov 19, 2019 · 0 comments
Closed

use colony internally #116

cyanskies opened this issue Nov 19, 2019 · 0 comments

Comments

@cyanskies
Copy link
Owner

replace object references with colony.(see https://plflib.org/colony.htm and https://github.com/mattreecebentley/plf_colony)

store ptrs to entities and curves where needed, and use colony pointer_to_iterator to validate and access to desired data.

ents that are truely dead can be deleted(they can be streamed to file for replay recording), theyre curves will be unchanged.

objects will still have unique integer ids, but most code will be transparently using pointers to access them.

object list can store a cache of pointers to that objects curve, for quick lookup.

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

No branches or pull requests

1 participant