2023-01-31 17:41:01 +00:00
|
|
|
#include "gen/texgen.h"
|
|
|
|
#include "world/world.h"
|
|
|
|
#include "zpl.h"
|
|
|
|
#include "utils/raylib_helpers.h"
|
|
|
|
|
|
|
|
Texture2D texgen_build_anim(asset_id id, int64_t counter) {
|
|
|
|
(void)counter;
|
|
|
|
switch (id) {
|
|
|
|
default: return texgen_build_anim_fallback(id, counter); break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Texture2D texgen_build_sprite(asset_id id) {
|
|
|
|
switch (id) {
|
2023-02-01 14:28:30 +00:00
|
|
|
case ASSET_PLAYER: return LoadTexEco("player");
|
2023-01-31 17:41:01 +00:00
|
|
|
default: return texgen_build_sprite_fallback(id); break;
|
|
|
|
}
|
|
|
|
}
|