1
0
Fork 0
Prototype MMO game client and editor
Find a file
Sky Johnson 92c80debc3 Add Blade-like template pre-processor and migrate properties panel
Introduces a template pre-processor (pkg/rdui/template.odin) that
expands .ui files with {{ expr }}, @foreach, @if/@else/@endif, and
{{-- comment --}} syntax into clean HTML before the existing html_parse()
pipeline. Adds rdui_build_from_template and rdui_build_subtree to inject
dynamically-generated HTML into an existing node tree.

Migrates the Properties panel from ~300 lines of imperative node
creation to a data-preparation model: Odin code builds a flat Template_Context
and the template (assets/ui/editor/properties.ui) declares the structure.

Fixes a segfault caused by fmt.tprintf (temp allocator) strings being
passed to delete (heap allocator); changed to fmt.aprintf throughout.
2026-02-18 21:10:03 -06:00
.vscode Modify settings 2026-01-29 22:11:36 -06:00
assets Add Blade-like template pre-processor and migrate properties panel 2026-02-18 21:10:03 -06:00
pkg Add Blade-like template pre-processor and migrate properties panel 2026-02-18 21:10:03 -06:00
src Enable free camera movement in editor with vertical controls 2026-02-13 16:13:33 -06:00
.gitignore Move icons to farmFresh 2026-02-14 17:50:41 -06:00
build.sh Initial prototype 2026-01-26 12:43:23 -06:00
CLAUDE.md Add stylesheet-based toolbar styling with :active pseudo-class 2026-02-13 09:31:24 -06:00
issues.md Migrate skybox to frontend/backend API 2026-01-31 21:51:45 -06:00
ols.json Add OLS settings 2026-02-13 09:32:47 -06:00
rdui.md Add RDUI layout engine with flexbox algorithm 2026-01-28 15:49:40 -06:00