mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Add separate tilecol max for direct mode
This commit readds the ability to select the rainbow BG in lab tileset in direct mode.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
17e0d6c330
commit
e36c2764fb
@@ -28,6 +28,7 @@ struct EditorTilecolInfo
|
||||
int foreground_base;
|
||||
const char* background_type;
|
||||
int background_base;
|
||||
bool direct_mode;
|
||||
};
|
||||
|
||||
enum EditorTools
|
||||
@@ -140,6 +141,7 @@ public:
|
||||
void reset(void);
|
||||
|
||||
void register_tileset(EditorTilesets tileset, const char* name);
|
||||
void register_tilecol(EditorTilesets tileset, int index, const char* foreground_type, int foreground_base, const char* background_type, int background_base, bool direct);
|
||||
void register_tilecol(EditorTilesets tileset, int index, const char* foreground_type, int foreground_base, const char* background_type, int background_base);
|
||||
|
||||
void register_tool(EditorTools tool, const char* name, const char* keychar, SDL_KeyCode key, bool shift);
|
||||
@@ -194,6 +196,8 @@ public:
|
||||
const char* tileset_names[NUM_EditorTilesets];
|
||||
int tileset_min_colour[NUM_EditorTilesets];
|
||||
int tileset_max_colour[NUM_EditorTilesets];
|
||||
int tileset_min_colour_direct[NUM_EditorTilesets];
|
||||
int tileset_max_colour_direct[NUM_EditorTilesets];
|
||||
|
||||
const char* tool_names[NUM_EditorTools];
|
||||
const char* tool_key_chars[NUM_EditorTools];
|
||||
|
||||
Reference in New Issue
Block a user