From 9e5612aac0ec8f3988d57aa5b7a21a9b90e9a5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Fri, 14 May 2021 07:39:36 +0200 Subject: [PATCH] prep for texgen tool --- code/game/source/gen/texgen.c | 2 ++ code/game/source/gen/texgen_data.c | 1 + 2 files changed, 3 insertions(+) create mode 100644 code/game/source/gen/texgen_data.c diff --git a/code/game/source/gen/texgen.c b/code/game/source/gen/texgen.c index dfeb92e..c9b50ff 100644 --- a/code/game/source/gen/texgen.c +++ b/code/game/source/gen/texgen.c @@ -1,6 +1,8 @@ #include "gen/texgen.h" #include "world/world.h" +#include "texgen_data.c" + Image texgen_build_block(uint32_t biome, uint32_t kind) { // TODO(zaklaus): (void)biome; diff --git a/code/game/source/gen/texgen_data.c b/code/game/source/gen/texgen_data.c new file mode 100644 index 0000000..d9ec1cd --- /dev/null +++ b/code/game/source/gen/texgen_data.c @@ -0,0 +1 @@ +// NOTE(zaklaus): contains collection of packed images used by texgen