Portrait mode for inventory screen

This commit is contained in:
Vladislav Khorev committed 2026-06-27 13:07:16 +03:00
1 parent 1b172460e0
commit bdad5fa107
6 files changed
+375 -36

No files matched your search

+5
View File
@@ -138,6 +138,8 @@ namespace ZL {
void rebuildChatBubblesFromHistory(int chatIndex, bool isPortrait);
void showModalMenuScreen();
void openPortraitInventoryItem(int index);
void closePortraitInventoryItem();
void openPortraitQuestJournalItem(int index);
void closePortraitJournalItem();
@@ -170,6 +172,7 @@ namespace ZL {
Inventory* inventory = nullptr;
int inventorySelectedIndex_ = -1;
int inventoryMenuStackDepth_ = 0;
int selectedQuestIndex = -1;
int journalMenuStackDepth_ = 0;
std::vector<std::string> visibleQuestIds;
@@ -235,6 +238,8 @@ namespace ZL {
std::shared_ptr<UiNode> newInventoryRoot;
std::shared_ptr<UiNode> portraitInventoryListRoot;
std::shared_ptr<UiNode> portraitInventoryItemRoot;
std::shared_ptr<UiNode> questJournalRoot;
std::shared_ptr<UiNode> portraitQuestJournalListRoot;
std::shared_ptr<UiNode> portraitQuestJournalItemRoot;