diff options
-rw-r--r-- | assets/tree.png | bin | 0 -> 208938 bytes | |||
-rw-r--r-- | design.org (renamed from concepts.org) | 8 | ||||
-rw-r--r-- | src/assets.c | 3 | ||||
-rw-r--r-- | src/assets.h | 5 |
4 files changed, 13 insertions, 3 deletions
diff --git a/assets/tree.png b/assets/tree.png Binary files differnew file mode 100644 index 0000000..5c41e69 --- /dev/null +++ b/assets/tree.png diff --git a/concepts.org b/design.org index b8c426d..3cd3462 100644 --- a/concepts.org +++ b/design.org @@ -94,3 +94,11 @@ 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 [1/6] ++ [X] Basic terrain ++ [ ] Trees/plants ++ [ ] Pond ++ [ ] Power lines ++ [ ] Buildings ++ [ ] Roads + diff --git a/src/assets.c b/src/assets.c index b42dfae..a50b824 100644 --- a/src/assets.c +++ b/src/assets.c @@ -7,7 +7,8 @@ const char imageAssetPaths[IMAGE_ASSET_COUNT][FT_NAMEMAX] = { const char textureAssetPaths[TEXTURE_ASSET_COUNT][FT_NAMEMAX] = { "heightmap.png", "mint.png", - "nickel.png" + "nickel.png", + "tree.png" }; void initAssets(Assets* assets) diff --git a/src/assets.h b/src/assets.h index f276088..0c6664c 100644 --- a/src/assets.h +++ b/src/assets.h @@ -4,7 +4,7 @@ #define ASSETS_H #define IMAGE_ASSET_COUNT 1 -#define TEXTURE_ASSET_COUNT 3 +#define TEXTURE_ASSET_COUNT 4 extern const char imageAssetPaths[IMAGE_ASSET_COUNT][FT_NAMEMAX]; extern const char textureAssetPaths[TEXTURE_ASSET_COUNT][FT_NAMEMAX]; @@ -20,7 +20,8 @@ enum { enum { HEIGHT_MAP_TEXTURE, MINT_TEXTURE, - NICK_TEXTURE + NICK_TEXTURE, + TREE_TEXTURE }; typedef struct { |