From cd2b58b5619bf33deb99b0765f2d69969c61ed74 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 27 Jan 2024 17:09:39 +0100 Subject: Add btn_small --- src/game/src/res.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/game') 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; -- cgit v1.2.3