mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
351 lines
15 KiB
C
351 lines
15 KiB
C
#ifndef _DEAD_H_
|
|
#define _DEAD_H_
|
|
|
|
#define gCameras dead_gCameras
|
|
#define evt_get_variable dead_evt_get_variable
|
|
#define evt_set_variable dead_evt_set_variable
|
|
#define evt_get_float_variable dead_evt_get_float_variable
|
|
#define sin_rad dead_sin_rad
|
|
#define cos_rad dead_cos_rad
|
|
#define evt_set_float_variable dead_evt_set_float_variable
|
|
#define fx_sparkles dead_fx_sparkles
|
|
#define gPlayerStatusPtr dead_gPlayerStatusPtr
|
|
#define set_main_pan_u dead_set_main_pan_u
|
|
#define set_main_pan_v dead_set_main_pan_v
|
|
#define set_aux_pan_u dead_set_aux_pan_u
|
|
#define set_aux_pan_v dead_set_aux_pan_v
|
|
#define get_npc_unsafe dead_get_npc_unsafe
|
|
#define atan2 dead_atan2
|
|
#define clamp_angle dead_clamp_angle
|
|
#define rand_int dead_rand_int
|
|
#define gItemTable dead_gItemTable
|
|
#define set_screen_overlay_params_back dead_set_screen_overlay_params_back
|
|
#define get_npc_by_index dead_get_npc_by_index
|
|
#define dist2D dead_dist2D
|
|
#define sin_deg dead_sin_deg
|
|
#define cos_deg dead_cos_deg
|
|
#define sin_cos_deg dead_sin_cos_deg
|
|
#define gPlayerStatus dead_gPlayerStatus
|
|
#define is_point_outside_territory dead_is_point_outside_territory
|
|
#define npc_raycast_down_sides dead_npc_raycast_down_sides
|
|
#define basic_ai_check_player_dist dead_basic_ai_check_player_dist
|
|
#define fx_emote dead_fx_emote
|
|
#define ai_enemy_play_sound dead_ai_enemy_play_sound
|
|
#define npc_move_heading dead_npc_move_heading
|
|
#define get_clamped_angle_diff dead_get_clamped_angle_diff
|
|
#define get_enemy dead_get_enemy
|
|
#define npc_test_move_simple_with_slipping dead_npc_test_move_simple_with_slipping
|
|
#define get_screen_coords dead_get_screen_coords
|
|
#define basic_ai_suspend dead_basic_ai_suspend
|
|
#define gCurrentCameraID dead_gCurrentCameraID
|
|
#define add_vec2D_polar dead_add_vec2D_polar
|
|
#define gCurrentCamID dead_gCurrentCamID
|
|
#define gPartnerStatus dead_gPartnerStatus
|
|
#define get_npc_safe dead_get_npc_safe
|
|
#define sfx_adjust_env_sound_pos dead_sfx_adjust_env_sound_pos
|
|
#define fx_star_spirits_energy dead_fx_star_spirits_energy
|
|
#define heap_malloc dead_heap_malloc
|
|
#define heap_free dead_heap_free
|
|
#define general_heap_malloc dead_general_heap_malloc
|
|
#define update_lerp dead_update_lerp
|
|
#define create_shadow_type dead_create_shadow_type
|
|
#define fx_spirit_card dead_fx_spirit_card
|
|
#define dist3D dead_dist3D
|
|
#define subtract_hp dead_subtract_hp
|
|
#define get_entity_by_index dead_get_entity_by_index
|
|
#define fx_energy_orb_wave dead_fx_energy_orb_wave
|
|
#define fx_radial_shimmer dead_fx_radial_shimmer
|
|
#define set_screen_overlay_color dead_set_screen_overlay_color
|
|
#define set_screen_overlay_params_front dead_set_screen_overlay_params_front
|
|
#define fx_sun dead_fx_sun
|
|
#define set_message_images dead_set_message_images
|
|
#define general_heap_free dead_general_heap_free
|
|
#define decode_yay0 dead_decode_yay0
|
|
#define load_asset_by_name dead_load_asset_by_name
|
|
#define gCollisionStatus dead_gCollisionStatus
|
|
#define switch_to_partner dead_switch_to_partner
|
|
#define set_npc_yaw dead_set_npc_yaw
|
|
#define disable_npc_shadow dead_disable_npc_shadow
|
|
#define func_800EB2A4 dead_func_800EB2A4
|
|
#define partner_clear_player_tracking dead_partner_clear_player_tracking
|
|
#define sfx_play_sound_with_params dead_sfx_play_sound_with_params
|
|
#define sfx_get_spatialized_sound_params dead_sfx_get_spatialized_sound_params
|
|
#define npc_test_move_simple_without_slipping dead_npc_test_move_simple_without_slipping
|
|
#define spawn_surface_effects dead_spawn_surface_effects
|
|
#define get_item_entity dead_get_item_entity
|
|
#define gOverrideFlags dead_gOverrideFlags
|
|
#define set_message_text_var dead_set_message_text_var
|
|
#define gPlayerData dead_gPlayerData
|
|
#define gPartnerPopupProperties dead_gPartnerPopupProperties
|
|
#define increment_status_bar_disabled dead_increment_status_bar_disabled
|
|
#define decrement_status_bar_disabled dead_decrement_status_bar_disabled
|
|
#define sync_status_bar dead_sync_status_bar
|
|
#define set_max_star_power dead_set_max_star_power
|
|
#define get_current_map_settings dead_get_current_map_settings
|
|
#define gGameStatusPtr dead_gGameStatusPtr
|
|
#define guTranslateF dead_guTranslateF
|
|
#define get_model_from_list_index dead_get_model_from_list_index
|
|
#define get_model_list_index_from_tree_index dead_get_model_list_index_from_tree_index
|
|
#define guMtxCatF dead_guMtxCatF
|
|
#define guMtxIdentF dead_guMtxIdentF
|
|
#define basic_ai_wander_init dead_basic_ai_wander_init
|
|
#define basic_ai_wander dead_basic_ai_wander
|
|
#define basic_ai_loiter_init dead_basic_ai_loiter_init
|
|
#define basic_ai_loiter dead_basic_ai_loiter
|
|
#define basic_ai_found_player_jump_init dead_basic_ai_found_player_jump_init
|
|
#define basic_ai_found_player_jump dead_basic_ai_found_player_jump
|
|
#define basic_ai_chase_init dead_basic_ai_chase_init
|
|
#define basic_ai_chase dead_basic_ai_chase
|
|
#define basic_ai_lose_player dead_basic_ai_lose_player
|
|
#define gCurrentEncounter dead_gCurrentEncounter
|
|
#define fx_motion_blur_flame dead_fx_motion_blur_flame
|
|
#define wPartnerHudScripts dead_wPartnerHudScripts
|
|
#define wDisabledPartnerHudScripts dead_wDisabledPartnerHudScripts
|
|
#define create_standard_popup_menu dead_create_standard_popup_menu
|
|
#define hide_popup_menu dead_hide_popup_menu
|
|
#define destroy_popup_menu dead_destroy_popup_menu
|
|
#define heap_free dead_heap_free
|
|
#define entity_upgrade_block_hide_content dead_entity_upgrade_block_hide_content
|
|
#define fx_misc_particles dead_fx_misc_particles
|
|
#define transform_point dead_transform_point
|
|
#define gMainGfxPos dead_gMainGfxPos
|
|
#define osVirtualToPhysical dead_osVirtualToPhysical
|
|
#define nuGfxZBuffer dead_nuGfxZBuffer
|
|
#define nuGfxCfb_ptr dead_nuGfxCfb_ptr
|
|
#define guMtxF2L dead_guMtxF2L
|
|
#define mdl_get_copied_vertices dead_mdl_get_copied_vertices
|
|
#define mdl_get_copied_gfx dead_mdl_get_copied_gfx
|
|
#define gMatrixListPos dead_gMatrixListPos
|
|
#define gDisplayContext dead_gDisplayContext
|
|
#define fx_sun_undeclared dead_fx_sun_undeclared
|
|
#define LoadPath dead_LoadPath
|
|
#define GetNextPathPos dead_GetNextPathPos
|
|
#define queue_render_task dead_queue_render_task
|
|
#define dma_copy dead_dma_copy
|
|
#define create_worker_scene dead_create_worker_scene
|
|
#define GetEntryID dead_GetEntryID
|
|
#define SetMusicTrack dead_SetMusicTrack
|
|
#define FadeInMusic dead_FadeInMusic
|
|
#define RandInt dead_RandInt
|
|
#define PlayEffect_impl dead_PlayEffect_impl
|
|
#define DisablePlayerInput dead_DisablePlayerInput
|
|
#define ModifyColliderFlags dead_ModifyColliderFlags
|
|
#define PlayerMoveTo dead_PlayerMoveTo
|
|
#define InterpPlayerYaw dead_InterpPlayerYaw
|
|
#define PlaySoundAtCollider dead_PlaySoundAtCollider
|
|
#define MakeLerp dead_MakeLerp
|
|
#define UpdateLerp dead_UpdateLerp
|
|
#define RotateGroup dead_RotateGroup
|
|
#define func_802D2C14 dead_func_802D2C14
|
|
#define GotoMap dead_GotoMap
|
|
#define UseExitHeading dead_UseExitHeading
|
|
#define ExitWalk dead_ExitWalk
|
|
#define GetLoadType dead_GetLoadType
|
|
#define EnterSavePoint dead_EnterSavePoint
|
|
#define EnterWalk dead_EnterWalk
|
|
#define SetSpriteShading dead_SetSpriteShading
|
|
#define SetCamLeadPlayer dead_SetCamLeadPlayer
|
|
#define SetCamPerspective dead_SetCamPerspective
|
|
#define SetCamBGColor dead_SetCamBGColor
|
|
#define SetCamEnabled dead_SetCamEnabled
|
|
#define MakeNpcs dead_MakeNpcs
|
|
#define ParentColliderToModel dead_ParentColliderToModel
|
|
#define EnableTexPanning dead_EnableTexPanning
|
|
#define SetTexPanOffset dead_SetTexPanOffset
|
|
#define DisablePlayerPhysics dead_DisablePlayerPhysics
|
|
#define UseSettingsFrom dead_UseSettingsFrom
|
|
#define SetPanTarget dead_SetPanTarget
|
|
#define SetCamDistance dead_SetCamDistance
|
|
#define SetCamPitch dead_SetCamPitch
|
|
#define SetCamPosA dead_SetCamPosA
|
|
#define SetCamPosB dead_SetCamPosB
|
|
#define SetCamSpeed dead_SetCamSpeed
|
|
#define PanToTarget dead_PanToTarget
|
|
#define WaitForCam dead_WaitForCam
|
|
#define ShowMessageAtWorldPos dead_ShowMessageAtWorldPos
|
|
#define ShowMessageAtScreenPos dead_ShowMessageAtScreenPos
|
|
#define GetPlayerPos dead_GetPlayerPos
|
|
#define SetPlayerJumpscale dead_SetPlayerJumpscale
|
|
#define PlayerJump1 dead_PlayerJump1
|
|
#define DisablePartnerAI dead_DisablePartnerAI
|
|
#define InterpNpcYaw dead_InterpNpcYaw
|
|
#define SpeakToPlayer dead_SpeakToPlayer
|
|
#define SetPlayerAnimation dead_SetPlayerAnimation
|
|
#define ContinueSpeech dead_ContinueSpeech
|
|
#define EnablePartnerAI dead_EnablePartnerAI
|
|
#define ResetCam dead_ResetCam
|
|
#define GetPlayerActionState dead_GetPlayerActionState
|
|
#define ShowChoice dead_ShowChoice
|
|
#define SwitchMessage dead_SwitchMessage
|
|
#define CloseMessage dead_CloseMessage
|
|
#define EndSpeech dead_EndSpeech
|
|
#define SetNpcPos dead_SetNpcPos
|
|
#define AdjustCam dead_AdjustCam
|
|
#define EnableGroup dead_EnableGroup
|
|
#define SetNpcFlagBits dead_SetNpcFlagBits
|
|
#define BindNpcInteract dead_BindNpcInteract
|
|
#define EnableNpcShadow dead_EnableNpcShadow
|
|
#define SetNpcCollisionSize dead_SetNpcCollisionSize
|
|
#define GetNpcPos dead_GetNpcPos
|
|
#define func_802CF56C dead_func_802CF56C
|
|
#define PlayerFaceNpc dead_PlayerFaceNpc
|
|
#define NpcFaceNpc dead_NpcFaceNpc
|
|
#define SetNpcAnimation dead_SetNpcAnimation
|
|
#define PlaySoundAtNpc dead_PlaySoundAtNpc
|
|
#define BindNpcIdle dead_BindNpcIdle
|
|
#define WaitForPlayerInputEnabled dead_WaitForPlayerInputEnabled
|
|
#define SetNpcRotation dead_SetNpcRotation
|
|
#define EnableNpcAI dead_EnableNpcAI
|
|
#define PlaySoundAtPlayer dead_PlaySoundAtPlayer
|
|
#define GetCurrentPartnerID dead_GetCurrentPartnerID
|
|
#define SetPlayerPos dead_SetPlayerPos
|
|
#define RotateModel dead_RotateModel
|
|
#define TranslateModel dead_TranslateModel
|
|
#define NpcFlyTo dead_NpcFlyTo
|
|
#define FadeOutMusic dead_FadeOutMusic
|
|
#define SetNpcYaw dead_SetNpcYaw
|
|
#define ScaleGroup dead_ScaleGroup
|
|
#define ScaleModel dead_ScaleModel
|
|
#define UpdateColliderTransform dead_UpdateColliderTransform
|
|
#define TranslateGroup dead_TranslateGroup
|
|
#define InterruptUsePartner dead_InterruptUsePartner
|
|
#define SetNpcJumpscale dead_SetNpcJumpscale
|
|
#define SetPlayerActionState dead_SetPlayerActionState
|
|
#define NpcJump0 dead_NpcJump0
|
|
#define PlaySound dead_PlaySound
|
|
#define ClearPartnerMoveHistory dead_ClearPartnerMoveHistory
|
|
#define PlayerJump dead_PlayerJump
|
|
#define StopSound dead_StopSound
|
|
#define NpcFacePlayer dead_NpcFacePlayer
|
|
#define FacePlayerTowardPoint dead_FacePlayerTowardPoint
|
|
#define SetTimeFreezeMode dead_SetTimeFreezeMode
|
|
#define ShowKeyChoicePopup dead_ShowKeyChoicePopup
|
|
#define CloseChoicePopup dead_CloseChoicePopup
|
|
#define AwaitPlayerLeave dead_AwaitPlayerLeave
|
|
#define RemoveKeyItemAt dead_RemoveKeyItemAt
|
|
#define MakeItemEntity dead_MakeItemEntity
|
|
#define RemoveItemEntity dead_RemoveItemEntity
|
|
#define IsPlayerWithin dead_IsPlayerWithin
|
|
#define IsPlayerOnValidFloor dead_IsPlayerOnValidFloor
|
|
#define GetPartnerInUse dead_GetPartnerInUse
|
|
#define MakeEntity dead_MakeEntity
|
|
#define Entity_SavePoint dead_Entity_SavePoint
|
|
#define PopSong dead_PopSong
|
|
#define PushSong dead_PushSong
|
|
#define ShowGotItem dead_ShowGotItem
|
|
#define GetBattleOutcome dead_GetBattleOutcome
|
|
#define DoNpcDefeat dead_DoNpcDefeat
|
|
#define SetCamProperties dead_SetCamProperties
|
|
#define ShowEmote dead_ShowEmote
|
|
#define SetEnemyFlagBits dead_SetEnemyFlagBits
|
|
#define AddKeyItem dead_AddKeyItem
|
|
#define BindNpcDefeat dead_BindNpcDefeat
|
|
#define BindNpcAI dead_BindNpcAI
|
|
#define GetSelfNpcID dead_GetSelfNpcID
|
|
#define GetOwnerEncounterTrigger dead_GetOwnerEncounterTrigger
|
|
#define SetSelfEnemyFlagBits dead_SetSelfEnemyFlagBits
|
|
#define BindNpcHit dead_BindNpcHit
|
|
#define PlaySoundAtModel dead_PlaySoundAtModel
|
|
#define DropItemEntity dead_DropItemEntity
|
|
#define GetValueByRef dead_GetValueByRef
|
|
#define SetValueByRef dead_SetValueByRef
|
|
#define AssignPanelFlag dead_AssignPanelFlag
|
|
#define Entity_HiddenPanel dead_Entity_HiddenPanel
|
|
#define ShakeCam dead_ShakeCam
|
|
#define StopTrackingSoundPos dead_StopTrackingSoundPos
|
|
#define IsStartingConversation dead_IsStartingConversation
|
|
#define ModifyGlobalOverrideFlags dead_ModifyGlobalOverrideFlags
|
|
#define FindKeyItem dead_FindKeyItem
|
|
#define Entity_SuperBlock dead_Entity_SuperBlock
|
|
#define AssignBlockFlag dead_AssignBlockFlag
|
|
#define AssignScript dead_AssignScript
|
|
#define ResetFromLava dead_ResetFromLava
|
|
#define EnemyNpcHit dead_EnemyNpcHit
|
|
#define EnemyNpcDefeat dead_EnemyNpcDefeat
|
|
#define BasicAI_Main dead_BasicAI_Main
|
|
#define ShowConsumableChoicePopup dead_ShowConsumableChoicePopup
|
|
#define RemoveItemAt dead_RemoveItemAt
|
|
#define GetAngleToPlayer dead_GetAngleToPlayer
|
|
#define GetNpcPointer dead_GetNpcPointer
|
|
#define RemoveNpc dead_RemoveNpc
|
|
#define EnableModel dead_EnableModel
|
|
#define PlaySoundAt dead_PlaySoundAt
|
|
#define GetModelCenter dead_GetModelCenter
|
|
#define SetSelfVar dead_SetSelfVar
|
|
#define GetSelfVar dead_GetSelfVar
|
|
#define GetPlayerTargetYaw dead_GetPlayerTargetYaw
|
|
#define HidePlayerShadow dead_HidePlayerShadow
|
|
#define SetPlayerImgFXFlags dead_SetPlayerImgFXFlags
|
|
#define UpdatePlayerImgFX dead_UpdatePlayerImgFX
|
|
#define SetPlayerFlagBits dead_SetPlayerFlagBits
|
|
#define func_80044238 dead_func_80044238
|
|
#define SetCamType dead_SetCamType
|
|
#define SetCamPosC dead_SetCamPosC
|
|
#define SetNpcVar dead_SetNpcVar
|
|
#define StartBossBattle dead_StartBossBattle
|
|
#define Entity_MulticoinBlock dead_Entity_MulticoinBlock
|
|
#define Entity_BombableRock dead_Entity_BombableRock
|
|
#define OnPlayerFled dead_OnPlayerFled
|
|
#define GetAngleBetweenNPCs dead_GetAngleBetweenNPCs
|
|
#define AwaitPlayerApproach dead_AwaitPlayerApproach
|
|
#define BringPartnerOut dead_BringPartnerOut
|
|
#define PutPartnerAway dead_PutPartnerAway
|
|
#define SetNpcSpeed dead_SetNpcSpeed
|
|
#define NpcMoveTo dead_NpcMoveTo
|
|
#define SetCamTarget dead_SetCamTarget
|
|
#define CloneModel dead_CloneModel
|
|
#define MakeLocalVertexCopy dead_MakeLocalVertexCopy
|
|
#define SetModelCustomGfx dead_SetModelCustomGfx
|
|
#define SetCustomGfxBuilders dead_SetCustomGfxBuilders
|
|
#define FindItem dead_FindItem
|
|
#define SetNpcRotationPivot dead_SetNpcRotationPivot
|
|
#define SetNpcPaletteSwapMode dead_SetNpcPaletteSwapMode
|
|
#define SetNpcPaletteSwapping dead_SetNpcPaletteSwapping
|
|
#define BindNpcAux dead_BindNpcAux
|
|
#define Entity_ScriptSpring dead_Entity_ScriptSpring
|
|
#define Entity_HiddenYellowBlock dead_Entity_HiddenYellowBlock
|
|
#define GetNpcYaw dead_GetNpcYaw
|
|
#define PlayAmbientSounds dead_PlayAmbientSounds
|
|
#define SetTexPanner dead_SetTexPanner
|
|
#define DismissEffect dead_DismissEffect
|
|
#define Entity_Chest dead_Entity_Chest
|
|
#define snd_ambient_mute dead_snd_ambient_mute
|
|
#define GetPlayerAnimation dead_GetPlayerAnimation
|
|
#define SetPlayerSpeed dead_SetPlayerSpeed
|
|
#define SetItemPos dead_SetItemPos
|
|
#define NpcJump1 dead_NpcJump1
|
|
#define SpeakToNpc dead_SpeakToNpc
|
|
#define AddStarPieces dead_AddStarPieces
|
|
#define Entity_Hammer3Block dead_Entity_Hammer3Block
|
|
#define CreatePushBlockGrid dead_CreatePushBlockGrid
|
|
#define SetPushBlock dead_SetPushBlock
|
|
#define GetSelfAnimationFromTable dead_GetSelfAnimationFromTable
|
|
#define EVS_NpcHitRecoil dead_EVS_NpcHitRecoil
|
|
#define SelfEnemyOverrideSyncPos dead_SelfEnemyOverrideSyncPos
|
|
#define SetNpcImgFXParams dead_SetNpcImgFXParams
|
|
#define SetGroupVisibility dead_SetGroupVisibility
|
|
#define Entity_HeartBlock dead_Entity_HeartBlock
|
|
#define GetCamDistance dead_GetCamDistance
|
|
#define GetCamPitch dead_GetCamPitch
|
|
#define GotoMapSpecial dead_GotoMapSpecial
|
|
#define SetNpcAux dead_SetNpcAux
|
|
#define PlayModelAnimation dead_PlayModelAnimation
|
|
#define SetAnimatedModelRootPosition dead_SetAnimatedModelRootPosition
|
|
#define LoadAnimatedModel dead_LoadAnimatedModel
|
|
#define SetAnimatorFlags dead_SetAnimatorFlags
|
|
#define GetAnimatedPositionByTreeIndex dead_GetAnimatedPositionByTreeIndex
|
|
#define GetAnimatedRotationByTreeIndex dead_GetAnimatedRotationByTreeIndex
|
|
#define SetEncounterStatusFlags dead_SetEncounterStatusFlags
|
|
#define Entity_YellowBlock dead_Entity_YellowBlock
|
|
#if VERSION_JP
|
|
#define osSyncPrintf dead_osSyncPrintf
|
|
#define SetModelFlags dead_SetModelFlags
|
|
#define SetNpcScale dead_SetNpcScale
|
|
#define StartBattle dead_StartBattle
|
|
#define Entity_BrickBlock dead_Entity_BrickBlock
|
|
#define Entity_SimpleSpring dead_Entity_SimpleSpring
|
|
#define MakeTransformGroup dead_MakeTransformGroup
|
|
#endif
|
|
|
|
#endif
|