Files
tmc/src/object/palaceArchway.c
T
octorock aced0bef69 Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
2024-01-06 15:01:44 +01:00

31 lines
700 B
C

/**
* @file palaceArchway.c
* @ingroup Objects
*
* @brief Palace Archway object
*/
#include "object.h"
#include "tiles.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(SPECIAL_TILE_105, COORD_TO_TILE(this), this->collisionLayer);
}
void PalaceArchway_Action1(Entity* this) {
}