blob: eed002b69de6fbff5a35f71b8684e9b332dad566 (
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
|
#include "gameCommon.h"
#include "animation.h"
#define ASSETS_NAME_MAX 100
#define TEXTURE_ASSET_COUNT 4
#define ANIMATION_ASSET_COUNT 2
#ifndef ASSETS_H
#define ASSETS_H
// Stores the names of all the assets used.
extern const char textureAssetsNames[TEXTURE_ASSET_COUNT][ASSETS_NAME_MAX];
extern const char animationAssetsNames[ANIMATION_ASSET_COUNT][ASSETS_NAME_MAX];
typedef struct Assets {
Texture textures[TEXTURE_ASSET_COUNT];
Animation animations[ANIMATION_ASSET_COUNT];
} Assets;
void initAssets(Assets* assets);
void closeAssets(Assets* assets);
#endif
|