Working on phone and bank account
This commit is contained in:
1 parent
1b1ceac2fe
commit
e6bfe85e2e
6 files changed
+98
-1
No files matched your search
@@ -57,6 +57,11 @@ namespace ZL {
|
||||
bool isPhoneScreenOpen() const { return state == GameState::PhoneScreen; }
|
||||
void closePhoneEntirely();
|
||||
|
||||
void setChatUnread(int chatIndex, bool unread);
|
||||
|
||||
void spendMoney(int amount);
|
||||
int getMoney() const { return money_; }
|
||||
|
||||
std::function<void(const std::string&)> startDialogueFunc;
|
||||
std::function<void()> startDarklandsTransitionFunc;
|
||||
|
||||
@@ -88,6 +93,7 @@ namespace ZL {
|
||||
void openPhoneVideo();
|
||||
void openPhoneTaxi();
|
||||
void openPhoneMapScreen(std::shared_ptr<UiNode> mapRoot);
|
||||
void refreshChatUnreadIndicators();
|
||||
void resetPhoneChatNodes();
|
||||
void recomputePhoneChatPositions();
|
||||
void openPhoneChatFromList(std::shared_ptr<UiNode> chatRoot, const std::string& dialogueId);
|
||||
@@ -154,6 +160,9 @@ namespace ZL {
|
||||
// Dialogues that have been started at least once; re-opening a chat won't restart them
|
||||
std::unordered_set<std::string> startedDialogues_;
|
||||
|
||||
bool chatUnread_[3] = { true, true, true };
|
||||
int money_ = 5500;
|
||||
|
||||
// Phone chat state
|
||||
struct PhoneChatBubbleInfo {
|
||||
std::string nodeName;
|
||||
|
||||
Reference in new issue
Block a user