feat: new src: dungeon

This commit is contained in:
2026-11-08 19:02:24 +01:00
parent be2323bb64
commit 3d86c9cf60
3 changed files with 310 additions and 190 deletions
+19 -3
View File
@@ -49,6 +49,9 @@ sentences.txt:
project/inc_sentences.glsl: sentences.txt
$(MAKE) glsl-glyphs-sentences
project/inc_dungeon.glsl:
$(MAKE) glsl-glyphs-dungeon
# ACTIONS
.PHONY: init
@@ -120,7 +123,7 @@ ty: .venv ## ty check
$(TY) check
.PHONY: git-submodule-update
git-submodule-update: ## prepare git submodules
git-submodule-update: ## git submodule update
git submodule update --init --recursive
.PHONY: glsl-glyphs-sentences
@@ -134,8 +137,21 @@ glsl-glyphs-sentences: sentences.txt ## glsl-glyphs --sentences-only
--sentences-input ../../sentences.txt \
--sentences-output ../../project/inc_sentences.glsl
.PHONY: glsl-glyphs-dungeon
glsl-glyphs-dungeon: ## glsl-glyphs --name dungeon
$(GLSL_GLYPHS) \
--name dungeon \
--functions \
--includes \
--add-empty \
--add-all \
--input sample/pmlomb_8x8.png \
--glyph-names sample/pmlomb_names.txt \
--sets sample/pmlomb_sets.csv \
--output ../../project/inc_dungeon.glsl
.PHONY: forge-run
forge-run: $(BUILD_DIR)/$(TARGET) ## run locally
forge-run: $(BUILD_DIR)/$(TARGET) ## ./build/forge
$(BUILD_DIR)/$(TARGET) $(RUN_ARGS)
.PHONY: rasp-chmod-opt
@@ -143,7 +159,7 @@ rasp-chmod-opt: ## chmod remote project
sudo chmod -R a+rwx $(RASP_ROOTFS)/opt
.PHONY: rasp-remove-motd
rasp-remove-motd: ##
rasp-remove-motd: ## rm remote project motd
sudo rm -rf $(RASP_ROOTFS)/etc/motd
sudo rm -rf $(RASP_ROOTFS)/etc/issue
sudo rm -rf $(RASP_ROOTFS)/etc/update-motd.d/*