MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Image_FadeIn

Method Image_FadeIn

Source/Fodder.cpp:16749–16762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16747}
16748
16749void cFodder::Image_FadeIn() {
16750 mSurface->Save();
16751 mGraphics->PaletteSet();
16752 mGame_Data.mDemoRecorded.DisableTicks();
16753 while (mSurface->isPaletteAdjusting()) {
16754 mSurface->palette_FadeTowardNew();
16755
16756 Video_Sleep();
16757 Video_Sleep();
16758 Video_Sleep();
16759 }
16760
16761 mGame_Data.mDemoRecorded.EnableTicks();
16762}
16763
16764void cFodder::Image_FadeOut() {
16765

Callers

nothing calls this directly

Calls 6

SaveMethod · 0.80
DisableTicksMethod · 0.80
isPaletteAdjustingMethod · 0.80
palette_FadeTowardNewMethod · 0.80
EnableTicksMethod · 0.80
PaletteSetMethod · 0.45

Tested by

no test coverage detected