step 4: intro_new_logo_scene substituix doIntroNewLogo(); doIntroSprites exposat temporalment

This commit is contained in:
2026-04-15 23:28:22 +02:00
parent 8720e775a0
commit ad38fc09cf
8 changed files with 305 additions and 127 deletions

View File

@@ -28,4 +28,9 @@ void SurfaceHandle::reset(const char* file) {
surface_ = file ? JD8_LoadSurface(file) : nullptr;
}
void SurfaceHandle::adopt(JD8_Surface raw) {
if (surface_) JD8_FreeSurface(surface_);
surface_ = raw;
}
} // namespace scenes