papermario/include/dead_structs.h
HailSanta aee5626e5b
world AI (#701)
* monty mole AI pt 1

* monty mole AI #2

* enum values for evt priority and flags

* enemy ai flags

* done monty mole + partner enums

* removed union for partner action state

* missed parter action states + cam move flags + entity collision bit

* basic ai

* piranha plant stuff

* attack ahead

* consistent hitbox names

* idk

* organized piranha plant

* delete matches

* start fuzzy

* naming

* bzzap pt 1

* bzzap 2

* bzzap names done

* rename bzzap to flyingAI

* complete flying names

* done for today

* file reorganizing

* world AI

* starting clubba dedupe

* suggested changes

* bullet bills

* sentinel start

* dedupe sentinel complete

* sentinel AI done

* melee ai organization

* piranha plant dedupe

* resolved some bad dead syms

* patrol start

* patrol AI almost done

* enough

* more ai work

* clean up clubba ai enum

* dedupe all clubbae

* started cleft extraction

* ready to dedupe cleft

* dedupe one cleft

* iwa_04

* iwa_01

* iwa_02

* ai state file reorganization

* enemy anim enum

* extracted shy guy

* dedupe shy guy ai

* shy guy patrol ai

* done shy guy ai dedupe

* added NON_MATCHING wrap

* ai etc

* more dead ai

* most dead ai merged with living

* lakitu etc

* paratroopas

* fix warnings

* fix other warning

* ParatroopaAI

* lakituAI parameter fix

* dead_flo_13 debug strings

* misc map matches

* flying magikoopa start

* name npc field

* lungeAI renamed to tackleAI

* magikoopa ai foothold

* extrated one magikoopa

* starting clubba dedupe

* addressed PR comments

* consolidated magikoopa helper funcs

* misc map stuff

* flying magikoopa dedupe

* zipline funcs

* delete matched

* grind out another 0.05%

* started letter delivery dedupe

* more delivery dedupe

* special delivery

* rest of letter delivery

* slight delivery reorg

* delivery func names

* cleft doc start

* name enemy field

* more renamins

* unk_28.f

* changed field names to facilitate renaming

* done cleft cleanup

* hopping ai

* cleanup some ai

* name field + patrol reorg

* filled out NpcAISettings fields

* assembling ai includes

* elimated state files

* remove X32 for alertOffsetDist

* removed other NpcAISettings union

* new NpcAISettings for UnkAI_4

* stationary AI cleanup

* smalls

* 0 new warnings

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2022-04-29 13:32:16 +09:00

61 lines
2.0 KiB
C

#ifndef _DEAD_STRUCTS_H_
#define _DEAD_STRUCTS_H_
#include "common_structs.h"
#include "enums.h"
#include "script_api/map.h"
typedef struct DeadEnemy {
/* 0x000 */ s32 flags;
/* 0x004 */ s8 encounterIndex;
/* 0x005 */ s8 encountered;
/* 0x006 */ u8 scriptGroup; /* scripts launched for this npc controller will be assigned this group */
/* 0x007 */ s8 unk_07;
/* 0x008 */ s16 npcID;
/* 0x00A */ s16 spawnPos[3];
/* 0x010 */ Vec3s unk_10;
/* 0x016 */ char unk_16[2];
/* 0x018 */ struct NpcSettings* npcSettings;
/* 0x01C */ EvtScript* initBytecode;
/* 0x020 */ EvtScript* interactBytecode;
/* 0x024 */ EvtScript* aiBytecode;
/* 0x028 */ EvtScript* hitBytecode;
/* 0x02C */ EvtScript* auxBytecode;
/* 0x030 */ EvtScript* defeatBytecode;
/* 0x034 */ struct Evt* initScript;
/* 0x038 */ struct Evt* interactScript;
/* 0x03C */ struct Evt* aiScript;
/* 0x040 */ struct Evt* hitScript;
/* 0x044 */ struct Evt* auxScript;
/* 0x048 */ struct Evt* defeatScript;
/* 0x04C */ s32 initScriptID;
/* 0x050 */ s32 interactScriptID;
/* 0x054 */ s32 aiScriptID;
/* 0x058 */ s32 hitScriptID;
/* 0x05C */ s32 auxScriptID;
/* 0x060 */ s32 defeatScriptID;
/* 0x064 */ void* unk_64;
/* 0x068 */ char unk_68[4];
/* 0x06C */ s32 varTable[16];
/* 0x0AC */ s32 aiDetectFlags;
/* 0x0B0 */ s32 aiFlags;
/* 0x0B4 */ s8 aiPaused;
/* 0x0B5 */ s8 unk_B5;
/* 0x0B6 */ char unk_B6[2];
/* 0x0B8 */ EvtScript* unk_B8; // some bytecode
/* 0x0BC */ struct Evt* unk_BC; // some script
/* 0x0C0 */ s32 unk_C0; // some script ID
/* 0x0C4 */ s32 unk_C4;
/* 0x0C8 */ s32 unk_C8;
/* 0x0CC */ s32* animList;
/* 0x0D0 */ EnemyTerritory* territory;
/* 0x0D4 */ EnemyDrops* drops;
/* 0x0D8 */ u32 tattleMsg;
/* 0x0DC */ char unk_DC[42];
/* 0x108 */ Vec3f unk_108; // Associated NPC Pos?
/* 0x114 */ f32 unk_114;
/* 0x118 */ f32 unk_118;
} DeadEnemy; // size = 0x11C
#endif