update minimal texgen
parent
0c099af4e8
commit
2040984666
|
@ -6,16 +6,12 @@
|
|||
Texture2D texgen_build_anim(asset_id id, int64_t counter) {
|
||||
(void)counter;
|
||||
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) {
|
||||
switch (id) {
|
||||
case ASSET_BLANK: return GenColorEco(WHITE); 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;
|
||||
default: return texgen_build_sprite_fallback(id); break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue