mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 12:01:43 +00:00
Fix improper renames
This commit is contained in:
parent
125dce970f
commit
f6228c94a9
4 changed files with 442 additions and 391 deletions
|
|
@ -123,10 +123,9 @@ spoof_function_returns = [
|
|||
"turn_obj_away_from_steep_floor",
|
||||
]
|
||||
|
||||
# This is here until I figure out how to automatically check
|
||||
# if a function is not implemented
|
||||
struct_functions_disallow = [
|
||||
"common_landing_cancels"
|
||||
"common_landing_cancels",
|
||||
"cur_obj_start_cam_event",
|
||||
]
|
||||
|
||||
def extract_integer_datatype(c_type):
|
||||
|
|
|
|||
|
|
@ -182,13 +182,63 @@ reversed_override_types = {v: k for k, v in override_types.items()}
|
|||
|
||||
extracted_functions = get_extracted_functions(True)
|
||||
|
||||
make_struct_methods = {
|
||||
"MarioState": { "remove": ["mario"] },
|
||||
"Object": { "remove": ["object", "obj"] },
|
||||
"Surface": { "remove": ["surface"] },
|
||||
"Camera": { "remove": ["camera"] },
|
||||
"ModAudio": { "remove": ["audio"] },
|
||||
"NetworkPlayer": { "remove": ["network_player"] },
|
||||
remove_from_struct_methods = {
|
||||
"MarioState": ["mario"],
|
||||
"Object": ["object", "obj"],
|
||||
"Surface": ["surface"],
|
||||
"Camera": ["camera"],
|
||||
"ModAudio": ["audio"],
|
||||
"NetworkPlayer": ["network_player"],
|
||||
}
|
||||
|
||||
override_struct_method_name = {
|
||||
# Prevent renaming altogether
|
||||
"is_nearest_player_to_object": "is_nearest_player_to_object",
|
||||
|
||||
# Minimally rename, referring to self once necessary
|
||||
"obj_is_near_to_and_facing_mario": "obj_is_near_to_and_facing_self",
|
||||
"obj_turn_pitch_toward_mario": "obj_turn_pitch_toward_self",
|
||||
"cur_obj_lateral_dist_from_obj_to_home": "cur_obj_lateral_dist_from_self_to_home",
|
||||
|
||||
# Reordered names to make sense for methods
|
||||
"cur_obj_can_mario_activate_textbox": "can_activate_textbox_with_cur_obj",
|
||||
"cur_obj_can_mario_activate_textbox_2": "can_activate_textbox_with_cur_obj_2",
|
||||
"cur_obj_end_dialog": "end_dialog_with_cur_obj",
|
||||
"cur_obj_set_vel_from_mario_vel": "set_vel_to_cur_obj_vel",
|
||||
"cur_obj_spawn_loot_coin_at_mario_pos": "spawn_loot_coin_at_pos_from_cur_obj",
|
||||
"cur_obj_set_pos_relative": "set_pos_relative_to_cur_obj",
|
||||
|
||||
# Makes more grammatical sense once converted to a method
|
||||
"does_mario_have_blown_cap": "has_blown_cap",
|
||||
"does_mario_have_normal_cap_on_head": "has_normal_cap_on_head",
|
||||
"dist_between_object_and_point": "dist_to_point",
|
||||
"dist_between_objects": "dist_to_object",
|
||||
"obj_is_mario_ground_pounding_platform": "is_ground_pounding_platform",
|
||||
"lateral_dist_between_objects": "lateral_dist_to_object",
|
||||
|
||||
# Contains unnecessary words after being converted
|
||||
"init_single_mario": "init",
|
||||
"is_nearest_mario_state_to_object": "is_nearest_to_object",
|
||||
"is_player_active": "is_active",
|
||||
"is_player_in_local_area": "is_in_local_area",
|
||||
"mario_obj_angle_to_object": "angle_to_object",
|
||||
"cur_obj_disable_rendering_and_become_intangible": "disable_rendering_and_become_intangible",
|
||||
"cur_obj_enable_rendering_and_become_tangible": "enable_rendering_and_become_tangible",
|
||||
"get_mario_state_from_object": "get_mario_state",
|
||||
"is_point_close_to_object": "is_point_close",
|
||||
"nearest_interacting_mario_state_to_object": "nearest_interacting_mario_state",
|
||||
"nearest_interacting_player_to_object": "nearest_interacting_player",
|
||||
"nearest_mario_state_to_object": "nearest_mario_state",
|
||||
"nearest_player_to_object": "nearest_player",
|
||||
"nearest_possible_mario_state_to_object": "nearest_possible_mario_state",
|
||||
|
||||
# Removed necessary words after being converted, so add back in
|
||||
"obj_angle_to_object": "angle_to_object",
|
||||
"obj_attack_collided_from_other_object": "attack_collided_from_other_object",
|
||||
"obj_check_if_collided_with_object": "check_if_collided_with_object",
|
||||
"obj_get_collided_object": "get_collided_object",
|
||||
"obj_pitch_to_object": "pitch_to_object",
|
||||
"obj_turn_toward_object": "turn_toward_object",
|
||||
}
|
||||
|
||||
total_structs = 0
|
||||
|
|
@ -295,7 +345,7 @@ def table_to_string(table):
|
|||
return s, count
|
||||
|
||||
def extracted_functions_info(sid, processed_files):
|
||||
for struct_with_methods, method_info in make_struct_methods.items():
|
||||
for struct_with_methods, remove_texts in remove_from_struct_methods.items():
|
||||
if sid != struct_with_methods:
|
||||
continue
|
||||
|
||||
|
|
@ -303,7 +353,7 @@ def extracted_functions_info(sid, processed_files):
|
|||
for func in file["functions"]:
|
||||
if len(func["params"]) == 0:
|
||||
continue
|
||||
|
||||
|
||||
first_param_type = func["params"][0]["type"]
|
||||
if first_param_type != f"struct {struct_with_methods}*":
|
||||
continue
|
||||
|
|
@ -315,17 +365,21 @@ def extracted_functions_info(sid, processed_files):
|
|||
if real_name in struct_functions_disallow:
|
||||
continue
|
||||
|
||||
for remove_text in method_info["remove"]:
|
||||
text_pos = trimmed_name.find(remove_text)
|
||||
for text in remove_texts:
|
||||
text_pos = trimmed_name.find(text)
|
||||
if text_pos == -1:
|
||||
continue
|
||||
|
||||
remove_text_length = len(remove_text)
|
||||
remove_text_length = len(text)
|
||||
if trimmed_name[text_pos - 1] == "_":
|
||||
trimmed_name = trimmed_name[:text_pos - 1] + trimmed_name[text_pos + remove_text_length:]
|
||||
elif trimmed_name[text_pos + remove_text_length] == "_":
|
||||
trimmed_name = trimmed_name[:text_pos] + trimmed_name[text_pos + remove_text_length + 1:]
|
||||
|
||||
for name, override in override_struct_method_name.items():
|
||||
if real_name == name:
|
||||
trimmed_name = override
|
||||
|
||||
yield trimmed_name, real_name, description
|
||||
|
||||
############################################################################
|
||||
|
|
|
|||
|
|
@ -1235,14 +1235,14 @@
|
|||
--- @field public interact_cap fun(m: MarioState, interactType: integer, o: Object): boolean Handles interaction when Mario picks up a cap object. This includes normal caps, wing caps, vanish caps, and metal caps. Updates Mario's state (e.g., cap timers, sound effects) and may initiate putting on the cap animation. Useful for managing cap statuses
|
||||
--- @field public interact_grabbable fun(m: MarioState, interactType: integer, o: Object): boolean Handles interaction with grabbable objects (e.g., crates, small enemies, or Bowser). Checks if Mario can pick up the object and initiates the grab action if possible. Useful for course mechanics, throwing items, and Bowser
|
||||
--- @field public interact_text fun(m: MarioState, interactType: integer, o: Object): boolean Handles interaction with signs, NPCs, and other text-bearing objects. If Mario presses the interact button facing them, he enters a dialog reading state. Useful for managing hints, story elements, or gameplay instructions through in-game dialogue
|
||||
--- @field public obj_angle_to_object fun(m: MarioState, o: Object): integer Calculates the angle between Mario and a specified object. Used for determining Mario's orientation relative to the object. Useful for deciding directions between Mario and NPCs
|
||||
--- @field public angle_to_object fun(m: MarioState, o: Object): integer Calculates the angle between Mario and a specified object. Used for determining Mario's orientation relative to the object. Useful for deciding directions between Mario and NPCs
|
||||
--- @field public stop_riding_object fun(m: MarioState) Stops Mario from riding any currently ridden object (e.g., a Koopa shell or Hoot), updating the object's interaction status and Mario's state. Useful for cleanly dismounting ridden objects
|
||||
--- @field public grab_used_object fun(m: MarioState) Grabs the object currently referenced by Mario's `usedObj` if it's not already being held. Changes the object's state to indicate it is now held by Mario. Useful for handling the moment Mario successfully picks up an object
|
||||
--- @field public drop_held_object fun(m: MarioState) Causes Mario to drop the object he is currently holding. Sets the held object's state accordingly and places it in front of Mario. Useful for releasing carried objects, such as throwing Bob-ombs or setting down crates
|
||||
--- @field public throw_held_object fun(m: MarioState) Throws the object Mario is currently holding. The object is placed in front of Mario and given a forward velocity. Useful for attacking enemies with thrown objects, solving puzzles by throwing crates, or interacting with environment items
|
||||
--- @field public stop_riding_and_holding fun(m: MarioState) Causes Mario to stop riding any object (like a shell or Hoot) and also drop any held object. Resets related states to ensure Mario is no longer attached to or holding anything. Useful when changing Mario's state after certain actions, transitions, or to prevent exploits
|
||||
--- @field public does_have_normal_cap_on_head fun(m: MarioState): boolean Checks if Mario is currently wearing his normal cap on his head. Returns true if Mario's flag state matches that of having the normal cap equipped on his head, otherwise false. Useful for determining Mario's cap status
|
||||
--- @field public does_have_blown_cap fun(m: MarioState): boolean Checks if Mario has already had a cap blown off of his head in the current level, Returns true if a blown cap can be found for Mario, false if not. Useful to check if a blown cap exists in the level currently.
|
||||
--- @field public has_normal_cap_on_head fun(m: MarioState): boolean Checks if Mario is currently wearing his normal cap on his head. Returns true if Mario's flag state matches that of having the normal cap equipped on his head, otherwise false. Useful for determining Mario's cap status
|
||||
--- @field public has_blown_cap fun(m: MarioState): boolean Checks if Mario has already had a cap blown off of his head in the current level, Returns true if a blown cap can be found for Mario, false if not. Useful to check if a blown cap exists in the level currently.
|
||||
--- @field public blow_off_cap fun(m: MarioState, capSpeed: number) Makes Mario blow off his normal cap at a given speed. Removes the normal cap from Mario's head and spawns it as a collectible object in the game world. Useful for simulating events where Mario loses his cap due to enemy attacks or environmental forces
|
||||
--- @field public lose_cap_to_enemy fun(m: MarioState, arg: integer): boolean Makes Mario lose his normal cap to an enemy, such as Klepto or Ukiki. Updates flags so that the cap is no longer on Mario's head. Returns true if Mario was wearing his normal cap, otherwise false. Useful for scenarios where enemies steal Mario's cap
|
||||
--- @field public retrieve_cap fun(m: MarioState) Retrieves Mario's normal cap if it was previously lost. Removes the cap from Mario's hand state and places it on his head. Useful when Mario recovers his normal cap from enemies, finds it in a level, or if it were to disappear
|
||||
|
|
@ -1299,7 +1299,7 @@
|
|||
--- @field public transition_submerged_to_walking fun(m: MarioState): boolean Transitions Mario from being underwater to a walking state. Resets camera to the default mode and can handle object-holding states. Useful for restoring standard ground movement when emerging from water
|
||||
--- @field public set_water_plunge_action fun(m: MarioState): boolean Transitions Mario into a "water plunge" action, used when he enters water from above. Adjusts position, velocity, and camera mode
|
||||
--- @field public force_idle_state fun(m: MarioState): boolean Forces Mario into an idle state, either `ACT_IDLE` or `ACT_WATER_IDLE` depending on whether he is submerged. Useful for quickly resetting Mario's state to an idle pose under special conditions (e.g., cutscene triggers)
|
||||
--- @field public init_single fun(m: MarioState) Initializes the fields of a single `MarioState` structure when the player spawns or respawns. Sets starting position, velocity, action, and various internal flags
|
||||
--- @field public init fun(m: MarioState) Initializes the fields of a single `MarioState` structure when the player spawns or respawns. Sets starting position, velocity, action, and various internal flags
|
||||
--- @field public set_particle_flags fun(m: MarioState, flags: integer, clear: integer) Sets Mario's particle flags to spawn various visual effects (dust, water splashes, etc.), with an option to clear or set new flags
|
||||
--- @field public update_wall fun(m: MarioState, wcd: WallCollisionData) Updates Mario's wall information based on wall collisions (`WallCollisionData`). Chooses the most relevant wall depending on the level's collision fix settings
|
||||
--- @field public play_flip_sounds fun(m: MarioState, frame1: integer, frame2: integer, frame3: integer) Plays a spinning sound at specific animation frames for flips (usually side flips or certain jump flips). If the current animation frame matches any of the specified frames, it triggers `SOUND_ACTION_SPIN`
|
||||
|
|
@ -1412,19 +1412,19 @@
|
|||
--- @field public spline_get_weights fun(m: MarioState, result: Vec4f, t: number, c: integer) Computes spline interpolation weights for a given parameter `t` and stores these weights in `result`. This is used in spline-based animations to find intermediate positions between keyframes
|
||||
--- @field public anim_spline_init fun(m: MarioState, keyFrames: Pointer_Vec4s) Initializes a spline-based animation for the `MarioState` structure `m` using the provided array of 3D signed-integer vectors `keyFrames`. This sets up the animation so that it can be advanced by polling
|
||||
--- @field public anim_spline_poll fun(m: MarioState, result: Vec3f): boolean Advances the spline-based animation associated with `m` and stores the current interpolated position in `result`. It returns the animation's status, allowing the caller to determine if the animation is ongoing or has completed
|
||||
--- @field public is_player_active fun(m: MarioState): boolean Checks if `m` is in the current course/act/level/area and isn't bubbled
|
||||
--- @field public is_player_in_local_area fun(m: MarioState): boolean Checks if `m` is in the current course/act/level/area
|
||||
--- @field public is_nearest_state_to_object fun(m: MarioState, obj: Object): boolean Checks if `m` is the nearest Mario to `obj`
|
||||
--- @field public obj_is_near_to_and_facing fun(m: MarioState, maxDist: number, maxAngleDiff: integer): boolean Checks if the current object is in `maxDist` to `m` and the angle difference is less than `maxAngleDiff`
|
||||
--- @field public obj_turn_pitch_toward fun(m: MarioState, targetOffsetY: number, turnAmount: integer): integer Turns the current object towards `m` by `turnAmount` and subtracts and adds `targetOffsetY` to the Y position, effectively cancelling any effect out
|
||||
--- @field public cur_obj_set_vel_from_vel fun(m: MarioState, f12: number, f14: number)
|
||||
--- @field public is_active fun(m: MarioState): boolean Checks if `m` is in the current course/act/level/area and isn't bubbled
|
||||
--- @field public is_in_local_area fun(m: MarioState): boolean Checks if `m` is in the current course/act/level/area
|
||||
--- @field public is_nearest_to_object fun(m: MarioState, obj: Object): boolean Checks if `m` is the nearest Mario to `obj`
|
||||
--- @field public obj_is_near_to_and_facing_self fun(m: MarioState, maxDist: number, maxAngleDiff: integer): boolean Checks if the current object is in `maxDist` to `m` and the angle difference is less than `maxAngleDiff`
|
||||
--- @field public obj_turn_pitch_toward_self fun(m: MarioState, targetOffsetY: number, turnAmount: integer): integer Turns the current object towards `m` by `turnAmount` and subtracts and adds `targetOffsetY` to the Y position, effectively cancelling any effect out
|
||||
--- @field public set_vel_to_cur_obj_vel fun(m: MarioState, f12: number, f14: number)
|
||||
--- @field public is_in_air_action fun(m: MarioState): boolean
|
||||
--- @field public is_dive_sliding fun(m: MarioState): boolean
|
||||
--- @field public cur_obj_spawn_loot_coin_at_pos fun(m: MarioState)
|
||||
--- @field public obj_is_ground_pounding_platform fun(m: MarioState, obj: Object): boolean
|
||||
--- @field public cur_obj_can_activate_textbox fun(m: MarioState, radius: number, height: number, unused: integer): boolean
|
||||
--- @field public cur_obj_can_activate_textbox_2 fun(m: MarioState, radius: number, height: number): boolean
|
||||
--- @field public cur_obj_end_dialog fun(m: MarioState, dialogFlags: integer, dialogResult: integer)
|
||||
--- @field public spawn_loot_coin_at_pos_from_cur_obj fun(m: MarioState)
|
||||
--- @field public is_ground_pounding_platform fun(m: MarioState, obj: Object): boolean
|
||||
--- @field public can_activate_textbox_with_cur_obj fun(m: MarioState, radius: number, height: number, unused: integer): boolean
|
||||
--- @field public can_activate_textbox_with_cur_obj_2 fun(m: MarioState, radius: number, height: number): boolean
|
||||
--- @field public end_dialog_with_cur_obj fun(m: MarioState, dialogFlags: integer, dialogResult: integer)
|
||||
--- @field public queue_rumble_data fun(m: MarioState, a0: integer, a1: integer) Queues rumble data for Mario
|
||||
--- @field public reset_rumble_timers fun(m: MarioState) Resets rumble timers
|
||||
--- @field public reset_rumble_timers_2 fun(m: MarioState, a0: integer) Resets rumble timers and sets a field based on `a0`
|
||||
|
|
@ -2346,16 +2346,16 @@
|
|||
--- @field public get_mario_cap_flag fun(capObject: Object): integer Determines the type of cap an object represents. Depending on the object's behavior, it returns a cap type (normal, metal, wing, vanish). Useful for handling the logic of picking up, wearing, or losing different kinds of caps
|
||||
--- @field public find_mario_anim_flags_and_translation fun(o: Object, yaw: integer, translation: Vec3s): integer Retrieves the current animation flags and calculates the translation for Mario's animation, rotating it into the global coordinate system based on `yaw`. Useful for determining positional offsets from animations (e.g., stepping forward in a walk animation) and applying them to Mario's position
|
||||
--- @field public execute_mario_action fun(o: Object): integer Main driver for Mario's behavior. Executes the current action group (stationary, moving, airborne, etc.) in a loop until no further action changes are necessary
|
||||
--- @field public get_mario_state_from fun(o: Object): MarioState Gets the MarioState corresponding to the provided object if the object is a Mario object
|
||||
--- @field public get_mario_state fun(o: Object): MarioState Gets the MarioState corresponding to the provided object if the object is a Mario object
|
||||
--- @field public orient_graph fun(obj: Object, normalX: number, normalY: number, normalZ: number) Orients an object with the given normals, typically the surface under the object.
|
||||
--- @field public move_xyz_using_fvel_and_yaw fun(obj: Object) Don't use this function outside of of a context where the current object and `obj` are the same. Moves `obj` based on a seemingly random mix of using either the current obj or `obj`'s fields
|
||||
--- @field public nearest_mario_state_to fun(obj: Object): MarioState Gets the nearest active Mario who isn't bubbled to `obj`
|
||||
--- @field public nearest_possible_mario_state_to fun(obj: Object): MarioState Gets the nearest possible Mario to `obj` despite anything like bubbled state or enemy visibility
|
||||
--- @field public nearest_player_to fun(obj: Object): Object Gets the nearest player (Mario Object) to `obj`
|
||||
--- @field public nearest_interacting_mario_state_to fun(obj: Object): MarioState Gets the nearest interacting Mario to `obj`
|
||||
--- @field public nearest_interacting_player_to fun(obj: Object): Object Gets the nearest interacting player (Mario Object) to `obj`
|
||||
--- @field public is_nearest_player_to fun(m: Object, obj: Object): boolean Checks if `m` is the nearest player (Mario Object) to `obj`
|
||||
--- @field public is_point_close_to fun(obj: Object, x: number, y: number, z: number, dist: integer): boolean Checks if a point is within `dist` of `obj`
|
||||
--- @field public nearest_mario_state fun(obj: Object): MarioState Gets the nearest active Mario who isn't bubbled to `obj`
|
||||
--- @field public nearest_possible_mario_state fun(obj: Object): MarioState Gets the nearest possible Mario to `obj` despite anything like bubbled state or enemy visibility
|
||||
--- @field public nearest_player fun(obj: Object): Object Gets the nearest player (Mario Object) to `obj`
|
||||
--- @field public nearest_interacting_mario_state fun(obj: Object): MarioState Gets the nearest interacting Mario to `obj`
|
||||
--- @field public nearest_interacting_player fun(obj: Object): Object Gets the nearest interacting player (Mario Object) to `obj`
|
||||
--- @field public is_nearest_player_to_object fun(m: Object, obj: Object): boolean Checks if `m` is the nearest player (Mario Object) to `obj`
|
||||
--- @field public is_point_close fun(obj: Object, x: number, y: number, z: number, dist: integer): boolean Checks if a point is within `dist` of `obj`
|
||||
--- @field public set_visibility fun(obj: Object, dist: integer) Sets an object as visible if within a certain distance of Mario's graphical position
|
||||
--- @field public return_home_if_safe fun(obj: Object, homeX: number, y: number, homeZ: number, dist: integer): boolean Turns an object towards home if Mario is not near to it
|
||||
--- @field public return_and_displace_home fun(obj: Object, homeX: number, homeY: number, homeZ: number, baseDisp: integer) Randomly displaces an objects home if RNG says to, and turns the object towards its home
|
||||
|
|
@ -2363,13 +2363,13 @@
|
|||
--- @field public flicker_and_disappear fun(obj: Object, lifeSpan: integer): boolean Controls whether certain objects should flicker/when to despawn
|
||||
--- @field public apply_scale_to_matrix fun(obj: Object, dst: Mat4, src: Mat4)
|
||||
--- @field public set_held_state fun(obj: Object, heldBehavior: Pointer_BehaviorScript)
|
||||
--- @field public lateral_dist_betweens fun(obj1: Object, obj2: Object): number
|
||||
--- @field public dist_betweens fun(obj1: Object, obj2: Object): number
|
||||
--- @field public dist_between_and_point fun(obj: Object, pointX: number, pointY: number, pointZ: number): number
|
||||
--- @field public angle_to fun(obj1: Object, obj2: Object): integer
|
||||
--- @field public pitch_to fun(obj: Object, target: Object): integer
|
||||
--- @field public lateral_dist_to_object fun(obj1: Object, obj2: Object): number
|
||||
--- @field public dist_to_object fun(obj1: Object, obj2: Object): number
|
||||
--- @field public dist_to_point fun(obj: Object, pointX: number, pointY: number, pointZ: number): number
|
||||
--- @field public angle_to_object fun(obj1: Object, obj2: Object): integer
|
||||
--- @field public pitch_to_object fun(obj: Object, target: Object): integer
|
||||
--- @field public angle_to_point fun(obj: Object, pointX: number, pointZ: number): integer
|
||||
--- @field public turn_toward fun(obj: Object, target: Object, angleIndex: integer, turnAmount: integer): integer
|
||||
--- @field public turn_toward_object fun(obj: Object, target: Object, angleIndex: integer, turnAmount: integer): integer
|
||||
--- @field public set_parent_relative_pos fun(obj: Object, relX: integer, relY: integer, relZ: integer)
|
||||
--- @field public set_pos fun(obj: Object, x: integer, y: integer, z: integer)
|
||||
--- @field public set_angle fun(obj: Object, pitch: integer, yaw: integer, roll: integer)
|
||||
|
|
@ -2392,17 +2392,16 @@
|
|||
--- @field public scale fun(obj: Object, scale: number)
|
||||
--- @field public init_animation_with_accel_and_sound fun(obj: Object, animIndex: integer, accel: number)
|
||||
--- @field public init_animation_with_sound function
|
||||
--- @field public cur_enable_rendering_and_become_tangible fun(obj: Object)
|
||||
--- @field public cur_disable_rendering_and_become_intangible fun(obj: Object)
|
||||
--- @field public cur_set_pos_relative fun(other: Object, dleft: number, dy: number, dforward: number)
|
||||
--- @field public enable_rendering_and_become_tangible fun(obj: Object)
|
||||
--- @field public disable_rendering_and_become_intangible fun(obj: Object)
|
||||
--- @field public set_pos_relative_to_cur_obj fun(other: Object, dleft: number, dy: number, dforward: number)
|
||||
--- @field public set_face_angle_to_move_angle fun(obj: Object)
|
||||
--- @field public mark_for_deletion fun(obj: Object) Marks an object to be unloaded at the end of the frame
|
||||
--- @field public become_tangible fun(obj: Object)
|
||||
--- @field public check_if_collided_with fun(obj1: Object, obj2: Object): boolean
|
||||
--- @field public check_if_collided_with_object fun(obj1: Object, obj2: Object): boolean
|
||||
--- @field public set_behavior fun(obj: Object, behavior: Pointer_BehaviorScript)
|
||||
--- @field public has_behavior fun(obj: Object, behavior: Pointer_BehaviorScript): boolean
|
||||
--- @field public cur_lateral_dist_from_obj_to_home fun(obj: Object): number
|
||||
--- @field public cur_start_cam_event fun(obj: Object, cameraEvent: integer)
|
||||
--- @field public cur_obj_lateral_dist_from_self_to_home fun(obj: Object): number
|
||||
--- @field public set_billboard fun(obj: Object)
|
||||
--- @field public set_cylboard fun(obj: Object)
|
||||
--- @field public set_hitbox_radius_and_height fun(o: Object, radius: number, height: number)
|
||||
|
|
@ -2424,7 +2423,7 @@
|
|||
--- @field public set_hitbox fun(obj: Object, hitbox: ObjectHitbox)
|
||||
--- @field public set_collision_data function
|
||||
--- @field public is_hidden fun(obj: Object): boolean
|
||||
--- @field public attack_collided_from_other fun(obj: Object): boolean
|
||||
--- @field public attack_collided_from_other_object fun(obj: Object): boolean
|
||||
--- @field public copy_behavior_params fun(dst: Object, src: Object)
|
||||
--- @field public set_respawn_info_bits fun(obj: Object, bits: integer) Runs an OR operator on the `obj`'s respawn info with `bits` << 8. If `bits` is 0xFF, this prevents the object from respawning after leaving and re-entering the area
|
||||
--- @field public apply_platform_displacement fun(o: Object, platform: Object) Apply one frame of platform rotation to the object using the given platform
|
||||
|
|
@ -2442,7 +2441,7 @@
|
|||
--- @field public get_next_with_same_behavior_id_and_field_s32 fun(o: Object, fieldIndex: integer, value: integer): Object Gets the next object loaded with the same behavior ID and object signed 32-bit integer field (look in `object_fields.h` to get the index of a field)
|
||||
--- @field public get_next_with_same_behavior_id_and_field_f32 fun(o: Object, fieldIndex: integer, value: number): Object Gets the next object loaded with the same behavior ID and object float field (look in `object_fields.h` to get the index of a field)
|
||||
--- @field public get_nearest_with_behavior_id fun(o: Object, behaviorId: BehaviorId): Object Gets the nearest object with `behaviorId` to `o`
|
||||
--- @field public get_collided fun(o: Object, index: integer): Object Gets the corresponding collided object to an index from `o`
|
||||
--- @field public get_collided_object fun(o: Object, index: integer): Object Gets the corresponding collided object to an index from `o`
|
||||
--- @field public get_field_u32 fun(o: Object, fieldIndex: integer): integer Gets the unsigned 32-bit integer value from the field corresponding to `fieldIndex`
|
||||
--- @field public get_field_s32 fun(o: Object, fieldIndex: integer): integer Gets the signed 32-bit integer value from the field corresponding to `fieldIndex`
|
||||
--- @field public get_field_f32 fun(o: Object, fieldIndex: integer): number Sets the float value from the field corresponding to `fieldIndex`
|
||||
|
|
|
|||
|
|
@ -1404,322 +1404,322 @@ static struct LuaObjectField sMarioBodyStateFields[LUA_MARIO_BODY_STATE_FIELD_CO
|
|||
|
||||
#define LUA_MARIO_STATE_FIELD_COUNT 316
|
||||
static struct LuaObjectField sMarioStateFields[LUA_MARIO_STATE_FIELD_COUNT] = {
|
||||
{ "action", LVT_U32, offsetof(struct MarioState, action), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "actionArg", LVT_U32, offsetof(struct MarioState, actionArg), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "actionState", LVT_U16, offsetof(struct MarioState, actionState), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "actionTimer", LVT_U16, offsetof(struct MarioState, actionTimer), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "add_tree_leaf_particles", LVT_FUNCTION, (size_t) "add_tree_leaf_particles", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "adjust_sound_for_speed", LVT_FUNCTION, (size_t) "adjust_sound_for_speed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "align_with_floor", LVT_FUNCTION, (size_t) "align_with_floor", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "analog_stick_held_back", LVT_FUNCTION, (size_t) "analog_stick_held_back_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "angleVel", LVT_COBJECT, offsetof(struct MarioState, angleVel), true, LOT_VEC3S, 1, sizeof(Vec3s) },
|
||||
{ "anim_and_audio_for_heavy_walk", LVT_FUNCTION, (size_t) "anim_and_audio_for_heavy_walk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_and_audio_for_hold_walk", LVT_FUNCTION, (size_t) "anim_and_audio_for_hold_walk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_and_audio_for_walk", LVT_FUNCTION, (size_t) "anim_and_audio_for_walk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_spline_init", LVT_FUNCTION, (size_t) "anim_spline_init", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_spline_poll", LVT_FUNCTION, (size_t) "anim_spline_poll_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "animated_stationary_ground_step", LVT_FUNCTION, (size_t) "animated_stationary_ground_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "animation", LVT_COBJECT_P, offsetof(struct MarioState, animation), false, LOT_MARIOANIMATION, 1, sizeof(struct MarioAnimation*) },
|
||||
{ "apply_landing_accel", LVT_FUNCTION, (size_t) "apply_landing_accel_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_slope_accel", LVT_FUNCTION, (size_t) "apply_slope_accel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_slope_decel", LVT_FUNCTION, (size_t) "apply_slope_decel_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_water_current", LVT_FUNCTION, (size_t) "apply_water_current", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "area", LVT_COBJECT_P, offsetof(struct MarioState, area), true, LOT_AREA, 1, sizeof(struct Area*) },
|
||||
{ "begin_braking_action", LVT_FUNCTION, (size_t) "begin_braking_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "begin_walking_action", LVT_FUNCTION, (size_t) "begin_walking_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "blow_off_cap", LVT_FUNCTION, (size_t) "mario_blow_off_cap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "bonk_reflection", LVT_FUNCTION, (size_t) "mario_bonk_reflection", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "bounceSquishTimer", LVT_U8, offsetof(struct MarioState, bounceSquishTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "bubbleObj", LVT_COBJECT_P, offsetof(struct MarioState, bubbleObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "can_bubble", LVT_FUNCTION, (size_t) "mario_can_bubble", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cap", LVT_U32, offsetof(struct MarioState, cap), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "capTimer", LVT_U16, offsetof(struct MarioState, capTimer), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "ceil", LVT_COBJECT_P, offsetof(struct MarioState, ceil), false, LOT_SURFACE, 1, sizeof(struct Surface*) },
|
||||
{ "ceilHeight", LVT_F32, offsetof(struct MarioState, ceilHeight), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "character", LVT_COBJECT_P, offsetof(struct MarioState, character), false, LOT_CHARACTER, 1, sizeof(struct Character*) },
|
||||
{ "check_common_action_exits", LVT_FUNCTION, (size_t) "check_common_action_exits_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_airborne_cancels", LVT_FUNCTION, (size_t) "check_common_airborne_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_automatic_cancels", LVT_FUNCTION, (size_t) "check_common_automatic_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_hold_action_exits", LVT_FUNCTION, (size_t) "check_common_hold_action_exits_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_hold_idle_cancels", LVT_FUNCTION, (size_t) "check_common_hold_idle_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_idle_cancels", LVT_FUNCTION, (size_t) "check_common_idle_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_landing_cancels", LVT_FUNCTION, (size_t) "check_common_landing_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_moving_cancels", LVT_FUNCTION, (size_t) "check_common_moving_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_object_cancels", LVT_FUNCTION, (size_t) "check_common_object_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_stationary_cancels", LVT_FUNCTION, (size_t) "check_common_stationary_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_fall_damage", LVT_FUNCTION, (size_t) "check_fall_damage_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_fall_damage_or_get_stuck", LVT_FUNCTION, (size_t) "check_fall_damage_or_get_stuck_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_ground_dive_or_punch", LVT_FUNCTION, (size_t) "check_ground_dive_or_punch_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_horizontal_wind", LVT_FUNCTION, (size_t) "check_horizontal_wind_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_kick_or_dive_in_air", LVT_FUNCTION, (size_t) "check_kick_or_dive_in_air_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_ledge_climb_down", LVT_FUNCTION, (size_t) "check_ledge_climb_down_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_object_grab", LVT_FUNCTION, (size_t) "mario_check_object_grab_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_wall_kick", LVT_FUNCTION, (size_t) "check_wall_kick_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "climb_up_ledge", LVT_FUNCTION, (size_t) "climb_up_ledge", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "collidedObjInteractTypes", LVT_U32, offsetof(struct MarioState, collidedObjInteractTypes), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "common_air_action_step", LVT_FUNCTION, (size_t) "common_air_action_step_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_air_knockback_step", LVT_FUNCTION, (size_t) "common_air_knockback_step_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_death_handler", LVT_FUNCTION, (size_t) "common_death_handler", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_ground_knockback_action", LVT_FUNCTION, (size_t) "common_ground_knockback_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_landing_action", LVT_FUNCTION, (size_t) "common_landing_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_slide_action", LVT_FUNCTION, (size_t) "common_slide_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_slide_action_with_jump", LVT_FUNCTION, (size_t) "common_slide_action_with_jump_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "controller", LVT_COBJECT_P, offsetof(struct MarioState, controller), true, LOT_CONTROLLER, 1, sizeof(struct Controller*) },
|
||||
{ "curAnimOffset", LVT_F32, offsetof(struct MarioState, curAnimOffset), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "cur_obj_can_activate_textbox", LVT_FUNCTION, (size_t) "cur_obj_can_mario_activate_textbox_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_obj_can_activate_textbox_2", LVT_FUNCTION, (size_t) "cur_obj_can_mario_activate_textbox_2_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_obj_end_dialog", LVT_FUNCTION, (size_t) "cur_obj_end_dialog", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_obj_set_vel_from_vel", LVT_FUNCTION, (size_t) "cur_obj_set_vel_from_mario_vel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_obj_spawn_loot_coin_at_pos", LVT_FUNCTION, (size_t) "cur_obj_spawn_loot_coin_at_mario_pos", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "currentRoom", LVT_S16, offsetof(struct MarioState, currentRoom), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "cutscene_put_cap_on", LVT_FUNCTION, (size_t) "cutscene_put_cap_on", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cutscene_take_cap_off", LVT_FUNCTION, (size_t) "cutscene_take_cap_off", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "determine_interaction", LVT_FUNCTION, (size_t) "determine_interaction", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "dialogId", LVT_S32, offsetof(struct MarioState, dialogId), true, LOT_NONE, 1, sizeof(s32) },
|
||||
{ "does_have_blown_cap", LVT_FUNCTION, (size_t) "does_mario_have_blown_cap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "does_have_normal_cap_on_head", LVT_FUNCTION, (size_t) "does_mario_have_normal_cap_on_head_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "doubleJumpTimer", LVT_U8, offsetof(struct MarioState, doubleJumpTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "drop_and_set_action", LVT_FUNCTION, (size_t) "drop_and_set_mario_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "drop_held_object", LVT_FUNCTION, (size_t) "mario_drop_held_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_airborne_action", LVT_FUNCTION, (size_t) "mario_execute_airborne_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_automatic_action", LVT_FUNCTION, (size_t) "mario_execute_automatic_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_cutscene_action", LVT_FUNCTION, (size_t) "mario_execute_cutscene_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_moving_action", LVT_FUNCTION, (size_t) "mario_execute_moving_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_object_action", LVT_FUNCTION, (size_t) "mario_execute_object_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_stationary_action", LVT_FUNCTION, (size_t) "mario_execute_stationary_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_submerged_action", LVT_FUNCTION, (size_t) "mario_execute_submerged_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "exit_palette_editor", LVT_FUNCTION, (size_t) "mario_exit_palette_editor_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "faceAngle", LVT_COBJECT, offsetof(struct MarioState, faceAngle), true, LOT_VEC3S, 1, sizeof(Vec3s) },
|
||||
{ "facing_downhill", LVT_FUNCTION, (size_t) "mario_facing_downhill_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "fadeWarpOpacity", LVT_U8, offsetof(struct MarioState, fadeWarpOpacity), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "find_floor_height_relative_polar", LVT_FUNCTION, (size_t) "find_floor_height_relative_polar", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "find_floor_slope", LVT_FUNCTION, (size_t) "find_floor_slope", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "first_person_check_cancels", LVT_FUNCTION, (size_t) "first_person_check_cancels", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "flags", LVT_U32, offsetof(struct MarioState, flags), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "float_surface_gfx", LVT_FUNCTION, (size_t) "float_surface_gfx", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "floor", LVT_COBJECT_P, offsetof(struct MarioState, floor), false, LOT_SURFACE, 1, sizeof(struct Surface*) },
|
||||
{ "floorAngle", LVT_S16, offsetof(struct MarioState, floorAngle), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "floorHeight", LVT_F32, offsetof(struct MarioState, floorHeight), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "floor_is_slippery", LVT_FUNCTION, (size_t) "mario_floor_is_slippery_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "floor_is_slope", LVT_FUNCTION, (size_t) "mario_floor_is_slope_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "floor_is_steep", LVT_FUNCTION, (size_t) "mario_floor_is_steep_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "force_idle_state", LVT_FUNCTION, (size_t) "force_idle_state_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "forwardVel", LVT_F32, offsetof(struct MarioState, forwardVel), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "framesSinceA", LVT_U8, offsetof(struct MarioState, framesSinceA), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "framesSinceB", LVT_U8, offsetof(struct MarioState, framesSinceB), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "freeze", LVT_U8, offsetof(struct MarioState, freeze), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "general_star_dance_handler", LVT_FUNCTION, (size_t) "general_star_dance_handler", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_anim_part_pos", LVT_FUNCTION, (size_t) "get_mario_anim_part_pos", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_anim_part_rot", LVT_FUNCTION, (size_t) "get_mario_anim_part_rot", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_character", LVT_FUNCTION, (size_t) "get_character", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_character_anim", LVT_FUNCTION, (size_t) "get_character_anim", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_character_anim_offset", LVT_FUNCTION, (size_t) "get_character_anim_offset", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_collided_object", LVT_FUNCTION, (size_t) "mario_get_collided_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_floor_class", LVT_FUNCTION, (size_t) "mario_get_floor_class", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_hand_foot_pos_x", LVT_FUNCTION, (size_t) "get_hand_foot_pos_x", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_hand_foot_pos_y", LVT_FUNCTION, (size_t) "get_hand_foot_pos_y", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_hand_foot_pos_z", LVT_FUNCTION, (size_t) "get_hand_foot_pos_z", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_star_collection_dialog", LVT_FUNCTION, (size_t) "get_star_collection_dialog", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_terrain_sound_addend", LVT_FUNCTION, (size_t) "mario_get_terrain_sound_addend", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "grab_used_object", LVT_FUNCTION, (size_t) "mario_grab_used_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "handle_save_menu", LVT_FUNCTION, (size_t) "handle_save_menu", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "healCounter", LVT_U8, offsetof(struct MarioState, healCounter), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "health", LVT_S16, offsetof(struct MarioState, health), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "heldByObj", LVT_COBJECT_P, offsetof(struct MarioState, heldByObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "heldObj", LVT_COBJECT_P, offsetof(struct MarioState, heldObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "hurtCounter", LVT_U8, offsetof(struct MarioState, hurtCounter), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "hurt_and_set_action", LVT_FUNCTION, (size_t) "hurt_and_set_mario_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "init_single", LVT_FUNCTION, (size_t) "init_single_mario", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "input", LVT_U16, offsetof(struct MarioState, input), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "intendedMag", LVT_F32, offsetof(struct MarioState, intendedMag), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "intendedYaw", LVT_S16, offsetof(struct MarioState, intendedYaw), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "interactObj", LVT_COBJECT_P, offsetof(struct MarioState, interactObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "interact_bbh_entrance", LVT_FUNCTION, (size_t) "interact_bbh_entrance_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_bounce_top", LVT_FUNCTION, (size_t) "interact_bounce_top_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_breakable", LVT_FUNCTION, (size_t) "interact_breakable_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_bully", LVT_FUNCTION, (size_t) "interact_bully_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_cannon_base", LVT_FUNCTION, (size_t) "interact_cannon_base_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_cap", LVT_FUNCTION, (size_t) "interact_cap_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_clam_or_bubba", LVT_FUNCTION, (size_t) "interact_clam_or_bubba_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_coin", LVT_FUNCTION, (size_t) "interact_coin_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_damage", LVT_FUNCTION, (size_t) "interact_damage_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_door", LVT_FUNCTION, (size_t) "interact_door_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_flame", LVT_FUNCTION, (size_t) "interact_flame_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_grabbable", LVT_FUNCTION, (size_t) "interact_grabbable_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_hit_from_below", LVT_FUNCTION, (size_t) "interact_hit_from_below_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_hoot", LVT_FUNCTION, (size_t) "interact_hoot_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_igloo_barrier", LVT_FUNCTION, (size_t) "interact_igloo_barrier_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_koopa_shell", LVT_FUNCTION, (size_t) "interact_koopa_shell_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_mr_blizzard", LVT_FUNCTION, (size_t) "interact_mr_blizzard_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_player", LVT_FUNCTION, (size_t) "interact_player_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_pole", LVT_FUNCTION, (size_t) "interact_pole_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_shock", LVT_FUNCTION, (size_t) "interact_shock_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_snufit_bullet", LVT_FUNCTION, (size_t) "interact_snufit_bullet_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_spiny_walking", LVT_FUNCTION, (size_t) "interact_spiny_walking_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_star_or_key", LVT_FUNCTION, (size_t) "interact_star_or_key_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_strong_wind", LVT_FUNCTION, (size_t) "interact_strong_wind_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_text", LVT_FUNCTION, (size_t) "interact_text_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_tornado", LVT_FUNCTION, (size_t) "interact_tornado_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_warp", LVT_FUNCTION, (size_t) "interact_warp_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_warp_door", LVT_FUNCTION, (size_t) "interact_warp_door_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_water_ring", LVT_FUNCTION, (size_t) "interact_water_ring_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_whirlpool", LVT_FUNCTION, (size_t) "interact_whirlpool_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "invincTimer", LVT_S16, offsetof(struct MarioState, invincTimer), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "isSnoring", LVT_U8, offsetof(struct MarioState, isSnoring), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "is_anim_at_end", LVT_FUNCTION, (size_t) "is_anim_at_end_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_anim_past_end", LVT_FUNCTION, (size_t) "is_anim_past_end_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_anim_past_frame", LVT_FUNCTION, (size_t) "is_anim_past_frame_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_crouching", LVT_FUNCTION, (size_t) "mario_is_crouching", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_dive_sliding", LVT_FUNCTION, (size_t) "mario_is_dive_sliding_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_ground_pound_landing", LVT_FUNCTION, (size_t) "mario_is_ground_pound_landing", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_in_air_action", LVT_FUNCTION, (size_t) "mario_is_in_air_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_nearest_state_to_object", LVT_FUNCTION, (size_t) "is_nearest_mario_state_to_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_player_active", LVT_FUNCTION, (size_t) "is_player_active_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_player_in_local_area", LVT_FUNCTION, (size_t) "is_player_in_local_area_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "knockbackTimer", LVT_S8, offsetof(struct MarioState, knockbackTimer), false, LOT_NONE, 1, sizeof(s8) },
|
||||
{ "landing_step", LVT_FUNCTION, (size_t) "landing_step_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "launch_until_land", LVT_FUNCTION, (size_t) "launch_mario_until_land", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "lava_boost_on_wall", LVT_FUNCTION, (size_t) "lava_boost_on_wall_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "let_go_of_ledge", LVT_FUNCTION, (size_t) "let_go_of_ledge_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "level_trigger_warp", LVT_FUNCTION, (size_t) "level_trigger_warp", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "lose_cap_to_enemy", LVT_FUNCTION, (size_t) "mario_lose_cap_to_enemy_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "marioBodyState", LVT_COBJECT_P, offsetof(struct MarioState, marioBodyState), true, LOT_MARIOBODYSTATE, 1, sizeof(struct MarioBodyState*) },
|
||||
{ "marioObj", LVT_COBJECT_P, offsetof(struct MarioState, marioObj), true, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "minimumBoneY", LVT_F32, offsetof(struct MarioState, minimumBoneY), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "nonInstantWarpPos", LVT_COBJECT, offsetof(struct MarioState, nonInstantWarpPos), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "numCoins", LVT_S16, offsetof(struct MarioState, numCoins), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "numKeys", LVT_S8, offsetof(struct MarioState, numKeys), false, LOT_NONE, 1, sizeof(s8) },
|
||||
{ "numLives", LVT_S8, offsetof(struct MarioState, numLives), false, LOT_NONE, 1, sizeof(s8) },
|
||||
{ "numStars", LVT_S16, offsetof(struct MarioState, numStars), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "obj_angle_to_object", LVT_FUNCTION, (size_t) "mario_obj_angle_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "obj_is_ground_pounding_platform", LVT_FUNCTION, (size_t) "obj_is_mario_ground_pounding_platform_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "obj_is_near_to_and_facing", LVT_FUNCTION, (size_t) "obj_is_near_to_and_facing_mario_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "obj_turn_pitch_toward", LVT_FUNCTION, (size_t) "obj_turn_pitch_toward_mario", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "particleFlags", LVT_U32, offsetof(struct MarioState, particleFlags), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "passes_pvp_interaction_checks", LVT_FUNCTION, (size_t) "passes_pvp_interaction_checks_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "peakHeight", LVT_F32, offsetof(struct MarioState, peakHeight), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "perform_air_step", LVT_FUNCTION, (size_t) "perform_air_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_ground_step", LVT_FUNCTION, (size_t) "perform_ground_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_hanging_step", LVT_FUNCTION, (size_t) "perform_hanging_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_water_full_step", LVT_FUNCTION, (size_t) "perform_water_full_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_water_step", LVT_FUNCTION, (size_t) "perform_water_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_action_sound", LVT_FUNCTION, (size_t) "play_mario_action_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_anim_sound", LVT_FUNCTION, (size_t) "play_anim_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_character_sound", LVT_FUNCTION, (size_t) "play_character_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_character_sound_if_no_flag", LVT_FUNCTION, (size_t) "play_character_sound_if_no_flag", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_character_sound_offset", LVT_FUNCTION, (size_t) "play_character_sound_offset", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_climbing_sounds", LVT_FUNCTION, (size_t) "play_climbing_sounds", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_far_fall_sound", LVT_FUNCTION, (size_t) "play_far_fall_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_flip_sounds", LVT_FUNCTION, (size_t) "play_flip_sounds", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_heavy_landing_sound", LVT_FUNCTION, (size_t) "play_mario_heavy_landing_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_heavy_landing_sound_once", LVT_FUNCTION, (size_t) "play_mario_heavy_landing_sound_once", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_jump_sound", LVT_FUNCTION, (size_t) "play_mario_jump_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_knockback_sound", LVT_FUNCTION, (size_t) "play_knockback_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_landing_sound", LVT_FUNCTION, (size_t) "play_mario_landing_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_landing_sound_once", LVT_FUNCTION, (size_t) "play_mario_landing_sound_once", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_sound", LVT_FUNCTION, (size_t) "play_mario_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_sound_and_spawn_particles", LVT_FUNCTION, (size_t) "play_sound_and_spawn_particles", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_sound_if_no_flag", LVT_FUNCTION, (size_t) "play_sound_if_no_flag", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_step_sound", LVT_FUNCTION, (size_t) "play_step_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "playerIndex", LVT_U16, offsetof(struct MarioState, playerIndex), true, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "pop_bubble", LVT_FUNCTION, (size_t) "mario_pop_bubble", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "pos", LVT_COBJECT, offsetof(struct MarioState, pos), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "prevAction", LVT_U32, offsetof(struct MarioState, prevAction), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "prevNumStarsForDialog", LVT_S16, offsetof(struct MarioState, prevNumStarsForDialog), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "push_off_steep_floor", LVT_FUNCTION, (size_t) "mario_push_off_steep_floor_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "push_or_sidle_wall", LVT_FUNCTION, (size_t) "push_or_sidle_wall", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "queue_rumble_data", LVT_FUNCTION, (size_t) "queue_rumble_data_mario", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "quicksandDepth", LVT_F32, offsetof(struct MarioState, quicksandDepth), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "quicksand_jump_land_action", LVT_FUNCTION, (size_t) "quicksand_jump_land_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "ready_to_speak", LVT_FUNCTION, (size_t) "mario_ready_to_speak_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "reset_rumble_timers", LVT_FUNCTION, (size_t) "reset_rumble_timers", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "reset_rumble_timers_2", LVT_FUNCTION, (size_t) "reset_rumble_timers_2", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "retrieve_cap", LVT_FUNCTION, (size_t) "mario_retrieve_cap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "return_anim_y_translation", LVT_FUNCTION, (size_t) "return_mario_anim_y_translation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "riddenObj", LVT_COBJECT_P, offsetof(struct MarioState, riddenObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "set_action", LVT_FUNCTION, (size_t) "set_mario_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_anim_to_frame", LVT_FUNCTION, (size_t) "set_anim_to_frame", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_anim_with_accel", LVT_FUNCTION, (size_t) "set_mario_anim_with_accel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_animation", LVT_FUNCTION, (size_t) "set_mario_animation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_bubbled", LVT_FUNCTION, (size_t) "mario_set_bubbled", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_character_anim_with_accel", LVT_FUNCTION, (size_t) "set_character_anim_with_accel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_character_animation", LVT_FUNCTION, (size_t) "set_character_animation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_forward_vel", LVT_FUNCTION, (size_t) "mario_set_forward_vel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_jump_from_landing", LVT_FUNCTION, (size_t) "set_jump_from_landing_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_jumping_action", LVT_FUNCTION, (size_t) "set_jumping_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_particle_flags", LVT_FUNCTION, (size_t) "set_mario_particle_flags", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_pole_position", LVT_FUNCTION, (size_t) "set_pole_position", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_steep_jump_action", LVT_FUNCTION, (size_t) "set_steep_jump_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_swimming_at_surface_particles", LVT_FUNCTION, (size_t) "set_swimming_at_surface_particles", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_triple_jump_action", LVT_FUNCTION, (size_t) "set_triple_jump_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_vel_from_pitch_and_yaw", LVT_FUNCTION, (size_t) "set_vel_from_pitch_and_yaw", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_water_plunge_action", LVT_FUNCTION, (size_t) "set_water_plunge_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_y_vel_based_on_fspeed", LVT_FUNCTION, (size_t) "set_mario_y_vel_based_on_fspeed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_begin_sliding", LVT_FUNCTION, (size_t) "should_begin_sliding_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_get_stuck_in_ground", LVT_FUNCTION, (size_t) "should_get_stuck_in_ground_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_push_or_pull_door", LVT_FUNCTION, (size_t) "should_push_or_pull_door_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_start_or_continue_dialog", LVT_FUNCTION, (size_t) "should_start_or_continue_dialog_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "skipWarpInteractionsTimer", LVT_U8, offsetof(struct MarioState, skipWarpInteractionsTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "slideVelX", LVT_F32, offsetof(struct MarioState, slideVelX), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "slideVelZ", LVT_F32, offsetof(struct MarioState, slideVelZ), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "slideYaw", LVT_S16, offsetof(struct MarioState, slideYaw), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "slide_bonk", LVT_FUNCTION, (size_t) "slide_bonk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "spawnInfo", LVT_COBJECT_P, offsetof(struct MarioState, spawnInfo), false, LOT_SPAWNINFO, 1, sizeof(struct SpawnInfo*) },
|
||||
{ "specialTripleJump", LVT_U8, offsetof(struct MarioState, specialTripleJump), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "splineKeyframe", LVT_COBJECT_P, offsetof(struct MarioState, splineKeyframe), false, LOT_VEC4S, 1, sizeof(Vec4s*) },
|
||||
{ "splineKeyframeFraction", LVT_F32, offsetof(struct MarioState, splineKeyframeFraction), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "splineState", LVT_S32, offsetof(struct MarioState, splineState), false, LOT_NONE, 1, sizeof(s32) },
|
||||
{ "spline_get_weights", LVT_FUNCTION, (size_t) "spline_get_weights", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "squishTimer", LVT_U8, offsetof(struct MarioState, squishTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "stationary_ground_step", LVT_FUNCTION, (size_t) "stationary_ground_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "statusForCamera", LVT_COBJECT_P, offsetof(struct MarioState, statusForCamera), true, LOT_PLAYERCAMERASTATE, 1, sizeof(struct PlayerCameraState*) },
|
||||
{ "stomach_slide_action", LVT_FUNCTION, (size_t) "stomach_slide_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stop_and_set_height_to_floor", LVT_FUNCTION, (size_t) "stop_and_set_height_to_floor", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stop_riding_and_holding", LVT_FUNCTION, (size_t) "mario_stop_riding_and_holding", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stop_riding_object", LVT_FUNCTION, (size_t) "mario_stop_riding_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stopping_step", LVT_FUNCTION, (size_t) "stopping_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stuck_in_ground_handler", LVT_FUNCTION, (size_t) "stuck_in_ground_handler", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "take_damage_and_knock_back", LVT_FUNCTION, (size_t) "take_damage_and_knock_back_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "terrainSoundAddend", LVT_U32, offsetof(struct MarioState, terrainSoundAddend), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "throw_held_object", LVT_FUNCTION, (size_t) "mario_throw_held_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_butt_slide", LVT_FUNCTION, (size_t) "tilt_body_butt_slide", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_ground_shell", LVT_FUNCTION, (size_t) "tilt_body_ground_shell", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_running", LVT_FUNCTION, (size_t) "tilt_body_running", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_walking", LVT_FUNCTION, (size_t) "tilt_body_walking", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "transition_submerged_to_walking", LVT_FUNCTION, (size_t) "transition_submerged_to_walking_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "twirlYaw", LVT_S16, offsetof(struct MarioState, twirlYaw), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "unkB0", LVT_S16, offsetof(struct MarioState, unkB0), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "unkC4", LVT_F32, offsetof(struct MarioState, unkC4), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "update_air_with_turn", LVT_FUNCTION, (size_t) "update_air_with_turn", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_air_without_turn", LVT_FUNCTION, (size_t) "update_air_without_turn", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_character_anim_offset", LVT_FUNCTION, (size_t) "update_character_anim_offset", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_decelerating_speed", LVT_FUNCTION, (size_t) "update_decelerating_speed_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_flying", LVT_FUNCTION, (size_t) "update_flying", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_flying_pitch", LVT_FUNCTION, (size_t) "update_flying_pitch", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_flying_yaw", LVT_FUNCTION, (size_t) "update_flying_yaw", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_hang_moving", LVT_FUNCTION, (size_t) "update_hang_moving", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_hang_stationary", LVT_FUNCTION, (size_t) "update_hang_stationary", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_lava_boost_or_twirling", LVT_FUNCTION, (size_t) "update_lava_boost_or_twirling", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_ledge_climb", LVT_FUNCTION, (size_t) "update_ledge_climb", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_ledge_climb_camera", LVT_FUNCTION, (size_t) "update_ledge_climb_camera", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_moving_sand", LVT_FUNCTION, (size_t) "mario_update_moving_sand_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_pos_for_anim", LVT_FUNCTION, (size_t) "update_mario_pos_for_anim", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_punch_sequence", LVT_FUNCTION, (size_t) "mario_update_punch_sequence_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_quicksand", LVT_FUNCTION, (size_t) "mario_update_quicksand_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_shell_speed", LVT_FUNCTION, (size_t) "update_shell_speed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_sliding", LVT_FUNCTION, (size_t) "update_sliding_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_sliding_angle", LVT_FUNCTION, (size_t) "update_sliding_angle", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_sound_and_camera", LVT_FUNCTION, (size_t) "update_mario_sound_and_camera", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_walking_speed", LVT_FUNCTION, (size_t) "update_walking_speed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_wall", LVT_FUNCTION, (size_t) "mario_update_wall", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_windy_ground", LVT_FUNCTION, (size_t) "mario_update_windy_ground_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "usedObj", LVT_COBJECT_P, offsetof(struct MarioState, usedObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "vel", LVT_COBJECT, offsetof(struct MarioState, vel), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "wall", LVT_COBJECT_P, offsetof(struct MarioState, wall), false, LOT_SURFACE, 1, sizeof(struct Surface*) },
|
||||
{ "wallKickTimer", LVT_U8, offsetof(struct MarioState, wallKickTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "wallNormal", LVT_COBJECT, offsetof(struct MarioState, wallNormal), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "wasNetworkVisible", LVT_U8, offsetof(struct MarioState, wasNetworkVisible), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "waterLevel", LVT_S16, offsetof(struct MarioState, waterLevel), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "action", LVT_U32, offsetof(struct MarioState, action), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "actionArg", LVT_U32, offsetof(struct MarioState, actionArg), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "actionState", LVT_U16, offsetof(struct MarioState, actionState), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "actionTimer", LVT_U16, offsetof(struct MarioState, actionTimer), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "add_tree_leaf_particles", LVT_FUNCTION, (size_t) "add_tree_leaf_particles", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "adjust_sound_for_speed", LVT_FUNCTION, (size_t) "adjust_sound_for_speed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "align_with_floor", LVT_FUNCTION, (size_t) "align_with_floor", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "analog_stick_held_back", LVT_FUNCTION, (size_t) "analog_stick_held_back_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "angleVel", LVT_COBJECT, offsetof(struct MarioState, angleVel), true, LOT_VEC3S, 1, sizeof(Vec3s) },
|
||||
{ "angle_to_object", LVT_FUNCTION, (size_t) "mario_obj_angle_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_and_audio_for_heavy_walk", LVT_FUNCTION, (size_t) "anim_and_audio_for_heavy_walk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_and_audio_for_hold_walk", LVT_FUNCTION, (size_t) "anim_and_audio_for_hold_walk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_and_audio_for_walk", LVT_FUNCTION, (size_t) "anim_and_audio_for_walk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_spline_init", LVT_FUNCTION, (size_t) "anim_spline_init", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "anim_spline_poll", LVT_FUNCTION, (size_t) "anim_spline_poll_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "animated_stationary_ground_step", LVT_FUNCTION, (size_t) "animated_stationary_ground_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "animation", LVT_COBJECT_P, offsetof(struct MarioState, animation), false, LOT_MARIOANIMATION, 1, sizeof(struct MarioAnimation*) },
|
||||
{ "apply_landing_accel", LVT_FUNCTION, (size_t) "apply_landing_accel_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_slope_accel", LVT_FUNCTION, (size_t) "apply_slope_accel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_slope_decel", LVT_FUNCTION, (size_t) "apply_slope_decel_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_water_current", LVT_FUNCTION, (size_t) "apply_water_current", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "area", LVT_COBJECT_P, offsetof(struct MarioState, area), true, LOT_AREA, 1, sizeof(struct Area*) },
|
||||
{ "begin_braking_action", LVT_FUNCTION, (size_t) "begin_braking_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "begin_walking_action", LVT_FUNCTION, (size_t) "begin_walking_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "blow_off_cap", LVT_FUNCTION, (size_t) "mario_blow_off_cap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "bonk_reflection", LVT_FUNCTION, (size_t) "mario_bonk_reflection", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "bounceSquishTimer", LVT_U8, offsetof(struct MarioState, bounceSquishTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "bubbleObj", LVT_COBJECT_P, offsetof(struct MarioState, bubbleObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "can_activate_textbox_with_cur_obj", LVT_FUNCTION, (size_t) "cur_obj_can_mario_activate_textbox_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "can_activate_textbox_with_cur_obj_2", LVT_FUNCTION, (size_t) "cur_obj_can_mario_activate_textbox_2_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "can_bubble", LVT_FUNCTION, (size_t) "mario_can_bubble", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cap", LVT_U32, offsetof(struct MarioState, cap), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "capTimer", LVT_U16, offsetof(struct MarioState, capTimer), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "ceil", LVT_COBJECT_P, offsetof(struct MarioState, ceil), false, LOT_SURFACE, 1, sizeof(struct Surface*) },
|
||||
{ "ceilHeight", LVT_F32, offsetof(struct MarioState, ceilHeight), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "character", LVT_COBJECT_P, offsetof(struct MarioState, character), false, LOT_CHARACTER, 1, sizeof(struct Character*) },
|
||||
{ "check_common_action_exits", LVT_FUNCTION, (size_t) "check_common_action_exits_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_airborne_cancels", LVT_FUNCTION, (size_t) "check_common_airborne_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_automatic_cancels", LVT_FUNCTION, (size_t) "check_common_automatic_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_hold_action_exits", LVT_FUNCTION, (size_t) "check_common_hold_action_exits_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_hold_idle_cancels", LVT_FUNCTION, (size_t) "check_common_hold_idle_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_idle_cancels", LVT_FUNCTION, (size_t) "check_common_idle_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_landing_cancels", LVT_FUNCTION, (size_t) "check_common_landing_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_moving_cancels", LVT_FUNCTION, (size_t) "check_common_moving_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_object_cancels", LVT_FUNCTION, (size_t) "check_common_object_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_common_stationary_cancels", LVT_FUNCTION, (size_t) "check_common_stationary_cancels_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_fall_damage", LVT_FUNCTION, (size_t) "check_fall_damage_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_fall_damage_or_get_stuck", LVT_FUNCTION, (size_t) "check_fall_damage_or_get_stuck_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_ground_dive_or_punch", LVT_FUNCTION, (size_t) "check_ground_dive_or_punch_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_horizontal_wind", LVT_FUNCTION, (size_t) "check_horizontal_wind_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_kick_or_dive_in_air", LVT_FUNCTION, (size_t) "check_kick_or_dive_in_air_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_ledge_climb_down", LVT_FUNCTION, (size_t) "check_ledge_climb_down_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_object_grab", LVT_FUNCTION, (size_t) "mario_check_object_grab_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_wall_kick", LVT_FUNCTION, (size_t) "check_wall_kick_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "climb_up_ledge", LVT_FUNCTION, (size_t) "climb_up_ledge", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "collidedObjInteractTypes", LVT_U32, offsetof(struct MarioState, collidedObjInteractTypes), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "common_air_action_step", LVT_FUNCTION, (size_t) "common_air_action_step_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_air_knockback_step", LVT_FUNCTION, (size_t) "common_air_knockback_step_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_death_handler", LVT_FUNCTION, (size_t) "common_death_handler", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_ground_knockback_action", LVT_FUNCTION, (size_t) "common_ground_knockback_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_landing_action", LVT_FUNCTION, (size_t) "common_landing_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_slide_action", LVT_FUNCTION, (size_t) "common_slide_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "common_slide_action_with_jump", LVT_FUNCTION, (size_t) "common_slide_action_with_jump_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "controller", LVT_COBJECT_P, offsetof(struct MarioState, controller), true, LOT_CONTROLLER, 1, sizeof(struct Controller*) },
|
||||
{ "curAnimOffset", LVT_F32, offsetof(struct MarioState, curAnimOffset), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "currentRoom", LVT_S16, offsetof(struct MarioState, currentRoom), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "cutscene_put_cap_on", LVT_FUNCTION, (size_t) "cutscene_put_cap_on", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cutscene_take_cap_off", LVT_FUNCTION, (size_t) "cutscene_take_cap_off", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "determine_interaction", LVT_FUNCTION, (size_t) "determine_interaction", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "dialogId", LVT_S32, offsetof(struct MarioState, dialogId), true, LOT_NONE, 1, sizeof(s32) },
|
||||
{ "doubleJumpTimer", LVT_U8, offsetof(struct MarioState, doubleJumpTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "drop_and_set_action", LVT_FUNCTION, (size_t) "drop_and_set_mario_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "drop_held_object", LVT_FUNCTION, (size_t) "mario_drop_held_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "end_dialog_with_cur_obj", LVT_FUNCTION, (size_t) "cur_obj_end_dialog", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_airborne_action", LVT_FUNCTION, (size_t) "mario_execute_airborne_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_automatic_action", LVT_FUNCTION, (size_t) "mario_execute_automatic_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_cutscene_action", LVT_FUNCTION, (size_t) "mario_execute_cutscene_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_moving_action", LVT_FUNCTION, (size_t) "mario_execute_moving_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_object_action", LVT_FUNCTION, (size_t) "mario_execute_object_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_stationary_action", LVT_FUNCTION, (size_t) "mario_execute_stationary_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_submerged_action", LVT_FUNCTION, (size_t) "mario_execute_submerged_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "exit_palette_editor", LVT_FUNCTION, (size_t) "mario_exit_palette_editor_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "faceAngle", LVT_COBJECT, offsetof(struct MarioState, faceAngle), true, LOT_VEC3S, 1, sizeof(Vec3s) },
|
||||
{ "facing_downhill", LVT_FUNCTION, (size_t) "mario_facing_downhill_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "fadeWarpOpacity", LVT_U8, offsetof(struct MarioState, fadeWarpOpacity), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "find_floor_height_relative_polar", LVT_FUNCTION, (size_t) "find_floor_height_relative_polar", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "find_floor_slope", LVT_FUNCTION, (size_t) "find_floor_slope", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "first_person_check_cancels", LVT_FUNCTION, (size_t) "first_person_check_cancels", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "flags", LVT_U32, offsetof(struct MarioState, flags), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "float_surface_gfx", LVT_FUNCTION, (size_t) "float_surface_gfx", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "floor", LVT_COBJECT_P, offsetof(struct MarioState, floor), false, LOT_SURFACE, 1, sizeof(struct Surface*) },
|
||||
{ "floorAngle", LVT_S16, offsetof(struct MarioState, floorAngle), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "floorHeight", LVT_F32, offsetof(struct MarioState, floorHeight), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "floor_is_slippery", LVT_FUNCTION, (size_t) "mario_floor_is_slippery_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "floor_is_slope", LVT_FUNCTION, (size_t) "mario_floor_is_slope_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "floor_is_steep", LVT_FUNCTION, (size_t) "mario_floor_is_steep_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "force_idle_state", LVT_FUNCTION, (size_t) "force_idle_state_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "forwardVel", LVT_F32, offsetof(struct MarioState, forwardVel), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "framesSinceA", LVT_U8, offsetof(struct MarioState, framesSinceA), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "framesSinceB", LVT_U8, offsetof(struct MarioState, framesSinceB), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "freeze", LVT_U8, offsetof(struct MarioState, freeze), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "general_star_dance_handler", LVT_FUNCTION, (size_t) "general_star_dance_handler", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_anim_part_pos", LVT_FUNCTION, (size_t) "get_mario_anim_part_pos", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_anim_part_rot", LVT_FUNCTION, (size_t) "get_mario_anim_part_rot", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_character", LVT_FUNCTION, (size_t) "get_character", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_character_anim", LVT_FUNCTION, (size_t) "get_character_anim", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_character_anim_offset", LVT_FUNCTION, (size_t) "get_character_anim_offset", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_collided_object", LVT_FUNCTION, (size_t) "mario_get_collided_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_floor_class", LVT_FUNCTION, (size_t) "mario_get_floor_class", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_hand_foot_pos_x", LVT_FUNCTION, (size_t) "get_hand_foot_pos_x", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_hand_foot_pos_y", LVT_FUNCTION, (size_t) "get_hand_foot_pos_y", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_hand_foot_pos_z", LVT_FUNCTION, (size_t) "get_hand_foot_pos_z", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_star_collection_dialog", LVT_FUNCTION, (size_t) "get_star_collection_dialog", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_terrain_sound_addend", LVT_FUNCTION, (size_t) "mario_get_terrain_sound_addend", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "grab_used_object", LVT_FUNCTION, (size_t) "mario_grab_used_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "handle_save_menu", LVT_FUNCTION, (size_t) "handle_save_menu", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "has_blown_cap", LVT_FUNCTION, (size_t) "does_mario_have_blown_cap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "has_normal_cap_on_head", LVT_FUNCTION, (size_t) "does_mario_have_normal_cap_on_head_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "healCounter", LVT_U8, offsetof(struct MarioState, healCounter), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "health", LVT_S16, offsetof(struct MarioState, health), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "heldByObj", LVT_COBJECT_P, offsetof(struct MarioState, heldByObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "heldObj", LVT_COBJECT_P, offsetof(struct MarioState, heldObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "hurtCounter", LVT_U8, offsetof(struct MarioState, hurtCounter), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "hurt_and_set_action", LVT_FUNCTION, (size_t) "hurt_and_set_mario_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "init", LVT_FUNCTION, (size_t) "init_single_mario", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "input", LVT_U16, offsetof(struct MarioState, input), false, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "intendedMag", LVT_F32, offsetof(struct MarioState, intendedMag), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "intendedYaw", LVT_S16, offsetof(struct MarioState, intendedYaw), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "interactObj", LVT_COBJECT_P, offsetof(struct MarioState, interactObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "interact_bbh_entrance", LVT_FUNCTION, (size_t) "interact_bbh_entrance_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_bounce_top", LVT_FUNCTION, (size_t) "interact_bounce_top_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_breakable", LVT_FUNCTION, (size_t) "interact_breakable_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_bully", LVT_FUNCTION, (size_t) "interact_bully_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_cannon_base", LVT_FUNCTION, (size_t) "interact_cannon_base_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_cap", LVT_FUNCTION, (size_t) "interact_cap_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_clam_or_bubba", LVT_FUNCTION, (size_t) "interact_clam_or_bubba_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_coin", LVT_FUNCTION, (size_t) "interact_coin_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_damage", LVT_FUNCTION, (size_t) "interact_damage_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_door", LVT_FUNCTION, (size_t) "interact_door_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_flame", LVT_FUNCTION, (size_t) "interact_flame_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_grabbable", LVT_FUNCTION, (size_t) "interact_grabbable_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_hit_from_below", LVT_FUNCTION, (size_t) "interact_hit_from_below_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_hoot", LVT_FUNCTION, (size_t) "interact_hoot_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_igloo_barrier", LVT_FUNCTION, (size_t) "interact_igloo_barrier_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_koopa_shell", LVT_FUNCTION, (size_t) "interact_koopa_shell_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_mr_blizzard", LVT_FUNCTION, (size_t) "interact_mr_blizzard_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_player", LVT_FUNCTION, (size_t) "interact_player_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_pole", LVT_FUNCTION, (size_t) "interact_pole_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_shock", LVT_FUNCTION, (size_t) "interact_shock_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_snufit_bullet", LVT_FUNCTION, (size_t) "interact_snufit_bullet_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_spiny_walking", LVT_FUNCTION, (size_t) "interact_spiny_walking_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_star_or_key", LVT_FUNCTION, (size_t) "interact_star_or_key_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_strong_wind", LVT_FUNCTION, (size_t) "interact_strong_wind_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_text", LVT_FUNCTION, (size_t) "interact_text_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_tornado", LVT_FUNCTION, (size_t) "interact_tornado_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_warp", LVT_FUNCTION, (size_t) "interact_warp_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_warp_door", LVT_FUNCTION, (size_t) "interact_warp_door_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_water_ring", LVT_FUNCTION, (size_t) "interact_water_ring_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "interact_whirlpool", LVT_FUNCTION, (size_t) "interact_whirlpool_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "invincTimer", LVT_S16, offsetof(struct MarioState, invincTimer), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "isSnoring", LVT_U8, offsetof(struct MarioState, isSnoring), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "is_active", LVT_FUNCTION, (size_t) "is_player_active_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_anim_at_end", LVT_FUNCTION, (size_t) "is_anim_at_end_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_anim_past_end", LVT_FUNCTION, (size_t) "is_anim_past_end_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_anim_past_frame", LVT_FUNCTION, (size_t) "is_anim_past_frame_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_crouching", LVT_FUNCTION, (size_t) "mario_is_crouching", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_dive_sliding", LVT_FUNCTION, (size_t) "mario_is_dive_sliding_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_ground_pound_landing", LVT_FUNCTION, (size_t) "mario_is_ground_pound_landing", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_ground_pounding_platform", LVT_FUNCTION, (size_t) "obj_is_mario_ground_pounding_platform_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_in_air_action", LVT_FUNCTION, (size_t) "mario_is_in_air_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_in_local_area", LVT_FUNCTION, (size_t) "is_player_in_local_area_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_nearest_to_object", LVT_FUNCTION, (size_t) "is_nearest_mario_state_to_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "knockbackTimer", LVT_S8, offsetof(struct MarioState, knockbackTimer), false, LOT_NONE, 1, sizeof(s8) },
|
||||
{ "landing_step", LVT_FUNCTION, (size_t) "landing_step_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "launch_until_land", LVT_FUNCTION, (size_t) "launch_mario_until_land", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "lava_boost_on_wall", LVT_FUNCTION, (size_t) "lava_boost_on_wall_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "let_go_of_ledge", LVT_FUNCTION, (size_t) "let_go_of_ledge_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "level_trigger_warp", LVT_FUNCTION, (size_t) "level_trigger_warp", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "lose_cap_to_enemy", LVT_FUNCTION, (size_t) "mario_lose_cap_to_enemy_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "marioBodyState", LVT_COBJECT_P, offsetof(struct MarioState, marioBodyState), true, LOT_MARIOBODYSTATE, 1, sizeof(struct MarioBodyState*) },
|
||||
{ "marioObj", LVT_COBJECT_P, offsetof(struct MarioState, marioObj), true, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "minimumBoneY", LVT_F32, offsetof(struct MarioState, minimumBoneY), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "nonInstantWarpPos", LVT_COBJECT, offsetof(struct MarioState, nonInstantWarpPos), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "numCoins", LVT_S16, offsetof(struct MarioState, numCoins), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "numKeys", LVT_S8, offsetof(struct MarioState, numKeys), false, LOT_NONE, 1, sizeof(s8) },
|
||||
{ "numLives", LVT_S8, offsetof(struct MarioState, numLives), false, LOT_NONE, 1, sizeof(s8) },
|
||||
{ "numStars", LVT_S16, offsetof(struct MarioState, numStars), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "obj_is_near_to_and_facing_self", LVT_FUNCTION, (size_t) "obj_is_near_to_and_facing_mario_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "obj_turn_pitch_toward_self", LVT_FUNCTION, (size_t) "obj_turn_pitch_toward_mario", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "particleFlags", LVT_U32, offsetof(struct MarioState, particleFlags), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "passes_pvp_interaction_checks", LVT_FUNCTION, (size_t) "passes_pvp_interaction_checks_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "peakHeight", LVT_F32, offsetof(struct MarioState, peakHeight), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "perform_air_step", LVT_FUNCTION, (size_t) "perform_air_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_ground_step", LVT_FUNCTION, (size_t) "perform_ground_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_hanging_step", LVT_FUNCTION, (size_t) "perform_hanging_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_water_full_step", LVT_FUNCTION, (size_t) "perform_water_full_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "perform_water_step", LVT_FUNCTION, (size_t) "perform_water_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_action_sound", LVT_FUNCTION, (size_t) "play_mario_action_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_anim_sound", LVT_FUNCTION, (size_t) "play_anim_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_character_sound", LVT_FUNCTION, (size_t) "play_character_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_character_sound_if_no_flag", LVT_FUNCTION, (size_t) "play_character_sound_if_no_flag", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_character_sound_offset", LVT_FUNCTION, (size_t) "play_character_sound_offset", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_climbing_sounds", LVT_FUNCTION, (size_t) "play_climbing_sounds", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_far_fall_sound", LVT_FUNCTION, (size_t) "play_far_fall_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_flip_sounds", LVT_FUNCTION, (size_t) "play_flip_sounds", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_heavy_landing_sound", LVT_FUNCTION, (size_t) "play_mario_heavy_landing_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_heavy_landing_sound_once", LVT_FUNCTION, (size_t) "play_mario_heavy_landing_sound_once", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_jump_sound", LVT_FUNCTION, (size_t) "play_mario_jump_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_knockback_sound", LVT_FUNCTION, (size_t) "play_knockback_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_landing_sound", LVT_FUNCTION, (size_t) "play_mario_landing_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_landing_sound_once", LVT_FUNCTION, (size_t) "play_mario_landing_sound_once", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_sound", LVT_FUNCTION, (size_t) "play_mario_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_sound_and_spawn_particles", LVT_FUNCTION, (size_t) "play_sound_and_spawn_particles", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_sound_if_no_flag", LVT_FUNCTION, (size_t) "play_sound_if_no_flag", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "play_step_sound", LVT_FUNCTION, (size_t) "play_step_sound", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "playerIndex", LVT_U16, offsetof(struct MarioState, playerIndex), true, LOT_NONE, 1, sizeof(u16) },
|
||||
{ "pop_bubble", LVT_FUNCTION, (size_t) "mario_pop_bubble", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "pos", LVT_COBJECT, offsetof(struct MarioState, pos), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "prevAction", LVT_U32, offsetof(struct MarioState, prevAction), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "prevNumStarsForDialog", LVT_S16, offsetof(struct MarioState, prevNumStarsForDialog), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "push_off_steep_floor", LVT_FUNCTION, (size_t) "mario_push_off_steep_floor_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "push_or_sidle_wall", LVT_FUNCTION, (size_t) "push_or_sidle_wall", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "queue_rumble_data", LVT_FUNCTION, (size_t) "queue_rumble_data_mario", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "quicksandDepth", LVT_F32, offsetof(struct MarioState, quicksandDepth), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "quicksand_jump_land_action", LVT_FUNCTION, (size_t) "quicksand_jump_land_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "ready_to_speak", LVT_FUNCTION, (size_t) "mario_ready_to_speak_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "reset_rumble_timers", LVT_FUNCTION, (size_t) "reset_rumble_timers", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "reset_rumble_timers_2", LVT_FUNCTION, (size_t) "reset_rumble_timers_2", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "retrieve_cap", LVT_FUNCTION, (size_t) "mario_retrieve_cap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "return_anim_y_translation", LVT_FUNCTION, (size_t) "return_mario_anim_y_translation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "riddenObj", LVT_COBJECT_P, offsetof(struct MarioState, riddenObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "set_action", LVT_FUNCTION, (size_t) "set_mario_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_anim_to_frame", LVT_FUNCTION, (size_t) "set_anim_to_frame", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_anim_with_accel", LVT_FUNCTION, (size_t) "set_mario_anim_with_accel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_animation", LVT_FUNCTION, (size_t) "set_mario_animation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_bubbled", LVT_FUNCTION, (size_t) "mario_set_bubbled", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_character_anim_with_accel", LVT_FUNCTION, (size_t) "set_character_anim_with_accel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_character_animation", LVT_FUNCTION, (size_t) "set_character_animation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_forward_vel", LVT_FUNCTION, (size_t) "mario_set_forward_vel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_jump_from_landing", LVT_FUNCTION, (size_t) "set_jump_from_landing_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_jumping_action", LVT_FUNCTION, (size_t) "set_jumping_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_particle_flags", LVT_FUNCTION, (size_t) "set_mario_particle_flags", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_pole_position", LVT_FUNCTION, (size_t) "set_pole_position", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_steep_jump_action", LVT_FUNCTION, (size_t) "set_steep_jump_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_swimming_at_surface_particles", LVT_FUNCTION, (size_t) "set_swimming_at_surface_particles", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_triple_jump_action", LVT_FUNCTION, (size_t) "set_triple_jump_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_vel_from_pitch_and_yaw", LVT_FUNCTION, (size_t) "set_vel_from_pitch_and_yaw", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_vel_to_cur_obj_vel", LVT_FUNCTION, (size_t) "cur_obj_set_vel_from_mario_vel", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_water_plunge_action", LVT_FUNCTION, (size_t) "set_water_plunge_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_y_vel_based_on_fspeed", LVT_FUNCTION, (size_t) "set_mario_y_vel_based_on_fspeed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_begin_sliding", LVT_FUNCTION, (size_t) "should_begin_sliding_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_get_stuck_in_ground", LVT_FUNCTION, (size_t) "should_get_stuck_in_ground_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_push_or_pull_door", LVT_FUNCTION, (size_t) "should_push_or_pull_door_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "should_start_or_continue_dialog", LVT_FUNCTION, (size_t) "should_start_or_continue_dialog_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "skipWarpInteractionsTimer", LVT_U8, offsetof(struct MarioState, skipWarpInteractionsTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "slideVelX", LVT_F32, offsetof(struct MarioState, slideVelX), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "slideVelZ", LVT_F32, offsetof(struct MarioState, slideVelZ), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "slideYaw", LVT_S16, offsetof(struct MarioState, slideYaw), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "slide_bonk", LVT_FUNCTION, (size_t) "slide_bonk", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "spawnInfo", LVT_COBJECT_P, offsetof(struct MarioState, spawnInfo), false, LOT_SPAWNINFO, 1, sizeof(struct SpawnInfo*) },
|
||||
{ "spawn_loot_coin_at_pos_from_cur_obj", LVT_FUNCTION, (size_t) "cur_obj_spawn_loot_coin_at_mario_pos", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "specialTripleJump", LVT_U8, offsetof(struct MarioState, specialTripleJump), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "splineKeyframe", LVT_COBJECT_P, offsetof(struct MarioState, splineKeyframe), false, LOT_VEC4S, 1, sizeof(Vec4s*) },
|
||||
{ "splineKeyframeFraction", LVT_F32, offsetof(struct MarioState, splineKeyframeFraction), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "splineState", LVT_S32, offsetof(struct MarioState, splineState), false, LOT_NONE, 1, sizeof(s32) },
|
||||
{ "spline_get_weights", LVT_FUNCTION, (size_t) "spline_get_weights", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "squishTimer", LVT_U8, offsetof(struct MarioState, squishTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "stationary_ground_step", LVT_FUNCTION, (size_t) "stationary_ground_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "statusForCamera", LVT_COBJECT_P, offsetof(struct MarioState, statusForCamera), true, LOT_PLAYERCAMERASTATE, 1, sizeof(struct PlayerCameraState*) },
|
||||
{ "stomach_slide_action", LVT_FUNCTION, (size_t) "stomach_slide_action_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stop_and_set_height_to_floor", LVT_FUNCTION, (size_t) "stop_and_set_height_to_floor", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stop_riding_and_holding", LVT_FUNCTION, (size_t) "mario_stop_riding_and_holding", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stop_riding_object", LVT_FUNCTION, (size_t) "mario_stop_riding_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stopping_step", LVT_FUNCTION, (size_t) "stopping_step", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "stuck_in_ground_handler", LVT_FUNCTION, (size_t) "stuck_in_ground_handler", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "take_damage_and_knock_back", LVT_FUNCTION, (size_t) "take_damage_and_knock_back_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "terrainSoundAddend", LVT_U32, offsetof(struct MarioState, terrainSoundAddend), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "throw_held_object", LVT_FUNCTION, (size_t) "mario_throw_held_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_butt_slide", LVT_FUNCTION, (size_t) "tilt_body_butt_slide", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_ground_shell", LVT_FUNCTION, (size_t) "tilt_body_ground_shell", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_running", LVT_FUNCTION, (size_t) "tilt_body_running", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "tilt_body_walking", LVT_FUNCTION, (size_t) "tilt_body_walking", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "transition_submerged_to_walking", LVT_FUNCTION, (size_t) "transition_submerged_to_walking_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "twirlYaw", LVT_S16, offsetof(struct MarioState, twirlYaw), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "unkB0", LVT_S16, offsetof(struct MarioState, unkB0), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "unkC4", LVT_F32, offsetof(struct MarioState, unkC4), false, LOT_NONE, 1, sizeof(f32) },
|
||||
{ "update_air_with_turn", LVT_FUNCTION, (size_t) "update_air_with_turn", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_air_without_turn", LVT_FUNCTION, (size_t) "update_air_without_turn", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_character_anim_offset", LVT_FUNCTION, (size_t) "update_character_anim_offset", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_decelerating_speed", LVT_FUNCTION, (size_t) "update_decelerating_speed_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_flying", LVT_FUNCTION, (size_t) "update_flying", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_flying_pitch", LVT_FUNCTION, (size_t) "update_flying_pitch", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_flying_yaw", LVT_FUNCTION, (size_t) "update_flying_yaw", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_hang_moving", LVT_FUNCTION, (size_t) "update_hang_moving", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_hang_stationary", LVT_FUNCTION, (size_t) "update_hang_stationary", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_lava_boost_or_twirling", LVT_FUNCTION, (size_t) "update_lava_boost_or_twirling", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_ledge_climb", LVT_FUNCTION, (size_t) "update_ledge_climb", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_ledge_climb_camera", LVT_FUNCTION, (size_t) "update_ledge_climb_camera", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_moving_sand", LVT_FUNCTION, (size_t) "mario_update_moving_sand_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_pos_for_anim", LVT_FUNCTION, (size_t) "update_mario_pos_for_anim", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_punch_sequence", LVT_FUNCTION, (size_t) "mario_update_punch_sequence_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_quicksand", LVT_FUNCTION, (size_t) "mario_update_quicksand_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_shell_speed", LVT_FUNCTION, (size_t) "update_shell_speed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_sliding", LVT_FUNCTION, (size_t) "update_sliding_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_sliding_angle", LVT_FUNCTION, (size_t) "update_sliding_angle", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_sound_and_camera", LVT_FUNCTION, (size_t) "update_mario_sound_and_camera", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_walking_speed", LVT_FUNCTION, (size_t) "update_walking_speed", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_wall", LVT_FUNCTION, (size_t) "mario_update_wall", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "update_windy_ground", LVT_FUNCTION, (size_t) "mario_update_windy_ground_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "usedObj", LVT_COBJECT_P, offsetof(struct MarioState, usedObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "vel", LVT_COBJECT, offsetof(struct MarioState, vel), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "wall", LVT_COBJECT_P, offsetof(struct MarioState, wall), false, LOT_SURFACE, 1, sizeof(struct Surface*) },
|
||||
{ "wallKickTimer", LVT_U8, offsetof(struct MarioState, wallKickTimer), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "wallNormal", LVT_COBJECT, offsetof(struct MarioState, wallNormal), true, LOT_VEC3F, 1, sizeof(Vec3f) },
|
||||
{ "wasNetworkVisible", LVT_U8, offsetof(struct MarioState, wasNetworkVisible), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "waterLevel", LVT_S16, offsetof(struct MarioState, waterLevel), false, LOT_NONE, 1, sizeof(s16) },
|
||||
};
|
||||
|
||||
#define LUA_MOD_FIELD_COUNT 17
|
||||
|
|
@ -1870,11 +1870,11 @@ static struct LuaObjectField sNetworkPlayerFields[LUA_NETWORK_PLAYER_FIELD_COUNT
|
|||
{ "type", LVT_U8, offsetof(struct NetworkPlayer, type), true, LOT_NONE, 1, sizeof(u8) },
|
||||
};
|
||||
|
||||
#define LUA_OBJECT_FIELD_COUNT 894
|
||||
#define LUA_OBJECT_FIELD_COUNT 893
|
||||
static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
||||
{ "activeFlags", LVT_S16, offsetof(struct Object, activeFlags), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "allowRemoteInteractions", LVT_U8, offsetof(struct Object, allowRemoteInteractions), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "angle_to", LVT_FUNCTION, (size_t) "obj_angle_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "angle_to_object", LVT_FUNCTION, (size_t) "obj_angle_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "angle_to_point", LVT_FUNCTION, (size_t) "obj_angle_to_point", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_platform_displacement", LVT_FUNCTION, (size_t) "apply_platform_displacement", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "apply_scale_to_matrix", LVT_FUNCTION, (size_t) "obj_apply_scale_to_matrix", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
|
|
@ -1884,7 +1884,7 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
// { "areaTimerRunOnceCallback)(void)", LVT_???, offsetof(struct Object, areaTimerRunOnceCallback)(void)), false, LOT_???, 1, sizeof(void (*) }, <--- UNIMPLEMENTED
|
||||
{ "areaTimerType", LVT_S32, offsetof(struct Object, areaTimerType), false, LOT_NONE, 1, sizeof(enum AreaTimerType) },
|
||||
{ "area_get_warp_node_from_params", LVT_FUNCTION, (size_t) "area_get_warp_node_from_params", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "attack_collided_from_other", LVT_FUNCTION, (size_t) "obj_attack_collided_from_other_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "attack_collided_from_other_object", LVT_FUNCTION, (size_t) "obj_attack_collided_from_other_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "become_tangible", LVT_FUNCTION, (size_t) "obj_become_tangible", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "behavior", LVT_BEHAVIORSCRIPT_P, offsetof(struct Object, behavior), true, LOT_POINTER, 1, sizeof(const BehaviorScript*) },
|
||||
{ "bhvDelayTimer", LVT_S16, offsetof(struct Object, bhvDelayTimer), false, LOT_NONE, 1, sizeof(s16) },
|
||||
|
|
@ -1896,7 +1896,7 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "build_transform_relative_to_parent", LVT_FUNCTION, (size_t) "obj_build_transform_relative_to_parent", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "build_vel_from_transform", LVT_FUNCTION, (size_t) "obj_build_vel_from_transform", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_hitbox_overlap", LVT_FUNCTION, (size_t) "obj_check_hitbox_overlap", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_if_collided_with", LVT_FUNCTION, (size_t) "obj_check_if_collided_with_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_if_collided_with_object", LVT_FUNCTION, (size_t) "obj_check_if_collided_with_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "check_overlap_with_hitbox_params", LVT_FUNCTION, (size_t) "obj_check_overlap_with_hitbox_params", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "collidedObjInteractTypes", LVT_U32, offsetof(struct Object, collidedObjInteractTypes), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "collidedObjs", LVT_COBJECT_P, offsetof(struct Object, collidedObjs), false, LOT_OBJECT, 4, sizeof(struct Object*) },
|
||||
|
|
@ -1911,17 +1911,15 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "create_transform_from_self", LVT_FUNCTION, (size_t) "obj_create_transform_from_self", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "ctx", LVT_U8, offsetof(struct Object, ctx), false, LOT_NONE, 1, sizeof(u8) },
|
||||
{ "curBhvCommand", LVT_BEHAVIORSCRIPT_P, offsetof(struct Object, curBhvCommand), true, LOT_POINTER, 1, sizeof(const BehaviorScript*) },
|
||||
{ "cur_disable_rendering_and_become_intangible", LVT_FUNCTION, (size_t) "cur_obj_disable_rendering_and_become_intangible", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_enable_rendering_and_become_tangible", LVT_FUNCTION, (size_t) "cur_obj_enable_rendering_and_become_tangible", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_lateral_dist_from_obj_to_home", LVT_FUNCTION, (size_t) "cur_obj_lateral_dist_from_obj_to_home", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_set_pos_relative", LVT_FUNCTION, (size_t) "cur_obj_set_pos_relative", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_start_cam_event", LVT_FUNCTION, (size_t) "cur_obj_start_cam_event", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "dist_between_and_point", LVT_FUNCTION, (size_t) "dist_between_object_and_point", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "dist_betweens", LVT_FUNCTION, (size_t) "dist_between_objects", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "cur_obj_lateral_dist_from_self_to_home", LVT_FUNCTION, (size_t) "cur_obj_lateral_dist_from_obj_to_home", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "disable_rendering_and_become_intangible", LVT_FUNCTION, (size_t) "cur_obj_disable_rendering_and_become_intangible", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "dist_to_object", LVT_FUNCTION, (size_t) "dist_between_objects", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "dist_to_point", LVT_FUNCTION, (size_t) "dist_between_object_and_point", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "enable_rendering_and_become_tangible", LVT_FUNCTION, (size_t) "cur_obj_enable_rendering_and_become_tangible", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "execute_mario_action", LVT_FUNCTION, (size_t) "execute_mario_action", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "find_mario_anim_flags_and_translation", LVT_FUNCTION, (size_t) "find_mario_anim_flags_and_translation", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "flicker_and_disappear", LVT_FUNCTION, (size_t) "obj_flicker_and_disappear_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_collided", LVT_FUNCTION, (size_t) "obj_get_collided_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_collided_object", LVT_FUNCTION, (size_t) "obj_get_collided_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_door_save_file_flag", LVT_FUNCTION, (size_t) "get_door_save_file_flag", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_field_f32", LVT_FUNCTION, (size_t) "obj_get_field_f32", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_field_s16", LVT_FUNCTION, (size_t) "obj_get_field_s16", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
|
|
@ -1929,7 +1927,7 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "get_field_u32", LVT_FUNCTION, (size_t) "obj_get_field_u32", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_mario_cap_flag", LVT_FUNCTION, (size_t) "get_mario_cap_flag", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_mario_spawn_type", LVT_FUNCTION, (size_t) "get_mario_spawn_type", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_mario_state_from", LVT_FUNCTION, (size_t) "get_mario_state_from_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_mario_state", LVT_FUNCTION, (size_t) "get_mario_state_from_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_model_id_extended", LVT_FUNCTION, (size_t) "obj_get_model_id_extended", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_nearest_with_behavior_id", LVT_FUNCTION, (size_t) "obj_get_nearest_object_with_behavior_id", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "get_next", LVT_FUNCTION, (size_t) "obj_get_next", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
|
|
@ -1960,19 +1958,19 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "is_grabbable", LVT_FUNCTION, (size_t) "obj_is_grabbable", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_hidden", LVT_FUNCTION, (size_t) "obj_is_hidden_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_mushroom_1up", LVT_FUNCTION, (size_t) "obj_is_mushroom_1up", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_nearest_player_to", LVT_FUNCTION, (size_t) "is_nearest_player_to_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_point_close_to", LVT_FUNCTION, (size_t) "is_point_close_to_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_nearest_player_to_object", LVT_FUNCTION, (size_t) "is_nearest_player_to_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_point_close", LVT_FUNCTION, (size_t) "is_point_close_to_object_SPOOFED", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_secret", LVT_FUNCTION, (size_t) "obj_is_secret", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "is_valid_for_interaction", LVT_FUNCTION, (size_t) "obj_is_valid_for_interaction", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "lateral_dist_betweens", LVT_FUNCTION, (size_t) "lateral_dist_between_objects", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "lateral_dist_to_object", LVT_FUNCTION, (size_t) "lateral_dist_between_objects", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "mark_for_deletion", LVT_FUNCTION, (size_t) "obj_mark_for_deletion", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "move_xyz", LVT_FUNCTION, (size_t) "obj_move_xyz", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "move_xyz_using_fvel_and_yaw", LVT_FUNCTION, (size_t) "obj_move_xyz_using_fvel_and_yaw", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_interacting_mario_state_to", LVT_FUNCTION, (size_t) "nearest_interacting_mario_state_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_interacting_player_to", LVT_FUNCTION, (size_t) "nearest_interacting_player_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_mario_state_to", LVT_FUNCTION, (size_t) "nearest_mario_state_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_player_to", LVT_FUNCTION, (size_t) "nearest_player_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_possible_mario_state_to", LVT_FUNCTION, (size_t) "nearest_possible_mario_state_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_interacting_mario_state", LVT_FUNCTION, (size_t) "nearest_interacting_mario_state_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_interacting_player", LVT_FUNCTION, (size_t) "nearest_interacting_player_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_mario_state", LVT_FUNCTION, (size_t) "nearest_mario_state_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_player", LVT_FUNCTION, (size_t) "nearest_player_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "nearest_possible_mario_state", LVT_FUNCTION, (size_t) "nearest_possible_mario_state_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "numCollidedObjs", LVT_S16, offsetof(struct Object, numCollidedObjs), false, LOT_NONE, 1, sizeof(s16) },
|
||||
{ "numSurfaces", LVT_U32, offsetof(struct Object, numSurfaces), true, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "o1UpForceSpawn", LVT_S32, offsetof(struct Object, o1UpForceSpawn), false, LOT_NONE, 1, sizeof(s32) },
|
||||
|
|
@ -2710,7 +2708,7 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "oYoshiTargetYaw", LVT_S32, offsetof(struct Object, oYoshiTargetYaw), false, LOT_NONE, 1, sizeof(s32) },
|
||||
{ "orient_graph", LVT_FUNCTION, (size_t) "obj_orient_graph", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "parentObj", LVT_COBJECT_P, offsetof(struct Object, parentObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "pitch_to", LVT_FUNCTION, (size_t) "obj_pitch_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "pitch_to_object", LVT_FUNCTION, (size_t) "obj_pitch_to_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "platform", LVT_COBJECT_P, offsetof(struct Object, platform), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
{ "prevObj", LVT_COBJECT_P, offsetof(struct Object, prevObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
// { "ptrData", LVT_???, offsetof(struct Object, ptrData), false, LOT_???, 1, sizeof(union { ... }) }, <--- UNIMPLEMENTED
|
||||
|
|
@ -2751,6 +2749,7 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "set_parent_relative_pos", LVT_FUNCTION, (size_t) "obj_set_parent_relative_pos", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_pos", LVT_FUNCTION, (size_t) "obj_set_pos", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_pos_relative", LVT_FUNCTION, (size_t) "obj_set_pos_relative", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_pos_relative_to_cur_obj", LVT_FUNCTION, (size_t) "cur_obj_set_pos_relative", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_respawn_info_bits", LVT_FUNCTION, (size_t) "set_object_respawn_info_bits", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_secondary_camera_focus", LVT_FUNCTION, (size_t) "set_secondary_camera_focus", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "set_throw_matrix_from_transform", LVT_FUNCTION, (size_t) "obj_set_throw_matrix_from_transform", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
|
|
@ -2767,7 +2766,7 @@ static struct LuaObjectField sObjectFields[LUA_OBJECT_FIELD_COUNT] = {
|
|||
{ "translate_local", LVT_FUNCTION, (size_t) "obj_translate_local", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "translate_xyz_random", LVT_FUNCTION, (size_t) "obj_translate_xyz_random", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "translate_xz_random", LVT_FUNCTION, (size_t) "obj_translate_xz_random", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "turn_toward", LVT_FUNCTION, (size_t) "obj_turn_toward_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "turn_toward_object", LVT_FUNCTION, (size_t) "obj_turn_toward_object", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "unused1", LVT_U32, offsetof(struct Object, unused1), false, LOT_NONE, 1, sizeof(u32) },
|
||||
{ "update_gfx_pos_and_angle", LVT_FUNCTION, (size_t) "obj_update_gfx_pos_and_angle", true, LOT_NONE, 1, sizeof(const char *) },
|
||||
{ "usingObj", LVT_COBJECT_P, offsetof(struct Object, usingObj), false, LOT_OBJECT, 1, sizeof(struct Object*) },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue