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

Method SetGraphicFile

src/async_handler.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288{ }
289
290void FileRequestAsync::SetGraphicFile(bool graphic) {
291 this->graphic = graphic;
292 // We need this flag in order to prevent show screen transitions
293 // from starting util all graphical assets are loaded.
294 // Also, the screen is erased, so you can't see any delays :)
295 if (Transition::instance().IsErasedNotActive()) {
296 SetImportantFile(true);
297 }
298}
299
300void FileRequestAsync::Start() {
301 if (file == CACHE_DEFAULT_BITMAP) {

Callers 15

RequestMethod · 0.80
StartAttackMethod · 0.80
CreateSpriteMethod · 0.80
FrameMethod · 0.80
ReloadSystemGraphicMethod · 0.80
Window_ShopPartyMethod · 0.80
BattleAnimationMethod · 0.80
DrawFaceMethod · 0.80
CreateUiMethod · 0.80
CreateTitleGraphicMethod · 0.80
SetAnimationStateMethod · 0.80
ChipsetUpdatedMethod · 0.80

Calls 1

IsErasedNotActiveMethod · 0.80

Tested by

no test coverage detected