Turned on all the warnings I could handle and made them into errors then fixed them all. Worldbuilder needs a refactor in random_path.
This commit is contained in:
parent
f3f875ee80
commit
128fc4f540
19 changed files with 85 additions and 85 deletions
5
map.hpp
5
map.hpp
|
@ -16,13 +16,12 @@
|
|||
using lighting::LightSource;
|
||||
|
||||
struct Room {
|
||||
int depth;
|
||||
size_t x = 0;
|
||||
size_t y = 0;
|
||||
size_t width = 0;
|
||||
size_t height = 0;
|
||||
Point entry;
|
||||
Point exit;
|
||||
Point entry{(size_t)-1, (size_t)-1};
|
||||
Point exit{(size_t)-1, (size_t)-1};
|
||||
|
||||
DEFINE_SERIALIZABLE(Room, x, y, width, height);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue