aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-27 17:10:35 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-28 04:12:45 +0100
commitdb3ee0d63620bd42f27a6b359f0996df927481dd (patch)
tree3ed8d42e1c0414c5d7fd8d4e2ca96bb19a59b3c6 /src/game
parentcd2b58b5619bf33deb99b0765f2d69969c61ed74 (diff)
downloadjancity-db3ee0d63620bd42f27a6b359f0996df927481dd.tar.gz
terrain: Split tile/object rendering
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 cb3060e..f38443e 100644
--- a/src/game/src/res.c
+++ b/src/game/src/res.c
@@ -61,6 +61,18 @@ static const struct container c[] =
.type = CONTAINER_TYPE_SPRITE,
.data.sprite = &gui_button_sprites[GUI_BUTTON_SMALL]
},
+
+ {
+ .path = "font",
+ .type = CONTAINER_TYPE_SPRITE,
+ .data.sprite = &font_sprite
+ },
+
+ {
+ .path = "grass",
+ .type = CONTAINER_TYPE_SPRITE,
+ .data.sprite = &terrain_sprites[GRASS]
+ },
};
static bool init;