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

Method Draw

src/battle_animation.cpp:241–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void BattleAnimationMap::Draw(Bitmap& dst) {
242 if (IsOnlySound()) {
243 return;
244 }
245
246 if (global) {
247 DrawGlobal(dst);
248 } else {
249 DrawSingle(dst);
250 }
251}
252
253void BattleAnimationMap::DrawGlobal(Bitmap& dst) {
254 auto rect = Main_Data::game_screen->GetScreenEffectsRect();

Callers

nothing calls this directly

Calls 7

CalculateOffsetFunction · 0.85
GetBattleSpriteMethod · 0.80
GetBattlePositionMethod · 0.80
GetHeightMethod · 0.45
GetFlashColorMethod · 0.45
GetDisplayXMethod · 0.45
GetDisplayYMethod · 0.45

Tested by

no test coverage detected