aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-27 17:09:39 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-27 17:38:12 +0100
commitcd2b58b5619bf33deb99b0765f2d69969c61ed74 (patch)
tree19a594c4b2be73d9e34d3d017f0c62d4611564a6 /src/game
parent27553f8ed1d062c4d8175e7376f5b16cf2c8f9ef (diff)
downloadjancity-cd2b58b5619bf33deb99b0765f2d69969c61ed74.tar.gz
Add btn_small
Diffstat (limited to 'src/game')
-rw-r--r--src/game/src/res.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/src/res.c b/src/game/src/res.c
index 6489d30..cb3060e 100644
--- a/src/game/src/res.c
+++ b/src/game/src/res.c
@@ -19,36 +19,48 @@ static const struct container c[] =
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &terrain_sprites[SIDEWALK]
},
+
{
.path = "roof1",
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &terrain_sprites[ROOF1]
},
+
{
.path = "roof2",
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &terrain_sprites[ROOF2]
},
+
{
.path = "cursor",
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &cursor_sprite
},
+
{
.path = "btn_left",
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &gui_button_sprites[GUI_BUTTON_LEFT]
},
+
{
.path = "btn_mid",
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &gui_button_sprites[GUI_BUTTON_MID]
},
+
{
.path = "btn_right",
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &gui_button_sprites[GUI_BUTTON_RIGHT]
},
+
+ {
+ .path = "btn_small",
+ .type = CONTAINER_TYPE_SPRITE,
+ .data.sprite = &gui_button_sprites[GUI_BUTTON_SMALL]
+ },
};
static bool init;