aboutsummaryrefslogtreecommitdiffstats
path: root/src/assets.h
blob: 2a1ee6650c866025fa23037cf7e414cd203be2b3 (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
#include "utils.h"

#ifndef ASSETS_H
#define ASSETS_H

#define TEXTURE_ASSET_COUNT 5

extern const char textureAssetPaths[TEXTURE_ASSET_COUNT][FT_NAMEMAX];

typedef int8_t AssetId;

// Texture asset ids.
enum {
  MINT_TEXTURE,
  NICKEL_TEXTURE,
  TREE_TEXTURE,
  BUSH_TEXTURE,
  FLOWER_TEXTURE
};

typedef struct {
  Texture textures[TEXTURE_ASSET_COUNT];
} Assets;

void initAssets(Assets* assets);
void closeAssets(Assets* assets);

#endif