User Tools

Site Tools


banjo_kazooie:structs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
banjo_kazooie:structs [2019/09/22 06:16]
mittenz [Object Type 1 Struct]
banjo_kazooie:structs [2020/01/20 01:11]
mittenz [Object ID Struct]
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] | ??? |
 | ::: | &[00 00 00 02] | animation playback direction | | ::: | &[00 00 00 02] | animation playback direction |
 | ::: | &[00 00 00 01] | note: same a obj_movement_struct field 0x22 | | ::: | &[00 00 00 01] | note: same a obj_movement_struct field 0x22 |
 +| 0x07C | i | Unknown x pos |
 +| 0x080 | i | Unknown y pos |
 +| 0x084 | i | Unknown z pos |
 | | | | | | | |
 | 0x0BC | u32 [[banjo_kazooie:​rom_map#​object_model_files|modelROMIndex]] | Model File ROM Index |  | 0x0BC | u32 [[banjo_kazooie:​rom_map#​object_model_files|modelROMIndex]] | Model File ROM Index | 
Line 111: Line 118:
 | | | | | | | |
 | 0x125 | u8 | Opacity | | 0x125 | u8 | Opacity |
 +| 0x126 | u8 | render order |
 |      |  | | |      |  | |
 | 0x128 | f | Scale | | 0x128 | f | Scale |
Line 124: 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>​ |
banjo_kazooie/structs.txt · Last modified: 2020/01/20 01:13 by mittenz