Go to the source code of this file.
Macros | |
#define | MAX_ITEM_ENTITIES 256 |
#define | WD_VAR1 54 |
#define | WD_VAR2 30 |
#define | WD_VAR3 30 |
#define | X_VAR1 20 |
#define | HT_VAR1 height |
#define | WD_VAR4 280 |
#define | X_PICKUP_ITEM_1 15 |
#define | X_PICKUP_ITEM_2 40 |
#define | X_PICKUP_THREW 40 |
#define | Y_PICKUP_ITEM_1 offsetY |
#define | Y_PICKUP_ITEM_2 offsetY |
#define | Y_PICKUP_THREW 4 |
#define MAX_ITEM_ENTITIES 256 |
Definition at line 16 of file item_entity.c.
Referenced by clear_item_entity_data(), draw_item_entities(), draw_ui_item_entities(), item_entity_load(), make_item_entity(), make_item_entity_at_player(), remove_item_entity_by_reference(), render_item_entities(), test_item_entity_position(), and update_item_entities().
#define WD_VAR1 54 |
Definition at line 2485 of file item_entity.c.
Referenced by func_801363A0().
#define WD_VAR2 30 |
Definition at line 2486 of file item_entity.c.
Referenced by func_801363A0().
#define WD_VAR3 30 |
Definition at line 2487 of file item_entity.c.
Referenced by func_801363A0().
#define X_VAR1 20 |
Definition at line 2488 of file item_entity.c.
Referenced by func_801363A0().
#define HT_VAR1 height |
Definition at line 2489 of file item_entity.c.
Referenced by func_801363A0().
#define WD_VAR4 280 |
Definition at line 2490 of file item_entity.c.
Referenced by func_801363A0().
#define X_PICKUP_ITEM_1 15 |
Definition at line 2610 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
#define X_PICKUP_ITEM_2 40 |
Definition at line 2611 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
#define X_PICKUP_THREW 40 |
Definition at line 2612 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
#define Y_PICKUP_ITEM_1 offsetY |
Definition at line 2613 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
#define Y_PICKUP_ITEM_2 offsetY |
Definition at line 2614 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
#define Y_PICKUP_THREW 4 |
Definition at line 2615 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
void item_entity_update | ( | ItemEntity * | entity | ) |
Definition at line 776 of file item_entity.c.
Referenced by item_entity_load(), and update_item_entities().
void appendGfx_item_entity | ( | void * | data | ) |
Definition at line 910 of file item_entity.c.
Referenced by draw_item_entities().
void draw_item_entities | ( | void | ) |
Definition at line 1057 of file item_entity.c.
Referenced by clear_item_entity_data().
void draw_ui_item_entities | ( | void | ) |
Definition at line 1089 of file item_entity.c.
Referenced by clear_item_entity_data().
b32 test_item_player_collision | ( | ItemEntity * | item | ) |
Definition at line 1322 of file item_entity.c.
Referenced by update_item_entity_collectable(), and update_item_entity_stationary().
void update_item_entity_collectable | ( | ItemEntity * | item | ) |
Definition at line 1583 of file item_entity.c.
Referenced by update_item_entities().
void draw_ui_item_entity_collectable | ( | ItemEntity * | item | ) |
Definition at line 2045 of file item_entity.c.
Referenced by draw_ui_item_entities().
void update_item_entity_stationary | ( | ItemEntity * | item | ) |
Definition at line 2069 of file item_entity.c.
Referenced by update_item_entities().
void draw_ui_item_entity_stationary | ( | ItemEntity * | item | ) |
void update_item_entity_no_pickup | ( | ItemEntity * | item | ) |
void draw_ui_item_entity_no_pickup | ( | ItemEntity * | item | ) |
void func_801363A0 | ( | ItemEntity * | item | ) |
Definition at line 2493 of file item_entity.c.
Referenced by update_item_entity_pickup().
void update_item_entity_pickup | ( | ItemEntity * | item | ) |
Definition at line 2093 of file item_entity.c.
Referenced by update_item_entities().
void draw_content_pickup_item_header | ( | ItemEntity * | item, |
s32 | posX, | ||
s32 | posY ) |
Definition at line 2618 of file item_entity.c.
Referenced by func_801363A0().
void draw_content_cant_carry_more | ( | ItemEntity * | item, |
s32 | posX, | ||
s32 | posY ) |
void draw_content_pickup_item_desc | ( | ItemEntity * | item, |
s32 | posX, | ||
s32 | posY ) |
Definition at line 2698 of file item_entity.c.
Referenced by func_801363A0().
void sparkle_script_init | ( | ItemEntity * | item, |
SparkleScript * | script ) |
Definition at line 124 of file item_entity.c.
Referenced by make_item_entity(), make_item_entity_at_player(), and update_item_entities().
s32 sparkle_script_step | ( | ItemEntity * | item | ) |
Definition at line 130 of file item_entity.c.
Referenced by sparkle_script_update().
void sparkle_script_update | ( | ItemEntity * | item | ) |
Definition at line 163 of file item_entity.c.
Referenced by make_item_entity(), make_item_entity_at_player(), and update_item_entities().
void draw_coin_sparkles | ( | ItemEntity * | item | ) |
Definition at line 170 of file item_entity.c.
Referenced by appendGfx_item_entity().
ItemEntity * get_item_entity | ( | s32 | itemEntityIndex | ) |
Definition at line 219 of file item_entity.c.
Referenced by draw_shop_items(), entity_base_block_idle(), entity_HiddenPanel_flip_over(), entity_HiddenPanel_is_item_on_top(), and update_item_entity_pickup().
void hide_item_entity | ( | ItemEntity * | item | ) |
Definition at line 223 of file item_entity.c.
Referenced by make_item_entity(), and update_item_entity_pickup().
void reveal_item_entity | ( | ItemEntity * | item | ) |
Definition at line 233 of file item_entity.c.
Referenced by update_item_entity_collectable().
void clear_item_entity_data | ( | void | ) |
Definition at line 243 of file item_entity.c.
Referenced by load_demo_battle(), load_engine_data(), load_map_by_IDs(), state_step_battle(), state_step_demo(), state_step_intro(), state_step_pause(), and state_step_startup().
void init_item_entity_list | ( | void | ) |
Definition at line 274 of file item_entity.c.
Referenced by state_step_end_battle(), and state_step_unpause().
void item_entity_load | ( | ItemEntity * | item | ) |
Definition at line 291 of file item_entity.c.
Referenced by func_80133A94(), make_item_entity(), and make_item_entity_at_player().
s32 make_item_entity | ( | s32 | itemID, |
f32 | x, | ||
f32 | y, | ||
f32 | z, | ||
s32 | itemSpawnMode, | ||
s32 | pickupDelay, | ||
s32 | angle, | ||
s32 | pickupFlagIndex ) |
Definition at line 390 of file item_entity.c.
Referenced by entity_ItemBlock_spawn_item(), entity_TrumpetPlant_spawn_coin(), entity_WoodenCrate_shatter(), make_item_entity_delayed(), make_item_entity_nodelay(), and spawn_drops().
s32 make_item_entity_nodelay | ( | s32 | itemID, |
f32 | x, | ||
f32 | y, | ||
f32 | z, | ||
s32 | itemSpawnMode, | ||
s32 | pickupVar ) |
Definition at line 682 of file item_entity.c.
Referenced by entity_GiantChest_give_equipment(), entity_HiddenPanel_flip_over(), entity_MulticoinBlock_spawn_coin(), and entity_Munchlesia_init().
s32 make_item_entity_delayed | ( | s32 | itemID, |
f32 | x, | ||
f32 | y, | ||
f32 | z, | ||
s32 | itemSpawnMode, | ||
s32 | pickupDelay, | ||
s32 | pickupVar ) |
Definition at line 686 of file item_entity.c.
Referenced by update_item_entity_pickup().
s32 make_item_entity_at_player | ( | s32 | itemID, |
s32 | category, | ||
s32 | pickupMsgFlags ) |
Definition at line 690 of file item_entity.c.
void update_item_entities | ( | void | ) |
Definition at line 824 of file item_entity.c.
Referenced by state_step_battle(), and state_step_world().
void render_item_entities | ( | void | ) |
Definition at line 1118 of file item_entity.c.
Referenced by render_frame().
void remove_item_entity_by_reference | ( | ItemEntity * | entity | ) |
Definition at line 1256 of file item_entity.c.
Referenced by update_item_entity_collectable(), and update_item_entity_pickup().
void remove_item_entity_by_index | ( | s32 | index | ) |
Definition at line 1287 of file item_entity.c.
Referenced by entity_GiantChest_await_got_item().
void func_80133A94 | ( | s32 | idx, |
s32 | itemID ) |
Definition at line 1306 of file item_entity.c.
s32 test_item_entity_position | ( | f32 | x, |
f32 | y, | ||
f32 | z, | ||
f32 | dist ) |
Definition at line 1482 of file item_entity.c.
Referenced by check_for_item_collision().
void set_item_entity_flags | ( | s32 | index, |
s32 | flags ) |
Definition at line 1530 of file item_entity.c.
Referenced by check_for_item_collision().
void clear_item_entity_flags | ( | s32 | index, |
s32 | flags ) |
Definition at line 1541 of file item_entity.c.
void auto_collect_item_entity | ( | s32 | index | ) |
Definition at line 1547 of file item_entity.c.
b32 is_picking_up_item | ( | void | ) |
Definition at line 1554 of file item_entity.c.
Referenced by can_open_world_menu(), check_conversation_trigger(), check_input_open_menus(), check_input_status_bar(), entity_Tweester_idle(), func_802BB000_E2D930(), and update_encounters_neutral().
void set_item_entity_position | ( | s32 | itemEntityIndex, |
f32 | x, | ||
f32 | y, | ||
f32 | z ) |
Definition at line 1567 of file item_entity.c.
Referenced by entity_GiantChest_open().
void set_current_item_entity_render_group | ( | s32 | group | ) |
Definition at line 1575 of file item_entity.c.
s32 get_current_item_entity_render_group | ( | void | ) |
Definition at line 1579 of file item_entity.c.
|
extern |
Definition at line 745 of file global_hud_scripts.c.
Referenced by make_item_entity(), make_item_entity_at_player(), and update_item_entities().
|
extern |
Definition at line 676 of file model.c.
Referenced by appendGfx_item_entity(), and render_item_entities().
|
extern |
Definition at line 905 of file model.c.
Referenced by appendGfx_item_entity(), and render_item_entities().
Lights1 ItemEntityLights = gdSPDefLights1(255, 255, 255, 0, 0, 0, 0, 0, 0) |
Definition at line 117 of file item_entity.c.
Referenced by draw_coin_sparkles().
|
extern |
Definition at line 104 of file hud_element.c.
Referenced by ALT_clear_hud_element_cache(), appendGfx_item_entity(), hud_element_clear_cache(), hud_element_load_script(), init_hud_element_list(), item_entity_load(), and render_item_entities().
|
extern |
Definition at line 105 of file hud_element.c.
Referenced by ALT_clear_hud_element_cache(), appendGfx_item_entity(), hud_element_clear_cache(), hud_element_load_script(), init_hud_element_list(), item_entity_load(), and render_item_entities().
|
extern |
Definition at line 107 of file hud_element.c.
Referenced by ALT_clear_hud_element_cache(), hud_element_clear_cache(), hud_element_load_script(), init_hud_element_list(), and item_entity_load().
|
extern |
Definition at line 106 of file hud_element.c.
Referenced by ALT_clear_hud_element_cache(), hud_element_clear_cache(), hud_element_load_script(), init_hud_element_list(), and item_entity_load().
s32 ItemEntitiesCreated |
Definition at line 30 of file item_entity.c.
Referenced by clear_item_entity_data(), init_item_entity_list(), make_item_entity(), and make_item_entity_at_player().
BSS s32 UnusedItemPhysicsScriptID |
Definition at line 32 of file item_entity.c.
Referenced by update_item_entity_collectable().
BSS s32 ItemEntityAlternatingSpawn |
Definition at line 33 of file item_entity.c.
Referenced by clear_item_entity_data(), init_item_entity_list(), make_item_entity(), and make_item_entity_at_player().
BSS s32 ItemEntityRenderGroup |
Definition at line 34 of file item_entity.c.
Referenced by clear_item_entity_data(), draw_item_entities(), get_current_item_entity_render_group(), and set_current_item_entity_render_group().
BSS s16 CoinSparkleCenterX |
Definition at line 35 of file item_entity.c.
Referenced by clear_item_entity_data(), draw_coin_sparkles(), and update_item_entities().
BSS s16 CoinSparkleCenterY |
Definition at line 36 of file item_entity.c.
Referenced by clear_item_entity_data(), draw_coin_sparkles(), and update_item_entities().
BSS s16 CoinSparkleCenterZ |
Definition at line 37 of file item_entity.c.
Referenced by clear_item_entity_data(), draw_coin_sparkles(), and update_item_entities().
BSS s32 pad_ItemEntity[3] |
Definition at line 38 of file item_entity.c.
BSS ItemEntity* WorldItemEntities[256] |
Definition at line 39 of file item_entity.c.
Referenced by clear_item_entity_data(), and init_item_entity_list().
BSS ItemEntity* BattleItemEntities[256] |
Definition at line 40 of file item_entity.c.
Referenced by clear_item_entity_data(), and init_item_entity_list().
BSS ItemEntity** gCurrentItemEntities |
Definition at line 41 of file item_entity.c.
Referenced by auto_collect_item_entity(), clear_item_entity_data(), clear_item_entity_flags(), draw_item_entities(), draw_ui_item_entities(), func_80133A94(), get_item_entity(), init_item_entity_list(), make_item_entity(), make_item_entity_at_player(), remove_item_entity_by_index(), remove_item_entity_by_reference(), render_item_entities(), set_item_entity_flags(), set_item_entity_position(), test_item_entity_position(), and update_item_entities().
BSS s16 isPickingUpItem |
Definition at line 42 of file item_entity.c.
Referenced by clear_item_entity_data(), init_item_entity_list(), is_picking_up_item(), remove_item_entity_by_index(), remove_item_entity_by_reference(), test_item_entity_position(), test_item_player_collision(), update_item_entity_collectable(), update_item_entity_pickup(), and update_item_entity_stationary().
BSS s16 ItemSpawnWithinPlayerPickupDelay |
Definition at line 43 of file item_entity.c.
Referenced by make_item_entity(), and test_item_player_collision().
BSS s16 D_801565A8 |
Definition at line 45 of file item_entity.c.
Referenced by clear_item_entity_data(), init_item_entity_list(), is_picking_up_item(), set_item_entity_flags(), update_item_entity_collectable(), and update_item_entity_stationary().
Definition at line 47 of file item_entity.c.
Referenced by update_item_entity_pickup().
BSS s32 ItemPickupIconID |
Definition at line 48 of file item_entity.c.
Referenced by draw_content_pickup_item_header(), and update_item_entity_pickup().
BSS s32 ItemPickupStateDelay |
Definition at line 49 of file item_entity.c.
Referenced by update_item_entity_pickup().
BSS s32 ThrowAwayMenuIdx |
Definition at line 50 of file item_entity.c.
Referenced by update_item_entity_pickup().
BSS s32 ThrowAwayItemID |
Definition at line 51 of file item_entity.c.
Referenced by draw_content_pickup_item_header(), func_801363A0(), and update_item_entity_pickup().
BSS EffectInstance* ItemPickupGotOutline |
Definition at line 52 of file item_entity.c.
Referenced by update_item_entity_pickup().
BSS MessagePrintState* GotItemTutorialPrinter |
Definition at line 53 of file item_entity.c.
Referenced by update_item_entity_pickup().
Definition at line 54 of file item_entity.c.
Referenced by update_item_entity_pickup().
Vtx D_8014C5A0[4] |
Definition at line 73 of file item_entity.c.
Vtx D_8014C5E0[4] |
Definition at line 80 of file item_entity.c.
Gfx D_8014C620[] |
Definition at line 87 of file item_entity.c.
Referenced by appendGfx_item_entity(), and render_item_entities().
Gfx D_8014C678[] |
Definition at line 101 of file item_entity.c.
Referenced by appendGfx_item_entity(), and render_item_entities().
Gfx D_8014C6A0[] |
Definition at line 109 of file item_entity.c.
Referenced by appendGfx_item_entity(), and render_item_entities().
s16 PickupHeaderWindowHeight[] = { 32, 40 } |
s16 PickupMessageWindowYOffsets[] = { 8, 4 } |
Definition at line 121 of file item_entity.c.
Referenced by draw_content_pickup_item_header().
|
extern |
Referenced by item_entity_load().