summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonAki <konaki@anokonaki.org>2026-10-16 15:38:03 +0800
committerKonAki <konaki@anokonaki.org>2026-10-16 15:38:03 +0800
commit1998534d1b1a59d4d453abe010f44dc8af93b24b (patch)
treeffe4fcbc213a34822fef65618acead3c11b07e1e
parent84ce07075a8fbebef8d3472bf608b11ce6b2265b (diff)
mzdata and rmdata need the party module
-rw-r--r--Makefile2
-rw-r--r--README.md2
-rwxr-xr-xbuild.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 97cd614..48739ef 100644
--- a/Makefile
+++ b/Makefile
@@ -129,7 +129,7 @@ $(MZMAP): tools/mzmap.c $(KONDIR)/konjson.h
@$(CC) $(TOOLFLAGS) -o $@ tools/mzmap.c
# the database converter checks the damage formulas with the battle module's own parser
-$(MZDATA): tools/mzdata.c $(KONDIR)/konjson.h $(KONDIR)/konrmdata.h $(KONDIR)/konbattle.c $(KONDIR)/konbattle.h
+$(MZDATA): tools/mzdata.c $(KONDIR)/konjson.h $(KONDIR)/konrmdata.h $(KONDIR)/konparty.h $(KONDIR)/konsave.h $(KONDIR)/konbattle.c $(KONDIR)/konbattle.h
@mkdir -p $(OBJDIR)
@echo "# link $@"
@$(CC) $(TOOLFLAGS) -o $@ tools/mzdata.c $(KONDIR)/konbattle.c -lm
diff --git a/README.md b/README.md
index 600f698..dfd6e68 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ The engine modules are a `.h` and a `.c` pair, they depend on each other a bit,
| rmdraw | draws an RPG Maker map from its tileset sheets: layers, shadows, tiles that go above the actors, looping maps (adds rmmap, rmtile) |
| rmfield | the player and the events of an RPG Maker map walking around it: steps at the speed of the character, wandering and routes, what blocks what, what starts an event by touch, action or autorun, random fights by steps and regions, and the script commands for moving characters, map transfers and self switches (adds rmmap) |
| rmplugin | the plugin commands of RPG Maker games (356 and 357): you give a table of names and functions, the commands a game still needs that are not in it are counted so you can see them |
-| rmdata | the database of an RPG Maker game as const data: enemies and troops, how an enemy picks what to do, when a battle event page runs (adds battle) |
+| rmdata | the database of an RPG Maker game as const data: classes, actors, items, weapons, armor, enemies and troops, how an enemy picks what to do, when a battle event page runs (adds party) |
| 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 1dfcd3e..034e300 100755
--- a/build.sh
+++ b/build.sh
@@ -139,7 +139,7 @@ case " $modules " in *" model "*) need assets ;; esac
case " $modules " in *" party "*) need battle; need save ;; esac
case " $modules " in *" rmdraw "*) need rmmap; need rmtile ;; esac
case " $modules " in *" rmfield "*) need rmmap ;; esac
-case " $modules " in *" rmdata "*) need battle ;; esac
+case " $modules " in *" rmdata "*) need battle; need party; need save ;; esac
case " $DEFS " in *" -DKON_MODULE_ASSETS "*) need pack ;; esac
# the 3D renderer is only compiled when a module that draws in 3D is picked