mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Update region system to current codebase due to PR rot
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
94620d809e
commit
dedf941b25
@@ -371,6 +371,23 @@ void scriptclass::run(void)
|
||||
map.customshowmm=false;
|
||||
}
|
||||
}
|
||||
else if (words[0] == "setregion")
|
||||
{
|
||||
map.setregion(
|
||||
ss_toi(words[1]),
|
||||
ss_toi(words[2]),
|
||||
ss_toi(words[3]),
|
||||
ss_toi(words[4]),
|
||||
ss_toi(words[5]));
|
||||
}
|
||||
else if (words[0] == "removeregion")
|
||||
{
|
||||
map.removeregion(ss_toi(words[1]));
|
||||
}
|
||||
else if (words[0] == "changeregion")
|
||||
{
|
||||
map.changeregion(ss_toi(words[1]));
|
||||
}
|
||||
if (words[0] == "delay")
|
||||
{
|
||||
//USAGE: delay(frames)
|
||||
|
||||
Reference in New Issue
Block a user