mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Rename edlevelclass to RoomProperty
That's what edlevelclass is... so that's what it should be named. (Also removes that "ed", too, making this less coupled to the in-game editor.) Unfortunately, for compatibility reasons, the name of the XML element will still remain the same.
This commit is contained in:
@@ -159,7 +159,7 @@ void scriptclass::run(void)
|
||||
{
|
||||
int temprx=ss_toi(words[1])-1;
|
||||
int tempry=ss_toi(words[2])-1;
|
||||
const edlevelclass* room;
|
||||
const RoomProperty* room;
|
||||
cl.setroomwarpdir(temprx, tempry, ss_toi(words[3]));
|
||||
|
||||
room = cl.getroomprop(temprx, tempry);
|
||||
@@ -197,7 +197,7 @@ void scriptclass::run(void)
|
||||
}
|
||||
if (words[0] == "ifwarp")
|
||||
{
|
||||
const edlevelclass* const room = cl.getroomprop(ss_toi(words[1])-1, ss_toi(words[2])-1);
|
||||
const RoomProperty* const room = cl.getroomprop(ss_toi(words[1])-1, ss_toi(words[2])-1);
|
||||
if (room->warpdir == ss_toi(words[3]))
|
||||
{
|
||||
load("custom_"+words[4]);
|
||||
|
||||
Reference in New Issue
Block a user