mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-20 00:48:11 -07:00
Add asset packs font support
This commit is contained in:
@@ -85,6 +85,10 @@ def _packs_emitter(target, source, env):
|
||||
target_dir.File(source_dir.rel_path(node).removesuffix(".png") + ".bmx")
|
||||
for node in env.GlobRecursive("*/Icons/**/*.png", source_dir.srcnode())
|
||||
)
|
||||
target.extend(
|
||||
target_dir.File(source_dir.rel_path(node).removesuffix(".c") + ".u8f")
|
||||
for node in env.GlobRecursive("*/Fonts/*.c", source_dir.srcnode())
|
||||
)
|
||||
|
||||
return target, source
|
||||
|
||||
|
||||
Reference in New Issue
Block a user