mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Abstract tileset/tilecol/enemy switching to functions
This results in me having to copy-paste less code around, because editorinput() is big enough as it is.
This commit is contained in:
@@ -134,6 +134,11 @@ class editorclass{
|
||||
|
||||
int backmatch(int x, int y);
|
||||
|
||||
void switch_tileset(const bool reversed = false);
|
||||
void switch_tilecol(const bool reversed = false);
|
||||
void clamp_tilecol(const int rx, const int ry, const bool wrap = false);
|
||||
void switch_enemy(const bool reversed = false);
|
||||
|
||||
bool load(std::string& _path);
|
||||
bool save(std::string& _path);
|
||||
void generatecustomminimap();
|
||||
|
||||
Reference in New Issue
Block a user