This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
banjo_kazooie:structs [2020/01/05 22:45] mittenz [Object Array Slot] |
banjo_kazooie:structs [2020/01/20 01:10] mittenz [Object Type 1 Struct] draw function ptr |
||
---|---|---|---|
Line 55: | Line 55: | ||
| 0x0C | func* | | | | 0x0C | func* | | | ||
| 0x10 | func* | | | | 0x10 | func* | | | ||
- | | 0x14 | func* | | | + | | 0x14 | (func*)([[ banjo_kazooie:enums#object_type_1_struct | objT2*]], Gfx *, Mtx**) | draw function | |
| ||| | | ||| | ||
- | | 0x1C | float | scale | | + | | 0x1C | float | shadow scale | |
Line 75: | Line 75: | ||
| 0x008 | f | Position.Y | | | 0x008 | f | Position.Y | | ||
| 0x00C | f | Position.Z | | | 0x00C | f | Position.Z | | ||
- | | 0x010 | &[FC 00 00 00 | current animation index | | + | | 0x010 | &[FC 00 00 00] | current animation index | |
+ | | ::: | &[00 00 00 10] | targeting player flag | | ||
+ | | ::: | &[00 00 00 0C] | float_array_0x8036e598 index, (actor rotation convergence rate ?) | | ||
| 0x014 | [[banjo_kazooie:structs#object_movement_struct | objMove]]* | | | | 0x014 | [[banjo_kazooie:structs#object_movement_struct | objMove]]* | | | ||
| 0x018 | anim_list * | animation list ptr | | | 0x018 | anim_list * | animation list ptr | | ||
Line 91: | Line 93: | ||
| 0x060 | f | Respawn Timer | | | 0x060 | f | Respawn Timer | | ||
| 0x064 | f | Rotation.Y (Moving Angle) | | | 0x064 | f | Rotation.Y (Moving Angle) | | ||
+ | | 0x068 | f | Rotation.X | | ||
+ | | 0x06C | f | Destination.Rotation.X | | ||
| | | | | | | | | | ||
| 0x078 | &[FF FF FF FC] | ??? | | | 0x078 | &[FF FF FF FC] | ??? | | ||
Line 128: | Line 132: | ||
[Size: 0x60] | [Size: 0x60] | ||
^ Offset ^ Type ^ Description ^ | ^ Offset ^ Type ^ Description ^ | ||
- | | 0x00 | u16 | | | + | | 0x00 | [[banjo_kazooie:obj_data#voxel_item_list_struct | voxel_item_struct*]] | voxel_item_ptr | |
- | | 0x02 | s16 | Scale | | + | | 0x04 | [[banjo_kazooie:obj_data#voxel_struct | voxel_struct *]] | voxel_ptr | |
- | | 0x04 | s16 | Position.X | | + | | 0x08 | void (func*)([[ banjo_kazooie:enums#object_type_1_struct | objT2*]], Gfx *, Mtx**) | draw function | |
- | | 0x06 | s16 | Position.Y | | + | |
- | | 0x08 | s16 | Position.Z | | + | |
- | | 0x0A | 16 | | | + | |
- | | 0x0B | &[E0] | ??? | | + | |
- | | ::: | &[10] | Object Collectable Bit | | + | |
- | | ::: | &[08] | Rotation Direction Bit (0=CCW, 1=CW) | | + | |
- | | ::: | &[04] | ??? | | + | |
- | | ::: | &[03] | StructType | | + | |
| 0x0C | func* | ??? <color #c3c3c3>Value copied from [[banjo_kazooie:rom_map#object_array_slot | ObjArraySlot]] field_0x108 bit_1 </color> | | | 0x0C | func* | ??? <color #c3c3c3>Value copied from [[banjo_kazooie:rom_map#object_array_slot | ObjArraySlot]] field_0x108 bit_1 </color> | | ||
| 0x10 | func * | ??? <color #c3c3c3>Value copied from [[banjo_kazooie:rom_map#object_array_slot | ObjArraySlot]] field_0x10C bit_1 </color> | | | 0x10 | func * | ??? <color #c3c3c3>Value copied from [[banjo_kazooie:rom_map#object_array_slot | ObjArraySlot]] field_0x10C bit_1 </color> | |