mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
39cc86c260
subrepo: subdir: "soh" merged: "ba904bbd0" upstream: origin: "https://github.com/HarbourMasters/soh.git" branch: "master" commit: "ba904bbd0" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
* File: z_en_vase.c
|
|
* Overlay: ovl_En_Vase
|
|
* Description: An unused, orange pot based on ALTTP. Lacks collision.
|
|
*/
|
|
|
|
#include "z_en_vase.h"
|
|
#include "objects/object_vase/object_vase.h"
|
|
|
|
#define FLAGS ACTOR_FLAG_4
|
|
|
|
void EnVase_Init(Actor* thisx, GlobalContext* globalCtx);
|
|
void EnVase_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
|
void EnVase_Draw(Actor* thisx, GlobalContext* globalCtx);
|
|
|
|
const ActorInit En_Vase_InitVars = {
|
|
ACTOR_EN_VASE,
|
|
ACTORCAT_PROP,
|
|
FLAGS,
|
|
OBJECT_VASE,
|
|
sizeof(EnVase),
|
|
(ActorFunc)EnVase_Init,
|
|
(ActorFunc)EnVase_Destroy,
|
|
(ActorFunc)Actor_Noop,
|
|
(ActorFunc)EnVase_Draw,
|
|
NULL,
|
|
};
|
|
|
|
void EnVase_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|
EnVase* this = (EnVase*)thisx;
|
|
|
|
Actor_SetScale(&this->actor, 0.01f);
|
|
this->actor.focus.pos = this->actor.world.pos;
|
|
ActorShape_Init(&this->actor.shape, 0.0f, ActorShadow_DrawCircle, 6.0f);
|
|
}
|
|
|
|
void EnVase_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
|
}
|
|
|
|
void EnVase_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|
Gfx_DrawDListOpa(globalCtx, gUnusedVaseDL);
|
|
}
|