Hello everybody! Long time no see!
I hope some gurus are still here!
Here are my questions :
- How are triggers implemented in the game source code? Is there any place to find reversed code (sorry if those terms cannot be said here)?
- Is every trigger invocation threaded? Is there a thread per event type? Is there a thread for 10 trigger invocations, whatever the trigger? Is it run on the main thread (I guess not)? Is there a sole thread, and a scheduler switching between every trigger invocation?
- How is the unit/doodads pool managed? I mean, if the triggers invocations are being threaded, how is data race managed?
I hope I'm not frightening anybody here
. If you have any complementary information I might not have thought of, feel free to share
.
I hope some gurus are still here!
Here are my questions :
- How are triggers implemented in the game source code? Is there any place to find reversed code (sorry if those terms cannot be said here)?
- Is every trigger invocation threaded? Is there a thread per event type? Is there a thread for 10 trigger invocations, whatever the trigger? Is it run on the main thread (I guess not)? Is there a sole thread, and a scheduler switching between every trigger invocation?
- How is the unit/doodads pool managed? I mean, if the triggers invocations are being threaded, how is data race managed?
I hope I'm not frightening anybody here