mirror of
https://github.com/zoriya/My3D.git
synced 2026-05-29 17:12:14 +00:00
Implementing a draw brush
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// Created by anonymus-raccoon on 3/10/20.
|
||||
//
|
||||
|
||||
#ifndef _MAP_MANAGER_COMPONENT_H_
|
||||
#define _MAP_MANAGER_COMPONENT_H_
|
||||
|
||||
#include "component.h"
|
||||
|
||||
enum brush
|
||||
{
|
||||
MOVE,
|
||||
RESET,
|
||||
ROTATE,
|
||||
TEXTURE
|
||||
};
|
||||
|
||||
struct map_manager_component
|
||||
{
|
||||
gc_component base;
|
||||
bool tile_mode;
|
||||
enum brush brush;
|
||||
void *selected_texture;
|
||||
};
|
||||
|
||||
const struct map_manager_component map_manager_component;
|
||||
|
||||
#endif //_MAP_MANAGER_COMPONENT_H_
|
||||
Reference in New Issue
Block a user