mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-04-01 06:21:30 +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
@@ -263,9 +263,9 @@ public:
|
||||
|
||||
void drawbackground(int t);
|
||||
void updatebackground(int t);
|
||||
#ifndef NO_CUSTOM_LEVELS
|
||||
|
||||
bool shouldrecoloroneway(const int tilenum, const bool mounted);
|
||||
#endif
|
||||
|
||||
void drawtile3(int x, int y, int t, int off, int height_subtract = 0);
|
||||
void drawtile2(int x, int y, int t);
|
||||
void drawtile(int x, int y, int t);
|
||||
@@ -283,11 +283,10 @@ public:
|
||||
const char* filename, SDL_Texture* texture,
|
||||
int tilewidth, int tileheight
|
||||
);
|
||||
#ifndef NO_CUSTOM_LEVELS
|
||||
|
||||
bool tiles1_mounted;
|
||||
bool tiles2_mounted;
|
||||
bool minimap_mounted;
|
||||
#endif
|
||||
|
||||
bool gamecomplete_mounted;
|
||||
bool levelcomplete_mounted;
|
||||
|
||||
Reference in New Issue
Block a user