WORK IN PROGRESS

TODO: implement random level generation
moved exclude from list to position.h
distinguished level and map
This commit is contained in:
2024-07-12 00:16:08 -04:00
parent c68330b3e3
commit b3300b8e7c
13 changed files with 268 additions and 113 deletions

View File

@ -14,6 +14,7 @@
#include "constants.h"
#include "position.h"
#include "potion.h"
#include "gold.h"
#include "rng.h"
// #include "inventory.h" // Reserved for later
@ -85,11 +86,6 @@ protected:
bool hostile;
};
// requires: all elements of excluded are in sorted_positions
position_list remove_from_list(const position_list &sorted_positions,
position_list excluded);
int calc_dmg(const int ATK, const int DEF);
#endif