mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-25 14:54:19 +03:00
Add fill bucket subtool
VED has a fill bucket subtool for tiles and backgrounds, which is really useful when creating rooms. This commit adds a fill bucket as well, with an adaptive tool highlight, unlike VED.
This commit is contained in:
1 parent
1de459d9b4
commit
d328be2a03
2 files changed
+124
-3
No files matched your search
@@ -3,6 +3,7 @@
|
||||
#ifndef EDITOR_H
|
||||
#define EDITOR_H
|
||||
|
||||
#include "Constants.h"
|
||||
#include "CustomLevels.h"
|
||||
|
||||
#include <SDL.h>
|
||||
@@ -123,6 +124,8 @@ public:
|
||||
|
||||
void draw_tool(EditorTools tool, int x, int y);
|
||||
|
||||
void get_tile_fill(int tilex, int tiley, int tile, bool connected[SCREEN_HEIGHT_TILES][SCREEN_WIDTH_TILES]);
|
||||
|
||||
void handle_tile_placement(int tile);
|
||||
|
||||
void tool_remove();
|
||||
@@ -213,7 +216,7 @@ public:
|
||||
int desc; // Which description row we're changing
|
||||
int text_entity; // Entity ID for text prompt
|
||||
};
|
||||
bool x_modifier, z_modifier, c_modifier, v_modifier, b_modifier, h_modifier, toolbox_open;
|
||||
bool x_modifier, z_modifier, c_modifier, v_modifier, b_modifier, h_modifier, f_modifier, toolbox_open;
|
||||
|
||||
int roomnamehide;
|
||||
bool saveandquit;
|
||||
|
||||
Reference in new issue
Block a user