mirror of
https://github.com/zeldaret/tmc
synced 2026-09-09 04:00:00 -04:00
3b87c04162
To define ENT_DEPRECATED in files that still need the old entity structs.
30 lines
671 B
C
30 lines
671 B
C
/**
|
|
* @file palaceArchway.c
|
|
* @ingroup Objects
|
|
*
|
|
* @brief Palace Archway object
|
|
*/
|
|
#include "object.h"
|
|
|
|
void PalaceArchway_Init(Entity*);
|
|
void PalaceArchway_Action1(Entity*);
|
|
|
|
void PalaceArchway(Entity* this) {
|
|
static void (*const PalaceArchway_Actions[])(Entity*) = {
|
|
PalaceArchway_Init,
|
|
PalaceArchway_Action1,
|
|
};
|
|
PalaceArchway_Actions[this->action](this);
|
|
}
|
|
|
|
void PalaceArchway_Init(Entity* this) {
|
|
this->action = 1;
|
|
this->frameIndex = this->type2;
|
|
this->spriteRendering.b3 = 3;
|
|
this->spritePriority.b0 = 7;
|
|
SetTile(0x4069, COORD_TO_TILE(this), this->collisionLayer);
|
|
}
|
|
|
|
void PalaceArchway_Action1(Entity* this) {
|
|
}
|