1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 17:00:19 +00:00

Format all src C files

This commit is contained in:
Roman971 2020-03-22 22:19:43 +01:00
parent 251aea64ab
commit 8cfe7cce9f
652 changed files with 12488 additions and 19093 deletions

View file

@ -2,52 +2,41 @@
* File: z_en_vase.c
* Overlay: ovl_En_Vase
* Description: An unused, orange pot based on ALTTP. Lacks collision.
*/
*/
#include <ultra64.h>
#include <global.h>
#include <z64.h>
typedef struct
{
typedef struct {
/* 0x0000 */ Actor actor;
} ActorEnVase; // size = 0x014C
#define ROOM 0x00
#define ROOM 0x00
#define FLAGS 0x00000010
static void Init(ActorEnVase* this, GlobalContext* globalCtx);
static void Destroy(ActorEnVase* this, GlobalContext* globalCtx);
static void Draw(ActorEnVase* this, GlobalContext* globalCtx);
const ActorInit En_Vase_InitVars =
{
ACTOR_EN_VASE,
ACTORTYPE_PROP,
ROOM,
FLAGS,
OBJECT_VASE,
sizeof(ActorEnVase),
(ActorFunc)Init,
(ActorFunc)Destroy,
(ActorFunc)Actor_Noop,
(ActorFunc)Draw
const ActorInit En_Vase_InitVars = {
ACTOR_EN_VASE, ACTORTYPE_PROP, ROOM,
FLAGS, OBJECT_VASE, sizeof(ActorEnVase),
(ActorFunc)Init, (ActorFunc)Destroy, (ActorFunc)Actor_Noop,
(ActorFunc)Draw,
};
extern u32 DL_VASE;
static void Init(ActorEnVase* this, GlobalContext* globalCtx)
{
static void Init(ActorEnVase* this, GlobalContext* globalCtx) {
Actor_SetScale(&this->actor, 0.01f);
this->actor.posRot2.pos = this->actor.posRot.pos;
ActorShape_Init(&this->actor.shape, 0.0f, ActorShadow_DrawFunc_Circle, 6.0f);
}
static void Destroy(ActorEnVase* this, GlobalContext* globalCtx)
{
static void Destroy(ActorEnVase* this, GlobalContext* globalCtx) {
}
static void Draw(ActorEnVase* this, GlobalContext* globalCtx)
{
static void Draw(ActorEnVase* this, GlobalContext* globalCtx) {
Draw_DListOpa(globalCtx, &DL_VASE);
}