document player and cpu (#534)

* document player and cpu

* cpu_descisions_branch_item to cpu_decisions_branch_item
This commit is contained in:
coco875
2024-01-18 00:19:54 +01:00
committed by GitHub
parent bd15658807
commit a86b3b0a2e
22 changed files with 250 additions and 248 deletions
+4 -4
View File
@@ -255,10 +255,10 @@ typedef struct {
/* 0x0010 */ s16 currentItemCopy; // Has no effect on what item the players has, It is just a synced copy
/* 0x0012 */ s16 unk_012;
/* 0x0014 */ Vec3f pos;
/* 0x0020 */ f32 rotX;
/* 0x0024 */ f32 rotY;
/* 0x0028 */ f32 rotZ;
/* 0x002C */ Vec3s unk_02C;
/* 0x0020 */ f32 copy_rotation_x;
/* 0x0024 */ f32 copy_rotation_y;
/* 0x0028 */ f32 copy_rotation_z;
/* 0x002C */ Vec3s rotation;
/* 0x0032 */ char unk_032[0x2];
/* 0x0034 */ Vec3f velocity;
/* 0x0040 */ s16 unk_040;
+18 -16
View File
@@ -290,22 +290,24 @@
/**
* @brief Item IDs
*/
#define ITEM_NONE 0
#define ITEM_BANANA 1
#define ITEM_BANANA_BUNCH 2
#define ITEM_GREEN_SHELL 3
#define ITEM_TRIPLE_GREEN_SHELL 4
#define ITEM_RED_SHELL 5
#define ITEM_TRIPLE_RED_SHELL 6
#define ITEM_BLUE_SPINY_SHELL 7
#define ITEM_THUNDERBOLT 8
#define ITEM_FAKE_ITEM_BOX 9
#define ITEM_STAR 10
#define ITEM_BOO 11
#define ITEM_MUSHROOM 12
#define ITEM_DOUBLE_MUSHROOM 13
#define ITEM_TRIPLE_MUSHROOM 14
#define ITEM_SUPER_MUSHROOM 15
typedef enum {
/* 0x00 */ ITEM_NONE = 0,
/* 0x01 */ ITEM_BANANA,
/* 0x02 */ ITEM_BANANA_BUNCH,
/* 0x03 */ ITEM_GREEN_SHELL,
/* 0x04 */ ITEM_TRIPLE_GREEN_SHELL,
/* 0x05 */ ITEM_RED_SHELL,
/* 0x06 */ ITEM_TRIPLE_RED_SHELL,
/* 0x07 */ ITEM_BLUE_SPINY_SHELL,
/* 0x08 */ ITEM_THUNDERBOLT,
/* 0x09 */ ITEM_FAKE_ITEM_BOX,
/* 0x0A */ ITEM_STAR,
/* 0x0B */ ITEM_BOO,
/* 0x0C */ ITEM_MUSHROOM,
/* 0x0D */ ITEM_DOUBLE_MUSHROOM,
/* 0x0E */ ITEM_TRIPLE_MUSHROOM,
/* 0x0F */ ITEM_SUPER_MUSHROOM
} ITEMS;
/**
* @brief Balloon status