link tree data models

This commit is contained in:
roeming
2025-07-18 18:00:57 -04:00
parent 4275952aab
commit d0995d42ca
12 changed files with 507 additions and 2 deletions
+32
View File
@@ -0,0 +1,32 @@
#include "libforest/gbi_extensions.h"
#include "PR/gbi.h"
#include "evw_anime.h"
#include "c_keyframe.h"
u8 obj_f_tree_baby_tex[] ATTRIBUTE_ALIGN(32) = {
#include "assets/obj_f_tree_baby_tex.inc"
};
Vtx obj_f_tree1_v[] = {
#include "assets/obj_f_tree1_v.inc"
};
Gfx obj_f_tree1T_mat_model[] = {
gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 24, obj_f_tree_baby_tex),
gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 6, GX_CLAMP, GX_CLAMP, 0, 0),
gsSPEndDisplayList(),
};
Gfx obj_f_gold_tree1T_mat_model[] = {
gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 24, obj_f_tree_baby_tex),
gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 8, GX_CLAMP, GX_CLAMP, 0, 0),
gsSPEndDisplayList(),
};
Gfx obj_f_tree1T_gfx_model[] = {
gsSPVertex(obj_f_tree1_v, 4, 0),
gsSPNTrianglesInit_5b(2, 0, 1, 2, 1, 3, 2, 0, 0, 0),
gsSPEndDisplayList(),
};