Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Multiple scripts can be run at once | Kelly Rauchenberger | 2021-02-21 | 1 | -1/+7 |
| | | | | And they're all on their own threads again. This is mostly so debug commands can be run during execution of other scripts. But it can also be useful for map init scripts (if we want a script to run whenever a map is loaded, even though map loading is usually done by a script). | ||||
* | Debug commands run inside a coroutine now yay! | Kelly Rauchenberger | 2021-02-21 | 1 | -1/+0 |
| | | | | Also it turns out you totally don't need the runner thread. | ||||
* | Added a debug console | Kelly Rauchenberger | 2021-02-21 | 1 | -0/+2 |
| | | | | | | | | Open it by pressing backtick, close it by hitting escape. Pressing backtick does not open it in release builds. Current shortcomings: opening it for the first time also types a backtick for some reason, but not on subsequent times. Also, it doesn't create a coroutine, so any script function that yields is going to fail. This also added a "is gameplay paused" flag to Game, which will be useful for adding a pause menu. | ||||
* | Scripts are organised per-map now | Kelly Rauchenberger | 2021-02-12 | 1 | -1/+1 |
| | |||||
* | Created script system | Kelly Rauchenberger | 2021-02-05 | 1 | -0/+32 |