clang-format

This commit is contained in:
jorun 2021-11-30 14:14:33 +01:00
parent a1944ca979
commit 43a22c5862
No known key found for this signature in database
GPG Key ID: 730E05D27A4D5F02
1 changed files with 10 additions and 10 deletions

View File

@ -5,17 +5,17 @@
#include "flags.h"
#include "room.h"
extern void (*gUnk_08123D98[])(Entity *);
extern void (*gUnk_08123D98[])(Entity*);
void sub_0809B7A0(Entity *e);
void sub_0809B7DC(Entity *this);
void sub_0809B7C0(Entity *this);
void sub_0809B7A0(Entity* e);
void sub_0809B7DC(Entity* this);
void sub_0809B7C0(Entity* this);
void Fireplace(Entity *e) {
gUnk_08123D98[e->action](e);
void Fireplace(Entity* e) {
gUnk_08123D98[e->action](e);
}
void sub_0809B708(Entity *this) {
void sub_0809B708(Entity* this) {
this->action = 1;
this->spriteSettings.draw = 1;
this->speed = 0x80;
@ -29,7 +29,7 @@ void sub_0809B708(Entity *this) {
sub_0809B7A0(this);
}
void sub_0809B7A0(Entity *this) {
void sub_0809B7A0(Entity* this) {
sub_0809B7C0(this);
if (this->actionDelay) {
SetFlag(this->field_0x86.HWORD);
@ -37,13 +37,13 @@ void sub_0809B7A0(Entity *this) {
}
}
void sub_0809B7C0(Entity *this) {
void sub_0809B7C0(Entity* this) {
if (GetTileTypeByEntity(this) - 0x4061 > 1) {
sub_0809B7DC(this);
}
}
void sub_0809B7DC(Entity *this) {
void sub_0809B7DC(Entity* this) {
sub_0807B7D8(0xc3 << 2, TILE(this->x.HALF.HI, this->y.HALF.HI), 2);
SetTile(0x4062, TILE(this->x.HALF.HI, this->y.HALF.HI), this->collisionLayer);
this->actionDelay = 1;