update minimal texgen

isolation
Dominik Madarász 2022-10-15 13:51:22 +02:00
parent 0c099af4e8
commit 2040984666
1 changed files with 2 additions and 6 deletions

View File

@ -6,16 +6,12 @@
Texture2D texgen_build_anim(asset_id id, int64_t counter) { Texture2D texgen_build_anim(asset_id id, int64_t counter) {
(void)counter; (void)counter;
switch (id) { switch (id) {
default: return GenColorEco(ColorFromHSV(id * 240.0f, 0.6f, 0.45f)); break; default: return texgen_build_anim_fallback(id, counter); break;
} }
} }
Texture2D texgen_build_sprite(asset_id id) { Texture2D texgen_build_sprite(asset_id id) {
switch (id) { switch (id) {
case ASSET_BLANK: return GenColorEco(WHITE); break; default: return texgen_build_sprite_fallback(id); break;
case ASSET_BUILDMODE_HIGHLIGHT: return GenColorEco(WHITE); break;
case ASSET_BLOCK_FRAME: return GenFrameRect(); break;
default: return GenColorEco(ColorFromHSV(id * 240.0f, 0.6f, 0.45f)); break;
} }
} }