mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-25 14:54:19 +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:
1 parent
880c7ad8e6
commit
a537492d9c
20 files changed
+65
-265
No files matched your search
@@ -1,5 +1,3 @@
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
|
||||
#ifndef CUSTOMLEVELS_H
|
||||
#define CUSTOMLEVELS_H
|
||||
|
||||
@@ -138,9 +136,8 @@ public:
|
||||
int absfree(int x, int y);
|
||||
|
||||
bool load(std::string _path);
|
||||
#ifndef NO_EDITOR
|
||||
bool save(const std::string& _path);
|
||||
#endif
|
||||
|
||||
void generatecustomminimap(void);
|
||||
|
||||
int findtrinket(int t);
|
||||
@@ -182,4 +179,3 @@ extern customlevelclass cl;
|
||||
|
||||
#endif /* CUSTOMLEVELS_H */
|
||||
|
||||
#endif /* NO_CUSTOM_LEVELS */
|
||||
Reference in new issue
Block a user