Renderer of ANSI codes to SFML is now working. Does seem to be a little slow but that'll be easy to fix later.
This commit is contained in:
parent
ae484bf425
commit
a36b187879
8 changed files with 96 additions and 62 deletions
6
map.hpp
6
map.hpp
|
@ -11,10 +11,10 @@
|
|||
#define INV_SPACE 1
|
||||
#define WALL_VALUE 1
|
||||
#define SPACE_VALUE 0
|
||||
#define WALL_TILE "#"
|
||||
#define WALL_TILE "█"
|
||||
#define FLOOR_TILE "."
|
||||
#define PLAYER_TILE "&"
|
||||
#define ENEMY_TILE "!"
|
||||
#define PLAYER_TILE "☺"
|
||||
#define ENEMY_TILE "Ω"
|
||||
|
||||
struct Room {
|
||||
size_t x = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue