aboutsummaryrefslogtreecommitdiffstats
path: root/src/assets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets.h')
-rw-r--r--src/assets.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/assets.h b/src/assets.h
index 2a1ee66..743926c 100644
--- a/src/assets.h
+++ b/src/assets.h
@@ -4,8 +4,12 @@
#define ASSETS_H
#define TEXTURE_ASSET_COUNT 5
+#define IMAGE_ASSET_COUNT 1
+#define SHADER_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];
typedef int8_t AssetId;
@@ -15,11 +19,23 @@ enum {
NICKEL_TEXTURE,
TREE_TEXTURE,
BUSH_TEXTURE,
- FLOWER_TEXTURE
+ FLOWER_TEXTURE,
+};
+
+// Image asset ids.
+enum {
+ SKYBOX_IMAGE
+};
+
+// Shader asset ids.
+enum {
+ SKYBOX_SHADER
};
typedef struct {
Texture textures[TEXTURE_ASSET_COUNT];
+ Image images[IMAGE_ASSET_COUNT];
+ Shader shaders[SHADER_ASSET_COUNT];
} Assets;
void initAssets(Assets* assets);