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

Implement cache for active structures in rooms #107

Open
wants to merge 4 commits into
base: ptr
Choose a base branch
from
Open

Conversation

Flya
Copy link

@Flya Flya commented Nov 9, 2018

This committe is rework how game engine is calculate isActive for structures in room. The logic is implemented by using property off in raw object. The processor will update this property in the end of the tick and runtime will use it for check if structure is active.

@o4kapuk o4kapuk self-assigned this Nov 9, 2018
@Flya Flya force-pushed the ptr branch 9 times, most recently from bf3e3dc to 175670c Compare November 10, 2018 07:03
@semperrabbit
Copy link

@Flya i noticed that a _check_active_structures.js was called, but not defined. is that in a commit not included in this PR? I'm assuming that would do the bulk of setting the structure.off each tick...

@Flya
Copy link
Author

Flya commented Mar 17, 2019

@semperrabbit Sorry looks like I missed to include this file. I have added this file now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants