LEL is working at a basic grid level, able to render boxes where I want.
This commit is contained in:
parent
846b7aaf16
commit
872cedc8e1
8 changed files with 127 additions and 99 deletions
6
lel.hpp
6
lel.hpp
|
@ -7,6 +7,8 @@ struct Cell {
|
|||
int y = 0;
|
||||
int w = 0;
|
||||
int h = 0;
|
||||
int max_w = 0;
|
||||
int max_h = 0;
|
||||
int col = 0;
|
||||
int row = 0;
|
||||
bool left = true;
|
||||
|
@ -21,8 +23,8 @@ struct LELParser {
|
|||
int grid_y = 0;
|
||||
int grid_w = 0;
|
||||
int grid_h = 0;
|
||||
int row_count = 0;
|
||||
int max_columns = 0;
|
||||
int rows = 0;
|
||||
int columns = 0;
|
||||
Cell cur;
|
||||
std::unordered_map<std::string, Cell> cells;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue