-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
C++ Script APIFeatureNew feature or requestNew feature or requestGood practiceIndicates a proposed change that would be seen as good practiceIndicates a proposed change that would be seen as good practiceOn HoldFeatures that are lower priorityFeatures that are lower prioritymodule: engineFor features that involve the `engine` module. (optional)For features that involve the `engine` module. (optional)
Description
We should be able to write something like:
start_thread<player_jump_intro>(); // Starts `player_jump_intro` script in current state.from e.g. a player_common script in the same folder.
Some prerequisites I can think of are:
- Script headers need to be separate generated files, rather than embedded into the script's TU. (Should be supported already, just needs to be configured)
- Usable/human-readable type aliases should be provided from script headers (We have mangled names currently, but underlying
script_tshould be made accessible in some way) - Consumption headers need to be generated and included properly for each script folder (Should be configuration related; same as declaration headers)
- We may need to tweak a few things to ensure the script-fiber's bootstrap process works as expected.
Metadata
Metadata
Assignees
Labels
C++ Script APIFeatureNew feature or requestNew feature or requestGood practiceIndicates a proposed change that would be seen as good practiceIndicates a proposed change that would be seen as good practiceOn HoldFeatures that are lower priorityFeatures that are lower prioritymodule: engineFor features that involve the `engine` module. (optional)For features that involve the `engine` module. (optional)