2023-11-21 00:36:25 +00:00
|
|
|
-- AUTOGENERATED FOR CODE EDITORS --
|
2022-03-13 05:28:57 +00:00
|
|
|
|
2023-02-21 02:47:32 +00:00
|
|
|
--- @param id integer
|
|
|
|
--- @return ObjectWarpNode
|
|
|
|
function area_get_warp_node(id)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return ObjectWarpNode
|
|
|
|
function area_get_warp_node_from_params(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @param a0 Vec3f
|
|
|
|
--- @param a1 Vec3f
|
|
|
|
--- @param yVel number
|
|
|
|
--- @param gravity number
|
|
|
|
--- @return integer
|
|
|
|
function arc_to_goal_pos(a0, a1, yVel, gravity)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_common_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_hidden_in_pole_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_hidden_in_pole_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_hidden_in_pole_trigger_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_hidden_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_hidden_trigger_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_jump_on_approach_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_running_away_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_sliding_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 00:15:01 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_trigger_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_1up_walking_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_act_selector_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_act_selector_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_act_selector_star_type_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_activated_back_and_forth_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_activated_back_and_forth_platform_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_alpha_boo_key_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ambient_sounds_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_animated_texture_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_animates_on_floor_switch_press_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_animates_on_floor_switch_press_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_arrow_lift_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bbh_tilting_trap_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_boo_key_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_bowser_anchor_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_chest_bottom_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_chest_bottom_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_chest_lid_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_fish_splash_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_holdable_object_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_holdable_object_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_moving_flames_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_moving_flames_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_trampoline_spring_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_beta_trampoline_top_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_boo_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_boulder_generator_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_boulder_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_boulder_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_bully_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_bully_with_minions_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_big_bully_with_minions_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bird_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_birds_sound_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bitfs_sinking_cage_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bitfs_sinking_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_black_smoke_bowser_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_black_smoke_mario_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_black_smoke_upward_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_bowser_flame_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_bowser_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_coin_jumping_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-26 02:15:54 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_coin_number_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_coin_sliding_jumping_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_coin_sliding_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-26 02:15:54 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_coin_switch_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_coin_switch_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_fish_movement_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_blue_flames_group_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bob_pit_bowling_ball_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bob_pit_bowling_ball_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_anchor_mario_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_buddy_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_buddy_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_bully_death_smoke_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_explosion_bubble_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_explosion_bubble_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_fuse_smoke_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bobomb_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_boss_spawned_bridge_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_cage_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_cage_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_in_castle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_with_cage_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_boo_with_cage_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_book_switch_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bookend_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bouncing_fireball_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bouncing_fireball_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowling_ball_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowling_ball_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_body_anchor_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_body_anchor_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_bomb_explosion_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_bomb_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_bomb_smoke_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_course_red_coin_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_flame_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_key_course_exit_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_key_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_key_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_key_unlock_door_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_shock_wave_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_tail_anchor_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowser_tail_anchor_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bowsers_sub_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_breakable_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_breakable_box_small_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_breakable_box_small_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bub_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bub_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bubba_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bubble_cannon_barrel_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bubble_maybe_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bubble_player_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bubble_splash_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bubble_wave_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bullet_bill_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bullet_bill_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_bully_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_butterfly_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_butterfly_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_camera_lakitu_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_camera_lakitu_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cannon_barrel_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cannon_base_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cannon_base_unused_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cannon_closed_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cannon_closed_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cap_switch_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_castle_cannon_grate_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_castle_flag_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_castle_floor_trap_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_castle_floor_trap_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ccm_touched_star_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_celebration_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_celebration_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_celebration_star_sparkle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_chain_chomp_chain_part_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_chain_chomp_gate_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_chain_chomp_gate_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_chain_chomp_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_checkerboard_elevator_group_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_checkerboard_elevator_group_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_checkerboard_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_checkerboard_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_chuckya_anchor_mario_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_chuckya_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_circling_amp_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_circling_amp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_clam_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cloud_part_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_cloud_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coffin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coffin_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_formation_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_formation_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_formation_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_inside_boo_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_coin_sparkles_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_collect_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_collect_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_controllable_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_controllable_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_controllable_platform_sub_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_courtyard_boo_triplet_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ddd_moving_pole_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ddd_pole_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ddd_pole_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ddd_warp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_decorative_pendulum_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_decorative_pendulum_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_donut_platform_spawner_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_donut_platform_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_door_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_door_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_dorrie_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_elevator_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_elevator_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_end_birds_1_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_end_birds_2_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_enemy_lakitu_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_exclamation_box_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_exclamation_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_explosion_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_explosion_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_eyerok_boss_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_eyerok_boss_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_eyerok_hand_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fading_warp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_falling_bowser_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_falling_pillar_hitbox_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_falling_pillar_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_falling_pillar_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ferris_wheel_axle_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ferris_wheel_platform_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fire_piranha_plant_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fire_piranha_plant_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fire_spitter_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fish_group_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fish_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fish_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_bouncing_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_bouncing_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_bowser_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_bowser_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_floating_landing_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_floating_landing_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_large_burning_out_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_mario_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_moving_forward_growing_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flame_moving_forward_growing_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flamethrower_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flamethrower_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_floating_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_floor_trap_in_castle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fly_guy_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_fly_guy_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_flying_bookend_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_free_bowling_ball_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_free_bowling_ball_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_generic_bowling_ball_spawner_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_generic_bowling_ball_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_giant_pole_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_golden_coin_sparkles_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_goomba_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_goomba_triplet_spawner_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_goomba_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_grand_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_grand_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_grindel_thwomp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ground_sand_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ground_snow_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_haunted_bookshelf_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_haunted_bookshelf_manager_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_haunted_chair_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_haunted_chair_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_heave_ho_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_heave_ho_throw_mario_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_blue_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_object_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_red_coin_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_red_coin_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hidden_star_trigger_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_homing_amp_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_homing_amp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hoot_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_hoot_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_horizontal_grindel_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_horizontal_grindel_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_idle_water_wave_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_init_changing_water_level_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_intro_lakitu_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_intro_peach_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_intro_scene_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_invisible_objects_under_bridge_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_invisible_objects_under_bridge_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jet_stream_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jet_stream_ring_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jet_stream_water_ring_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jet_stream_water_ring_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jrb_floating_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jrb_sliding_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_jumping_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_kickable_board_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_king_bobomb_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_klepto_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_klepto_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_koopa_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_koopa_race_endpoint_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_koopa_shell_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_koopa_shell_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_koopa_shell_underwater_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_koopa_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_large_bomp_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_large_bomp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_bowser_puzzle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_bowser_puzzle_piece_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_drawbridge_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_drawbridge_spawner_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_drawbridge_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_floating_wood_bridge_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_moving_octagonal_mesh_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_rolling_log_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_rotating_block_fire_bars_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_rotating_hex_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_rotating_hexagonal_ring_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_sinking_rectangular_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_sinking_rock_block_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_sinking_square_platforms_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_lll_wood_piece_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mad_piano_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_manta_ray_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_manta_ray_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_manta_ray_water_ring_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_manta_ray_water_ring_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_menu_button_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_menu_button_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_menu_button_manager_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_menu_button_manager_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_merry_go_round_boo_manager_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_merry_go_round_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_metal_cap_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_metal_cap_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mips_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mips_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moat_grills_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moneybag_hidden_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moneybag_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moneybag_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_monty_mole_hole_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_monty_mole_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_monty_mole_rock_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_monty_mole_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moving_blue_coin_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moving_blue_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moving_yellow_coin_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_moving_yellow_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mr_blizzard_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mr_blizzard_snowball()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mr_blizzard_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mr_i_body_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mr_i_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_mr_i_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_normal_cap_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_normal_cap_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_object_bubble_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_object_bubble_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_object_water_wave_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_object_water_wave_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_openable_cage_door_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_openable_grill_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_orange_number_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_orange_number_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_particle_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_penguin_race_finish_line_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_penguin_race_shortcut_check_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_piranha_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_piranha_plant_bubble_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_piranha_plant_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_piranha_plant_waking_bubbles_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_platform_normals_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_platform_on_track_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_platform_on_track_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_play_music_track_when_touched_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pokey_body_part_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pokey_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pole_base_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pole_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pound_tiny_star_particle_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pound_tiny_star_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pound_white_puffs_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_punch_tiny_triangle_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_punch_tiny_triangle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_purple_switch_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pushable_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_elevator_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_elevator_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_elevator_trajectory_marker_ball_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_pillar_touch_detector_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_top_fragment_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_top_fragment_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_top_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_pyramid_top_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_racing_penguin_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_racing_penguin_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_recovery_heart_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_red_coin_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_red_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_red_coin_star_marker_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_respawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rolling_log_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rotating_clock_arm_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rotating_exclamation_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rotating_octagonal_plat_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rotating_octagonal_plat_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rotating_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rr_cruiser_wing_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rr_cruiser_wing_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_rr_rotating_bridge_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sand_sound_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_scuttlebug_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_scuttlebug_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_seaweed_bundle_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_seaweed_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_seesaw_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_seesaw_platform_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_shallow_water_splash_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ship_part_3_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_skeeter_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_skeeter_wave_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sl_snowman_wind_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sl_walking_penguin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sliding_plat_2_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sliding_plat_2_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sliding_snow_mound_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_bomp_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_bomp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_bubbles_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_bully_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_penguin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_piranha_flame_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_small_water_wave_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snow_leaf_particle_spawn_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snow_mound_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snowmans_body_checkpoint_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snowmans_bottom_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snowmans_bottom_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snowmans_head_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snowmans_head_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snufit_balls_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_snufit_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sound_spawner_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sparkle_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param object Object
|
|
|
|
--- @param params integer
|
|
|
|
--- @param networkSendEvent integer
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spawn_star_no_level_exit(object, params, networkSendEvent)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spawned_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spawned_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spindel_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spindel_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spindrift_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_spiny_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_squarish_path_moving_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_squarish_path_parent_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_squarish_path_parent_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_squishable_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ssl_moving_pyramid_wall_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ssl_moving_pyramid_wall_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_star_door_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_star_door_loop_2()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_star_key_collection_puff_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-26 02:15:54 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_star_number_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_star_spawn_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_star_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_static_checkered_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_strong_wind_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sunken_ship_part_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sushi_shark_collision_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_sushi_shark_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_swing_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_swing_platform_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_swoop_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tank_fish_group_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_temp_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_thi_bowling_ball_spawner_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_thi_huge_island_top_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_thi_tiny_island_top_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tilting_bowser_lava_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tilting_inverted_pyramid_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tiny_star_particles_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tower_door_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tower_platform_group_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tower_platform_group_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tox_box_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_track_ball_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_bottom_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_bottom_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_jrb_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_jrb_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_ship_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_ship_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_treasure_chest_top_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tree_snow_or_leaf_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_triplet_butterfly_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_2d_rotator_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_2d_rotator_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_cog_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_cog_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_elevator_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_elevator_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_moving_bar_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_moving_bar_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_pendulum_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_pendulum_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_pit_block_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_pit_block_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_rotating_solid_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_rotating_solid_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_spinner_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_treadmill_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttc_treadmill_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ttm_rolling_log_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tumbling_bridge_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tumbling_bridge_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tuxies_mother_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tweester_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_tweester_sand_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ukiki_cage_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ukiki_cage_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ukiki_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_ukiki_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unagi_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unagi_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unagi_subobject_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unused_particle_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unused_poundable_platform()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_vanish_cap_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_volcano_flames_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_volcano_sound_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_volcano_trap_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wall_tiny_star_particle_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_warp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_air_bubble_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_air_bubble_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_bomb_cannon_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_bomb_shadow_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_bomb_spawner_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_bomb_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_droplet_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_droplet_splash_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_level_diamond_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_level_pillar_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_level_pillar_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_mist_2_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_mist_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_mist_spawn_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_splash_spawn_droplets()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_water_waves_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_waterfall_sound_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wave_trail_shrink()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wdw_express_elevator_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_breakable_wall_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_elevator_tower_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_rotating_wooden_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_rotating_wooden_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_sliding_platform_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_sliding_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_sliding_tower_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wf_solid_tower_platform_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_whirlpool_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_whirlpool_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_white_puff_1_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_white_puff_2_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_white_puff_exploding_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_white_puff_smoke_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_whomp_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wiggler_body_part_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wiggler_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wind_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wing_cap_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wing_vanish_cap_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_wooden_post_update()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_yellow_coin_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_yellow_coin_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_yoshi_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_yoshi_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a0 number
|
|
|
|
--- @param a1 number
|
|
|
|
--- @return integer
|
|
|
|
function check_if_moving_over_floor(a0, a1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function clear_particle_flags(flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp28 number
|
|
|
|
--- @param sp2C number
|
|
|
|
--- @param sp30 integer
|
|
|
|
--- @return nil
|
|
|
|
function common_anchor_mario_behavior(sp28, sp2C, sp30)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param windSpread integer
|
|
|
|
--- @param scale number
|
|
|
|
--- @param relPosX number
|
|
|
|
--- @param relPosY number
|
|
|
|
--- @param relPosZ number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_spawn_strong_wind_particles(windSpread, scale, relPosX, relPosY, relPosZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function mario_moving_fast_enough_to_make_piranha_plant_bite()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_secondary_camera_focus()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param walk integer
|
|
|
|
--- @return nil
|
|
|
|
function play_penguin_walking_sound(walk)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return Object
|
|
|
|
function spawn_default_star(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function spawn_mist_from_global()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param count integer
|
|
|
|
--- @param offsetY integer
|
|
|
|
--- @param size number
|
|
|
|
--- @return nil
|
|
|
|
function spawn_mist_particles_variable(count, offsetY, size)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return Object
|
|
|
|
function spawn_no_exit_star(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return Object
|
|
|
|
function spawn_red_coin_cutscene_star(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-26 02:15:54 +00:00
|
|
|
--- @return nil
|
|
|
|
function spawn_star_number()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @param numTris integer
|
|
|
|
--- @param triModel integer
|
|
|
|
--- @param triSize number
|
|
|
|
--- @param triAnimState integer
|
|
|
|
--- @return nil
|
|
|
|
function spawn_triangle_break_particles(numTris, triModel, triSize, triAnimState)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @return nil
|
|
|
|
function spawn_wind_particles(pitch, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param forwardVel number
|
|
|
|
--- @param a1 number
|
|
|
|
--- @param deltaPitch integer
|
|
|
|
--- @param deltaRoll integer
|
|
|
|
--- @return nil
|
|
|
|
function tox_box_move(forwardVel, a1, deltaPitch, deltaRoll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param angle Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function update_angle_from_move_flags(angle)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:46:33 +00:00
|
|
|
--- @return nil
|
|
|
|
function uv_update_scroll()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param src Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_copy_2(dest, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param id BehaviorId
|
|
|
|
--- @return Pointer_BehaviorScript
|
|
|
|
function get_behavior_from_id(id)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-06 08:36:33 +00:00
|
|
|
--- @param id BehaviorId
|
|
|
|
--- @return string
|
|
|
|
function get_behavior_name_from_id(id)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return BehaviorId
|
|
|
|
function get_id_from_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-06 08:36:33 +00:00
|
|
|
--- @param name string
|
|
|
|
--- @return BehaviorId
|
|
|
|
function get_id_from_behavior_name(name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return BehaviorId
|
|
|
|
function get_id_from_vanilla_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-26 06:46:37 +00:00
|
|
|
--- @param c Camera
|
|
|
|
--- @param goal number
|
|
|
|
--- @param inc number
|
|
|
|
--- @return nil
|
|
|
|
function approach_camera_height(c, goal, inc)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current number
|
|
|
|
--- @param target number
|
|
|
|
--- @param multiplier number
|
|
|
|
--- @return number
|
|
|
|
function approach_f32_asymptotic(current, target, multiplier)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current Pointer_number
|
|
|
|
--- @param target number
|
|
|
|
--- @param multiplier number
|
|
|
|
--- @return integer
|
|
|
|
function approach_f32_asymptotic_bool(current, target, multiplier)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current integer
|
|
|
|
--- @param target integer
|
|
|
|
--- @param divisor integer
|
|
|
|
--- @return integer
|
|
|
|
function approach_s16_asymptotic(current, target, divisor)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current Pointer_integer
|
|
|
|
--- @param target integer
|
|
|
|
--- @param divisor integer
|
|
|
|
--- @return integer
|
|
|
|
function approach_s16_asymptotic_bool(current, target, divisor)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current Vec3f
|
|
|
|
--- @param target Vec3f
|
|
|
|
--- @param xMul number
|
|
|
|
--- @param yMul number
|
|
|
|
--- @param zMul number
|
|
|
|
--- @return nil
|
|
|
|
function approach_vec3f_asymptotic(current, target, xMul, yMul, zMul)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return number
|
|
|
|
function calc_abs_dist(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return number
|
|
|
|
function calc_hor_dist(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param pitch Pointer_integer
|
|
|
|
--- @param yaw Pointer_integer
|
|
|
|
--- @return nil
|
|
|
|
function calculate_angles(from, to, pitch, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @return integer
|
|
|
|
function calculate_pitch(from, to)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @return integer
|
|
|
|
function calculate_yaw(from, to)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param angle integer
|
|
|
|
--- @return integer
|
|
|
|
function cam_select_alt_mode(angle)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value number
|
|
|
|
--- @param target number
|
|
|
|
--- @param increment number
|
|
|
|
--- @return number
|
|
|
|
function camera_approach_f32_symmetric(value, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current Pointer_number
|
|
|
|
--- @param target number
|
|
|
|
--- @param increment number
|
|
|
|
--- @return integer
|
|
|
|
function camera_approach_f32_symmetric_bool(current, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current Pointer_integer
|
|
|
|
--- @param target integer
|
|
|
|
--- @param increment integer
|
|
|
|
--- @return integer
|
|
|
|
function camera_approach_s16_symmetric_bool(current, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return integer
|
|
|
|
function camera_course_processing(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 08:55:11 +00:00
|
|
|
--- @param enable integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_set_use_course_specific_settings(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-13 03:00:51 +00:00
|
|
|
--- @return nil
|
|
|
|
function center_rom_hack_camera()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-26 06:46:37 +00:00
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param maxPitch integer
|
|
|
|
--- @param minPitch integer
|
|
|
|
--- @return integer
|
|
|
|
function clamp_pitch(from, to, maxPitch, minPitch)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param origin Vec3f
|
|
|
|
--- @param xMax number
|
|
|
|
--- @param xMin number
|
|
|
|
--- @param zMax number
|
|
|
|
--- @param zMin number
|
|
|
|
--- @return integer
|
|
|
|
function clamp_positions_and_find_yaw(pos, origin, xMax, xMin, zMax, zMin)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param offsetY number
|
|
|
|
--- @param radius number
|
|
|
|
--- @return integer
|
|
|
|
function collide_with_walls(pos, offsetY, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param cutscene integer
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function cutscene_object(cutscene, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param cutscene integer
|
|
|
|
--- @param o Object
|
|
|
|
--- @param dialogID integer
|
|
|
|
--- @return integer
|
|
|
|
function cutscene_object_with_dialog(cutscene, o, dialogID)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param cutscene integer
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function cutscene_object_without_dialog(cutscene, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param preset integer
|
|
|
|
--- @return nil
|
|
|
|
function cutscene_set_fov_shake_preset(preset)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj integer
|
|
|
|
--- @param frame integer
|
|
|
|
--- @return integer
|
|
|
|
function cutscene_spawn_obj(obj, frame)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param currentState integer
|
|
|
|
--- @param buttonsPressed integer
|
|
|
|
--- @param buttonsDown integer
|
|
|
|
--- @return integer
|
|
|
|
function find_c_buttons_pressed(currentState, buttonsPressed, buttonsDown)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pg PlayerGeometry
|
|
|
|
--- @return nil
|
|
|
|
function find_mario_floor_and_ceil(pg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return integer
|
|
|
|
function get_cutscene_from_mario_status(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return nil
|
|
|
|
function handle_c_button_movement(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param surf Surface
|
|
|
|
--- @param range integer
|
|
|
|
--- @param surfType integer
|
|
|
|
--- @return integer
|
|
|
|
function is_range_behind_surface(from, to, surf, range, surfType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param posX number
|
|
|
|
--- @param posY number
|
|
|
|
--- @param posZ number
|
|
|
|
--- @return integer
|
|
|
|
function is_within_100_units_of_mario(posX, posY, posZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return nil
|
|
|
|
function move_mario_head_c_up(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param newPos Vec3f
|
|
|
|
--- @param newFoc Vec3f
|
|
|
|
--- @param curPos Vec3f
|
|
|
|
--- @param curFoc Vec3f
|
|
|
|
--- @param oldPos Vec3f
|
|
|
|
--- @param oldFoc Vec3f
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @return integer
|
|
|
|
function next_lakitu_state(newPos, newFoc, curPos, curFoc, oldPos, oldFoc, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param point Vec3f
|
|
|
|
--- @param pitchOff integer
|
|
|
|
--- @param yawOff integer
|
|
|
|
--- @param pitchDiv integer
|
|
|
|
--- @param yawDiv integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_rotate_towards_point(o, point, pitchOff, yawOff, pitchDiv, yawDiv)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param o Object
|
|
|
|
--- @return nil
|
|
|
|
function object_pos_to_vec3f(dst, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param rotation Vec3s
|
|
|
|
--- @return nil
|
|
|
|
function offset_rotated(dst, from, to, rotation)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @param areaYaw integer
|
|
|
|
--- @return integer
|
|
|
|
function offset_yaw_outward_radial(c, areaYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_camera_buzz_if_c_sideways()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_camera_buzz_if_cbutton()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_camera_buzz_if_cdown()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return nil
|
|
|
|
function play_cutscene(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_button_change_blocked()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_cbutton_down()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_cbutton_side()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_cbutton_up()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_if_cam_switched_to_lakitu_or_mario()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_rbutton_changed()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @param unused number
|
|
|
|
--- @return integer
|
|
|
|
function radial_camera_input(c, unused)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3s
|
|
|
|
--- @param xRange integer
|
|
|
|
--- @param yRange integer
|
|
|
|
--- @param zRange integer
|
|
|
|
--- @return nil
|
|
|
|
function random_vec3s(dst, xRange, yRange, zRange)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return nil
|
|
|
|
function reset_camera(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param lastGood Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function resolve_geometry_collisions(pos, lastGood)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:25:54 +00:00
|
|
|
--- @param enable integer
|
|
|
|
--- @return nil
|
|
|
|
function rom_hack_cam_set_collisions(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-26 06:46:37 +00:00
|
|
|
--- @param c Camera
|
|
|
|
--- @param cPos Vec3f
|
|
|
|
--- @param avoidYaw Pointer_integer
|
|
|
|
--- @param yawRange integer
|
|
|
|
--- @return integer
|
|
|
|
function rotate_camera_around_walls(c, cPos, avoidYaw, yawRange)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param src Vec3f
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @return nil
|
|
|
|
function rotate_in_xz(dst, src, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param src Vec3f
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @return nil
|
|
|
|
function rotate_in_yz(dst, src, pitch)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param scale number
|
|
|
|
--- @return nil
|
|
|
|
function scale_along_line(dest, from, to, scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function select_mario_cam_mode()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mode integer
|
|
|
|
--- @return integer
|
|
|
|
function set_cam_angle(mode)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param c Camera
|
|
|
|
--- @param mode integer
|
|
|
|
--- @param frames integer
|
|
|
|
--- @return nil
|
|
|
|
function set_camera_mode(c, mode, frames)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @param x integer
|
|
|
|
--- @param y integer
|
|
|
|
--- @param z integer
|
|
|
|
--- @return integer
|
|
|
|
function set_camera_mode_fixed(c, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mag integer
|
|
|
|
--- @param decay integer
|
|
|
|
--- @param inc integer
|
|
|
|
--- @return nil
|
|
|
|
function set_camera_pitch_shake(mag, decay, inc)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mag integer
|
|
|
|
--- @param decay integer
|
|
|
|
--- @param inc integer
|
|
|
|
--- @return nil
|
|
|
|
function set_camera_roll_shake(mag, decay, inc)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param shake integer
|
|
|
|
--- @return nil
|
|
|
|
function set_camera_shake_from_hit(shake)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param shake integer
|
|
|
|
--- @param posX number
|
|
|
|
--- @param posY number
|
|
|
|
--- @param posZ number
|
|
|
|
--- @return nil
|
|
|
|
function set_camera_shake_from_point(shake, posX, posY, posZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mag integer
|
|
|
|
--- @param decay integer
|
|
|
|
--- @param inc integer
|
|
|
|
--- @return nil
|
|
|
|
function set_camera_yaw_shake(mag, decay, inc)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param shake integer
|
|
|
|
--- @return nil
|
|
|
|
function set_environmental_camera_shake(shake)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-26 06:46:37 +00:00
|
|
|
--- @param preset integer
|
|
|
|
--- @return nil
|
|
|
|
function set_fixed_cam_axis_sa_lobby(preset)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param func integer
|
|
|
|
--- @return nil
|
|
|
|
function set_fov_function(func)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param amplitude integer
|
|
|
|
--- @param decay integer
|
|
|
|
--- @param shakeSpeed integer
|
|
|
|
--- @return nil
|
|
|
|
function set_fov_shake(amplitude, decay, shakeSpeed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param preset integer
|
|
|
|
--- @param posX number
|
|
|
|
--- @param posY number
|
|
|
|
--- @param posZ number
|
|
|
|
--- @return nil
|
|
|
|
function set_fov_shake_from_point_preset(preset, posX, posY, posZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mode integer
|
|
|
|
--- @return nil
|
|
|
|
function set_handheld_shake(mode)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Pointer_number
|
|
|
|
--- @param goal number
|
|
|
|
--- @param scale number
|
|
|
|
--- @return integer
|
|
|
|
function set_or_approach_f32_asymptotic(dst, goal, scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current Pointer_integer
|
|
|
|
--- @param target integer
|
|
|
|
--- @param increment integer
|
|
|
|
--- @return integer
|
|
|
|
function set_or_approach_s16_symmetric(current, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param goal Vec3f
|
|
|
|
--- @param xMul number
|
|
|
|
--- @param yMul number
|
|
|
|
--- @param zMul number
|
|
|
|
--- @return nil
|
|
|
|
function set_or_approach_vec3f_asymptotic(dst, goal, xMul, yMul, zMul)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mag integer
|
|
|
|
--- @param decay integer
|
|
|
|
--- @param inc integer
|
|
|
|
--- @param maxDist number
|
|
|
|
--- @param posX number
|
|
|
|
--- @param posY number
|
|
|
|
--- @param posZ number
|
|
|
|
--- @return nil
|
|
|
|
function set_pitch_shake_from_point(mag, decay, inc, maxDist, posX, posY, posZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param focus Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function shake_camera_handheld(pos, focus)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param focus Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function shake_camera_pitch(pos, focus)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param roll Pointer_integer
|
|
|
|
--- @return nil
|
|
|
|
function shake_camera_roll(roll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param focus Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function shake_camera_yaw(pos, focus)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @return nil
|
|
|
|
function soft_reset_camera(c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @param cutscene integer
|
|
|
|
--- @return nil
|
|
|
|
function start_cutscene(c, cutscene)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param cutscene integer
|
|
|
|
--- @return integer
|
|
|
|
function start_object_cutscene_without_focus(cutscene)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param c Camera
|
|
|
|
--- @param frames integer
|
|
|
|
--- @return nil
|
|
|
|
function transition_next_state(c, frames)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param trigger integer
|
|
|
|
--- @return integer
|
|
|
|
function trigger_cutscene_dialog(trigger)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param src Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_sub(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param src Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_to_object_pos(o, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param displacementX number
|
|
|
|
--- @param displacementY number
|
|
|
|
--- @param displacementZ number
|
|
|
|
--- @return nil
|
|
|
|
function warp_camera(displacementX, displacementY, displacementZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return Character
|
|
|
|
function get_character(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-28 01:02:04 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param characterAnim CharacterAnimID
|
|
|
|
--- @return integer
|
|
|
|
function get_character_anim(m, characterAnim)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return number
|
|
|
|
function get_character_anim_offset(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param characterSound CharacterSound
|
|
|
|
--- @return nil
|
|
|
|
function play_character_sound(m, characterSound)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param characterSound CharacterSound
|
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function play_character_sound_if_no_flag(m, characterSound, flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param characterSound CharacterSound
|
|
|
|
--- @param offset integer
|
|
|
|
--- @return nil
|
|
|
|
function play_character_sound_offset(m, characterSound, offset)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_character_anim_offset(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param message string
|
|
|
|
--- @return nil
|
|
|
|
function djui_chat_message_create(message)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-25 00:33:32 +00:00
|
|
|
--- @return nil
|
|
|
|
function djui_console_message_dequeue()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-28 07:18:23 +00:00
|
|
|
--- @return nil
|
|
|
|
function djui_console_toggle()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @return DjuiColor
|
|
|
|
function djui_hud_get_color()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function djui_hud_get_filter()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function djui_hud_get_font()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:36:38 +00:00
|
|
|
--- @return number
|
|
|
|
function djui_hud_get_mouse_x()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return number
|
|
|
|
function djui_hud_get_mouse_y()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 02:55:47 +00:00
|
|
|
--- @return number
|
|
|
|
function djui_hud_get_raw_mouse_x()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return number
|
|
|
|
function djui_hud_get_raw_mouse_y()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @return integer
|
|
|
|
function djui_hud_get_resolution()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return HudUtilsRotation
|
|
|
|
function djui_hud_get_rotation()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return integer
|
|
|
|
function djui_hud_get_screen_height()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function djui_hud_get_screen_width()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 02:36:25 +00:00
|
|
|
--- @return boolean
|
|
|
|
function djui_hud_is_pause_menu_created()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param message string
|
|
|
|
--- @return number
|
|
|
|
function djui_hud_measure_text(message)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param message string
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param scale number
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_print_text(message, x, y, scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-24 23:45:25 +00:00
|
|
|
--- @param message string
|
|
|
|
--- @param prevX number
|
|
|
|
--- @param prevY number
|
|
|
|
--- @param prevScale number
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param scale number
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_print_text_interpolated(message, prevX, prevY, prevScale, x, y, scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param width number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_render_rect(x, y, width, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 02:54:49 +00:00
|
|
|
--- @param prevX number
|
|
|
|
--- @param prevY number
|
|
|
|
--- @param prevWidth number
|
|
|
|
--- @param prevHeight number
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param width number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_render_rect_interpolated(prevX, prevY, prevWidth, prevHeight, x, y, width, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-24 23:45:25 +00:00
|
|
|
--- @return nil
|
|
|
|
function djui_hud_reset_color()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param r integer
|
|
|
|
--- @param g integer
|
|
|
|
--- @param b integer
|
|
|
|
--- @param a integer
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_color(r, g, b, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @param filterType HudUtilsFilter
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_filter(filterType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param fontType DjuiFontType
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_font(fontType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 02:55:47 +00:00
|
|
|
--- @param locked boolean
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_mouse_locked(locked)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param resolutionType HudUtilsResolution
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_resolution(resolutionType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-24 10:34:21 +00:00
|
|
|
--- @param rotation integer
|
|
|
|
--- @param pivotX number
|
|
|
|
--- @param pivotY number
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_rotation(rotation, pivotX, pivotY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 02:54:49 +00:00
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param out Vec3f
|
2023-05-01 02:54:55 +00:00
|
|
|
--- @return boolean
|
2022-05-14 02:54:49 +00:00
|
|
|
function djui_hud_world_pos_to_screen_pos(pos, out)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-11 10:10:25 +00:00
|
|
|
--- @return nil
|
|
|
|
function djui_open_pause_menu()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param message string
|
|
|
|
--- @param lines integer
|
|
|
|
--- @return nil
|
|
|
|
function djui_popup_create(message, lines)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @return nil
|
|
|
|
function drop_queued_background_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param player integer
|
|
|
|
--- @param targetScale integer
|
2022-03-13 08:22:48 +00:00
|
|
|
--- @param fadeDuration integer
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
2022-03-13 08:22:48 +00:00
|
|
|
function fade_volume_scale(player, targetScale, fadeDuration)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @param fadeOut integer
|
|
|
|
--- @return nil
|
|
|
|
function fadeout_background_music(arg0, fadeOut)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 21:28:25 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_current_background_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-20 02:42:07 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_current_background_music_default_volume()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 21:28:25 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_current_background_music_max_target_volume()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function get_current_background_music_target_volume()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function is_current_background_music_volume_lowered()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
|
|
|
function play_course_clear()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dialogID integer
|
|
|
|
--- @return nil
|
|
|
|
function play_dialog_sound(dialogID)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param player integer
|
|
|
|
--- @param seqArgs integer
|
|
|
|
--- @param fadeTimer integer
|
|
|
|
--- @return nil
|
|
|
|
function play_music(player, seqArgs, fadeTimer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_peachs_jingle()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @return nil
|
|
|
|
function play_power_star_jingle(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_puzzle_jingle()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_race_fanfare()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param seqId integer
|
|
|
|
--- @param bgMusicVolume integer
|
|
|
|
--- @param volume integer
|
|
|
|
--- @param fadeTimer integer
|
|
|
|
--- @return nil
|
|
|
|
function play_secondary_music(seqId, bgMusicVolume, volume, fadeTimer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function play_sound(soundBits, pos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param freqScale number
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_with_freq_scale(soundBits, pos, freqScale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_star_fanfare()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_toads_jingle()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param player integer
|
2022-03-13 08:22:48 +00:00
|
|
|
--- @param fadeDuration integer
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
2022-03-13 08:22:48 +00:00
|
|
|
function seq_player_fade_out(player, fadeDuration)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param player integer
|
2022-03-13 08:22:48 +00:00
|
|
|
--- @param fadeDuration integer
|
|
|
|
--- @param percentage integer
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
2022-03-13 08:22:48 +00:00
|
|
|
function seq_player_lower_volume(player, fadeDuration, percentage)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param player integer
|
|
|
|
--- @param fadeDuration integer
|
|
|
|
--- @return nil
|
|
|
|
function seq_player_unlower_volume(player, fadeDuration)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-10 21:31:58 +00:00
|
|
|
--- @param fadeOutTime integer
|
|
|
|
--- @return nil
|
|
|
|
function set_audio_fadeout(fadeOutTime)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-18 21:12:33 +00:00
|
|
|
--- @param player integer
|
|
|
|
--- @param bankMask integer
|
|
|
|
--- @return nil
|
|
|
|
function sound_banks_disable(player, bankMask)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param player integer
|
|
|
|
--- @param bankMask integer
|
|
|
|
--- @return nil
|
|
|
|
function sound_banks_enable(player, bankMask)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:25:54 +00:00
|
|
|
--- @param seqId integer
|
|
|
|
--- @return nil
|
|
|
|
function stop_background_music(seqId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-10 21:31:58 +00:00
|
|
|
--- @param fadeTimer integer
|
|
|
|
--- @return nil
|
|
|
|
function stop_secondary_music(fadeTimer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:25:54 +00:00
|
|
|
--- @param soundBits integer
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function stop_sound(soundBits, pos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function stop_sounds_from_source(pos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function stop_sounds_in_continuous_banks()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-12 14:53:08 +00:00
|
|
|
--- @return nil
|
|
|
|
function first_person_reset()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function get_first_person_enabled()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param enable boolean
|
|
|
|
--- @return nil
|
|
|
|
function set_first_person_enabled(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:39 +00:00
|
|
|
--- @return nil
|
|
|
|
function reset_dialog_override_color()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function reset_dialog_override_pos()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param bgR integer
|
|
|
|
--- @param bgG integer
|
|
|
|
--- @param bgB integer
|
|
|
|
--- @param bgA integer
|
|
|
|
--- @param textR integer
|
|
|
|
--- @param textG integer
|
|
|
|
--- @param textB integer
|
|
|
|
--- @param textA integer
|
|
|
|
--- @return nil
|
|
|
|
function set_dialog_override_color(bgR, bgG, bgB, bgA, textR, textG, textB, textA)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x integer
|
|
|
|
--- @param y integer
|
|
|
|
--- @return nil
|
|
|
|
function set_dialog_override_pos(x, y)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param width integer
|
|
|
|
--- @return nil
|
|
|
|
function set_min_dialog_width(width)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-09 19:38:29 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function determine_interaction(m, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function does_mario_have_normal_cap_on_head(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param door Object
|
|
|
|
--- @return integer
|
|
|
|
function get_door_save_file_flag(door)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-21 07:48:26 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param interactType integer
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function interact_damage(m, interactType, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param capSpeed number
|
|
|
|
--- @return nil
|
|
|
|
function mario_blow_off_cap(m, capSpeed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_check_object_grab(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_drop_held_object(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param interactType integer
|
|
|
|
--- @return Object
|
|
|
|
function mario_get_collided_object(m, interactType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_grab_used_object(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param arg integer
|
|
|
|
--- @return integer
|
|
|
|
function mario_lose_cap_to_enemy(m, arg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function mario_obj_angle_to_object(m, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_retrieve_cap(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_stop_riding_and_holding(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_stop_riding_object(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_throw_held_object(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-21 01:27:34 +00:00
|
|
|
--- @param attacker MarioState
|
|
|
|
--- @param victim MarioState
|
|
|
|
--- @return integer
|
|
|
|
function passes_pvp_interaction_checks(attacker, victim)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-21 07:48:26 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function take_damage_and_knock_back(m, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-03 20:55:03 +00:00
|
|
|
--- @param otherNp NetworkPlayer
|
|
|
|
--- @return MarioState
|
|
|
|
function lag_compensation_get_local_state(otherNp)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param levelNum integer
|
|
|
|
--- @param areaIndex integer
|
|
|
|
--- @return string
|
|
|
|
function get_level_name(courseNum, levelNum, areaIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
Changes in level_info; play_transition; dev-only warp command; bug fix for moving sounds played via lua (#69)
Improved level_info.c and added functions to LUA:
const char *get_level_name_ascii(s16 courseNum, s16 levelNum, s16 areaIndex, s16 charCase):
Return a level name as an ascii string. If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const u8 *get_level_name_sm64(s16 courseNum, s16 levelNum, s16 areaIndex, s16 charCase):
Return a level name as an sm64 u8 string.
If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const char *get_level_name(s16 courseNum, s16 levelNum, s16 areaIndex):
Shortcut for get_level_name_ascii(courseNum, levelNum, areaIndex, -1).
const char *get_star_name_ascii(s16 courseNum, s16 starNum, s16 charCase):
Return a star name as an ascii string.
If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const u8 *get_star_name_sm64(s16 courseNum, s16 starNum, s16 charCase):
Return a star name as an sm64 u8 string.
If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const char *get_star_name(s16 courseNum, s16 starNum):
Shortcut for get_star_name_ascii(courseNum, starNum, -1).
Added play_transition function to LUA.
I chose to copy the function declaration to smlua_misc_utils.h instead of adding area.h
to the autogen tool, as most structures, variables and functions in area.h aren't meant
to be used by LUA scripts.
Added a dev-only warp chat command.
This command signature is /warp [LEVEL] [AREA] [ACT]. Level can be either a number
or a shorthand name (bob, wf, ccm...). Area and Act are numbers.
This command is available only when building the game with DEBUG and DEVELOPMENT.
This command cannot be used if hosting through Discord.
Fixed a bug with moving sounds when they are played via a lua script.
Bug: Moving sounds (including terrain sounds, flying sound, quicksand sound)
are not played correctly when a lua script play them via a call of
play_sound or play_sound_with_freq_scale. This is due to how the moving
sounds are handled internally. They use the f32 pointer provided to the
play_sound functions to decide if the sound must be kept playing,
stopped or restarted. Most of the time, the pointer provided is the
cameraToObject field of Mario's object graph node. Since smlua uses a
circular buffer for Vec3f conversion, this pointer is lost, and the
sound engine can't decide what to do with the sound, resulting in a
weird and incorrect sound effect.
Fix: play_sound and play_sound_with_freq_scale now calls
smlua_get_vec3f_for_play_sound before filling the sound request queue,
to retrieve the correct pointer from the Vec3f provided by smlua.
2022-04-26 20:48:50 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param levelNum integer
|
|
|
|
--- @param areaIndex integer
|
|
|
|
--- @param charCase integer
|
|
|
|
--- @return string
|
|
|
|
function get_level_name_ascii(courseNum, levelNum, areaIndex, charCase)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param levelNum integer
|
|
|
|
--- @param areaIndex integer
|
|
|
|
--- @param charCase integer
|
|
|
|
--- @return Pointer_integer
|
|
|
|
function get_level_name_sm64(courseNum, levelNum, areaIndex, charCase)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param starNum integer
|
|
|
|
--- @return string
|
|
|
|
function get_star_name(courseNum, starNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param starNum integer
|
|
|
|
--- @param charCase integer
|
|
|
|
--- @return string
|
|
|
|
function get_star_name_ascii(courseNum, starNum, charCase)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param starNum integer
|
|
|
|
--- @param charCase integer
|
|
|
|
--- @return Pointer_integer
|
|
|
|
function get_star_name_sm64(courseNum, starNum, charCase)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-21 02:47:32 +00:00
|
|
|
--- @param id integer
|
|
|
|
--- @param destLevel integer
|
|
|
|
--- @param destArea integer
|
|
|
|
--- @param destNode integer
|
|
|
|
--- @param checkpoint integer
|
|
|
|
--- @param o Object
|
|
|
|
--- @return ObjectWarpNode
|
|
|
|
function area_create_warp_node(id, destLevel, destArea, destNode, checkpoint, o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-03 07:54:57 +00:00
|
|
|
--- @return WarpNode
|
|
|
|
function get_painting_warp_node()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param paintingIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function initiate_painting_warp(paintingIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-20 02:51:27 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param warpOp integer
|
|
|
|
--- @return integer
|
|
|
|
function level_trigger_warp(m, warpOp)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-15 17:54:48 +00:00
|
|
|
--- @param arg0 integer
|
|
|
|
--- @param levelNum integer
|
|
|
|
--- @return integer
|
|
|
|
function lvl_set_current_level(arg0, levelNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-04 23:58:07 +00:00
|
|
|
--- @param arg integer
|
|
|
|
--- @return nil
|
|
|
|
function warp_special(arg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function adjust_sound_for_speed(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_action_exits(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_hold_action_exits(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param action integer
|
|
|
|
--- @param actionArg integer
|
|
|
|
--- @return integer
|
|
|
|
function drop_and_set_mario_action(m, action, actionArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return integer
|
|
|
|
function execute_mario_action(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param angleFromMario integer
|
|
|
|
--- @param distFromMario number
|
|
|
|
--- @return number
|
|
|
|
function find_floor_height_relative_polar(m, angleFromMario, distFromMario)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param yawOffset integer
|
|
|
|
--- @return integer
|
|
|
|
function find_floor_slope(m, yawOffset)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param translation Vec3s
|
|
|
|
--- @return integer
|
|
|
|
function find_mario_anim_flags_and_translation(o, yaw, translation)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function force_idle_state(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param action integer
|
|
|
|
--- @param actionArg integer
|
|
|
|
--- @param hurtCounter integer
|
|
|
|
--- @return integer
|
|
|
|
function hurt_and_set_mario_action(m, action, actionArg, hurtCounter)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-22 01:34:12 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function init_single_mario(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function is_anim_at_end(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function is_anim_past_end(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animFrame integer
|
|
|
|
--- @return integer
|
|
|
|
function is_anim_past_frame(m, animFrame)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return boolean
|
|
|
|
function mario_can_bubble(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param turnYaw integer
|
|
|
|
--- @return integer
|
|
|
|
function mario_facing_downhill(m, turnYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_floor_is_slippery(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_floor_is_slope(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_floor_is_steep(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_get_floor_class(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_get_terrain_sound_addend(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function mario_set_bubbled(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param speed number
|
|
|
|
--- @return nil
|
|
|
|
function mario_set_forward_vel(m, speed)
|
2022-06-01 08:00:21 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param wcd WallCollisionData
|
|
|
|
--- @return nil
|
|
|
|
function mario_update_wall(m, wcd)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @param waveParticleType integer
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_action_sound(m, soundBits, waveParticleType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_heavy_landing_sound(m, soundBits)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_heavy_landing_sound_once(m, soundBits)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_jump_sound(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_landing_sound(m, soundBits)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_landing_sound_once(m, soundBits)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param primarySoundBits integer
|
|
|
|
--- @param scondarySoundBits integer
|
|
|
|
--- @return nil
|
|
|
|
function play_mario_sound(m, primarySoundBits, scondarySoundBits)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @param waveParticleType integer
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_and_spawn_particles(m, soundBits, waveParticleType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param soundBits integer
|
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function play_sound_if_no_flag(m, soundBits, flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param offset number
|
|
|
|
--- @param radius number
|
|
|
|
--- @return Surface
|
|
|
|
function resolve_and_return_wall_collisions(pos, offset, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param offset number
|
|
|
|
--- @param radius number
|
2022-05-31 15:44:18 +00:00
|
|
|
--- @param collisionData WallCollisionData
|
|
|
|
--- @return nil
|
2022-08-06 05:17:05 +00:00
|
|
|
function resolve_and_return_wall_collisions_data(pos, offset, radius, collisionData)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function return_mario_anim_y_translation(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animFrame integer
|
|
|
|
--- @return nil
|
|
|
|
function set_anim_to_frame(m, animFrame)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-28 00:43:45 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param targetAnimID integer
|
|
|
|
--- @param accel integer
|
|
|
|
--- @return integer
|
|
|
|
function set_character_anim_with_accel(m, targetAnimID, accel)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param targetAnimID integer
|
|
|
|
--- @return integer
|
|
|
|
function set_character_animation(m, targetAnimID)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function set_jump_from_landing(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param action integer
|
|
|
|
--- @param actionArg integer
|
|
|
|
--- @return integer
|
|
|
|
function set_jumping_action(m, action, actionArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param action integer
|
|
|
|
--- @param actionArg integer
|
|
|
|
--- @return integer
|
|
|
|
function set_mario_action(m, action, actionArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param targetAnimID integer
|
|
|
|
--- @param accel integer
|
|
|
|
--- @return integer
|
|
|
|
function set_mario_anim_with_accel(m, targetAnimID, accel)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param targetAnimID integer
|
|
|
|
--- @return integer
|
|
|
|
function set_mario_animation(m, targetAnimID)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-20 02:42:07 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param flags integer
|
|
|
|
--- @param clear integer
|
|
|
|
--- @return nil
|
|
|
|
function set_mario_particle_flags(m, flags, clear)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-26 07:01:13 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param initialVelY number
|
|
|
|
--- @param multiplier number
|
|
|
|
--- @return nil
|
|
|
|
function set_mario_y_vel_based_on_fspeed(m, initialVelY, multiplier)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function set_steep_jump_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function set_water_plunge_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function transition_submerged_to_walking(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_mario_pos_for_anim(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_mario_sound_and_camera(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_airborne_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param hardFallAction integer
|
|
|
|
--- @return integer
|
|
|
|
function check_fall_damage(m, hardFallAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param hardFallAction integer
|
|
|
|
--- @return integer
|
|
|
|
function check_fall_damage_or_get_stuck(m, hardFallAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_horizontal_wind(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_kick_or_dive_in_air(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_wall_kick(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param landAction integer
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param stepArg integer
|
|
|
|
--- @return integer
|
|
|
|
function common_air_action_step(m, landAction, animation, stepArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param landAction integer
|
|
|
|
--- @param hardFallAction integer
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param speed number
|
|
|
|
--- @return integer
|
|
|
|
function common_air_knockback_step(m, landAction, hardFallAction, animation, speed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function lava_boost_on_wall(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_airborne_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function play_far_fall_sound(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param frame1 integer
|
|
|
|
--- @param frame2 integer
|
|
|
|
--- @param frame3 integer
|
|
|
|
--- @return nil
|
|
|
|
function play_flip_sounds(m, frame1, frame2, frame3)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function play_knockback_sound(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function should_get_stuck_in_ground(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_air_with_turn(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_air_without_turn(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_flying(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_flying_pitch(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_flying_yaw(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_lava_boost_or_twirling(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function add_tree_leaf_particles(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_automatic_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function climb_up_ledge(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function let_go_of_ledge(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_automatic_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param nextPos Vec3f
|
|
|
|
--- @return integer
|
|
|
|
function perform_hanging_step(m, nextPos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param b integer
|
|
|
|
--- @return nil
|
|
|
|
function play_climbing_sounds(m, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param offsetY number
|
|
|
|
--- @return integer
|
|
|
|
function set_pole_position(m, offsetY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function update_hang_moving(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_hang_stationary(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @return nil
|
|
|
|
function update_ledge_climb(m, animation, endAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_ledge_climb_camera(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_end_peach_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_end_toad_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param frameToDeathWarp integer
|
|
|
|
--- @return integer
|
|
|
|
function common_death_handler(m, animation, frameToDeathWarp)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function cutscene_put_cap_on(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function cutscene_take_cap_off(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param isInWater integer
|
|
|
|
--- @return nil
|
|
|
|
function general_star_dance_handler(m, isInWater)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x integer
|
|
|
|
--- @param y integer
|
|
|
|
--- @param z integer
|
|
|
|
--- @param radius number
|
|
|
|
--- @return nil
|
|
|
|
function generate_yellow_sparkles(x, y, z, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param str Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function get_credits_str_width(str)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function get_star_collection_dialog(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function handle_save_menu(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param forwardVel number
|
|
|
|
--- @return integer
|
|
|
|
function launch_mario_until_land(m, endAction, animation, forwardVel)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_cutscene_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_ready_to_speak(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function print_displaying_credits_entry()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param object Object
|
|
|
|
--- @return integer
|
|
|
|
function should_start_or_continue_dialog(m, object)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param unstuckFrame integer
|
|
|
|
--- @param target2 integer
|
|
|
|
--- @param target3 integer
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @return nil
|
|
|
|
function stuck_in_ground_handler(m, animation, unstuckFrame, target2, target3, endAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function align_with_floor(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function analog_stick_held_back(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function anim_and_audio_for_heavy_walk(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function anim_and_audio_for_hold_walk(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function anim_and_audio_for_walk(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param frictionFactor number
|
|
|
|
--- @return integer
|
|
|
|
function apply_landing_accel(m, frictionFactor)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function apply_slope_accel(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param decelCoef number
|
|
|
|
--- @return integer
|
|
|
|
function apply_slope_decel(m, decelCoef)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function begin_braking_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param forwardVel number
|
|
|
|
--- @param action integer
|
|
|
|
--- @param actionArg integer
|
|
|
|
--- @return integer
|
|
|
|
function begin_walking_action(m, forwardVel, action, actionArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_moving_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_ground_dive_or_punch(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function check_ledge_climb_down(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param arg2 integer
|
|
|
|
--- @param arg3 integer
|
|
|
|
--- @param arg4 integer
|
|
|
|
--- @return integer
|
|
|
|
function common_ground_knockback_action(m, animation, arg2, arg3, arg4)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param airAction integer
|
|
|
|
--- @return integer
|
|
|
|
function common_landing_action(m, animation, airAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @param airAction integer
|
|
|
|
--- @param animation integer
|
|
|
|
--- @return nil
|
|
|
|
function common_slide_action(m, endAction, airAction, animation)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param stopAction integer
|
|
|
|
--- @param jumpAction integer
|
|
|
|
--- @param airAction integer
|
|
|
|
--- @param animation integer
|
|
|
|
--- @return integer
|
|
|
|
function common_slide_action_with_jump(m, stopAction, jumpAction, airAction, animation)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_moving_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param frame1 integer
|
|
|
|
--- @param frame2 integer
|
|
|
|
--- @return nil
|
|
|
|
function play_step_sound(m, frame1, frame2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param startPos Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function push_or_sidle_wall(m, startPos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation1 integer
|
|
|
|
--- @param animation2 integer
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @param airAction integer
|
|
|
|
--- @return integer
|
|
|
|
function quicksand_jump_land_action(m, animation1, animation2, endAction, airAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param action integer
|
|
|
|
--- @param actionArg integer
|
|
|
|
--- @return integer
|
|
|
|
function set_triple_jump_action(m, action, actionArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function should_begin_sliding(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param fastAction integer
|
|
|
|
--- @param slowAction integer
|
|
|
|
--- @return nil
|
|
|
|
function slide_bonk(m, fastAction, slowAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param stopAction integer
|
|
|
|
--- @param airAction integer
|
|
|
|
--- @param animation integer
|
|
|
|
--- @return integer
|
|
|
|
function stomach_slide_action(m, stopAction, airAction, animation)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function tilt_body_butt_slide(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param startYaw integer
|
|
|
|
--- @return nil
|
|
|
|
function tilt_body_ground_shell(m, startYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function tilt_body_running(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param startYaw integer
|
|
|
|
--- @return nil
|
|
|
|
function tilt_body_walking(m, startYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function update_decelerating_speed(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_shell_speed(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param stopSpeed number
|
|
|
|
--- @return integer
|
|
|
|
function update_sliding(m, stopSpeed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param accel number
|
|
|
|
--- @param lossFactor number
|
|
|
|
--- @return nil
|
|
|
|
function update_sliding_angle(m, accel, lossFactor)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function update_walking_speed(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animation integer
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @return nil
|
|
|
|
function animated_stationary_ground_step(m, animation, endAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_object_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_object_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_update_punch_sequence(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_hold_idle_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_idle_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param action integer
|
|
|
|
--- @return integer
|
|
|
|
function check_common_landing_cancels(m, action)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function check_common_stationary_cancels(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param arg1 integer
|
|
|
|
--- @param action integer
|
|
|
|
--- @return integer
|
|
|
|
function landing_step(m, arg1, action)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_stationary_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param actionState integer
|
|
|
|
--- @param animFrame integer
|
|
|
|
--- @param sound integer
|
|
|
|
--- @return nil
|
|
|
|
function play_anim_sound(m, actionState, animFrame, sound)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param animID integer
|
|
|
|
--- @param action integer
|
|
|
|
--- @return nil
|
|
|
|
function stopping_step(m, animID, action)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param step Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function apply_water_current(m, step)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function float_surface_gfx(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_execute_submerged_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param nextPos Vec3f
|
|
|
|
--- @return integer
|
|
|
|
function perform_water_full_step(m, nextPos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function perform_water_step(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param particleFlag integer
|
|
|
|
--- @return nil
|
|
|
|
function set_swimming_at_surface_particles(m, particleFlag)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 08:17:48 +00:00
|
|
|
--- @return nil
|
|
|
|
function bhv_toad_message_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_toad_message_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unlock_door_star_init()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_unlock_door_star_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return number
|
|
|
|
function get_additive_y_vel_for_jumps()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param data BullyCollisionData
|
|
|
|
--- @param posX number
|
|
|
|
--- @param posZ number
|
|
|
|
--- @param forwardVel number
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param conversionRatio number
|
|
|
|
--- @param radius number
|
|
|
|
--- @return nil
|
|
|
|
function init_bully_collision_data(data, posX, posZ, forwardVel, yaw, conversionRatio, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @param arg1 integer
|
|
|
|
--- @return nil
|
|
|
|
function mario_bonk_reflection(arg0, arg1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @param arg1 integer
|
|
|
|
--- @param arg2 integer
|
|
|
|
--- @return integer
|
|
|
|
function mario_push_off_steep_floor(arg0, arg1, arg2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_update_moving_sand(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @param arg1 number
|
|
|
|
--- @return integer
|
|
|
|
function mario_update_quicksand(arg0, arg1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_update_windy_ground(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @param arg1 integer
|
|
|
|
--- @return integer
|
|
|
|
function perform_air_step(arg0, arg1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @return integer
|
|
|
|
function perform_ground_step(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function set_vel_from_pitch_and_yaw(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @return integer
|
|
|
|
function stationary_ground_step(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 MarioState
|
|
|
|
--- @return nil
|
|
|
|
function stop_and_set_height_to_floor(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param keyFrames Pointer_Vec4s
|
|
|
|
--- @return nil
|
|
|
|
function anim_spline_init(m, keyFrames)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param result Vec3f
|
|
|
|
--- @return integer
|
|
|
|
function anim_spline_poll(m, result)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current number
|
|
|
|
--- @param target number
|
|
|
|
--- @param inc number
|
|
|
|
--- @param dec number
|
|
|
|
--- @return number
|
|
|
|
function approach_f32(current, target, inc, dec)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param current integer
|
|
|
|
--- @param target integer
|
|
|
|
--- @param inc integer
|
|
|
|
--- @param dec integer
|
|
|
|
--- @return integer
|
|
|
|
function approach_s32(current, target, inc, dec)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @param c Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function find_vector_perpendicular_to_plane(dest, a, b, c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param objMtx Mat4
|
|
|
|
--- @param camMtx Mat4
|
|
|
|
--- @return nil
|
|
|
|
function get_pos_from_transform_mtx(dest, objMtx, camMtx)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param upDir Vec3f
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_align_terrain_normal(dest, upDir, pos, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @param pos Vec3f
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param radius number
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_align_terrain_triangle(mtx, pos, yaw, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @param position Vec3f
|
|
|
|
--- @param angle integer
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_billboard(dest, mtx, position, angle)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param src Mat4
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_copy(dest, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @param position Vec3f
|
|
|
|
--- @param angle integer
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_cylboard(dest, mtx, position, angle)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_identity(mtx)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param src Mat4
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_inverse(dest, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param roll integer
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_lookat(mtx, from, to, roll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param a Mat4
|
|
|
|
--- @param b Mat4
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_mul(dest, a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @param b Vec3s
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_mul_vec3s(mtx, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param mtx Pointer_Mtx
|
|
|
|
--- @param angle integer
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_rotate_xy(mtx, angle)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @param c Vec3s
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_rotate_xyz_and_translate(dest, b, c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param translate Vec3f
|
|
|
|
--- @param rotate Vec3s
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_rotate_zxy_and_translate(dest, translate, rotate)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param mtx Mat4
|
|
|
|
--- @param s Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_scale_vec3f(dest, mtx, s)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Pointer_Mtx
|
|
|
|
--- @param src Mat4
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_to_mtx(dest, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Mat4
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function mtxf_translate(dest, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param value number
|
|
|
|
--- @param replacement number
|
|
|
|
--- @return number
|
|
|
|
function not_zero(value, replacement)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param result Vec4f
|
|
|
|
--- @param t number
|
|
|
|
--- @param c integer
|
|
|
|
--- @return nil
|
|
|
|
function spline_get_weights(m, result, t, c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_add(dest, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param vecA Vec3f
|
|
|
|
--- @param vecB Vec3f
|
|
|
|
--- @param sclA number
|
|
|
|
--- @param sclB number
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_combine(dest, vecA, vecB, sclA, sclB)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param src Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_copy(dest, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_cross(dest, a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_dif(dest, a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param v1 Vec3f
|
|
|
|
--- @param v2 Vec3f
|
|
|
|
--- @return number
|
|
|
|
function vec3f_dist(v1, v2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return number
|
|
|
|
function vec3f_dot(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param dist Pointer_number
|
|
|
|
--- @param pitch Pointer_integer
|
|
|
|
--- @param yaw Pointer_integer
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_get_dist_and_angle(from, to, dist, pitch, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @return number
|
|
|
|
function vec3f_length(a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a number
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_mul(dest, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_normalize(dest)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param vec Vec3f
|
|
|
|
--- @param onto Vec3f
|
|
|
|
--- @param out Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_project(vec, onto, out)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param v Vec3f
|
|
|
|
--- @param rotate Vec3s
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_rotate_zxy(v, rotate)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_set(dest, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param from Vec3f
|
|
|
|
--- @param to Vec3f
|
|
|
|
--- @param dist number
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @return nil
|
|
|
|
function vec3f_set_dist_and_angle(from, to, dist, pitch, yaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @param b Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_sum(dest, a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3s
|
|
|
|
--- @param a Vec3f
|
|
|
|
--- @return void*
|
|
|
|
function vec3f_to_vec3s(dest, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3s
|
|
|
|
--- @param a Vec3s
|
|
|
|
--- @return void*
|
|
|
|
function vec3s_add(dest, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3s
|
|
|
|
--- @param src Vec3s
|
|
|
|
--- @return void*
|
|
|
|
function vec3s_copy(dest, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3s
|
|
|
|
--- @param x integer
|
|
|
|
--- @param y integer
|
|
|
|
--- @param z integer
|
|
|
|
--- @return void*
|
|
|
|
function vec3s_set(dest, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3s
|
|
|
|
--- @param a Vec3s
|
|
|
|
--- @param b Vec3s
|
|
|
|
--- @return void*
|
|
|
|
function vec3s_sum(dest, a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dest Vec3f
|
|
|
|
--- @param a Vec3s
|
|
|
|
--- @return void*
|
|
|
|
function vec3s_to_vec3f(dest, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-27 02:30:09 +00:00
|
|
|
--- @return nil
|
|
|
|
function update_all_mario_stars()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-07-18 21:52:11 +00:00
|
|
|
--- @return boolean
|
|
|
|
function mod_storage_clear()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-27 02:28:26 +00:00
|
|
|
--- @param key string
|
|
|
|
--- @return string
|
|
|
|
function mod_storage_load(key)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-07-18 21:52:11 +00:00
|
|
|
--- @param key string
|
|
|
|
--- @return boolean
|
|
|
|
function mod_storage_load_bool(key)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param key string
|
|
|
|
--- @return number
|
|
|
|
function mod_storage_load_number(key)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @param key string
|
|
|
|
--- @return boolean
|
|
|
|
function mod_storage_remove(key)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-27 02:28:26 +00:00
|
|
|
--- @param key string
|
|
|
|
--- @param value string
|
|
|
|
--- @return boolean
|
|
|
|
function mod_storage_save(key, value)
|
|
|
|
-- ...
|
|
|
|
end
|
2023-07-18 21:52:11 +00:00
|
|
|
|
|
|
|
--- @param key string
|
|
|
|
--- @param value boolean
|
|
|
|
--- @return boolean
|
|
|
|
function mod_storage_save_bool(key, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param key string
|
|
|
|
--- @param value number
|
|
|
|
--- @return boolean
|
|
|
|
function mod_storage_save_number(key, value)
|
|
|
|
-- ...
|
|
|
|
end
|
2022-09-27 02:28:26 +00:00
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param actNum integer
|
|
|
|
--- @param levelNum integer
|
|
|
|
--- @param areaIndex integer
|
|
|
|
--- @return NetworkPlayer
|
|
|
|
function get_network_player_from_area(courseNum, actNum, levelNum, areaIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param actNum integer
|
|
|
|
--- @param levelNum integer
|
|
|
|
--- @return NetworkPlayer
|
|
|
|
function get_network_player_from_level(courseNum, actNum, levelNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return NetworkPlayer
|
|
|
|
function get_network_player_smallest_global()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-27 02:11:51 +00:00
|
|
|
--- @param np NetworkPlayer
|
|
|
|
--- @param part PlayerParts
|
|
|
|
--- @param color Color
|
|
|
|
--- @return nil
|
|
|
|
function network_player_color_to_palette(np, part, color)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return integer
|
|
|
|
function network_player_connected_count()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param globalIndex integer
|
|
|
|
--- @return NetworkPlayer
|
|
|
|
function network_player_from_global_index(globalIndex)
|
|
|
|
-- ...
|
2022-09-27 02:11:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
--- @param np NetworkPlayer
|
|
|
|
--- @param part PlayerParts
|
|
|
|
--- @param out Color
|
|
|
|
--- @return nil
|
|
|
|
function network_player_palette_to_color(np, part, out)
|
|
|
|
-- ...
|
2022-03-13 05:28:57 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
--- @param np NetworkPlayer
|
|
|
|
--- @param description string
|
|
|
|
--- @param r integer
|
|
|
|
--- @param g integer
|
|
|
|
--- @param b integer
|
|
|
|
--- @param a integer
|
|
|
|
--- @return nil
|
|
|
|
function network_player_set_description(np, description, r, g, b, a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param localIndex integer
|
|
|
|
--- @return string
|
|
|
|
function network_get_player_text_color_string(localIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param localIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function network_global_index_from_local(localIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-13 02:58:58 +00:00
|
|
|
--- @return boolean
|
|
|
|
function network_is_moderator()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return boolean
|
|
|
|
function network_is_server()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param globalIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function network_local_index_from_global(globalIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param f number
|
|
|
|
--- @return number
|
|
|
|
function absf_2(f)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param objFloor Surface
|
|
|
|
--- @param objFloorY number
|
|
|
|
--- @param objVelX number
|
|
|
|
--- @param objVelZ number
|
|
|
|
--- @return nil
|
|
|
|
function calc_new_obj_vel_and_pos_y(objFloor, objFloorY, objVelX, objVelZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param objFloor Surface
|
|
|
|
--- @param floorY number
|
|
|
|
--- @param objVelX number
|
|
|
|
--- @param objVelZ number
|
|
|
|
--- @param waterY number
|
|
|
|
--- @return nil
|
|
|
|
function calc_new_obj_vel_and_pos_y_underwater(objFloor, floorY, objVelX, objVelZ, waterY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param objFriction Pointer_number
|
|
|
|
--- @param floor_nY number
|
|
|
|
--- @return nil
|
|
|
|
function calc_obj_friction(objFriction, floor_nY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param room integer
|
|
|
|
--- @return integer
|
|
|
|
function current_mario_room_check(room)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 08:22:48 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return integer
|
|
|
|
function is_nearest_mario_state_to_object(m, obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m Object
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return integer
|
|
|
|
function is_nearest_player_to_object(m, obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-31 03:03:59 +00:00
|
|
|
--- @return integer
|
|
|
|
function is_other_player_active()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function is_player_active(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-30 04:12:42 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function is_player_in_local_area(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param dist integer
|
|
|
|
--- @return integer
|
|
|
|
function is_point_close_to_object(obj, x, y, z, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 03:02:11 +00:00
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param dist integer
|
|
|
|
--- @return integer
|
|
|
|
function is_point_within_radius_of_any_player(x, y, z, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param dist integer
|
|
|
|
--- @return integer
|
|
|
|
function is_point_within_radius_of_mario(x, y, z, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-31 03:03:59 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return MarioState
|
|
|
|
function nearest_interacting_mario_state_to_object(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return Object
|
|
|
|
function nearest_interacting_player_to_object(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return MarioState
|
|
|
|
function nearest_mario_state_to_object(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return Object
|
|
|
|
function nearest_player_to_object(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 03:02:11 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return MarioState
|
|
|
|
function nearest_possible_mario_state_to_object(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param collisionFlags integer
|
|
|
|
--- @param floor Surface
|
|
|
|
--- @return nil
|
|
|
|
function obj_check_floor_death(collisionFlags, floor)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param base integer
|
|
|
|
--- @param goal integer
|
|
|
|
--- @param range integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_check_if_facing_toward_angle(base, goal, range)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param objNewX number
|
|
|
|
--- @param objY number
|
|
|
|
--- @param objNewZ number
|
|
|
|
--- @param objVelX number
|
|
|
|
--- @param objVelZ number
|
|
|
|
--- @return integer
|
|
|
|
function obj_find_wall(objNewX, objY, objNewZ, objVelX, objVelZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dist Vec3f
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param radius number
|
|
|
|
--- @return integer
|
|
|
|
function obj_find_wall_displacement(dist, x, y, z, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param lifeSpan integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_flicker_and_disappear(obj, lifeSpan)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function obj_lava_death()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_move_xyz_using_fvel_and_yaw(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param normalX number
|
|
|
|
--- @param normalY number
|
|
|
|
--- @param normalZ number
|
|
|
|
--- @return nil
|
|
|
|
function obj_orient_graph(obj, normalX, normalY, normalZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param homeX number
|
|
|
|
--- @param homeY number
|
|
|
|
--- @param homeZ number
|
|
|
|
--- @param baseDisp integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_return_and_displace_home(obj, homeX, homeY, homeZ, baseDisp)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param homeX number
|
|
|
|
--- @param y number
|
|
|
|
--- @param homeZ number
|
|
|
|
--- @param dist integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_return_home_if_safe(obj, homeX, y, homeZ, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param nCoins integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_spawn_yellow_coins(obj, nCoins)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param waterY integer
|
|
|
|
--- @param objY integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_splash(waterY, objY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function obj_update_pos_vel_xz()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function object_step()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function object_step_without_floor_orient()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param dist integer
|
|
|
|
--- @return nil
|
|
|
|
function set_object_visibility(obj, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function set_yoshi_as_not_dead()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behParam integer
|
|
|
|
--- @param relX integer
|
|
|
|
--- @param relY integer
|
|
|
|
--- @param relZ integer
|
|
|
|
--- @return nil
|
|
|
|
function spawn_orange_number(behParam, relX, relY, relZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param objFloor Surface
|
|
|
|
--- @param floorY number
|
|
|
|
--- @param objVelX number
|
|
|
|
--- @param objVelZ number
|
|
|
|
--- @return integer
|
|
|
|
function turn_obj_away_from_steep_floor(objFloor, floorY, objVelX, objVelZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param velX number
|
|
|
|
--- @param velZ number
|
|
|
|
--- @param nX number
|
|
|
|
--- @param nY number
|
|
|
|
--- @param nZ number
|
|
|
|
--- @param objYawX Pointer_number
|
|
|
|
--- @param objYawZ Pointer_number
|
|
|
|
--- @return nil
|
|
|
|
function turn_obj_away_from_surface(velX, velZ, nX, nY, nZ, objYawX, objYawZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param px Pointer_number
|
|
|
|
--- @param target number
|
|
|
|
--- @param delta number
|
|
|
|
--- @return integer
|
|
|
|
function approach_f32_ptr(px, target, delta)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_init_anim_and_check_if_end(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @param arg1 integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_init_anim_check_frame(arg0, arg1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_init_anim_extend(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @param arg1 integer
|
|
|
|
--- @param sound integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_play_sound_at_anim_range(arg0, arg1, sound)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_set_anim_if_at_end(arg0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param arg0 number
|
|
|
|
--- @param arg1 number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_spin_all_dimensions(arg0, arg1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param baseScale number
|
|
|
|
--- @return nil
|
|
|
|
function obj_act_knockback(baseScale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param baseScale number
|
|
|
|
--- @return nil
|
|
|
|
function obj_act_squished(baseScale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetYaw Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_bounce_off_walls_edges_objects(targetYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param hitbox ObjectHitbox
|
|
|
|
--- @param attackedMarioAction integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_check_attacks(hitbox, attackedMarioAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param speed number
|
|
|
|
--- @return nil
|
|
|
|
function obj_compute_vel_from_move_pitch(speed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function obj_die_if_above_lava_and_health_non_positive()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function obj_die_if_health_non_positive()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetPitch integer
|
|
|
|
--- @param deltaPitch integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_face_pitch_approach(targetPitch, deltaPitch)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetRoll integer
|
|
|
|
--- @param deltaRoll integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_face_roll_approach(targetRoll, deltaRoll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetYaw integer
|
|
|
|
--- @param deltaYaw integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_face_yaw_approach(targetYaw, deltaYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param target number
|
|
|
|
--- @param delta number
|
|
|
|
--- @return integer
|
|
|
|
function obj_forward_vel_approach(target, delta)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function obj_get_pitch_from_vel()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param latDistToHome number
|
|
|
|
--- @return integer
|
|
|
|
function obj_get_pitch_to_home(latDistToHome)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param scaleVel Pointer_number
|
|
|
|
--- @param shootFireScale number
|
|
|
|
--- @param endScale number
|
|
|
|
--- @return integer
|
|
|
|
function obj_grow_then_shrink(scaleVel, shootFireScale, endScale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param hitbox ObjectHitbox
|
|
|
|
--- @param attackedMarioAction integer
|
|
|
|
--- @param attackHandlers Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_handle_attacks(hitbox, attackedMarioAction, attackHandlers)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param maxDist number
|
|
|
|
--- @param maxAngleDiff integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_is_near_to_and_facing_mario(m, maxDist, maxAngleDiff)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function obj_is_rendering_enabled()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param endAction integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_move_for_one_second(endAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param target integer
|
|
|
|
--- @param delta integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_move_pitch_approach(target, delta)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param delta integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_random_fixed_turn(delta)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetYaw integer
|
|
|
|
--- @param turnSpeed integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_resolve_collisions_and_turn(targetYaw, turnSpeed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetYaw Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_resolve_object_collisions(targetYaw)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetYaw integer
|
|
|
|
--- @param maxRoll integer
|
|
|
|
--- @param rollSpeed integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_roll_to_match_yaw_turn(targetYaw, maxRoll, rollSpeed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetYaw integer
|
|
|
|
--- @param turnAmount integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_rotate_yaw_and_bounce_off_walls(targetYaw, turnAmount)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param distFromHome number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_dist_from_home(distFromHome)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param attackType integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_knockback_action(attackType)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_squished_action()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param angleVel Pointer_integer
|
|
|
|
--- @param angle Pointer_integer
|
|
|
|
--- @param targetAngle integer
|
|
|
|
--- @param targetSpeedProportion number
|
|
|
|
--- @param accel integer
|
|
|
|
--- @param minSpeed integer
|
|
|
|
--- @param maxSpeed integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_smooth_turn(angleVel, angle, targetAngle, targetSpeedProportion, accel, minSpeed, maxSpeed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param relativePosX integer
|
|
|
|
--- @param relativePosY integer
|
|
|
|
--- @param relativePosZ integer
|
|
|
|
--- @param scale number
|
|
|
|
--- @param model integer
|
|
|
|
--- @param startSpeed number
|
|
|
|
--- @param endSpeed number
|
|
|
|
--- @param movePitch integer
|
|
|
|
--- @return Object
|
|
|
|
function obj_spit_fire(relativePosX, relativePosY, relativePosZ, scale, model, startSpeed, endSpeed, movePitch)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param targetOffsetY number
|
|
|
|
--- @param turnAmount integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_turn_pitch_toward_mario(m, targetOffsetY, turnAmount)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function obj_unused_die()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param blinkTimer Pointer_integer
|
|
|
|
--- @param baseCycleLength integer
|
|
|
|
--- @param cycleLengthRange integer
|
|
|
|
--- @param blinkLength integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_update_blinking(blinkTimer, baseCycleLength, cycleLengthRange, blinkLength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param scale number
|
|
|
|
--- @return integer
|
|
|
|
function obj_update_standard_actions(scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param target number
|
|
|
|
--- @param delta number
|
|
|
|
--- @return integer
|
|
|
|
function obj_y_vel_approach(target, delta)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value Pointer_integer
|
|
|
|
--- @param vel Pointer_number
|
|
|
|
--- @param target integer
|
|
|
|
--- @param velCloseToZero number
|
|
|
|
--- @param accel number
|
|
|
|
--- @param slowdown number
|
|
|
|
--- @return integer
|
|
|
|
function oscillate_toward(value, vel, target, velCloseToZero, accel, slowdown)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param ballIndex integer
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return nil
|
|
|
|
function platform_on_track_update_pos_or_spawn_ball(ballIndex, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param base integer
|
|
|
|
--- @param range integer
|
|
|
|
--- @return integer
|
|
|
|
function random_linear_offset(base, range)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param base integer
|
|
|
|
--- @param step integer
|
|
|
|
--- @param mod integer
|
|
|
|
--- @return integer
|
|
|
|
function random_mod_offset(base, step, mod)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-30 04:12:42 +00:00
|
|
|
--- @param threshold number
|
|
|
|
--- @param distanceToPlayer Pointer_integer
|
|
|
|
--- @param angleToPlayer Pointer_integer
|
|
|
|
--- @return nil
|
|
|
|
function treat_far_home_as_mario(threshold, distanceToPlayer, angleToPlayer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param x0 integer
|
|
|
|
--- @param x1 integer
|
|
|
|
--- @return integer
|
|
|
|
function abs_angle_diff(x0, x1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value Pointer_number
|
|
|
|
--- @param dragStrength number
|
|
|
|
--- @return nil
|
|
|
|
function apply_drag_to_value(value, dragStrength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value Pointer_number
|
|
|
|
--- @param target number
|
|
|
|
--- @param increment number
|
|
|
|
--- @return integer
|
|
|
|
function approach_f32_signed(value, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value number
|
|
|
|
--- @param target number
|
|
|
|
--- @param increment number
|
|
|
|
--- @return number
|
|
|
|
function approach_f32_symmetric(value, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value integer
|
|
|
|
--- @param target integer
|
|
|
|
--- @param increment integer
|
|
|
|
--- @return integer
|
|
|
|
function approach_s16_symmetric(value, target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_dust_smoke_loop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function bhv_init_room()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a0 integer
|
|
|
|
--- @return integer
|
|
|
|
function bit_shift_left(a0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param segment ChainSegment
|
|
|
|
--- @return nil
|
|
|
|
function chain_segment_init(segment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param bitSet Pointer_integer
|
|
|
|
--- @param flag integer
|
|
|
|
--- @return integer
|
|
|
|
function clear_move_flag(bitSet, flag)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function clear_time_stop_flags(flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return integer
|
|
|
|
function count_objects_with_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function count_unimportant_objects()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param a0 Mat4
|
|
|
|
--- @param a1 Mat4
|
|
|
|
--- @param a2 Mat4
|
|
|
|
--- @return nil
|
|
|
|
function create_transformation_from_matrices(a0, a1, a2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return number
|
|
|
|
function cur_obj_abs_y_dist_to_home()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_advance_looping_anim()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_align_gfx_with_floor()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_angle_to_home()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dragStrength number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_apply_drag_xz(dragStrength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_become_intangible()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_become_tangible()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param radius number
|
|
|
|
--- @param height number
|
|
|
|
--- @param unused integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_can_mario_activate_textbox(m, radius, height, unused)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param radius number
|
|
|
|
--- @param height number
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_can_mario_activate_textbox_2(m, radius, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param action integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_change_action(action)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param frame integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_anim_frame(frame)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param startFrame integer
|
|
|
|
--- @param rangeLength integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_anim_frame_in_range(startFrame, rangeLength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a0 Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_frame_prior_current_frame(a0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_grabbed_mario()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_if_at_animation_end()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_if_near_animation_end()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_check_interacted()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param flag integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_clear_interact_status_flag(flag)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_compute_vel_xz()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @param dist number
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_count_objects_with_behavior(behavior, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param steepAngleDegrees integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_detect_steep_floor(steepAngleDegrees)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_disable()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_disable_rendering()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_disable_rendering_and_become_intangible(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return number
|
|
|
|
function cur_obj_dist_to_nearest_object_with_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_enable_rendering()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_enable_rendering_2()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_enable_rendering_and_become_tangible(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_enable_rendering_if_mario_in_room()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param dialogFlags integer
|
|
|
|
--- @param dialogResult integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_end_dialog(m, dialogFlags, dialogResult)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_extend_animation_if_at_end()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @param maxDist number
|
|
|
|
--- @return Object
|
|
|
|
function cur_obj_find_nearby_held_actor(behavior, maxDist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @param dist Pointer_number
|
|
|
|
--- @return Object
|
|
|
|
function cur_obj_find_nearest_object_with_behavior(behavior, dist)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return Object
|
|
|
|
function cur_obj_find_nearest_pole()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param unusedArg integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_follow_path(unusedArg)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param target number
|
|
|
|
--- @param increment number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_forward_vel_approach_upward(target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_get_dropped()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param forwardVel number
|
|
|
|
--- @param velY number
|
|
|
|
--- @param thrownAction integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_get_thrown_or_placed(forwardVel, velY, thrownAction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_has_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param modelID integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_has_model(modelID)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_hide()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param distY number
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_hide_if_mario_far_away_y(distY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_if_hit_wall_bounce_away()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_init_animation(animIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @param animFrame integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_init_animation_and_anim_frame(animIndex, animFrame)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_init_animation_and_check_if_near_end(animIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_init_animation_and_extend_if_at_end(animIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @param accel number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_init_animation_with_accel_and_sound(animIndex, accel)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_init_animation_with_sound(animIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_is_any_player_on_platform()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_is_mario_ground_pounding_platform()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_is_mario_on_platform()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return number
|
|
|
|
function cur_obj_lateral_dist_from_mario_to_home()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return number
|
|
|
|
function cur_obj_lateral_dist_from_obj_to_home(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return number
|
|
|
|
function cur_obj_lateral_dist_to_home()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_mario_far_away()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param forwardVel number
|
|
|
|
--- @param velY number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_after_thrown_or_dropped(forwardVel, velY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param steepSlopeAngleDegrees integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_standard(steepSlopeAngleDegrees)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a0 integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_move_up_and_down(a0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param gravity number
|
|
|
|
--- @param bounciness number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_update_ground_air_flags(gravity, bounciness)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_update_underwater_flags()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_using_fvel_and_gravity()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_using_vel()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_using_vel_and_gravity()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param steepSlopeNormalY number
|
|
|
|
--- @param careAboutEdgesAndSteepSlopes integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_move_xz(steepSlopeNormalY, careAboutEdgesAndSteepSlopes)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_xz_using_fvel_and_yaw()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param gravity number
|
|
|
|
--- @param bounciness number
|
|
|
|
--- @param buoyancy number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_y(gravity, bounciness, buoyancy)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param gravity number
|
|
|
|
--- @param buoyancy number
|
|
|
|
--- @return number
|
|
|
|
function cur_obj_move_y_and_get_water_level(gravity, buoyancy)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_move_y_with_terminal_vel()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return Object
|
|
|
|
function cur_obj_nearest_object_with_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param minX number
|
|
|
|
--- @param maxX number
|
|
|
|
--- @param minZ number
|
|
|
|
--- @param maxZ number
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_outside_home_rectangle(minX, maxX, minZ, maxZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param halfLength number
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_outside_home_square(halfLength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param radius number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_push_mario_away(radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param radius number
|
|
|
|
--- @param extentY number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_push_mario_away_from_cylinder(radius, extentY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_reflect_move_angle_off_wall()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_reset_timer_and_subaction()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_resolve_wall_collisions()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_reverse_animation()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_rotate_face_angle_using_vel()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_rotate_move_angle_using_vel()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param target integer
|
|
|
|
--- @param increment integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_rotate_yaw_toward(target, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param scale number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_scale(scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a0 integer
|
|
|
|
--- @param a1 integer
|
|
|
|
--- @param sp10 number
|
|
|
|
--- @param sp14 number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_scale_over_time(a0, a1, sp10, sp14)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-08 15:51:07 +00:00
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_billboard_if_vanilla_cam()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_face_angle_to_move_angle()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param hitbox ObjectHitbox
|
|
|
|
--- @param deathSound integer
|
|
|
|
--- @param noLootCoins integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_set_hitbox_and_die_if_attacked(hitbox, deathSound, noLootCoins)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param radius number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_hitbox_radius_and_height(radius, height)
|
|
|
|
-- ...
|
2022-06-02 06:04:21 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_home_once()
|
|
|
|
-- ...
|
2022-03-13 05:28:57 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
--- @param radius number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_hurtbox_radius_and_height(radius, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param other Object
|
|
|
|
--- @param dleft number
|
|
|
|
--- @param dy number
|
|
|
|
--- @param dforward number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_pos_relative(other, dleft, dy, dforward)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dleft number
|
|
|
|
--- @param dy number
|
|
|
|
--- @param dforward number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_pos_relative_to_parent(dleft, dy, dforward)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_pos_to_home()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_pos_to_home_and_stop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_pos_to_home_with_debug()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_pos_via_transform()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param f12 number
|
|
|
|
--- @param f14 number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_vel_from_mario_vel(m, f12, f14)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp18 number
|
|
|
|
--- @param sp1C integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_set_y_vel_and_animation(sp18, sp1C)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param shake integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_shake_screen(shake)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param amount number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_shake_y(amount)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param cycles integer
|
|
|
|
--- @param amount integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_shake_y_until(cycles, amount)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_spawn_loot_blue_coin()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_spawn_loot_coin_at_mario_pos(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param info SpawnParticlesInfo
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_spawn_particles(info)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param targetX number
|
|
|
|
--- @param targetY number
|
|
|
|
--- @param targetZ number
|
|
|
|
--- @param offsetY number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_spawn_star_at_y_offset(targetX, targetY, targetZ, offsetY)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param cameraEvent integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_start_cam_event(obj, cameraEvent)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_unhide()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp18 integer
|
|
|
|
--- @param sp1C integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_unrender_and_reset_state(sp18, sp1C)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_unused_init_on_floor()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param animFrame1 integer
|
|
|
|
--- @param animFrame2 integer
|
|
|
|
--- @param sound integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_unused_play_footstep_sound(animFrame1, animFrame2, sound)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param offsetY number
|
|
|
|
--- @param radius number
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_unused_resolve_wall_collisions(offsetY, radius)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_update_floor()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param steepSlopeDegrees integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_update_floor_and_resolve_wall_collisions(steepSlopeDegrees)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_update_floor_and_walls()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_update_floor_height()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return Surface
|
|
|
|
function cur_obj_update_floor_height_and_get_floor()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param timeUntilBlinking integer
|
|
|
|
--- @param numBlinks integer
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_wait_then_blink(timeUntilBlinking, numBlinks)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_was_attacked_or_ground_pounded()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function cur_obj_within_12k_bounds()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function disable_time_stop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function disable_time_stop_including_mario()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param pointX number
|
|
|
|
--- @param pointY number
|
|
|
|
--- @param pointZ number
|
|
|
|
--- @return number
|
|
|
|
function dist_between_object_and_point(obj, pointX, pointY, pointZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj1 Object
|
|
|
|
--- @param obj2 Object
|
|
|
|
--- @return number
|
|
|
|
function dist_between_objects(obj1, obj2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function enable_time_stop()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-30 04:12:42 +00:00
|
|
|
--- @return nil
|
|
|
|
function enable_time_stop_if_alone()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
|
|
|
function enable_time_stop_including_mario()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-31 03:03:59 +00:00
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return Object
|
|
|
|
function find_object_with_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return Object
|
|
|
|
function find_unimportant_object()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param callContext integer
|
|
|
|
--- @param a1 GraphNode
|
|
|
|
--- @param sp8 integer
|
|
|
|
--- @return integer
|
|
|
|
function geo_offset_klepto_debug(callContext, a1, sp8)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return integer
|
|
|
|
function get_object_list_from_behavior(behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-06 06:59:58 +00:00
|
|
|
--- @param trajectory Pointer_Trajectory
|
|
|
|
--- @return integer
|
|
|
|
function get_trajectory_length(trajectory)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param value number
|
|
|
|
--- @param center number
|
|
|
|
--- @param zeroThreshold number
|
|
|
|
--- @param increment number
|
|
|
|
--- @return number
|
|
|
|
function increment_velocity_toward_range(value, center, zeroThreshold, increment)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param item integer
|
|
|
|
--- @param array Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function is_item_in_array(item, array)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param speedThreshold integer
|
|
|
|
--- @return integer
|
|
|
|
function is_mario_moving_fast_or_in_air(speedThreshold)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj1 Object
|
|
|
|
--- @param obj2 Object
|
|
|
|
--- @return number
|
|
|
|
function lateral_dist_between_objects(obj1, obj2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param m Mat4
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param v Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function linear_mtxf_mul_vec3f(m, dst, v)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m Mat4
|
|
|
|
--- @param dst Vec3f
|
|
|
|
--- @param v Vec3f
|
|
|
|
--- @return nil
|
|
|
|
function linear_mtxf_transpose_mul_vec3f(m, dst, v)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_is_dive_sliding(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @return integer
|
|
|
|
function mario_is_in_air_action(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param minX integer
|
|
|
|
--- @param maxX integer
|
|
|
|
--- @param minZ integer
|
|
|
|
--- @param maxZ integer
|
|
|
|
--- @return integer
|
|
|
|
function mario_is_within_rectangle(minX, maxX, minZ, maxZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param flag integer
|
|
|
|
--- @return nil
|
|
|
|
function mario_set_flag(flag)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj1 Object
|
|
|
|
--- @param obj2 Object
|
|
|
|
--- @return integer
|
|
|
|
function obj_angle_to_object(obj1, obj2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param pointX number
|
|
|
|
--- @param pointZ number
|
|
|
|
--- @return integer
|
|
|
|
function obj_angle_to_point(obj, pointX, pointZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param dst Mat4
|
|
|
|
--- @param src Mat4
|
|
|
|
--- @return nil
|
|
|
|
function obj_apply_scale_to_matrix(obj, dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_apply_scale_to_transform(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return integer
|
|
|
|
function obj_attack_collided_from_other_object(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_become_tangible(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_build_relative_transform(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param posIndex integer
|
|
|
|
--- @param angleIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_build_transform_from_pos_and_angle(obj, posIndex, angleIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_build_transform_relative_to_parent(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a0 Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_build_vel_from_transform(a0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj1 Object
|
|
|
|
--- @param obj2 Object
|
|
|
|
--- @return integer
|
|
|
|
function obj_check_if_collided_with_object(obj1, obj2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Object
|
|
|
|
--- @param src Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_copy_angle(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Object
|
|
|
|
--- @param src Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_copy_behavior_params(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Object
|
|
|
|
--- @param src Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_copy_graph_y_offset(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Object
|
|
|
|
--- @param src Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_copy_pos(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Object
|
|
|
|
--- @param src Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_copy_pos_and_angle(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param dst Object
|
|
|
|
--- @param src Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_copy_scale(dst, src)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_create_transform_from_self(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp18 number
|
|
|
|
--- @param sp1C integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_explode_and_spawn_coins(sp18, sp1C)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return integer
|
|
|
|
function obj_has_behavior(obj, behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_init_animation(obj, animIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-20 23:43:37 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @param accel number
|
|
|
|
--- @return nil
|
|
|
|
function obj_init_animation_with_accel_and_sound(obj, animIndex, accel)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-11 05:29:39 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param animations AnimationTable
|
|
|
|
--- @param animIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_init_animation_with_sound(obj, animations, animIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return integer
|
|
|
|
function obj_is_hidden(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_mark_for_deletion(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param target Object
|
|
|
|
--- @return integer
|
|
|
|
function obj_pitch_to_object(obj, target)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param scale number
|
|
|
|
--- @return nil
|
|
|
|
function obj_scale(obj, scale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param rangeLength number
|
|
|
|
--- @param minScale number
|
|
|
|
--- @return nil
|
|
|
|
function obj_scale_random(obj, rangeLength, minScale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param xScale number
|
|
|
|
--- @param yScale number
|
|
|
|
--- @param zScale number
|
|
|
|
--- @return nil
|
|
|
|
function obj_scale_xyz(obj, xScale, yScale, zScale)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param roll integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_angle(obj, pitch, yaw, roll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param behavior Pointer_BehaviorScript
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_behavior(obj, behavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_billboard(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_cylboard(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 13:01:50 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param roll integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_face_angle(obj, pitch, yaw, roll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_face_angle_to_move_angle(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 13:01:50 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param roll integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_gfx_angle(obj, pitch, yaw, roll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_gfx_pos(obj, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj1 Object
|
|
|
|
--- @param obj2 Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_gfx_pos_at_obj_pos(obj1, obj2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_gfx_pos_from_pos(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 13:01:50 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_gfx_scale(obj, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param heldBehavior Pointer_BehaviorScript
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_held_state(obj, heldBehavior)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param hitbox ObjectHitbox
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_hitbox(obj, hitbox)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 13:01:50 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @param radius number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_hitbox_radius_and_height(o, radius, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param radius number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_hurtbox_radius_and_height(o, radius, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param pitch integer
|
|
|
|
--- @param yaw integer
|
|
|
|
--- @param roll integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_move_angle(obj, pitch, yaw, roll)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param relX integer
|
|
|
|
--- @param relY integer
|
|
|
|
--- @param relZ integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_parent_relative_pos(obj, relX, relY, relZ)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param x integer
|
|
|
|
--- @param y integer
|
|
|
|
--- @param z integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_pos(obj, x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param other Object
|
|
|
|
--- @param dleft number
|
|
|
|
--- @param dy number
|
|
|
|
--- @param dforward number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_pos_relative(obj, other, dleft, dy, dforward)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_throw_matrix_from_transform(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param numCoins integer
|
|
|
|
--- @param sp28 number
|
|
|
|
--- @param posJitter integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_spawn_loot_blue_coins(obj, numCoins, sp28, posJitter)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param numCoins integer
|
|
|
|
--- @param sp30 number
|
|
|
|
--- @param coinBehavior Pointer_BehaviorScript
|
|
|
|
--- @param posJitter integer
|
|
|
|
--- @param model integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_spawn_loot_coins(obj, numCoins, sp30, coinBehavior, posJitter, model)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param numCoins integer
|
|
|
|
--- @param sp28 number
|
|
|
|
--- @return nil
|
|
|
|
function obj_spawn_loot_yellow_coins(obj, numCoins, sp28)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param posIndex integer
|
|
|
|
--- @param localTranslateIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function obj_translate_local(obj, posIndex, localTranslateIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param rangeLength number
|
|
|
|
--- @return nil
|
|
|
|
function obj_translate_xyz_random(obj, rangeLength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param rangeLength number
|
|
|
|
--- @return nil
|
|
|
|
function obj_translate_xz_random(obj, rangeLength)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param target Object
|
|
|
|
--- @param angleIndex integer
|
|
|
|
--- @param turnAmount integer
|
|
|
|
--- @return integer
|
|
|
|
function obj_turn_toward_object(obj, target, angleIndex, turnAmount)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @param a0 Mat4
|
|
|
|
--- @param a1 Object
|
|
|
|
--- @return nil
|
|
|
|
function obj_update_pos_from_parent_transformation(a0, a1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return integer
|
|
|
|
function player_performed_grab_escape_action()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param diameter number
|
|
|
|
--- @return number
|
|
|
|
function random_f32_around_zero(diameter)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp0 integer
|
|
|
|
--- @param sp4 integer
|
|
|
|
--- @param sp8 number
|
|
|
|
--- @return nil
|
|
|
|
function set_mario_interact_hoot_if_in_range(sp0, sp4, sp8)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function set_time_stop_flags(flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-30 04:12:42 +00:00
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function set_time_stop_flags_if_alone(flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param x integer
|
|
|
|
--- @return integer
|
|
|
|
function signum_positive(x)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function spawn_base_star_with_no_lvl_exit()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function spawn_mist_particles()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp18 integer
|
|
|
|
--- @return nil
|
|
|
|
function spawn_mist_particles_with_sound(sp18)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp20 integer
|
|
|
|
--- @param sp24 integer
|
|
|
|
--- @return Object
|
|
|
|
function spawn_star_with_no_lvl_exit(sp20, sp24)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param parent Object
|
|
|
|
--- @param params WaterDropletParams
|
|
|
|
--- @return Object
|
|
|
|
function spawn_water_droplet(parent, params)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param sp0 integer
|
|
|
|
--- @param sp4 integer
|
|
|
|
--- @return nil
|
|
|
|
function stub_obj_helpers_3(sp0, sp4)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function stub_obj_helpers_4()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:24:50 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @param bits integer
|
|
|
|
--- @return nil
|
|
|
|
function set_object_respawn_info_bits(obj, bits)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 08:22:48 +00:00
|
|
|
--- @param a0 integer
|
|
|
|
--- @param a1 integer
|
|
|
|
--- @return nil
|
|
|
|
function queue_rumble_data(a0, a1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param a0 integer
|
|
|
|
--- @param a1 integer
|
|
|
|
--- @return nil
|
|
|
|
function queue_rumble_data_mario(m, a0, a1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param object Object
|
|
|
|
--- @param a0 integer
|
|
|
|
--- @param a1 integer
|
|
|
|
--- @return nil
|
|
|
|
function queue_rumble_data_object(object, a0, a1)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-19 07:56:59 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @return nil
|
|
|
|
function reset_rumble_timers(m)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param a0 integer
|
|
|
|
--- @return nil
|
|
|
|
function reset_rumble_timers_2(m, a0)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-25 02:30:15 +00:00
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function save_file_clear_flags(flags)
|
|
|
|
-- ...
|
2022-08-08 03:52:51 +00:00
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param forceSave integer
|
|
|
|
--- @return nil
|
|
|
|
function save_file_do_save(fileIndex, forceSave)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-27 02:14:53 +00:00
|
|
|
--- @return nil
|
|
|
|
function save_file_erase_current_backup_save()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param capPos Vec3s
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_cap_pos(capPos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_course_coin_score(fileIndex, courseIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_course_star_count(fileIndex, courseIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_flags()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_max_coin_score(courseIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_sound_mode()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_star_flags(fileIndex, courseIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param minCourse integer
|
|
|
|
--- @param maxCourse integer
|
|
|
|
--- @return integer
|
|
|
|
function save_file_get_total_star_count(fileIndex, minCourse, maxCourse)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-21 03:07:17 +00:00
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @return integer
|
|
|
|
function save_file_is_cannon_unlocked(fileIndex, courseIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-27 02:14:53 +00:00
|
|
|
--- @param load_all integer
|
2022-08-08 03:52:51 +00:00
|
|
|
--- @return nil
|
2022-09-27 02:14:53 +00:00
|
|
|
function save_file_reload(load_all)
|
2022-08-08 03:52:51 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-11 14:23:14 +00:00
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @param starFlagsToRemove integer
|
|
|
|
--- @return nil
|
|
|
|
function save_file_remove_star_flags(fileIndex, courseIndex, starFlagsToRemove)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @param coinScore integer
|
|
|
|
--- @return nil
|
|
|
|
function save_file_set_course_coin_score(fileIndex, courseIndex, coinScore)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-25 02:30:15 +00:00
|
|
|
--- @param flags integer
|
|
|
|
--- @return nil
|
|
|
|
function save_file_set_flags(flags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-08 03:53:42 +00:00
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @param starFlags integer
|
|
|
|
--- @return nil
|
|
|
|
function save_file_set_star_flags(fileIndex, courseIndex, starFlags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @param fileIndex integer
|
|
|
|
--- @param courseIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function touch_coin_score_age(fileIndex, courseIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-29 04:00:17 +00:00
|
|
|
--- @param obj Object
|
|
|
|
--- @return string
|
|
|
|
function smlua_anim_util_get_current_animation_name(obj)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param obj Object
|
|
|
|
--- @param name string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_anim_util_set_animation(obj, name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-08 11:04:14 +00:00
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return nil
|
|
|
|
function audio_sample_destroy(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param filename string
|
|
|
|
--- @return BassAudio
|
|
|
|
function audio_sample_load(filename)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param position Vec3f
|
|
|
|
--- @param volume number
|
|
|
|
--- @return nil
|
|
|
|
function audio_sample_play(audio, position, volume)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-03 02:51:34 +00:00
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return nil
|
|
|
|
function audio_sample_stop(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-08 11:04:14 +00:00
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_destroy(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return number
|
|
|
|
function audio_stream_get_frequency(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return boolean
|
|
|
|
function audio_stream_get_looping(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return number
|
|
|
|
function audio_stream_get_position(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return number
|
|
|
|
function audio_stream_get_tempo(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return number
|
|
|
|
function audio_stream_get_volume(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param filename string
|
|
|
|
--- @return BassAudio
|
|
|
|
function audio_stream_load(filename)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-22 04:17:35 +00:00
|
|
|
--- @param url string
|
|
|
|
--- @return BassAudio
|
2022-05-22 04:20:02 +00:00
|
|
|
function audio_stream_load_url(url)
|
2022-05-22 04:17:35 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-08 11:04:14 +00:00
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_pause(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param restart boolean
|
|
|
|
--- @param volume number
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_play(audio, restart, volume)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param freq number
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_set_frequency(audio, freq)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param looping boolean
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_set_looping(audio, looping)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param pos number
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_set_position(audio, pos)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param initial_freq number
|
|
|
|
--- @param speed number
|
|
|
|
--- @param pitch boolean
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_set_speed(audio, initial_freq, speed, pitch)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param tempo number
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_set_tempo(audio, tempo)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @param volume number
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_set_volume(audio, volume)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param audio BassAudio
|
|
|
|
--- @return nil
|
|
|
|
function audio_stream_stop(audio)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 16:11:45 +00:00
|
|
|
--- @param sequenceId integer
|
|
|
|
--- @param bankId integer
|
2022-04-10 16:47:17 +00:00
|
|
|
--- @param defaultVolume integer
|
2022-04-10 16:11:45 +00:00
|
|
|
--- @param m64Name string
|
|
|
|
--- @return nil
|
2022-04-10 16:47:17 +00:00
|
|
|
function smlua_audio_utils_replace_sequence(sequenceId, bankId, defaultVolume, m64Name)
|
2022-04-10 16:11:45 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 17:11:13 +00:00
|
|
|
--- @return nil
|
|
|
|
function smlua_audio_utils_reset_all()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 23:42:27 +00:00
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return Surface
|
|
|
|
function collision_find_ceil(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return Surface
|
|
|
|
function collision_find_floor(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param startX number
|
|
|
|
--- @param startY number
|
|
|
|
--- @param startZ number
|
2023-04-20 23:43:37 +00:00
|
|
|
--- @param dirX number
|
|
|
|
--- @param dirY number
|
|
|
|
--- @param dirZ number
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return RayIntersectionInfo
|
2023-04-20 23:43:37 +00:00
|
|
|
function collision_find_surface_on_ray(startX, startY, startZ, dirX, dirY, dirZ)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-16 02:55:55 +00:00
|
|
|
--- @return WallCollisionData
|
|
|
|
function collision_get_temp_wall_collision_data()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-19 07:56:59 +00:00
|
|
|
--- @return Surface
|
|
|
|
function get_water_surface_pseudo_floor()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-28 08:02:33 +00:00
|
|
|
--- @param name string
|
|
|
|
--- @return Pointer_Collision
|
|
|
|
function smlua_collision_util_get(name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-07 23:50:49 +00:00
|
|
|
--- @param enable boolean
|
|
|
|
--- @return nil
|
|
|
|
function djui_hud_set_render_behind_hud(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-16 02:53:34 +00:00
|
|
|
--- @param localIndex integer
|
|
|
|
--- @return string
|
|
|
|
function network_discord_id_from_local_index(localIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-28 23:55:29 +00:00
|
|
|
--- @param levelNum integer
|
|
|
|
--- @return boolean
|
|
|
|
function level_is_vanilla_level(levelNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-06-06 04:55:31 +00:00
|
|
|
--- @param scriptEntryName string
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param fullName string
|
|
|
|
--- @param shortName string
|
|
|
|
--- @param acousticReach integer
|
|
|
|
--- @param echoLevel1 integer
|
|
|
|
--- @param echoLevel2 integer
|
|
|
|
--- @param echoLevel3 integer
|
|
|
|
--- @return integer
|
|
|
|
function level_register(scriptEntryName, courseNum, fullName, shortName, acousticReach, echoLevel1, echoLevel2, echoLevel3)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 10:18:01 +00:00
|
|
|
--- @param areaIndex integer
|
|
|
|
--- @return nil
|
|
|
|
function smlua_level_util_change_area(areaIndex)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-06-06 04:55:31 +00:00
|
|
|
--- @param levelNum integer
|
|
|
|
--- @return CustomLevelInfo
|
|
|
|
function smlua_level_util_get_info(levelNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 23:42:27 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @return CustomLevelInfo
|
|
|
|
function smlua_level_util_get_info_from_course_num(courseNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-06-06 04:55:31 +00:00
|
|
|
--- @param shortName string
|
|
|
|
--- @return CustomLevelInfo
|
|
|
|
function smlua_level_util_get_info_from_short_name(shortName)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param aDelay integer
|
|
|
|
--- @return boolean
|
|
|
|
function warp_exit_level(aDelay)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function warp_restart_level()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param aLevel integer
|
|
|
|
--- @return boolean
|
|
|
|
function warp_to_castle(aLevel)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param aLevel integer
|
|
|
|
--- @param aArea integer
|
|
|
|
--- @param aAct integer
|
|
|
|
--- @return boolean
|
|
|
|
function warp_to_level(aLevel, aArea, aAct)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:49:45 +00:00
|
|
|
--- @return boolean
|
|
|
|
function warp_to_start_level()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-10-01 03:02:34 +00:00
|
|
|
--- @param aLevel integer
|
|
|
|
--- @param aArea integer
|
|
|
|
--- @param aAct integer
|
|
|
|
--- @param aWarpId integer
|
|
|
|
--- @return boolean
|
|
|
|
function warp_to_warpnode(aLevel, aArea, aAct, aWarpId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 13:01:50 +00:00
|
|
|
--- @param a integer
|
|
|
|
--- @param b integer
|
|
|
|
--- @param c integer
|
|
|
|
--- @return integer
|
|
|
|
function clamp(a, b, c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a number
|
|
|
|
--- @param b number
|
|
|
|
--- @param c number
|
|
|
|
--- @return number
|
|
|
|
function clampf(a, b, c)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a integer
|
|
|
|
--- @param b integer
|
|
|
|
--- @return integer
|
|
|
|
function max(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a number
|
|
|
|
--- @param b number
|
|
|
|
--- @return number
|
|
|
|
function maxf(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a integer
|
|
|
|
--- @param b integer
|
|
|
|
--- @return integer
|
|
|
|
function min(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a number
|
|
|
|
--- @param b number
|
|
|
|
--- @return number
|
|
|
|
function minf(a, b)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x integer
|
|
|
|
--- @return integer
|
|
|
|
function sqr(x)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @return number
|
|
|
|
function sqrf(x)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:46:33 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @param name string
|
|
|
|
--- @param offset integer
|
|
|
|
--- @param size integer
|
|
|
|
--- @return nil
|
|
|
|
function add_scroll_target(index, name, offset, size)
|
2022-08-26 00:27:05 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-17 08:17:34 +00:00
|
|
|
--- @param actFlags integer
|
|
|
|
--- @return integer
|
|
|
|
function allocate_mario_action(actFlags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-09-20 17:12:08 +00:00
|
|
|
--- @param allow integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_allow_toxic_gas_camera(allow)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-23 01:47:36 +00:00
|
|
|
--- @param enable boolean
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_enable_analog_cam(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param enable boolean
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_enable_free_cam(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param enable boolean
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_enable_mouse_look(enable)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function camera_config_get_aggression()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function camera_config_get_deceleration()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function camera_config_get_pan_level()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function camera_config_get_x_sensitivity()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function camera_config_get_y_sensitivity()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param invert boolean
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_invert_x(invert)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param invert boolean
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_invert_y(invert)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function camera_config_is_analog_cam_enabled()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function camera_config_is_free_cam_enabled()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function camera_config_is_mouse_look_enabled()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function camera_config_is_x_inverted()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return boolean
|
|
|
|
function camera_config_is_y_inverted()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_set_aggression(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_set_deceleration(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_set_pan_level(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_set_x_sensitivity(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_config_set_y_sensitivity(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:36:38 +00:00
|
|
|
--- @return nil
|
|
|
|
function camera_freeze()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-21 05:23:15 +00:00
|
|
|
--- @return boolean
|
|
|
|
function camera_is_frozen()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-05-17 04:49:13 +00:00
|
|
|
--- @return nil
|
|
|
|
function camera_reset_overrides()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-23 23:58:47 +00:00
|
|
|
--- @param allow integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_romhack_allow_centering(allow)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-04 23:59:22 +00:00
|
|
|
--- @param allow integer
|
|
|
|
--- @return nil
|
|
|
|
function camera_romhack_allow_dpad_usage(allow)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-22 09:12:57 +00:00
|
|
|
--- @param rco RomhackCameraOverride
|
|
|
|
--- @return nil
|
|
|
|
function camera_set_romhack_override(rco)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:36:38 +00:00
|
|
|
--- @return nil
|
|
|
|
function camera_unfreeze()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-28 23:55:29 +00:00
|
|
|
--- @param courseNum integer
|
2023-02-18 21:23:51 +00:00
|
|
|
--- @return boolean
|
2023-04-28 23:55:29 +00:00
|
|
|
function course_is_main_course(courseNum)
|
2023-02-18 21:23:51 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:24:50 +00:00
|
|
|
--- @param pointer Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function deref_s32_pointer(pointer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 10:10:32 +00:00
|
|
|
--- @return boolean
|
|
|
|
function djui_is_popup_disabled()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-01 04:05:07 +00:00
|
|
|
--- @param message string
|
|
|
|
--- @param lines integer
|
|
|
|
--- @return nil
|
|
|
|
function djui_popup_create_global(message, lines)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 10:10:32 +00:00
|
|
|
--- @return nil
|
|
|
|
function djui_reset_popup_disabled_override()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param value boolean
|
|
|
|
--- @return nil
|
|
|
|
function djui_set_popup_disabled_override(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 08:17:48 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_current_save_file_num()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @return DateTime
|
|
|
|
function get_date_and_time()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-10-18 22:34:46 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_dialog_box_state()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:25:54 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_dialog_id()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-23 18:46:15 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_envfx()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-05 22:53:16 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @return number
|
|
|
|
function get_environment_region(index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @return integer
|
|
|
|
function get_fog_color(index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-02 01:21:46 +00:00
|
|
|
--- @return number
|
|
|
|
function get_fog_intensity()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @return boolean
|
|
|
|
function get_got_file_coin_hi_score()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-19 07:56:59 +00:00
|
|
|
--- @param m MarioState
|
|
|
|
--- @param index integer
|
|
|
|
--- @return number
|
|
|
|
function get_hand_foot_pos_x(m, index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param index integer
|
|
|
|
--- @return number
|
|
|
|
function get_hand_foot_pos_y(m, index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param m MarioState
|
|
|
|
--- @param index integer
|
|
|
|
--- @return number
|
|
|
|
function get_hand_foot_pos_z(m, index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_last_completed_course_num()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return integer
|
|
|
|
function get_last_completed_star_num()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-13 03:00:51 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_last_star_or_key()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-22 18:28:17 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @return integer
|
|
|
|
function get_lighting_color(index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 02:36:25 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @return number
|
|
|
|
function get_lighting_dir(index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_network_area_timer()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-08 23:52:16 +00:00
|
|
|
--- @return string
|
|
|
|
function get_os_name()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @return boolean
|
|
|
|
function get_save_file_modified()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 02:36:25 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_skybox()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:24:50 +00:00
|
|
|
--- @param initialValue integer
|
|
|
|
--- @return Pointer_integer
|
|
|
|
function get_temp_s32_pointer(initialValue)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-15 00:53:23 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_time()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 00:20:11 +00:00
|
|
|
--- @return integer
|
|
|
|
function get_ttc_speed_setting()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @return integer
|
|
|
|
function get_vertex_color(index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:33:38 +00:00
|
|
|
--- @param type HudDisplayValue
|
|
|
|
--- @return integer
|
|
|
|
function hud_get_value(type)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
|
|
|
function hud_hide()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-21 05:23:15 +00:00
|
|
|
--- @return boolean
|
|
|
|
function hud_is_hidden()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:33:38 +00:00
|
|
|
--- @param health integer
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param width number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function hud_render_power_meter(health, x, y, width, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-24 23:45:25 +00:00
|
|
|
--- @param health integer
|
|
|
|
--- @param prevX number
|
|
|
|
--- @param prevY number
|
|
|
|
--- @param prevWidth number
|
|
|
|
--- @param prevHeight number
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param width number
|
|
|
|
--- @param height number
|
|
|
|
--- @return nil
|
|
|
|
function hud_render_power_meter_interpolated(health, prevX, prevY, prevWidth, prevHeight, x, y, width, height)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:33:38 +00:00
|
|
|
--- @param type HudDisplayValue
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function hud_set_value(type, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
|
|
|
function hud_show()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-14 21:28:25 +00:00
|
|
|
--- @return boolean
|
|
|
|
function is_game_paused()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-26 00:42:30 +00:00
|
|
|
--- @return boolean
|
|
|
|
function is_transition_playing()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-28 07:18:23 +00:00
|
|
|
--- @param message string
|
|
|
|
--- @return nil
|
|
|
|
function log_to_console(message)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-09 08:47:20 +00:00
|
|
|
--- @param name string
|
|
|
|
--- @param level integer
|
|
|
|
--- @param area integer
|
|
|
|
--- @param type integer
|
|
|
|
--- @return nil
|
|
|
|
function movtexqc_register(name, level, area, type)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
Changes in level_info; play_transition; dev-only warp command; bug fix for moving sounds played via lua (#69)
Improved level_info.c and added functions to LUA:
const char *get_level_name_ascii(s16 courseNum, s16 levelNum, s16 areaIndex, s16 charCase):
Return a level name as an ascii string. If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const u8 *get_level_name_sm64(s16 courseNum, s16 levelNum, s16 areaIndex, s16 charCase):
Return a level name as an sm64 u8 string.
If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const char *get_level_name(s16 courseNum, s16 levelNum, s16 areaIndex):
Shortcut for get_level_name_ascii(courseNum, levelNum, areaIndex, -1).
const char *get_star_name_ascii(s16 courseNum, s16 starNum, s16 charCase):
Return a star name as an ascii string.
If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const u8 *get_star_name_sm64(s16 courseNum, s16 starNum, s16 charCase):
Return a star name as an sm64 u8 string.
If charCase is 1, capitalize all letters.
If charCase is -1, decapitalize all letters except the first one of each word.
const char *get_star_name(s16 courseNum, s16 starNum):
Shortcut for get_star_name_ascii(courseNum, starNum, -1).
Added play_transition function to LUA.
I chose to copy the function declaration to smlua_misc_utils.h instead of adding area.h
to the autogen tool, as most structures, variables and functions in area.h aren't meant
to be used by LUA scripts.
Added a dev-only warp chat command.
This command signature is /warp [LEVEL] [AREA] [ACT]. Level can be either a number
or a shorthand name (bob, wf, ccm...). Area and Act are numbers.
This command is available only when building the game with DEBUG and DEVELOPMENT.
This command cannot be used if hosting through Discord.
Fixed a bug with moving sounds when they are played via a lua script.
Bug: Moving sounds (including terrain sounds, flying sound, quicksand sound)
are not played correctly when a lua script play them via a call of
play_sound or play_sound_with_freq_scale. This is due to how the moving
sounds are handled internally. They use the f32 pointer provided to the
play_sound functions to decide if the sound must be kept playing,
stopped or restarted. Most of the time, the pointer provided is the
cameraToObject field of Mario's object graph node. Since smlua uses a
circular buffer for Vec3f conversion, this pointer is lost, and the
sound engine can't decide what to do with the sound, resulting in a
weird and incorrect sound effect.
Fix: play_sound and play_sound_with_freq_scale now calls
smlua_get_vec3f_for_play_sound before filling the sound request queue,
to retrieve the correct pointer from the Vec3f provided by smlua.
2022-04-26 20:48:50 +00:00
|
|
|
--- @param transType integer
|
|
|
|
--- @param time integer
|
|
|
|
--- @param red integer
|
|
|
|
--- @param green integer
|
|
|
|
--- @param blue integer
|
|
|
|
--- @return nil
|
|
|
|
function play_transition(transType, time, red, green, blue)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @return boolean
|
|
|
|
function save_file_get_using_backup_slot()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 07:30:47 +00:00
|
|
|
--- @param usingBackupSlot boolean
|
|
|
|
--- @return nil
|
|
|
|
function save_file_set_using_backup_slot(usingBackupSlot)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-05 22:53:16 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function set_environment_region(index, value)
|
|
|
|
-- ...
|
2022-09-13 03:00:51 +00:00
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function set_fog_color(index, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-11-02 01:21:46 +00:00
|
|
|
--- @param intensity number
|
|
|
|
--- @return nil
|
|
|
|
function set_fog_intensity(intensity)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @param value boolean
|
|
|
|
--- @return nil
|
|
|
|
function set_got_file_coin_hi_score(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @return nil
|
|
|
|
function set_last_completed_course_num(courseNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param starNum integer
|
|
|
|
--- @return nil
|
|
|
|
function set_last_completed_star_num(starNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-09-13 03:00:51 +00:00
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function set_last_star_or_key(value)
|
|
|
|
-- ...
|
2022-04-05 22:53:16 +00:00
|
|
|
end
|
|
|
|
|
2023-06-22 18:28:17 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function set_lighting_color(index, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 02:36:25 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @param value number
|
|
|
|
--- @return nil
|
|
|
|
function set_lighting_dir(index, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-23 18:46:15 +00:00
|
|
|
--- @param envfx integer
|
|
|
|
--- @return nil
|
|
|
|
function set_override_envfx(envfx)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-05-01 00:36:38 +00:00
|
|
|
--- @param far number
|
2022-05-20 02:42:07 +00:00
|
|
|
--- @return nil
|
2022-05-01 00:36:38 +00:00
|
|
|
function set_override_far(far)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fov number
|
2022-05-20 02:42:07 +00:00
|
|
|
--- @return nil
|
2022-05-01 00:36:38 +00:00
|
|
|
function set_override_fov(fov)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param near number
|
2022-05-20 02:42:07 +00:00
|
|
|
--- @return nil
|
2022-05-01 00:36:38 +00:00
|
|
|
function set_override_near(near)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 02:36:25 +00:00
|
|
|
--- @param background integer
|
|
|
|
--- @return nil
|
|
|
|
function set_override_skybox(background)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-06-19 03:04:02 +00:00
|
|
|
--- @param value boolean
|
|
|
|
--- @return nil
|
|
|
|
function set_save_file_modified(value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-03-21 00:20:11 +00:00
|
|
|
--- @param speed integer
|
|
|
|
--- @return nil
|
|
|
|
function set_ttc_speed_setting(speed)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-30 05:03:36 +00:00
|
|
|
--- @param index integer
|
|
|
|
--- @param value integer
|
|
|
|
--- @return nil
|
|
|
|
function set_vertex_color(index, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-14 07:11:36 +00:00
|
|
|
--- @param name string
|
|
|
|
--- @return integer
|
|
|
|
function smlua_model_util_get_id(name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return ObjectHitbox
|
|
|
|
function get_temp_object_hitbox()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-09 06:01:41 +00:00
|
|
|
--- @param name string
|
|
|
|
--- @return Pointer_Trajectory
|
|
|
|
function get_trajectory(name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
Added lua profiler; Added useful object functions; Bug fixes (#65)
Added a basic lua profiler
If the game is compiled with LUA_PROFILER=1, displays on screen the average execution time per frame of each active lua mod, in microseconds.
Added object functions
For some reasons, accessing the object fields obj.o* via lua is rather slow, and can drastically increase execution time of custom behaviors. For basic stuff like setting an object's velocity or moving it, some functions, missing from the original code, have been added:
s32 obj_is_valid_for_interaction(struct Object *o): returns 1 if an object is valid for interaction, i.e. active, tangible and not interacted.
s32 obj_check_hitbox_overlap(struct Object *o1, struct Object *o2): returns 1 if two objects hitboxes overlap. Doesn't check tangibility, only hitbox values.
void obj_set_vel(struct Object *o, f32 vx, f32 vy, f32 vz): sets an object's velocity.
void obj_move_xyz(struct Object *o, f32 dx, f32 dy, f32 dz): moves an object position by (dx, dy, dz).
Bug fixes:
Disable collisions with walls and ceilings after Mario exits a warp pipe to prevent softlocks in narrow places.
Make the koopa shell exclamation box respawn after some time.
Quicksand no longer downwarps and instant-kills Mario if he's shocked while being above it.
2022-04-20 18:20:45 +00:00
|
|
|
--- @param o1 Object
|
|
|
|
--- @param o2 Object
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @return boolean
|
Added lua profiler; Added useful object functions; Bug fixes (#65)
Added a basic lua profiler
If the game is compiled with LUA_PROFILER=1, displays on screen the average execution time per frame of each active lua mod, in microseconds.
Added object functions
For some reasons, accessing the object fields obj.o* via lua is rather slow, and can drastically increase execution time of custom behaviors. For basic stuff like setting an object's velocity or moving it, some functions, missing from the original code, have been added:
s32 obj_is_valid_for_interaction(struct Object *o): returns 1 if an object is valid for interaction, i.e. active, tangible and not interacted.
s32 obj_check_hitbox_overlap(struct Object *o1, struct Object *o2): returns 1 if two objects hitboxes overlap. Doesn't check tangibility, only hitbox values.
void obj_set_vel(struct Object *o, f32 vx, f32 vy, f32 vz): sets an object's velocity.
void obj_move_xyz(struct Object *o, f32 dx, f32 dy, f32 dz): moves an object position by (dx, dy, dz).
Bug fixes:
Disable collisions with walls and ceilings after Mario exits a warp pipe to prevent softlocks in narrow places.
Make the koopa shell exclamation box respawn after some time.
Quicksand no longer downwarps and instant-kills Mario if he's shocked while being above it.
2022-04-20 18:20:45 +00:00
|
|
|
function obj_check_hitbox_overlap(o1, o2)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param h number
|
|
|
|
--- @param r number
|
|
|
|
--- @param d number
|
|
|
|
--- @return boolean
|
|
|
|
function obj_check_overlap_with_hitbox_params(o, x, y, z, h, r, d)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-29 03:42:29 +00:00
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @return integer
|
|
|
|
function obj_count_objects_with_behavior_id(behaviorId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-26 01:43:07 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @param index integer
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_collided_object(o, index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param objList ObjectList
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_first(objList)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_first_with_behavior_id(behaviorId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @param fieldIndex integer
|
|
|
|
--- @param value number
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_first_with_behavior_id_and_field_f32(behaviorId, fieldIndex, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @param fieldIndex integer
|
|
|
|
--- @param value integer
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_first_with_behavior_id_and_field_s32(behaviorId, fieldIndex, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-29 03:42:29 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_nearest_object_with_behavior_id(o, behaviorId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_next(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_next_with_same_behavior_id(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param fieldIndex integer
|
|
|
|
--- @param value number
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_next_with_same_behavior_id_and_field_f32(o, fieldIndex, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param fieldIndex integer
|
|
|
|
--- @param value integer
|
|
|
|
--- @return Object
|
|
|
|
function obj_get_next_with_same_behavior_id_and_field_s32(o, fieldIndex, value)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param modelId ModelExtendedId
|
|
|
|
--- @return SpawnParticlesInfo
|
|
|
|
function obj_get_temp_spawn_particles_info(modelId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @return integer
|
|
|
|
function obj_has_behavior_id(o, behaviorId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param modelId ModelExtendedId
|
|
|
|
--- @return integer
|
|
|
|
function obj_has_model_extended(o, modelId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-11-12 13:01:50 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_attackable(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_breakable_object(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_bully(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_coin(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_exclamation_box(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_grabbable(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_mushroom_1up(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @return boolean
|
|
|
|
function obj_is_secret(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
Added lua profiler; Added useful object functions; Bug fixes (#65)
Added a basic lua profiler
If the game is compiled with LUA_PROFILER=1, displays on screen the average execution time per frame of each active lua mod, in microseconds.
Added object functions
For some reasons, accessing the object fields obj.o* via lua is rather slow, and can drastically increase execution time of custom behaviors. For basic stuff like setting an object's velocity or moving it, some functions, missing from the original code, have been added:
s32 obj_is_valid_for_interaction(struct Object *o): returns 1 if an object is valid for interaction, i.e. active, tangible and not interacted.
s32 obj_check_hitbox_overlap(struct Object *o1, struct Object *o2): returns 1 if two objects hitboxes overlap. Doesn't check tangibility, only hitbox values.
void obj_set_vel(struct Object *o, f32 vx, f32 vy, f32 vz): sets an object's velocity.
void obj_move_xyz(struct Object *o, f32 dx, f32 dy, f32 dz): moves an object position by (dx, dy, dz).
Bug fixes:
Disable collisions with walls and ceilings after Mario exits a warp pipe to prevent softlocks in narrow places.
Make the koopa shell exclamation box respawn after some time.
Quicksand no longer downwarps and instant-kills Mario if he's shocked while being above it.
2022-04-20 18:20:45 +00:00
|
|
|
--- @param o Object
|
2022-08-06 05:17:05 +00:00
|
|
|
--- @return boolean
|
Added lua profiler; Added useful object functions; Bug fixes (#65)
Added a basic lua profiler
If the game is compiled with LUA_PROFILER=1, displays on screen the average execution time per frame of each active lua mod, in microseconds.
Added object functions
For some reasons, accessing the object fields obj.o* via lua is rather slow, and can drastically increase execution time of custom behaviors. For basic stuff like setting an object's velocity or moving it, some functions, missing from the original code, have been added:
s32 obj_is_valid_for_interaction(struct Object *o): returns 1 if an object is valid for interaction, i.e. active, tangible and not interacted.
s32 obj_check_hitbox_overlap(struct Object *o1, struct Object *o2): returns 1 if two objects hitboxes overlap. Doesn't check tangibility, only hitbox values.
void obj_set_vel(struct Object *o, f32 vx, f32 vy, f32 vz): sets an object's velocity.
void obj_move_xyz(struct Object *o, f32 dx, f32 dy, f32 dz): moves an object position by (dx, dy, dz).
Bug fixes:
Disable collisions with walls and ceilings after Mario exits a warp pipe to prevent softlocks in narrow places.
Make the koopa shell exclamation box respawn after some time.
Quicksand no longer downwarps and instant-kills Mario if he's shocked while being above it.
2022-04-20 18:20:45 +00:00
|
|
|
function obj_is_valid_for_interaction(o)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param o Object
|
|
|
|
--- @param dx number
|
|
|
|
--- @param dy number
|
|
|
|
--- @param dz number
|
|
|
|
--- @return nil
|
|
|
|
function obj_move_xyz(o, dx, dy, dz)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @param modelId ModelExtendedId
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_model_extended(o, modelId)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
Added lua profiler; Added useful object functions; Bug fixes (#65)
Added a basic lua profiler
If the game is compiled with LUA_PROFILER=1, displays on screen the average execution time per frame of each active lua mod, in microseconds.
Added object functions
For some reasons, accessing the object fields obj.o* via lua is rather slow, and can drastically increase execution time of custom behaviors. For basic stuff like setting an object's velocity or moving it, some functions, missing from the original code, have been added:
s32 obj_is_valid_for_interaction(struct Object *o): returns 1 if an object is valid for interaction, i.e. active, tangible and not interacted.
s32 obj_check_hitbox_overlap(struct Object *o1, struct Object *o2): returns 1 if two objects hitboxes overlap. Doesn't check tangibility, only hitbox values.
void obj_set_vel(struct Object *o, f32 vx, f32 vy, f32 vz): sets an object's velocity.
void obj_move_xyz(struct Object *o, f32 dx, f32 dy, f32 dz): moves an object position by (dx, dy, dz).
Bug fixes:
Disable collisions with walls and ceilings after Mario exits a warp pipe to prevent softlocks in narrow places.
Make the koopa shell exclamation box respawn after some time.
Quicksand no longer downwarps and instant-kills Mario if he's shocked while being above it.
2022-04-20 18:20:45 +00:00
|
|
|
--- @param o Object
|
|
|
|
--- @param vx number
|
|
|
|
--- @param vy number
|
|
|
|
--- @param vz number
|
|
|
|
--- @return nil
|
|
|
|
function obj_set_vel(o, vx, vy, vz)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-02-08 21:40:41 +00:00
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param strength integer
|
|
|
|
--- @param area integer
|
|
|
|
--- @param index integer
|
|
|
|
--- @return nil
|
|
|
|
function set_whirlpools(x, y, z, strength, area, index)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @param modelId ModelExtendedId
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param objSetupFunction function
|
|
|
|
--- @return Object
|
|
|
|
function spawn_non_sync_object(behaviorId, modelId, x, y, z, objSetupFunction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param behaviorId BehaviorId
|
|
|
|
--- @param modelId ModelExtendedId
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @param objSetupFunction function
|
|
|
|
--- @return Object
|
|
|
|
function spawn_sync_object(behaviorId, modelId, x, y, z, objSetupFunction)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 23:42:27 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param actNum integer
|
|
|
|
--- @return string
|
|
|
|
function smlua_text_utils_act_name_get(courseNum, actNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param actNum integer
|
2023-11-20 23:53:33 +00:00
|
|
|
--- @return integer
|
|
|
|
function smlua_text_utils_act_name_mod_index(courseNum, actNum)
|
2023-10-27 23:42:27 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param actNum integer
|
|
|
|
--- @param name string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_act_name_replace(courseNum, actNum, name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param actNum integer
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_act_name_reset(courseNum, actNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 06:28:36 +00:00
|
|
|
--- @param name string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_castle_secret_stars_replace(name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param courseName string
|
|
|
|
--- @param act1 string
|
|
|
|
--- @param act2 string
|
|
|
|
--- @param act3 string
|
|
|
|
--- @param act4 string
|
|
|
|
--- @param act5 string
|
|
|
|
--- @param act6 string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_course_acts_replace(courseNum, courseName, act1, act2, act3, act4, act5, act6)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-10-27 23:42:27 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @return string
|
|
|
|
function smlua_text_utils_course_name_get(courseNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @return integer
|
|
|
|
function smlua_text_utils_course_name_mod_index(courseNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param name string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_course_name_replace(courseNum, name)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param courseNum integer
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_course_name_reset(courseNum)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 06:28:36 +00:00
|
|
|
--- @param dialogId DialogId
|
|
|
|
--- @param unused integer
|
|
|
|
--- @param linesPerBox integer
|
|
|
|
--- @param leftOffset integer
|
|
|
|
--- @param width integer
|
|
|
|
--- @param str string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_dialog_replace(dialogId, unused, linesPerBox, leftOffset, width, str)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param index integer
|
|
|
|
--- @param text string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_extra_text_replace(index, text)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2023-04-01 07:04:45 +00:00
|
|
|
--- @return string
|
|
|
|
function smlua_text_utils_get_language()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-10 06:28:36 +00:00
|
|
|
--- @param courseNum integer
|
|
|
|
--- @param courseName string
|
|
|
|
--- @return nil
|
|
|
|
function smlua_text_utils_secret_star_replace(courseNum, courseName)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
|
|
|
function disable_background_sound()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function enable_background_sound()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function fadeout_cap_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fadeTimer integer
|
|
|
|
--- @return nil
|
|
|
|
function fadeout_level_music(fadeTimer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param fadeOutTime integer
|
|
|
|
--- @return nil
|
|
|
|
function fadeout_music(fadeOutTime)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a integer
|
|
|
|
--- @return nil
|
|
|
|
function lower_background_noise(a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param seqArgs integer
|
|
|
|
--- @return nil
|
|
|
|
function play_cap_music(seqArgs)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param seqArgs integer
|
|
|
|
--- @return nil
|
|
|
|
function play_cutscene_music(seqArgs)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_infinite_stairs_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param soundMenuFlags integer
|
|
|
|
--- @return nil
|
|
|
|
function play_menu_sounds(soundMenuFlags)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_painting_eject_sound()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function play_shell_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a integer
|
|
|
|
--- @return nil
|
|
|
|
function raise_background_noise(a)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function reset_volume()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param a integer
|
|
|
|
--- @param seqArgs integer
|
|
|
|
--- @param fadeTimer integer
|
|
|
|
--- @return nil
|
|
|
|
function set_background_music(a, seqArgs, fadeTimer)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function stop_cap_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function stop_shell_music()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param distance number
|
|
|
|
--- @return integer
|
|
|
|
function calc_dist_to_volume_range_1(distance)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param distance number
|
|
|
|
--- @return integer
|
|
|
|
function calc_dist_to_volume_range_2(distance)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param soundMagic integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_play_sound_1(soundMagic)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param soundMagic integer
|
|
|
|
--- @return nil
|
|
|
|
function cur_obj_play_sound_2(soundMagic)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param soundStates SoundState
|
2023-05-06 06:59:58 +00:00
|
|
|
--- @param maxSoundStates integer
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @return nil
|
2023-05-06 06:59:58 +00:00
|
|
|
function exec_anim_sound_state(soundStates, maxSoundStates)
|
2022-03-13 05:28:57 +00:00
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return number
|
|
|
|
function find_ceil_height(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param y number
|
|
|
|
--- @param z number
|
|
|
|
--- @return number
|
|
|
|
function find_floor_height(x, y, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param z number
|
|
|
|
--- @return number
|
|
|
|
function find_poison_gas_level(x, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param colData WallCollisionData
|
|
|
|
--- @return integer
|
|
|
|
function find_wall_collisions(colData)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param x number
|
|
|
|
--- @param z number
|
|
|
|
--- @return number
|
|
|
|
function find_water_level(x, z)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function alloc_surface_pools()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function clear_dynamic_surfaces()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param data Pointer_integer
|
|
|
|
--- @return integer
|
|
|
|
function get_area_terrain_size(data)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @param index integer
|
|
|
|
--- @param data Pointer_integer
|
|
|
|
--- @param surfaceRooms Pointer_integer
|
|
|
|
--- @param macroObjects Pointer_integer
|
|
|
|
--- @return nil
|
|
|
|
function load_area_terrain(index, data, surfaceRooms, macroObjects)
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
|
|
|
--- @return nil
|
|
|
|
function load_object_collision_model()
|
|
|
|
-- ...
|
|
|
|
end
|
|
|
|
|
2022-04-07 01:36:15 +00:00
|
|
|
--- @class Pointer_integer
|
2022-03-13 05:28:57 +00:00
|
|
|
--- @class Pointer_BehaviorScript
|
|
|
|
--- @class Pointer_number
|
2022-11-30 08:37:12 +00:00
|
|
|
--- @class Pointer_Vec4s
|
|
|
|
--- @class Pointer_Mtx
|
2022-04-09 06:01:41 +00:00
|
|
|
--- @class Pointer_Trajectory
|
2023-05-06 06:59:58 +00:00
|
|
|
--- @class Pointer_Collision
|