mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +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
@@ -337,6 +337,7 @@ public:
|
||||
|
||||
int framecounter;
|
||||
bool seed_use_sdl_getticks;
|
||||
bool editor_disabled;
|
||||
int frames, seconds, minutes, hours;
|
||||
bool gamesaved;
|
||||
bool gamesavefailed;
|
||||
@@ -552,9 +553,7 @@ public:
|
||||
bool fadetolab;
|
||||
int fadetolabdelay;
|
||||
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
void returntoeditor(void);
|
||||
#endif
|
||||
|
||||
bool inline inspecial(void)
|
||||
{
|
||||
@@ -572,9 +571,7 @@ public:
|
||||
bool showingametimer;
|
||||
|
||||
bool ingame_titlemode;
|
||||
#if !defined(NO_CUSTOM_LEVELS) && !defined(NO_EDITOR)
|
||||
bool ingame_editormode;
|
||||
#endif
|
||||
|
||||
void returntoingame(void);
|
||||
void unlockAchievement(const char *name);
|
||||
|
||||
Reference in New Issue
Block a user