From 867d2cad25e6253df231fdd375b7fc1360d597ea Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 27 Jan 2026 00:04:20 -0700 Subject: Logo (: --- assets/images/logo.png | Bin 0 -> 3053 bytes design/design.org | 9 ++++----- src/assets.c | 1 + src/assets.h | 3 ++- src/game.c | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 assets/images/logo.png diff --git a/assets/images/logo.png b/assets/images/logo.png new file mode 100644 index 0000000..71619e2 Binary files /dev/null and b/assets/images/logo.png differ diff --git a/design/design.org b/design/design.org index feead54..7c175e5 100644 --- a/design/design.org +++ b/design/design.org @@ -146,7 +146,7 @@ creates is possible to beat. A little wack is fine as long as its beatable. Since most of the world will just be a height map a image will be generated first than rest of the world will be based around it. -* TODO World generation check list [8/9] +* TODO World generation check list [8/8] + [X] Basic terrain + [X] Ground texture + [X] Trees/plants @@ -155,13 +155,12 @@ generated first than rest of the world will be based around it. + [X] Power lines + [X] Buildings + [X] Places -+ [ ] Roads -* TODO Check list [2/8] -+ [ ] World generation completed +* TODO Check list [4/8] ++ [X] World generation completed + [ ] Menu and UI + [X] Interaction system -+ [ ] Inventory ++ [X] Inventory + [X] Mad libs system + [ ] All characters added + [ ] All items added diff --git a/src/assets.c b/src/assets.c index 72def7e..4b1ee4d 100644 --- a/src/assets.c +++ b/src/assets.c @@ -1,6 +1,7 @@ #include "assets.h" const char textureAssetPaths[TEXTURE_ASSET_COUNT][FT_NAMEMAX] = { + "logo.png", "mint.png", "nickel.png", "tree.png", diff --git a/src/assets.h b/src/assets.h index 6f9f1f0..469a912 100644 --- a/src/assets.h +++ b/src/assets.h @@ -4,7 +4,7 @@ #ifndef ASSETS_H #define ASSETS_H -#define TEXTURE_ASSET_COUNT 20 +#define TEXTURE_ASSET_COUNT 21 #define IMAGE_ASSET_COUNT 1 #define SHADER_ASSET_COUNT 4 #define MODEL_ASSET_COUNT 4 @@ -18,6 +18,7 @@ typedef int16_t AssetId; // Texture asset ids. enum { + LOGO_TEXTURE, MINT_TEXTURE, NICKEL_TEXTURE, TREE_TEXTURE, diff --git a/src/game.c b/src/game.c index 85f17de..2568732 100644 --- a/src/game.c +++ b/src/game.c @@ -105,7 +105,7 @@ void initGame(Game* game) void updateMainMenuScene(Game* game) { - ClearBackground(BLACK); + ClearBackground(PINK); } void drawGameTexturedBackground(Texture texture) -- cgit v1.2.3