MCPcopy Create free account
hub / github.com/EasyRPG/Player / ShowGoldWindow

Method ShowGoldWindow

src/window_message.cpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void Window_Message::ShowGoldWindow() {
236 if (Game_Battle::IsBattleRunning()) {
237 return;
238 }
239 if (!gold_window->IsVisible()) {
240 gold_window->SetY(y == 0 ? Player::screen_height - Player::menu_offset_y - 32 : Player::menu_offset_y);
241 gold_window->SetOpenAnimation(message_animation_frames);
242 } else if (gold_window->IsClosing()) {
243 gold_window->SetOpenAnimation(0);
244 }
245 gold_window->Refresh();
246}
247
248void Window_Message::InsertNewPage() {
249 DebugLog("{}: MSG NEW PAGE");

Callers 1

InsertNewPageMethod · 0.45

Calls 5

SetOpenAnimationMethod · 0.80
IsClosingMethod · 0.80
IsVisibleMethod · 0.45
SetYMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected