fix: proper font loading, cross platform assets, better platform independent trait implementation, conditional modules

This commit is contained in:
2025-08-16 14:17:28 -05:00
parent f940f01d9b
commit 313ca4f3e6
9 changed files with 89 additions and 82 deletions

View File

@@ -11,7 +11,8 @@ pub enum Asset {
Wav2,
Wav3,
Wav4,
Atlas,
AtlasImage,
Font,
}
impl Asset {
@@ -23,7 +24,8 @@ impl Asset {
Wav2 => "sound/waka/2.ogg",
Wav3 => "sound/waka/3.ogg",
Wav4 => "sound/waka/4.ogg",
Atlas => "atlas.png",
AtlasImage => "atlas.png",
Font => "TerminalVector.ttf",
}
}
}