Implementing a draw brush

This commit is contained in:
AnonymusRaccoon
2020-03-11 15:18:28 +01:00
parent b9d780e90b
commit 30cc01b9ea
12 changed files with 235 additions and 35 deletions
@@ -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_