mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Directly execute scripts if script boxes have a non-empty script field
Instead of using gamestates, just directly use the 'script' attribute of a script box if it is non-empty. This is accomplished by having to return the index of the block that the player collides with, so callers can inspect the 'script' attribute of the block themselves, and do their logic accordingly.
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
void settemprect(int t);
|
||||
|
||||
int checktrigger();
|
||||
int checktrigger(int* block_idx);
|
||||
|
||||
int checkactivity();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user