aboutsummaryrefslogtreecommitdiffstats
path: root/src/assets.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-08-06 12:43:37 +0000
committernathan <nathansmith@disroot.org>2025-08-06 12:43:37 +0000
commit94ca30b13bffe1f02313b7fd32b2320e5c490fa5 (patch)
tree5019ec84a0c39fd2e38a11d03672e2ccdef6020d /src/assets.h
parentc5989ca9bcc1758f4d772d20b8bd4ae7762bc75e (diff)
downloadFindThings-94ca30b13bffe1f02313b7fd32b2320e5c490fa5.tar.gz
FindThings-94ca30b13bffe1f02313b7fd32b2320e5c490fa5.tar.bz2
FindThings-94ca30b13bffe1f02313b7fd32b2320e5c490fa5.zip
UGGGGG
Diffstat (limited to 'src/assets.h')
-rw-r--r--src/assets.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/assets.h b/src/assets.h
index 743926c..2457115 100644
--- a/src/assets.h
+++ b/src/assets.h
@@ -6,10 +6,12 @@
#define TEXTURE_ASSET_COUNT 5
#define IMAGE_ASSET_COUNT 1
#define SHADER_ASSET_COUNT 1
+#define MODEL_ASSET_COUNT 1
extern const char textureAssetPaths[TEXTURE_ASSET_COUNT][FT_NAMEMAX];
extern const char imageAssetPaths[IMAGE_ASSET_COUNT][FT_NAMEMAX];
extern const char shaderAssetNames[SHADER_ASSET_COUNT][FT_NAMEMAX];
+extern const char modelAssetPaths[MODEL_ASSET_COUNT][FT_NAMEMAX];
typedef int8_t AssetId;
@@ -32,10 +34,16 @@ enum {
SKYBOX_SHADER
};
+// Model asset ids.
+enum {
+ UTILITY_POLE_MODEL
+};
+
typedef struct {
Texture textures[TEXTURE_ASSET_COUNT];
Image images[IMAGE_ASSET_COUNT];
Shader shaders[SHADER_ASSET_COUNT];
+ Model models[MODEL_ASSET_COUNT];
} Assets;
void initAssets(Assets* assets);