blob: 0c6664c42c116b96855560f44891300fee23bb5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include "utils.h"
#ifndef ASSETS_H
#define ASSETS_H
#define IMAGE_ASSET_COUNT 1
#define TEXTURE_ASSET_COUNT 4
extern const char imageAssetPaths[IMAGE_ASSET_COUNT][FT_NAMEMAX];
extern const char textureAssetPaths[TEXTURE_ASSET_COUNT][FT_NAMEMAX];
typedef int8_t AssetId;
// Image asset ids.
enum {
HEIGHT_MAP_IMAGE
};
// Texture asset ids.
enum {
HEIGHT_MAP_TEXTURE,
MINT_TEXTURE,
NICK_TEXTURE,
TREE_TEXTURE
};
typedef struct {
Image images[IMAGE_ASSET_COUNT];
Texture textures[TEXTURE_ASSET_COUNT];
} Assets;
void initAssets(Assets* assets);
void closeAssets(Assets* assets);
#endif
|