aboutsummaryrefslogtreecommitdiffstats
path: root/src/assets.h
blob: 4c0355ab531f792c7d6b2bb95c447625f17123d3 (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
36
37
38
39
40
41
42
43
44
45
#include "gameCommon.h"
#include "animation.h"

#define ASSETS_NAME_MAX 100

#define TEXTURE_ASSET_COUNT 9
#define ANIMATION_ASSET_COUNT 4

#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];

enum
{
    MAIN_SCREEN_BACKGROUND_TEXTURE,
    PENGUIN_BACKGROUND_TEXTURE,
    TO_EMPERORS_EMPORIUM_ICON_TEXTURE,
    TO_GAME_ICON_TEXTURE,
    EMPEROR_SHOP_UI_TEXTURE,
    SHOP_BOARD_TEXTURE,
    STONE_TEXTURE,
    CLICKER_TOOL_TEXTURE,
    BOOPER_TOOL_TEXTURE
};

enum
{
    BUTTON_BOX_ANIMATION,
    PENGUIN_LOL_ANIMATION,
    CLICKER_ANIMATION,
    MADE_WITH_UNITY_ANIMATION // To trick the teacher into think its a unity game.
};

typedef struct Assets {
    Texture textures[TEXTURE_ASSET_COUNT];
    AnimationAsset animations[ANIMATION_ASSET_COUNT];
} Assets;

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

#endif