DSC Engine
|
general-purpose scene with 256KB BG-Main VRAM More...
#include <generic_scene_256.hpp>
Public Member Functions | |
virtual void | init () override |
Contains Scene initialization routines (setting variables, loading VRAM etc.) More... | |
__attribute__ ((noinline)) virtual void run() override | |
virtual void | frame () override |
The Scene main loop logic. This method is executed at VBlank. More... | |
void | require_tiledmap_4bpp (int id, int px_width, int px_height, int number_of_tiles) |
void | require_tiledmap_8bpp (int id, int px_width, int px_height, int number_of_tiles) |
void | require_tiledmap (int id, int px_width, int px_height, const AssetData *tileset) |
void | require_bitmap (int id, int px_width, int px_height) |
void | require_bitmap (int id, const DSC::AssetData *bitmap) |
void | require_bitmap_16bpp (int id, int px_width, int px_height) |
void | require_bitmap_16bpp (int id, const DSC::AssetData *bitmap) |
Sprite * | create_sprite (Sprite *sprite) |
void | begin_sprites_init () |
void | end_sprites_init () |
Public Member Functions inherited from DSC::Scene | |
Scene ()=default | |
Creates a new Scene instance More... | |
SceneCom * | close () |
Closes this scene and clears all its resources. More... | |
virtual void | init () |
Contains Scene initialization routines (setting variables, loading VRAM etc.) More... | |
virtual void | frame () |
The Scene main loop logic. This method is executed at VBlank. More... | |
__attribute__ ((noinline)) virtual void run() | |
Additional Inherited Members | |
Public Attributes inherited from DSC::Scene | |
Event | key_down |
Key down event. | |
Event | key_held |
Key held event. | |
Event | key_up |
Key up event. | |
general-purpose scene with 256KB BG-Main VRAM
Size limits:
|
overridevirtual |
The Scene main loop logic. This method is executed at VBlank.
Reimplemented from DSC::Scene.
|
overridevirtual |
Contains Scene initialization routines (setting variables, loading VRAM etc.)
Reimplemented from DSC::Scene.