mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 10:14:40 +03:00
Remove NO_EDITOR/NO_CUSTOM_LEVELS, disable editor on Steam Deck
This commit removes the `NO_EDITOR` and `NO_CUSTOM_LEVELS` defines, which cleans up the code a lot, and they weren't really needed anyways. This commit also disables the editor on the Steam Deck, and adds a program argument to re-enable the editor, `-enable-editor`.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
880c7ad8e6
commit
a537492d9c
@@ -131,7 +131,6 @@ void gamerenderfixed(void)
|
||||
|
||||
map.updateroomnames();
|
||||
|
||||
#if !defined(NO_CUSTOM_LEVELS) && !defined(NO_EDITOR)
|
||||
ed.old_return_message_timer = ed.return_message_timer;
|
||||
if (map.custommode && !map.custommodeforreal && ed.return_message_timer > 0)
|
||||
{
|
||||
@@ -165,7 +164,6 @@ void gamerenderfixed(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void titlerenderfixed(void)
|
||||
|
||||
Reference in New Issue
Block a user