From cdfbad1df2d28b8efb2f7fae5850df56ecf6f8ff Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 27 Jul 2023 09:37:53 +0100 Subject: Properly count entities and sure we support enough This accounts: - entities on the map - entities that will be spawn to unlock doors - the time monster --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 6984376..0295073 100644 --- a/src/Makefile +++ b/src/Makefile @@ -34,8 +34,9 @@ palette.o: ../data/sprites.png $(IMG_OBJS): %.o: ../data/%.png ../tools/pngpix.py $< $@ +# max-ents is MAX_ENTITY - 1 to account for the time monster $(MAP_OBJS): %.o: ../data/%.json - ../tools/map.py --max-ents 15 $< $@ + ../tools/map.py --max-ents 19 $< $@ $(WAV_OBJS): %.o: ../data/%.wav ../tools/raw.py $< $@ -- cgit v1.2.3