summaryrefslogtreecommitdiff
path: root/src/object/cloud.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-07-23 12:43:43 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2022-07-25 22:45:55 +0200
commit852effa474c159398014da736ade6f0fea454de7 (patch)
tree97da22c4758ca4156dc9fb7ac123c7a3b0a9e9f5 /src/object/cloud.c
parentccba86d292a0e4c8a0e07325ac4fb25e5a58dc89 (diff)
Rename objects
Diffstat (limited to 'src/object/cloud.c')
-rw-r--r--src/object/cloud.c24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/object/cloud.c b/src/object/cloud.c
index 162db099..f0aa0d55 100644
--- a/src/object/cloud.c
+++ b/src/object/cloud.c
@@ -1,13 +1,19 @@
+/**
+ * @file cloud.c
+ * @ingroup Objects
+ *
+ * @brief Cloud object
+ */
+#include "functions.h"
#include "object.h"
#include "structures.h"
-#include "functions.h"
void sub_0809F814(u32 r0);
void sub_0809F7BC(Entity*);
void sub_0809F7F4(Entity*);
-void sub_0809F4DC(Entity*);
-void sub_0809F700(Entity*);
+void Cloud_Type0(Entity*);
+void Cloud_Type1(Entity*);
void sub_0809F514(Entity*);
void sub_0809F548(Entity*);
void sub_0809F5B0(Entity*);
@@ -20,14 +26,14 @@ void sub_0809F5DC(Entity*);
extern void* gUnk_080DD750;
void Cloud(Entity* this) {
- static void (*const typeFuncs[])(Entity*) = {
- sub_0809F4DC,
- sub_0809F700,
+ static void (*const Cloud_Types[])(Entity*) = {
+ Cloud_Type0,
+ Cloud_Type1,
};
- typeFuncs[this->type](this);
+ Cloud_Types[this->type](this);
}
-void sub_0809F4DC(Entity* this) {
+void Cloud_Type0(Entity* this) {
static void (*const gUnk_081247A0[])(Entity*) = {
sub_0809F514,
sub_0809F548,
@@ -136,7 +142,7 @@ void sub_0809F6CC(Entity* this) {
}
}
-void sub_0809F700(Entity* this) {
+void Cloud_Type1(Entity* this) {
static const s8 gUnk_081247C0[] = {
-1, 1, 2, -2, 0, 1, 0, -1,
};