1.2 KiB
1.2 KiB
| 1 | # class | offset | type name | [evidence] (zhl_fields.tsv format plus a note; these win over zhl and lua fields at the same offset) |
|---|---|---|---|---|
| 2 | # Add struct fields you have confirmed from the code, e.g.: Entity_NPC | 0xb94 | int _myCounter | |
| 3 | Entity_NPC | 0xf20 | Vector _controllerMovement | movement written by Entity_NPC::UpdateControllerMovement (006d9050); 21 AIs reset it each frame |
| 4 | Entity_NPC | 0xf28 | void* _aimTargetEffect | effect 1000.30 an NPC under player control aims at (Entity_NPC::GetAimTargetPosition 006d8d30) |
| 5 | Entity_NPC | 0xdec | ANM2 _chargeBarSprite | gfx/chargebar.anm2 loaded by Entity_NPC::UpdateChargeBar (006d8e40) |
| 6 | Entity_Projectile | 0x410 | float _height | Planetoid Blow resets it to -23; BACKSPLIT children copy it (Entity_Projectile::Update 00654686) |
| 7 | Entity_Projectile | 0x414 | float _fallingSpeed | Planetoid shot/Blow set 0 (ENTITY_SWARMER 00518e20) |
| 8 | Entity_Projectile | 0x418 | float _fallingAccel | setter 00444c90; Planetoid -.095/-.085, BACKSPLIT children -.04 |
| 9 | Entity_Projectile | 0x42c | float _acceleration | setter 004aad70; ACCELERATE multiplies velocity by it a tick (00659a62) |
| 10 | Entity_Projectile | 0x430 | float _orbitDistance | orbit target distance R in the ORBIT_CW/CCW steering (Planetoid 80, Blow 0) |