summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonAki <konaki@anokonaki.org>2026-10-14 18:55:24 +0800
committerKonAki <konaki@anokonaki.org>2026-10-14 18:55:24 +0800
commit60698e3006c88bc6b9eb4a851e21197c39e7a12d (patch)
treebe6c83c1fa7c7eef04ccf886e8178f5eb3415c41
parentae3e03e0c5663fe4e59c136115090f4777e63282 (diff)
wire rm into build.sh and readme
-rw-r--r--README.md1
-rwxr-xr-xbuild.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index aef0789..5c07d8c 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,7 @@ The engine modules are a `.h` and a `.c` pair, they depend on each other a bit,
| image | stb_image so assets can load pngs |
| audio | sound playing, looping, pitch, buses, fades, positional sound, music crossfades |
| mic | microphone level, talking detection, last few seconds as a sound |
+| rm | one host function for the RPG Maker commands the converters write: sound, screen effects and pictures, for whichever of those modules are built |
| sound | RPG Maker style audio channels: BGM, BGS, ME and SE, fades, a saved BGM, loop points (adds audio) |
| model | glTF models and animation, converted to my own `.kmdl` format |
| ui | immediate mode ui |
diff --git a/build.sh b/build.sh
index ef06df5..7eebbfe 100755
--- a/build.sh
+++ b/build.sh
@@ -12,7 +12,7 @@ developer=0
usage()
{
echo "usage: build.sh [-d] [-D] [-p platform] [-m module,...] [-o objdir] [target ...]"
- echo "modules: font toml tile pack ui debug assets image audio mic sound model 2d fx particles picture script battle party save stage textbox platformer rpg 3d sector world"
+ echo "modules: font toml tile pack ui debug assets image audio mic sound model 2d fx particles picture rm script battle party save stage textbox platformer rpg 3d sector world"
echo "platforms: native linux bsd windows"
echo "targets: all run clean tools pack examples"
exit 1
@@ -97,7 +97,7 @@ esac
for m in $modules; do
DEFS="$DEFS -DKON_MODULE_$(echo "$m" | tr 'a-z' 'A-Z')"
case $m in
- font|toml|tile|pack|ui|debug|2d|fx|particles|picture|sound|script|battle|party|save|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;;
+ font|toml|tile|pack|ui|debug|2d|fx|particles|picture|sound|rm|script|battle|party|save|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;;
assets) addobj konassets ;;
model) addobj konmodel; addobj konassets ;;
image) addobj stb_image ;;