2021-05-12 17:38:11 +00:00
|
|
|
#include "gen/texgen.h"
|
|
|
|
#include "world/world.h"
|
2021-07-18 18:30:27 +00:00
|
|
|
#include "zpl.h"
|
2022-09-29 12:02:22 +00:00
|
|
|
#include "utils/raylib_helpers.h"
|
2021-11-04 12:34:15 +00:00
|
|
|
|
|
|
|
Texture2D texgen_build_anim(asset_id id, int64_t counter) {
|
|
|
|
(void)counter;
|
2021-08-25 21:36:20 +00:00
|
|
|
switch (id) {
|
2022-10-15 11:51:22 +00:00
|
|
|
default: return texgen_build_anim_fallback(id, counter); break;
|
2021-11-04 12:34:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Texture2D texgen_build_sprite(asset_id id) {
|
|
|
|
switch (id) {
|
2022-10-15 11:51:22 +00:00
|
|
|
default: return texgen_build_sprite_fallback(id); break;
|
2021-08-25 21:36:20 +00:00
|
|
|
}
|
2021-05-12 17:38:11 +00:00
|
|
|
}
|