Basic loot UI mostly working. Each time you open there's a torch and you can place it visually on any slot on your character.
This commit is contained in:
parent
4b34de2109
commit
5c47a0151c
13 changed files with 123 additions and 46 deletions
|
@ -15,6 +15,7 @@ json load_test_data(const string &fname) {
|
|||
}
|
||||
|
||||
TEST_CASE("camera control", "[map]") {
|
||||
components::init();
|
||||
LevelManager levels;
|
||||
GameLevel level = levels.current();
|
||||
auto &map = *level.map;
|
||||
|
@ -32,6 +33,7 @@ TEST_CASE("camera control", "[map]") {
|
|||
}
|
||||
|
||||
TEST_CASE("map placement test", "[map:placement]") {
|
||||
components::init();
|
||||
for(int i = 0; i < 20; i++) {
|
||||
LevelManager levels;
|
||||
GameLevel level = levels.current();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue