From efa4bdadff88d211fd622261906c4ae3ea1b5e65 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Thu, 20 Mar 2025 14:24:20 -0400 Subject: [PATCH] feat(assets): setup assets for resource manager assets are broken into static (compiled into the binary) and dynamic (handled by the resource manager). All static assets should define a meson.build, all dynamic assets must have handlers written in src/resource/resourceManager and resourceManagerTypes BREAKING CHANGE: --- assets/{ => dynamic}/eos/helm_table.dat | 0 assets/dynamic/index.yaml | 4 ++++ assets/{ => dynamic}/mesh/sphere.msh | Bin assets/{ => static}/const/const.dat | 0 assets/{ => static}/const/format.sh | 0 assets/{ => static}/const/meson.build | 0 assets/static/meson.build | 1 + 7 files changed, 5 insertions(+) rename assets/{ => dynamic}/eos/helm_table.dat (100%) create mode 100644 assets/dynamic/index.yaml rename assets/{ => dynamic}/mesh/sphere.msh (100%) rename assets/{ => static}/const/const.dat (100%) rename assets/{ => static}/const/format.sh (100%) rename assets/{ => static}/const/meson.build (100%) create mode 100644 assets/static/meson.build diff --git a/assets/eos/helm_table.dat b/assets/dynamic/eos/helm_table.dat similarity index 100% rename from assets/eos/helm_table.dat rename to assets/dynamic/eos/helm_table.dat diff --git a/assets/dynamic/index.yaml b/assets/dynamic/index.yaml new file mode 100644 index 0000000..a37aa49 --- /dev/null +++ b/assets/dynamic/index.yaml @@ -0,0 +1,4 @@ +eos: + helm: "eos/helm_table.dat" +mesh: + sphere: "mesh/sphere.msh" \ No newline at end of file diff --git a/assets/mesh/sphere.msh b/assets/dynamic/mesh/sphere.msh similarity index 100% rename from assets/mesh/sphere.msh rename to assets/dynamic/mesh/sphere.msh diff --git a/assets/const/const.dat b/assets/static/const/const.dat similarity index 100% rename from assets/const/const.dat rename to assets/static/const/const.dat diff --git a/assets/const/format.sh b/assets/static/const/format.sh similarity index 100% rename from assets/const/format.sh rename to assets/static/const/format.sh diff --git a/assets/const/meson.build b/assets/static/const/meson.build similarity index 100% rename from assets/const/meson.build rename to assets/static/const/meson.build diff --git a/assets/static/meson.build b/assets/static/meson.build new file mode 100644 index 0000000..4a8d44e --- /dev/null +++ b/assets/static/meson.build @@ -0,0 +1 @@ +subdir('const') \ No newline at end of file