Rename objects

This commit is contained in:
octorock
2022-07-23 12:43:43 +02:00
parent ccba86d292
commit 852effa474
671 changed files with 5779 additions and 5277 deletions
+14 -8
View File
@@ -1,22 +1,28 @@
/**
* @file frozenFlower.c
* @ingroup Objects
*
* @brief Frozen Flower object
*/
#include "object.h"
void sub_0808A9DC(Entity*);
void nullsub_519(Entity*);
void FrozenFlower_Init(Entity*);
void FrozenFlower_Action1(Entity*);
void FrozenFlower(Entity* this) {
static void (*const actionFuncs[])(Entity*) = {
sub_0808A9DC,
nullsub_519,
static void (*const FrozenFlower_Actions[])(Entity*) = {
FrozenFlower_Init,
FrozenFlower_Action1,
};
actionFuncs[this->action](this);
FrozenFlower_Actions[this->action](this);
}
void sub_0808A9DC(Entity* this) {
void FrozenFlower_Init(Entity* this) {
this->action = 1;
this->frameIndex = this->type;
this->spriteRendering.b3 = 3;
this->spritePriority.b0 = 7;
}
void nullsub_519(Entity* this) {
void FrozenFlower_Action1(Entity* this) {
}