Go to the source code of this file.
Data Structures | |
struct | SaveBlockData |
struct | SwitchData |
struct | ShatteringBlockData |
struct | BlockData |
struct | SuperBlockContentData |
struct | HeartBlockContentData |
struct | WoodenCrateData |
struct | ChestData |
struct | BlueWarpPipeData |
struct | SimpleSpringData |
struct | HiddenPanelData |
struct | SignpostData |
struct | PadlockData |
struct | BoardedFloorData |
struct | BombableRockData |
struct | TweesterData |
struct | StarBoxLauncherData |
struct | CymbalPlantData |
struct | PinkFlowerData |
struct | SpinningFlowerData |
struct | TrumpetPlantData |
struct | MunchlesiaData |
struct | ArrowSignData |
struct | EntityModel |
union | EntityModel.gfx |
Typedefs | |
typedef s32 | EntityScript[] |
typedef s32 | EntityModelScript[] |
typedef Vec3i | TweesterPath[] |
typedef EntityModel * | EntityModelList[256] |
Functions | |
EntityModel * | get_entity_model (s32 idx) |
s32 | load_entity_model (EntityModelScript *cmdList) |
s32 | ALT_load_entity_model (EntityModelScript *cmdList) |
void | entity_set_render_script (Entity *entity, EntityModelScript *cmdList) |
void | set_entity_model_render_command_list (s32 idx, EntityModelScript *cmdList) |
void | virtual_entity_list_render_world (void) |
void | virtual_entity_list_render_UI (void) |
struct SwitchData |
struct ShatteringBlockData |
struct BlockData |
struct SuperBlockContentData |
struct HeartBlockContentData |
struct WoodenCrateData |
struct ChestData |
Data Fields | ||
---|---|---|
u16 | gameFlagIndex | |
s16 | giveItemTimer | |
u8 | state | |
u8 | openState | |
s8 | postLidAnimDelay | |
s8 | unk_07 | |
f32 | lidAngle | |
f32 | lidAnimInterpPhase | |
s32 | itemID | |
s32 | itemEntityIndex | |
Vec3f | itemEntityPos | |
f32 | giveItemRadiusInterpPhase | |
f32 | giveItemHeightInterpPhase | |
f32 | itemVelY | |
s8 | gotItemDone | |
char | unk_31[3] | |
struct EffectInstance * | gotItemEffect |
struct BlueWarpPipeData |
struct HiddenPanelData |
Data Fields | ||
---|---|---|
s8 | state | |
s8 | timer | |
s8 | unk_02 | |
s8 | needSpawnItem | |
s8 | unk_04 | |
s8 | unk_05 | |
u16 | pickupVar | |
s32 | standingNpcIndex | |
s32 | npcFlags | |
s32 | itemID | |
s32 | spawnedItemIndex | |
Vec3i | spawnedItemPos | |
f32 | initialY | |
f32 | riseVel | |
f32 | riseInterpPhase | |
f32 | rotSpeed | |
Matrix4f | entityMatrix | |
u16 | modelID | |
char | unk_76[0x2] | |
Gfx * | renderDList |
struct PadlockData |
struct BoardedFloorData |
struct BombableRockData |
struct TweesterData |
struct StarBoxLauncherData |
struct SpinningFlowerData |
struct MunchlesiaData |
union EntityModel.gfx |
Data Fields | ||
---|---|---|
Gfx * | displayList | |
SpriteRasterInfo * | imageData |
#define es_End ENTITY_SCRIPT_OP_End, |
#define es_Jump | ( | script | ) | ENTITY_SCRIPT_OP_Jump, (s32)script, |
#define es_Call | ( | func | ) | ENTITY_SCRIPT_OP_Call, (s32)func, |
#define es_SetCallback | ( | func, | |
time ) ENTITY_SCRIPT_OP_SetCallback, time, (s32)func, |
#define es_Goto | ( | labelId | ) | ENTITY_SCRIPT_OP_Goto, labelId, |
#define es_Restart ENTITY_SCRIPT_OP_Goto, 0, |
#define es_Label | ( | labelId | ) | ENTITY_SCRIPT_OP_Label, labelId, |
#define es_RestartBoundScript ENTITY_SCRIPT_OP_RestartBoundScript, |
#define es_SetFlags | ( | flags | ) | ENTITY_SCRIPT_OP_SetFlags, flags, |
#define es_ClearFlags | ( | flags | ) | ENTITY_SCRIPT_OP_ClearFlags, flags, |
#define es_PlaySound | ( | soundId | ) | ENTITY_SCRIPT_OP_PlaySound, soundId, |
#define ems_End ENTITY_MODEL_SCRIPT_OP_End, |
#define ems_Draw | ( | dlist, | |
holdTime ) ENTITY_MODEL_SCRIPT_OP_Draw, holdTime, (s32)dlist, |
#define ems_Restart ENTITY_MODEL_SCRIPT_OP_Restart, |
#define ems_Loop ENTITY_MODEL_SCRIPT_OP_Loop, |
#define ems_SetRenderMode | ( | mode | ) | ENTITY_MODEL_SCRIPT_OP_SetRenderMode, mode, |
#define ems_SetFlags | ( | flags | ) | ENTITY_MODEL_SCRIPT_OP_SetFlags, flags, |
#define ems_ClearFlags | ( | flags | ) | ENTITY_MODEL_SCRIPT_OP_ClearFlags, flags, |
#define ems_DrawImage | ( | raster, | |
palette, | |||
width, | |||
height, | |||
holdTime ) ENTITY_MODEL_SCRIPT_OP_DrawImage, holdTime, (s32)raster, (s32)palette, width, height, |
#define STANDARD_ENTITY_MODEL_SCRIPT | ( | gfx, | |
renderMode ) |
#define ENTITY_ADDR | ( | entity, | |
type, | |||
data ) (type)((s32)(entity->gfxBaseAddr) + ((s32)(data) & 0xFFFF)) |
Definition at line 64 of file entity.h.
Referenced by entity_ArrowSign_setupGfx(), Entity_BoardedFloor_init_fragments(), Entity_BoardedFloor_setupGfx(), entity_BombableRock_init_fragments(), entity_BombableRock_setupGfx(), entity_Chest_setupGfx(), entity_HeartBlockContent__setupGfx(), entity_HiddenPanel_init(), entity_HiddenPanel_setupGfx(), entity_Padlock_init(), entity_PadlockBlueFace_init(), entity_PadlockRedFace_init(), entity_PadlockRedFrame_init(), entity_PinkFlowerLight_setupGfx(), entity_SaveBlock_setupGfx(), entity_shattering_init_pieces(), entity_shattering_setupGfx(), entity_SpinningFlower_setupGfx(), entity_StarBoxLauncher_setupGfx(), entity_SuperBlockContent_setupGfx(), entity_Tweester_render_inner_whirl(), entity_Tweester_render_outer_whirl(), entity_WoodenCrate_init_fragments(), and entity_WoodenCrate_setupGfx().
#define ENTITY_ROM | ( | name | ) | { entity_model_##name##_ROM_START, entity_model_##name##_ROM_END } |
#define BLOCK_GRID_SIZE 25 |
Definition at line 67 of file entity.h.
Referenced by push_block_handle_fall().
#define TWEESTER_PATH_STOP 0x80000000 |
Definition at line 69 of file entity.h.
Referenced by entity_Tweester_select_target_point().
#define TWEESTER_PATH_LOOP 0x80000001 |
Definition at line 70 of file entity.h.
Referenced by entity_Tweester_select_target_point().
#define FRAGMENT_BUF_SIZE 13 |
Definition at line 266 of file entity.h.
Referenced by Entity_BoardedFloor_init_fragments().
typedef EntityModel* EntityModelList[256] |
anonymous enum |
Definition at line 11 of file entity.h.
anonymous enum |
Definition at line 24 of file entity.h.
EntityModel * get_entity_model | ( | s32 | idx | ) |
Definition at line 724 of file entity_model.c.
Referenced by render_entities(), update_npcs(), virtual_entity_list_render_UI(), and virtual_entity_list_render_world().
s32 load_entity_model | ( | EntityModelScript * | cmdList | ) |
Definition at line 93 of file entity_model.c.
Referenced by create_entity(), create_shadow_from_data(), show_immune_bonk(), virtual_entity_create(), and virtual_entity_create_at_index().
s32 ALT_load_entity_model | ( | EntityModelScript * | cmdList | ) |
Definition at line 130 of file entity_model.c.
Referenced by ALT_virtual_entity_create().
void entity_set_render_script | ( | Entity * | entity, |
EntityModelScript * | cmdList ) |
Definition at line 761 of file entity.c.
Referenced by Entity_BoardedFloor_shatter(), entity_HeartBlock_change_render_script(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent_reset(), entity_HiddenPanel_init(), and entity_WoodenCrate_idle().
void set_entity_model_render_command_list | ( | s32 | idx, |
EntityModelScript * | cmdList ) |
Definition at line 710 of file entity_model.c.
Referenced by entity_set_render_script().
void virtual_entity_list_render_world | ( | void | ) |
Definition at line 55 of file virtual_entity.c.
Referenced by clear_virtual_entity_list().
void virtual_entity_list_render_UI | ( | void | ) |
Definition at line 88 of file virtual_entity.c.
Referenced by clear_virtual_entity_list().
|
extern |
Definition at line 35 of file entity.c.
Referenced by create_entity(), entity_ArrowSign_init(), entity_BlueSwitch_init(), entity_Chest_readargs(), entity_HeartBlock_create_child_entity(), entity_HiddenPanel_init(), entity_init_BlueWarpPipe(), entity_ItemBlock_init(), entity_SimpleSpring_init(), entity_SpinningFlower_init(), entity_Tweester_init(), and entity_WoodenCrate_init().
|
extern |
Definition at line 106 of file Shadow.c.
Referenced by create_shadow_type().
|
extern |
Definition at line 115 of file Shadow.c.
Referenced by create_shadow_type().
|
extern |
Definition at line 124 of file Shadow.c.
Referenced by create_shadow_type().
|
extern |
Definition at line 191 of file SaveBlock.c.
|
extern |
Definition at line 538 of file Switch.c.
|
extern |
Definition at line 551 of file Switch.c.
|
extern |
Definition at line 564 of file Switch.c.
|
extern |
Definition at line 577 of file Switch.c.
|
extern |
Definition at line 578 of file Block.c.
Referenced by entity_ItemBlock_check_if_inactive(), entity_ItemBlock_replace_with_inactive(), entity_MulticoinBlock_check_if_inactive(), entity_MulticoinBlock_idle(), and entity_MulticoinBlock_spawn_coin().
|
extern |
Definition at line 591 of file Block.c.
Referenced by entity_ItemBlock_check_if_inactive(), and entity_ItemBlock_replace_with_inactive().
|
extern |
Definition at line 604 of file Block.c.
|
extern |
Definition at line 617 of file Block.c.
|
extern |
Definition at line 630 of file Block.c.
|
extern |
Definition at line 643 of file Block.c.
|
extern |
Definition at line 656 of file Block.c.
|
extern |
Definition at line 669 of file Block.c.
|
extern |
Definition at line 682 of file Block.c.
|
extern |
Definition at line 695 of file Block.c.
|
extern |
Definition at line 708 of file Block.c.
|
extern |
Definition at line 721 of file Block.c.
|
extern |
Definition at line 734 of file Block.c.
|
extern |
Definition at line 747 of file Block.c.
|
extern |
Definition at line 760 of file Block.c.
|
extern |
Definition at line 773 of file Block.c.
|
extern |
Definition at line 786 of file Block.c.
|
extern |
Definition at line 799 of file Block.c.
|
extern |
Definition at line 358 of file ItemBlock.c.
|
extern |
Definition at line 371 of file ItemBlock.c.
|
extern |
Definition at line 384 of file ItemBlock.c.
|
extern |
Definition at line 397 of file ItemBlock.c.
|
extern |
Definition at line 410 of file ItemBlock.c.
|
extern |
Definition at line 467 of file HeartBlock.c.
|
extern |
Definition at line 253 of file SuperBlock.c.
|
extern |
Definition at line 100 of file SimpleSpring.c.
|
extern |
Definition at line 113 of file SimpleSpring.c.
|
extern |
Definition at line 366 of file HiddenPanel.c.
|
extern |
Definition at line 498 of file Chest.c.
|
extern |
Definition at line 510 of file Chest.c.
|
extern |
Definition at line 280 of file WoodenCrate.c.
|
extern |
Definition at line 203 of file BlueWarpPipe.c.
|
extern |
Definition at line 35 of file Signpost.c.
|
extern |
Definition at line 240 of file Padlock.c.
|
extern |
Definition at line 253 of file Padlock.c.
|
extern |
Definition at line 266 of file Padlock.c.
|
extern |
Definition at line 279 of file Padlock.c.
|
extern |
Definition at line 244 of file BoardedFloor.c.
|
extern |
Definition at line 250 of file BombableRock.c.
|
extern |
Definition at line 263 of file BombableRock.c.
|
extern |
Definition at line 317 of file Tweester.c.
|
extern |
Definition at line 263 of file StarBoxLauncher.c.
|
extern |
Definition at line 379 of file Plants1.c.
|
extern |
Definition at line 392 of file Plants1.c.
|
extern |
Definition at line 418 of file Plants1.c.
|
extern |
Definition at line 331 of file Plants2.c.
|
extern |
Definition at line 344 of file Plants2.c.
|
extern |
Definition at line 357 of file Plants2.c.
|
extern |
Definition at line 55 of file ArrowSign.c.