mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 20:05:02 +00:00
Remove functions.h (#2501)
* split most of functions.h * osdriverominit * forgot include * fix * remove functions.h * temporary fix for fix_bss * fix bss * revert fix_bss.py change
This commit is contained in:
parent
1beeff9658
commit
5133db15a3
50 changed files with 326 additions and 194 deletions
30
include/transition_tile.h
Normal file
30
include/transition_tile.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef TRANSITION_TILE_H
|
||||
#define TRANSITION_TILE_H
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
typedef struct TransitionTileVtxData {
|
||||
/* 0x0 */ f32 x;
|
||||
/* 0x4 */ f32 y;
|
||||
} TransitionTileVtxData; // size = 0x8
|
||||
|
||||
typedef struct TransitionTile {
|
||||
/* 0x00 */ s32 cols;
|
||||
/* 0x04 */ s32 rows;
|
||||
/* 0x08 */ s32 frame;
|
||||
/* 0x0C */ TransitionTileVtxData* vtxData;
|
||||
/* 0x10 */ Vtx* vtxFrame1;
|
||||
/* 0x14 */ Vtx* vtxFrame2;
|
||||
/* 0x18 */ Mtx projection;
|
||||
/* 0x58 */ Mtx modelView;
|
||||
/* 0x98 */ Mtx unk_98;
|
||||
/* 0xD8 */ Gfx* gfx; // "gfxtbl"
|
||||
/* 0xDC */ u16* zBuffer;
|
||||
} TransitionTile; // size = 0xE0
|
||||
|
||||
TransitionTile* TransitionTile_Init(TransitionTile* this, s32 cols, s32 rows);
|
||||
void TransitionTile_Destroy(TransitionTile* this);
|
||||
void TransitionTile_Update(TransitionTile* this);
|
||||
void TransitionTile_Draw(TransitionTile* this, Gfx** gfxP);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue