Working on loading screen
This commit is contained in:
1 parent
1c2c80f0ea
commit
44f5136f1d
8 files changed
+272
-187
No files matched your search
@@ -79,6 +79,13 @@ namespace ZL {
|
||||
std::function<void(int)> onLoadGame;
|
||||
std::function<SaveSlotInfo(int)> getSlotInfoFunc;
|
||||
|
||||
// Set by Game: runs the given closures one per frame with the loading
|
||||
// screen shown (same mechanism as the initial resource load), so a heavy
|
||||
// operation like reloadLocalizedGameContent() doesn't block the window
|
||||
// for its whole duration. Game re-enables normal rendering once all the
|
||||
// closures have run.
|
||||
std::function<void(std::vector<std::function<void()>>)> runAsLoadingSequence;
|
||||
|
||||
// Called when a chat message bubble should be shown (text + direction)
|
||||
void onChatBubbleReady(const std::string& text, bool incoming);
|
||||
|
||||
|
||||
Reference in new issue
Block a user