Inventory updates, API updates, lots of file renaming

This commit is contained in:
2026-03-17 04:05:04 -04:00
parent b060784bb7
commit fb6f902f28
63 changed files with 820 additions and 553 deletions

44
src/state/play/menu.hpp Normal file
View File

@@ -0,0 +1,44 @@
#pragma once
#include <imgui.h>
#include "../settings_menu.hpp"
#include "arcade/skill_check.hpp"
#include "chat.hpp"
#include "cheats.hpp"
#include "debug.hpp"
#include "stats.hpp"
#include "text.hpp"
#include "../../util/imgui/window_slide.hpp"
namespace game::state::play
{
class Menu
{
public:
SkillCheck skillCheck;
Chat chat;
Cheats cheats;
Debug debug;
Stats stats;
Inventory inventory;
state::SettingsMenu settingsMenu;
#if DEBUG
bool isCheats{true};
#elif
bool isCheats{};
#endif
bool isOpen{true};
bool isChat{true};
util::imgui::WindowSlide slide{};
void tick();
void update(Resources&, ItemManager&, entity::Character&, entity::Cursor&, Text&, Canvas&);
void color_set_check(Resources&, entity::Character&);
};
}