Loot UI is now mostly formed, just need to get loot into it and make it work.
This commit is contained in:
parent
8545b8cf1d
commit
dfc6aa08e9
12 changed files with 38 additions and 146 deletions
|
@ -1,6 +1,5 @@
|
|||
#include "gui/combat_ui.hpp"
|
||||
#include "constants.hpp"
|
||||
#include "color.hpp"
|
||||
#include "rituals.hpp"
|
||||
#include <fmt/xchar.h>
|
||||
#include "guecstra.hpp"
|
||||
|
@ -37,7 +36,8 @@ namespace gui {
|
|||
}
|
||||
|
||||
void CombatUI::init() {
|
||||
$gui.set<Background>($gui.MAIN, {$gui.$parser, ColorValue::DARK_MID});
|
||||
using guecs::THEME;
|
||||
$gui.set<Background>($gui.MAIN, {$gui.$parser, THEME.DARK_MID});
|
||||
auto& the_belt = $level.world->get_the<ritual::Belt>();
|
||||
|
||||
for(int slot = 0; slot < the_belt.max_slots; slot++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue