No description
  • Odin 90.7%
  • GLSL 7.8%
  • Metal 1.5%
Find a file
Be Dangerous fe653c91bd build: single-file rdnk build system (replaces build/ package)
Replace the `odin run build` tool with a single root build.odin run by rdnk:

    rdnk build.odin          dev hot-reload (tithingman watch + game.dylib swap)
    rdnk build.odin build    static executable -> ./odin-impeller
    rdnk build.odin release  static, optimized (-o:speed)
    rdnk build.odin shaders  compile shaders only
    rdnk build.odin clean

Native compilation shells to `odin` with ODIN_ROOT=$RDNK_ROOT, so it builds
against rdnk's bundled stdlib + vendor (precompiled C archives: stb,
kb_text_shape, libtess2) — no `make` bootstrap, and the same stdlib rdnk
JIT-runs, keeping dev and static builds consistent.

Dev mode upgrades the old mtime-poll watcher to rdnk:tithingman (FSEvents) +
the existing host hot-swap: a .odin edit rebuilds game.dylib (host reloads
in-process, preserving state); a shader edit recompiles + the app reloads.

Shader compilation (glslc -> spirv-cross -> MSL buffer-binding fixup) and the
libtess2 build are ported inline; fixup output is byte-identical to the old
tool. Works around rdnk JIT core:os gaps (getcwd -> $PWD, readdir -> shell ls,
remove_all -> rm -rf, join_path -> strings.join).

Needs brew rdnk >= 0.1.3 for dev mode (threading + foreign-global fixes).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 18:46:51 -05:00
.claude updates shader pipelines. added new liquid glass shader 2026-04-09 23:27:44 -05:00
assets Impeller rendering pipeline port — all core features working 2026-04-02 21:06:59 -05:00
src updates shader pipelines. added new liquid glass shader 2026-04-09 23:27:44 -05:00
.gitignore Impeller rendering pipeline port — all core features working 2026-04-02 21:06:59 -05:00
ANIMATIONS.md Impeller rendering pipeline port — all core features working 2026-04-02 21:06:59 -05:00
ARCHITECTURE.md Architecture doc, drag & drop demo, mouse offset fix 2026-04-04 15:51:46 -05:00
build.odin build: single-file rdnk build system (replaces build/ package) 2026-06-10 18:46:51 -05:00
game.dylib Add hot reload via DLL (Zylinski pattern) 2026-04-03 22:24:15 -05:00
game_loaded.dylib Add hot reload via DLL (Zylinski pattern) 2026-04-03 22:24:15 -05:00
host Add hot reload via DLL (Zylinski pattern) 2026-04-03 22:24:15 -05:00
MURATORI_RULES.md Add arena-based memory management (Muratori principles) 2026-04-02 22:29:52 -05:00
ols.json improved state management 2026-04-07 23:58:10 -05:00
PLAN.md build: single-file rdnk build system (replaces build/ package) 2026-06-10 18:46:51 -05:00