implements PLN-0018

This commit is contained in:
2026-04-17 13:24:25 +01:00
parent ed05f337ce
commit 5a0476e8b0
5 changed files with 323 additions and 42 deletions
@@ -50,6 +50,7 @@ pub trait GfxBridge {
fn present(&mut self);
fn render_all(&mut self);
fn render_scene_from_cache(&mut self, cache: &SceneViewportCache, update: &ResolverUpdate);
fn load_frame_sprites(&mut self, sprites: &[Sprite]);
fn draw_text(&mut self, x: i32, y: i32, text: &str, color: Color);
fn draw_char(&mut self, x: i32, y: i32, c: char, color: Color);
@@ -5,6 +5,7 @@ pub struct Sprite {
pub glyph: Glyph,
pub x: i32,
pub y: i32,
pub layer: u8,
pub bank_id: u8,
pub active: bool,
pub flip_x: bool,