clang-format

This commit is contained in:
theo
2020-06-13 17:02:27 -07:00
parent 8e1ca1936b
commit 66fcdf6186
86 changed files with 2320 additions and 2604 deletions
+7 -7
View File
@@ -1,21 +1,21 @@
#include "global.h"
#include "entity.h"
extern Entity * GetEmptyEntity();
extern void sub_0805EA2C(Entity *,u8);
extern Entity* GetEmptyEntity();
extern void sub_0805EA2C(Entity*, u8);
Entity * CreateObject(u32 subtype,u32 param1,u32 param2)
Entity* CreateObject(u32 subtype, u32 param1, u32 param2)
{
Entity *newEnt;
Entity* newEnt;
newEnt = GetEmptyEntity();
if (newEnt != NULL) {
(newEnt->entityType).type = 6;
(newEnt->entityType).subtype = subtype;
(newEnt->entityType).parameter1 = param1;
(newEnt->entityType).parameter2 = param2;
sub_0805EA2C(newEnt,6);
sub_0805EA2C(newEnt, 6);
}
return newEnt;
}
}