Brought over a bunch of code from the roguelike and now will use it to generate a random map.
This commit is contained in:
parent
8d3d3b4ec3
commit
2daa1c9bd5
59 changed files with 4303 additions and 411 deletions
10
main.cpp
10
main.cpp
|
@ -7,15 +7,15 @@
|
|||
#include "stats.hpp"
|
||||
|
||||
Matrix MAP{
|
||||
{1,1,1,1,1,1,1,1,1},
|
||||
{1,1,1,3,2,3,1,1,1},
|
||||
{1,0,1,0,0,0,0,0,1},
|
||||
{1,0,1,0,0,1,1,0,1},
|
||||
{1,0,0,0,0,0,0,0,1},
|
||||
{1,1,0,0,0,0,0,1,1},
|
||||
{1,0,0,1,1,1,0,0,1},
|
||||
{3,0,0,0,0,0,0,0,3},
|
||||
{2,1,0,0,0,0,0,1,2},
|
||||
{3,0,0,1,1,1,0,0,3},
|
||||
{1,0,0,0,0,0,1,1,1},
|
||||
{1,0,0,0,0,0,0,0,1},
|
||||
{1,1,1,1,1,1,1,1,1}
|
||||
{1,1,1,3,2,3,1,1,1}
|
||||
};
|
||||
|
||||
void draw_gui(sf::RenderWindow &window, sf::Text &text, Stats &stats) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue