mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 10:37:17 -07:00
Don't copy skybox textures (#129)
* Don't copy skybox textures * Remove unnecessary parameter in skybox functions * Make palette address part of texture cache key * Support loading TLUT from two different memory locations
This commit is contained in:
parent
c80f9fbd57
commit
529c5f642d
8 changed files with 274 additions and 280 deletions
|
@ -336,16 +336,18 @@ typedef enum {
|
|||
} SkyboxId;
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ char unk_00[0x128];
|
||||
/* 0x128 */ void* staticSegments[2];
|
||||
/* 0x130 */ u16 (*palettes)[256];
|
||||
/* 0x134 */ Gfx (*dListBuf)[150];
|
||||
/* 0x138 */ Gfx* unk_138;
|
||||
/* 0x13C */ Vtx* roomVtx;
|
||||
/* 0x140 */ s16 unk_140;
|
||||
/* 0x144 */ Vec3f rot;
|
||||
/* 0x150 */ char unk_150[0x10];
|
||||
} SkyboxContext; // size = 0x160
|
||||
char unk_00[0x128];
|
||||
s16 skyboxId;
|
||||
void* textures[2][6];
|
||||
void* palettes[6];
|
||||
u16 palette_size;
|
||||
Gfx (*dListBuf)[150];
|
||||
Gfx* unk_138;
|
||||
Vtx* roomVtx;
|
||||
s16 unk_140;
|
||||
Vec3f rot;
|
||||
char unk_150[0x10];
|
||||
} SkyboxContext;
|
||||
|
||||
typedef enum {
|
||||
/* 0 */ OCARINA_SONG_MINUET,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue