Mario: slightly better editor UI
This commit is contained in:
@@ -41,11 +41,18 @@ public:
|
||||
virtual uint64_t getVisitorType() override {
|
||||
return _type;
|
||||
}
|
||||
uint64_t getToolType() {
|
||||
return tool_box_type;
|
||||
}
|
||||
|
||||
static bool moveMapLeft( uint64_t flags );
|
||||
static bool moveMapRight( uint64_t flags );
|
||||
static bool moveToolsLeft( uint64_t flags );
|
||||
static bool moveToolsRight( uint64_t flags );
|
||||
static bool moveModsLeft( uint64_t flags );
|
||||
static bool moveModsRight( uint64_t flags );
|
||||
static bool moveCharactersLeft( uint64_t flags );
|
||||
static bool moveCharactersRight( uint64_t flags );
|
||||
|
||||
private:
|
||||
uint64_t select_flags = 0;
|
||||
@@ -54,6 +61,7 @@ private:
|
||||
SDLPP::Vec2D< int > edit_box_location = { -1, -1 };
|
||||
SDLPP::Vec2D< int > tool_box_location = { -1, -1 };
|
||||
uint64_t _type;
|
||||
uint64_t tool_box_type = 0;
|
||||
};
|
||||
|
||||
class ToolVisitor : public SDLPP::Visitor {
|
||||
|
||||
Reference in New Issue
Block a user