commit object_spot17_obj

This commit is contained in:
Dragorn421 2025-06-25 13:50:34 +02:00
parent fb146a06cf
commit 97d637ae22
No known key found for this signature in database
GPG Key ID: 05949E029F4EF294
7 changed files with 98 additions and 2 deletions

View File

@ -0,0 +1,28 @@
#include "object_spot17_obj.h"
#include "gfx.h"
u64 gCraterRockTLUT[] = {
#include "assets/objects/object_spot17_obj/gCraterRockTex.tlut.rgba16.inc.c"
};
#define gCraterRockTex_WIDTH 64
#define gCraterRockTex_HEIGHT 64
u64 gCraterRockTex[TEX_LEN(u64, gCraterRockTex_WIDTH, gCraterRockTex_HEIGHT, 4)] = {
#include "assets/objects/object_spot17_obj/gCraterRockTex.ci4.inc.c"
};
Vtx gCraterBombableWallVtx[] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallVtx.inc.c"
};
Vtx gCraterBombableWallCracksVtx[] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallCracksVtx.inc.c"
};
Gfx gCraterBombableWallDL[24] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallDL.inc.c"
};
Gfx gCraterBombableWallCracksDL[18] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallCracksDL.inc.c"
};

View File

@ -0,0 +1,24 @@
#include "object_spot17_obj.h"
#include "array_count.h"
#include "camera.h"
#include "z_math.h"
BgCamInfo gCraterBombableWallBgCamList[] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallBgCamList.inc.c"
};
SurfaceType gCraterBombableWallSurfaceTypes[] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallSurfaceTypes.inc.c"
};
CollisionPoly gCraterBombableWallPolyList[] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallPolyList.inc.c"
};
Vec3s gCraterBombableWallVtxList[] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallVtxList.inc.c"
};
CollisionHeader gCraterBombableWallCol = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallCol.inc.c"
};

View File

@ -0,0 +1,5 @@
#include "object_spot17_obj.h"
u64 gCraterBombableWallCracksTex[TEX_LEN(u64, gCraterBombableWallCracksTex_WIDTH, gCraterBombableWallCracksTex_HEIGHT, 4)] = {
#include "assets/objects/object_spot17_obj/gCraterBombableWallCracksTex.i4.inc.c"
};

View File

@ -0,0 +1,18 @@
#include "object_spot17_obj.h"
#include "gfx.h"
#define gCraterSmokeConeTex_WIDTH 32
#define gCraterSmokeConeTex_HEIGHT 32
extern u64 gCraterSmokeConeTex[TEX_LEN(u64, gCraterSmokeConeTex_WIDTH, gCraterSmokeConeTex_HEIGHT, 8)];
Vtx gCraterSmokeConeVtx[] = {
#include "assets/objects/object_spot17_obj/gCraterSmokeConeVtx.inc.c"
};
Gfx gCraterSmokeConeDL[30] = {
#include "assets/objects/object_spot17_obj/gCraterSmokeConeDL.inc.c"
};
u64 gCraterSmokeConeTex[TEX_LEN(u64, gCraterSmokeConeTex_WIDTH, gCraterSmokeConeTex_HEIGHT, 8)] = {
#include "assets/objects/object_spot17_obj/gCraterSmokeConeTex.ia8.inc.c"
};

View File

@ -0,0 +1,19 @@
#ifndef OBJECT_SPOT17_OBJ_H
#define OBJECT_SPOT17_OBJ_H
#include "ultra64.h"
#include "bgcheck.h"
#include "tex_len.h"
extern Gfx gCraterBombableWallDL[24];
extern Gfx gCraterBombableWallCracksDL[18];
extern CollisionHeader gCraterBombableWallCol;
extern Gfx gCraterSmokeConeDL[30];
#define gCraterBombableWallCracksTex_WIDTH 64
#define gCraterBombableWallCracksTex_HEIGHT 64
extern u64 gCraterBombableWallCracksTex[TEX_LEN(u64, gCraterBombableWallCracksTex_WIDTH, gCraterBombableWallCracksTex_HEIGHT, 4)];
#endif

View File

@ -2279,7 +2279,10 @@ beginseg
name "object_spot17_obj"
compress
romalign 0x1000
include "$(BUILD_DIR)/assets/objects/object_spot17_obj/object_spot17_obj.o"
include "$(BUILD_DIR)/assets/objects/object_spot17_obj/bombable_wall_dls.o"
include "$(BUILD_DIR)/assets/objects/object_spot17_obj/gCraterBombableWallCol.o"
include "$(BUILD_DIR)/assets/objects/object_spot17_obj/gCraterSmokeConeDL.o"
include "$(BUILD_DIR)/assets/objects/object_spot17_obj/gCraterBombableWallCracksTex.o"
number 6
endseg

View File

@ -339,7 +339,6 @@ assets/objects/object_spot11_obj/object_spot11_obj.c
assets/objects/object_spot12_obj/object_spot12_obj.c
assets/objects/object_spot15_obj/object_spot15_obj.c
assets/objects/object_spot16_obj/object_spot16_obj.c
assets/objects/object_spot17_obj/object_spot17_obj.c
assets/objects/object_spot18_obj/object_spot18_obj.c
assets/objects/object_ssh/object_ssh.c
assets/objects/object_sst/object_sst.c