Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
657 commits
Select commit Hold shift + click to select a range
5378f27
decomp: clarify names in reserve_expired_frame_slot
pezzadev Nov 3, 2026
3019527
decomp: clarify names in WaitDma
pezzadev Nov 3, 2026
7ad08ba
decomp: clarify names in _lastFrame
pezzadev Nov 3, 2026
6e5f786
decomp: clarify names in hud_heap_alloc
pezzadev Nov 3, 2026
a32d463
decomp: clarify names in count_gold_bolts
pezzadev Nov 3, 2026
7c3fc30
decomp: clarify names in vi_buf_create
pezzadev Nov 3, 2026
02407be
decomp: clarify names in AdjustTime
pezzadev Nov 3, 2026
325d84b
decomp: clarify names in round_float_to_decimal_places
pezzadev Nov 3, 2026
c72946f
decomp: clarify names in send_dma_to_stash_slot
pezzadev Nov 3, 2026
f2c0019
decomp: clarify names in cache_path_segment_lengths
pezzadev Nov 3, 2026
b794cca
decomp: clarify names in transform_scaled_vertex_batch
pezzadev Nov 3, 2026
7f11033
decomp: clarify names in _waitIpuIdle
pezzadev Nov 3, 2026
7af6d3c
decomp: clarify names in read_cd_stream_sectors
pezzadev Nov 3, 2026
981c336
decomp: clarify names in find_nearest_point_index_xy
pezzadev Nov 3, 2026
4d5b45a
decomp: clarify names in sceTtyRead
pezzadev Nov 3, 2026
038ed53
decomp: clarify names in memcard_make_whole_save
pezzadev Nov 3, 2026
78ad0fa
decomp: clarify names in gadgetron_sign_update
pezzadev Nov 3, 2026
2e7e1a4
decomp: clarify names in normalize_vector_triplet
pezzadev Nov 3, 2026
f913972
decomp: clarify names in send_to_spu
pezzadev Nov 3, 2026
b6d54e7
decomp: clarify names in audio_dec_begin_put
pezzadev Nov 3, 2026
961177e
decomp: clarify names in transfer_draw_buffer_chunks
pezzadev Nov 3, 2026
3e00f49
decomp: clarify names in memcard_restore_game
pezzadev Nov 3, 2026
88642c9
decomp: clarify names in start_cutscene_chunk_read
pezzadev Nov 3, 2026
7aee450
decomp: clarify names in sceGsPutDrawEnv
pezzadev Nov 3, 2026
315a0f8
decomp: clarify names in _peepBit
pezzadev Nov 3, 2026
e2fec81
decomp: clarify names in unpack_point_records
pezzadev Nov 3, 2026
e8287b0
decomp: clarify names in decode_map_rle_row
pezzadev Nov 3, 2026
f77d8ed
decomp: clarify names in vi_buf_begin_put
pezzadev Nov 3, 2026
60caea9
decomp: clarify names in collect_mission_ids
pezzadev Nov 3, 2026
b286cd5
decomp: clarify names in video_dec_create
pezzadev Nov 3, 2026
712b5d3
decomp: clarify names in create_particle_with_velocity_and_lifetime
pezzadev Nov 3, 2026
e069849
decomp: clarify names in hud_send_resident_bank
pezzadev Nov 3, 2026
56b51ee
decomp: clarify names in parse_particle_textures
pezzadev Nov 3, 2026
c2e176b
decomp: clarify names in dma_shrub_textures
pezzadev Nov 3, 2026
4886ab5
decomp: clarify names in dma_tie_textures
pezzadev Nov 3, 2026
2314bb4
decomp: clarify names in dma_tfrag_textures
pezzadev Nov 3, 2026
ba54a82
decomp: clarify names in draw_textured_effect_list
pezzadev Nov 3, 2026
f7112c4
decomp: clarify names in spawn_blarg_ship_shot
pezzadev Nov 3, 2026
b394e32
decomp: clarify names in __smakebuf
pezzadev Nov 3, 2026
837c0b0
decomp: clarify names in _nextBit
pezzadev Nov 3, 2026
167bf30
decomp: clarify names in sceGsExecLoadImage
pezzadev Nov 3, 2026
c0730f2
decomp: clarify names in sceIpuRestartDMA
pezzadev Nov 3, 2026
08767cd
decomp: clarify names in load_preview_resource_bindings
pezzadev Nov 3, 2026
4a4f684
decomp: clarify names in spawn_spinning_fade_in_out_effect_particle
pezzadev Nov 3, 2026
f679141
decomp: clarify names in append_draw_buffer_upload_packets
pezzadev Nov 3, 2026
85cd9ed
decomp: clarify names in snd_send_iop_command_and_wait
pezzadev Nov 3, 2026
c61427e
decomp: clarify names in initialize_hero_relative_camera
pezzadev Nov 3, 2026
ae75daa
decomp: clarify names in initialize_planetbuster_maximus_detached_par…
pezzadev Nov 3, 2026
d9b411e
decomp: clarify names in spawn_moving_resizing_height_snapped_alpha_f…
pezzadev Nov 3, 2026
96d7ba7
decomp: clarify names in classify_resort_owner_target_proximity
pezzadev Nov 3, 2026
853e830
decomp: clarify names in setup_menu_display_text
pezzadev Nov 3, 2026
60a556f
decomp: clarify names in smoke_emitter_update
pezzadev Nov 3, 2026
0438838
decomp: clarify names in update_drain_cover_tilt
pezzadev Nov 3, 2026
d9b5e07
decomp: clarify names in sceCdRead
pezzadev Nov 3, 2026
0f20652
decomp: clarify names in sceGsSetDefLoadImage
pezzadev Nov 3, 2026
41f6a53
decomp: clarify names in upload_texture_images
pezzadev Nov 3, 2026
76305c8
decomp: clarify names in queue_framebuffer_upload
pezzadev Nov 3, 2026
aa44ffd
decomp: clarify names in draw_projected_fading_quad
pezzadev Nov 3, 2026
d4e7238
decomp: clarify names in test_path_segment_strict_crossing
pezzadev Nov 3, 2026
75c0cef
decomp: clarify names in spawn_radially_scattered_moby
pezzadev Nov 3, 2026
74346cb
decomp: clarify names in _sceSifLoadModuleBuffer
pezzadev Nov 3, 2026
76f1256
decomp: clarify names in process_unlock_code_input
pezzadev Nov 3, 2026
cf775e7
decomp: clarify names in prepare_movie_playback
pezzadev Nov 3, 2026
964823c
decomp: clarify names in draw_beam_barrier_segments
pezzadev Nov 3, 2026
b7df705
decomp: clarify names in emit_timed_spark_particle
pezzadev Nov 3, 2026
a548232
decomp: clarify names in draw_group_moby_effect_quads
pezzadev Nov 3, 2026
0ab311c
decomp: clarify names in draw_missions_menu2
pezzadev Nov 3, 2026
7b8ffa5
decomp: clarify names in build_vendor_menu_rows
pezzadev Nov 3, 2026
ea420c4
decomp: clarify names in compute_sampled_spline_path_lengths
pezzadev Nov 3, 2026
e857581
decomp: clarify names in spawn_birdbot_movement_particles
pezzadev Nov 3, 2026
6b772a4
decomp: clarify names in destroy_frog_child_moby
pezzadev Nov 3, 2026
bc7c7ca
decomp: clarify names in draw_level09_scrolling_textured_strips
pezzadev Nov 3, 2026
872f83b
decomp: clarify names in path_spark_effect_update
pezzadev Nov 3, 2026
c168fb5
decomp: clarify names in snd_send_iop_command_no_wait
pezzadev Nov 3, 2026
3455c07
decomp: clarify names in draw_map_screen_layers
pezzadev Nov 3, 2026
ca70f7f
decomp: clarify names in nanotech_upgrade_vendor_update
pezzadev Nov 3, 2026
409b1c5
decomp: clarify names in cutscene_set_camera_target
pezzadev Nov 3, 2026
43ead93
decomp: clarify names in update_oscillating_target_link_strips
pezzadev Nov 3, 2026
947b2b8
decomp: clarify names in sceMpegDemuxPssRing
pezzadev Nov 3, 2026
6796784
decomp: clarify names in update_ammo_preview_transform
pezzadev Nov 3, 2026
a423a1b
decomp: clarify names in process_bgm_display_text_event
pezzadev Nov 3, 2026
b79daa7
decomp: clarify names in path_8808
pezzadev Nov 3, 2026
34a856d
decomp: clarify names in load_level_zero_preserving_progress
pezzadev Nov 3, 2026
2687c8c
decomp: clarify names in place_metropolis_train
pezzadev Nov 3, 2026
855edde
decomp: clarify names in directional_particle_emitter_update
pezzadev Nov 3, 2026
73e6346
decomp: clarify names in emit_burst_spark_particle
pezzadev Nov 3, 2026
89a4455
decomp: clarify names in spawn_moby_directional_spark_bursts
pezzadev Nov 3, 2026
069a9d8
decomp: clarify names in underwater_door_update
pezzadev Nov 3, 2026
638412e
decomp: clarify names in spawn_linked_hitbox_contact_effects
pezzadev Nov 3, 2026
910bdfb
decomp: clarify names in update_moby_path_transform
pezzadev Nov 3, 2026
85cd7e7
decomp: clarify names in update_armed_transport_damage_and_targeting
pezzadev Nov 3, 2026
8e559d9
decomp: clarify names in vi_buf_restart_dma
pezzadev Nov 3, 2026
58e0485
decomp: clarify names in update_hero_held_items_and_orientation
pezzadev Nov 3, 2026
2b877b9
decomp: clarify names in draw_uniform_size_hud_stars
pezzadev Nov 3, 2026
9dc69ea
decomp: clarify names in draw_starfighter_tractor_beam
pezzadev Nov 3, 2026
c8190fe
decomp: clarify names in draw_snagglebeast_rope_attack_layer
pezzadev Nov 3, 2026
450a011
decomp: clarify names in spawn_forcefield_contact_effects
pezzadev Nov 3, 2026
0e2ea31
decomp: clarify names in resolve_point_path_segment_clearance
pezzadev Nov 3, 2026
4b10a1e
decomp: clarify names in draw_drek_fight_missile_group_trails
pezzadev Nov 3, 2026
e03ff58
decomp: clarify names in spawn_turret_rocket
pezzadev Nov 3, 2026
9c54589
decomp: clarify names in emit_moby_particles
pezzadev Nov 3, 2026
8c2f373
decomp: clarify names in effect_slots_fire
pezzadev Nov 3, 2026
ab59636
decomp: clarify names in draw_blarg_heavy_interceptor_spinning_beam
pezzadev Nov 3, 2026
e912ebf
decomp: clarify names in spark_particle_emitter_update
pezzadev Nov 3, 2026
9c5d172
decomp: clarify names in emit_height_adjusted_burst_spark_particle
pezzadev Nov 3, 2026
2bb0926
decomp: clarify names in sandmouse_projectile_update
pezzadev Nov 3, 2026
ea0df00
decomp: clarify names in draw_lens_flare
pezzadev Nov 3, 2026
632eefb
decomp: clarify names in pick_idle_fidget
pezzadev Nov 3, 2026
ea8a9fc
decomp: clarify names in FUN_L00_0025df68
pezzadev Nov 3, 2026
4c275f9
decomp: clarify names in glove_of_doom_update
pezzadev Nov 3, 2026
852f04a
decomp: clarify names in rising_debris_emitter_update
pezzadev Nov 3, 2026
2327428
decomp: clarify names in spawn_bomber_tank_joint_particles
pezzadev Nov 3, 2026
c958177
decomp: clarify names in update_hero_movement_and_collision_probes
pezzadev Nov 3, 2026
d88ff93
decomp: clarify names in draw_linked_moby_trails
pezzadev Nov 3, 2026
d44da79
decomp: clarify names in emit_toxic_gas_vent_sparks
pezzadev Nov 3, 2026
58187bd
decomp: clarify names in spawn_hoven_anklebiter_death_sparks
pezzadev Nov 3, 2026
ecf3df5
decomp: clarify names in data_processor_linked_effect_update
pezzadev Nov 3, 2026
6334a04
decomp: clarify names in bombomatic_bomb_update
pezzadev Nov 3, 2026
8515377
decomp: clarify names in spawn_particle_line_effect
pezzadev Nov 3, 2026
cf09b66
decomp: clarify names in actuator_calc_power
pezzadev Nov 3, 2026
cdd8270
decomp: clarify names in steer_blarg_trooper_toward_point
pezzadev Nov 3, 2026
4676e65
decomp: clarify names in update_gemlik_trail
pezzadev Nov 3, 2026
b7c8520
decomp: clarify names in spawn_shuttle_explosion_effect
pezzadev Nov 3, 2026
7bb469c
decomp: clarify names in draw_conveyor_belt_strips
pezzadev Nov 3, 2026
2c3e38f
decomp: clarify names in draw_grindrail_barrier_effect
pezzadev Nov 3, 2026
9784af0
decomp: clarify names in plasmabot_death_debris_update
pezzadev Nov 3, 2026
52f0690
decomp: clarify names in draw_vendor_purchase_text
pezzadev Nov 3, 2026
7e01794
decomp: clarify names in spawn_homing_shot
pezzadev Nov 3, 2026
242ba72
decomp: clarify names in pipe_mounted_grating_update
pezzadev Nov 3, 2026
28ab6f2
decomp: clarify names in bolt_thief_mine_update
pezzadev Nov 3, 2026
3610aae
decomp: clarify names in hero_integrate_velocity
pezzadev Nov 3, 2026
e7824cb
decomp: clarify names in draw_hud_stars
pezzadev Nov 3, 2026
9329519
decomp: clarify names in turret_rocket_update
pezzadev Nov 3, 2026
7f01712
decomp: clarify names in build_packet_and_draw_scaled_entries
pezzadev Nov 3, 2026
7ecbe47
decomp: clarify names in barrier_update
pezzadev Nov 3, 2026
2e14cf9
decomp: clarify names in moving_platform_small_update
pezzadev Nov 3, 2026
6d3858b
decomp: clarify names in render_data_processor_linked_effect
pezzadev Nov 3, 2026
58d632e
decomp: clarify names in spawn_explosion_burst
pezzadev Nov 3, 2026
701c511
decomp: clarify names in leaf_update
pezzadev Nov 3, 2026
1a6b872
decomp: clarify names in landmine_update
pezzadev Nov 3, 2026
32d8361
decomp: clarify names in draw_electric_beam
pezzadev Nov 3, 2026
712bfc8
decomp: clarify names in asteroid_update
pezzadev Nov 3, 2026
6e9c79d
decomp: clarify names in process_blarg_trooper_damage_and_alerts
pezzadev Nov 3, 2026
73e152c
decomp: clarify names in update_target_tracking_camera_position
pezzadev Nov 3, 2026
14e77d9
decomp: clarify names in draw_trick_combo_hud
pezzadev Nov 3, 2026
4714a64
decomp: clarify names in assign_gadgebot_attack_targets
pezzadev Nov 3, 2026
ed6e7e0
decomp: clarify names in update_alien_queen_hit_response_and_recovery
pezzadev Nov 3, 2026
966fa0a
decomp: clarify names in bot_door_lock_update
pezzadev Nov 3, 2026
d0672d9
decomp: clarify names in flying_debris_update
pezzadev Nov 3, 2026
e3aaba3
decomp: clarify names in spawn_poison_vessel_destruction_effects
pezzadev Nov 3, 2026
6cd9d4f
decomp: clarify names in check_ledge_grab
pezzadev Nov 3, 2026
ae9e182
decomp: clarify names in exploding_prop_update
pezzadev Nov 3, 2026
3961d03
decomp: clarify names in help_hints_update
pezzadev Nov 3, 2026
a558444
decomp: clarify names in radial_exploding_prop_update
pezzadev Nov 3, 2026
12ac59e
decomp: clarify names in command_falling_platform_update
pezzadev Nov 3, 2026
2fee76f
decomp: clarify names in gadgebot_telepot_pad_update
pezzadev Nov 3, 2026
c4dd4bf
decomp: clarify names in mine_glove_update
pezzadev Nov 3, 2026
a7fdca3
decomp: clarify names in doom_bot_spawner_update
pezzadev Nov 3, 2026
6afc610
decomp: clarify names in infobot_update
pezzadev Nov 3, 2026
c0e421c
decomp: clarify names in bolt_crank_update
pezzadev Nov 3, 2026
8ab8fa2
decomp: clarify names in update_orbit_camera_position
pezzadev Nov 3, 2026
168a9f4
decomp: clarify names in explosive_projectile_update
pezzadev Nov 3, 2026
a7650f1
decomp: clarify names in smoke_vent_update
pezzadev Nov 3, 2026
1e91ba9
decomp: clarify names in devastator_update
pezzadev Nov 3, 2026
93378b4
decomp: clarify names in update_electric_water_bolt_effect
pezzadev Nov 3, 2026
9b73f63
decomp: clarify names in snow_plow_update
pezzadev Nov 3, 2026
b2d255a
decomp: clarify names in draw_flickering_mesh_effect
pezzadev Nov 3, 2026
fdb066b
decomp: clarify names in update_batalia_bolt_pickup
pezzadev Nov 3, 2026
6bfdcc3
decomp: clarify names in update_fighter_jet_flight
pezzadev Nov 3, 2026
2cb3a5b
decomp: clarify names in snd_play_vag_stream_by_loc_ex_cb
pezzadev Nov 3, 2026
19196e3
decomp: clarify names in pause_stage_sprite_lists
pezzadev Nov 3, 2026
5aa018f
decomp: clarify names in morphoray_chicken_update
pezzadev Nov 3, 2026
065573a
decomp: clarify names in is_turret_group_activated_or_empty
pezzadev Nov 3, 2026
90d4f8d
decomp: clarify names in _waitIpuIdle64
pezzadev Nov 3, 2026
2a56497
decomp: clarify names in count_live_mobys_in_list
pezzadev Nov 3, 2026
7bc7282
decomp: clarify names in sceMpegCreate
pezzadev Nov 3, 2026
fa92b0f
decomp: clarify names in start_vendor_exit_cutscene
pezzadev Nov 3, 2026
45b7ce5
decomp: clarify names in pool_init_tiles
pezzadev Nov 3, 2026
0a16f5e
decomp: clarify names in create_spark_particle
pezzadev Nov 3, 2026
e29b231
decomp: clarify names in emit_minibomber_exhaust_puffs
pezzadev Nov 3, 2026
a307b9c
decomp: clarify names in emit_path_walker_particle
pezzadev Nov 3, 2026
491c10a
decomp: clarify names in emit_moby_offset_particles
pezzadev Nov 3, 2026
063c812
decomp: clarify names in read_mpeg
pezzadev Nov 3, 2026
0dda111
decomp: clarify names in collect_bolt
pezzadev Nov 3, 2026
541ebae
decomp: clarify names in initialize_moby_motion_at_position
pezzadev Nov 3, 2026
cfbd693
decomp: clarify names in spawn_explosion_effects
pezzadev Nov 3, 2026
f4bba87
decomp: clarify names in spawn_jittered_effect_particle_with_optional…
pezzadev Nov 3, 2026
f31fea9
decomp: clarify names in hoverboard_update
pezzadev Nov 3, 2026
fe7a226
decomp: clarify names in apply_taunter_to_nearby_mobies
pezzadev Nov 3, 2026
4e2ecb6
decomp: clarify names in draw_electric_gate_beams
pezzadev Nov 3, 2026
d22957c
decomp: clarify names in water_reservoir_update
pezzadev Nov 3, 2026
ded581e
decomp: clarify names in spawn_smoke_puff_trail_with_endpoint_bursts
pezzadev Nov 3, 2026
81515f8
decomp: clarify names in linked_moby_hitbox_update
pezzadev Nov 3, 2026
85bc458
decomp: clarify names in emit_debris_trail_particles
pezzadev Nov 3, 2026
159cb6d
decomp: clarify names in emit_minibomber_bomb_release_effects
pezzadev Nov 3, 2026
8a15307
decomp: clarify names in spawn_spinning_and_fading_effect_particle
pezzadev Nov 3, 2026
5d4d1cf
decomp: clarify names in render_water_grids
pezzadev Nov 3, 2026
066070a
decomp: clarify names in break_apart_shuttle_linked_mobys
pezzadev Nov 3, 2026
ecc2625
decomp: clarify names in mine_group_update
pezzadev Nov 3, 2026
aa49fb3
decomp: clarify names in sliding_gate_update
pezzadev Nov 3, 2026
37e9537
decomp: clarify names in initialize_pause_menu
pezzadev Nov 3, 2026
a24fc92
decomp: clarify names in butterfly_swarm_update
pezzadev Nov 3, 2026
899d2d5
decomp: clarify names in spawn_rocket_strike_fighter_exhaust
pezzadev Nov 3, 2026
2ae4149
decomp: clarify names in spawn_enemy_fighter_exhaust
pezzadev Nov 3, 2026
e99dded
decomp: clarify names in pool_splash
pezzadev Nov 3, 2026
32461a2
decomp: clarify names in bomber_tank_bomb_update
pezzadev Nov 3, 2026
73ba5cd
decomp: clarify names in homing_mine_update
pezzadev Nov 3, 2026
1621457
decomp: clarify names in leg_walker_update
pezzadev Nov 3, 2026
db33090
decomp: clarify names in spawner_update
pezzadev Nov 3, 2026
bce41d5
decomp: clarify names in update_path_flythrough_camera
pezzadev Nov 3, 2026
dde9d96
decomp: clarify names in construction_arm_update
pezzadev Nov 3, 2026
ec910bd
decomp: clarify names in breakable_lamp_update
pezzadev Nov 3, 2026
70ca021
decomp: clarify names in run_level_main_loop
pezzadev Nov 3, 2026
4f9fb7b
decomp: clarify names in generate_random_points_from_shape_entries
pezzadev Nov 3, 2026
d10cc35
decomp: clarify names in predict_throw_landing
pezzadev Nov 3, 2026
5c3ae88
decomp: clarify names in apply_moby_camera_control
pezzadev Nov 3, 2026
3a01324
decomp: clarify names in draw_ship_hud
pezzadev Nov 3, 2026
1a5e22c
decomp: clarify names in spawn_suck_cannon_projectile_explosion
pezzadev Nov 3, 2026
2a16d4e
decomp: clarify names in update_camera_position_and_orientation_from_…
pezzadev Nov 3, 2026
7fb28ac
decomp: clarify names in bomb_glove_update
pezzadev Nov 3, 2026
be6dd18
decomp: clarify names in skids_agent_update
pezzadev Nov 3, 2026
e8e4c63
decomp: clarify names in scoutbot_update
pezzadev Nov 3, 2026
46e7770
decomp: clarify names in turret_update
pezzadev Nov 3, 2026
d6f68d8
decomp: clarify names in sound_update
pezzadev Nov 3, 2026
40ab33a
decomp: clarify names in blarg_elite_commando_update
pezzadev Nov 3, 2026
caac130
decomp: clarify names in test_dummy_on_hoverboard_update
pezzadev Nov 3, 2026
f49687f
decomp: clarify names in drone_update
pezzadev Nov 3, 2026
b315e8a
decomp: clarify names in update_snagglebeast_rope
pezzadev Nov 3, 2026
0c60e7c
decomp: clarify names in _vfprintf_r
pezzadev Nov 3, 2026
8e879e3
decomp: clarify names in update_debug_menu
pezzadev Nov 3, 2026
f17b342
decomp: clarify names in gold_devastator_missile_update
pezzadev Nov 3, 2026
3680515
decomp: clarify names in build_beam_and_arc_points
pezzadev Nov 3, 2026
f908aa9
decomp: clarify names in sandmouse_update
pezzadev Nov 3, 2026
5bb2c14
decomp: clarify names in suck_beam_update
pezzadev Nov 3, 2026
da1d78b
decomp: clarify names in batalia_cannon_update
pezzadev Nov 3, 2026
8804984
decomp: clarify names in blarg_heavy_interceptor_update
pezzadev Nov 3, 2026
42f001d
decomp: clarify names in load_level_gameplay
pezzadev Nov 3, 2026
a2b4825
decomp: clarify names in doom_bot_update
pezzadev Nov 3, 2026
b9260d9
decomp: clarify names in sharkigator_update
pezzadev Nov 3, 2026
c012c43
decomp: clarify names in snagglebeast_update
pezzadev Nov 3, 2026
8f5e9d5
decomp: clarify names in qwarks_starfighter_update
pezzadev Nov 3, 2026
9a0e458
decomp: clarify names in bolt_thief_mine_update
pezzadev Nov 3, 2026
526d2dc
chore: format clarified batch 38 names
pezzadev Nov 11, 2026
ffcf1f5
decomp: preserve canonical names and enum domains after rebase
pezzadev Nov 11, 2026
85c26f7
decomp: complete rebased parameter and local renames
pezzadev Nov 11, 2026
06dc038
decomp: separate sand shark enum domains and finish particle count re…
pezzadev Nov 11, 2026
859c028
overlay: declare clarified camera and HUD globals in headers
pezzadev Nov 11, 2026
8bd70de
overlay: complete field and local renames against current main
pezzadev Nov 11, 2026
276a8dd
overlay: update remaining audio and particle field references
pezzadev Nov 11, 2026
2c0bfec
chore: apply project formatting to rebased names
pezzadev Nov 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef LOMBYTE_RNC_OVERLAY_SHARED_CAMERA_FOLLOW_CAMERA_OFFSET_EFFECT_DATA_H
#define LOMBYTE_RNC_OVERLAY_SHARED_CAMERA_FOLLOW_CAMERA_OFFSET_EFFECT_DATA_H

extern char camera_offset_effect_selection_gate[] __asm__("D_0013CA44");

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
* Keep its include at this declaration block: SN small-data ordering matters. */
extern int animation_parameter_target_id __asm__("D_L05_0015F980");

extern short l05_hud_release_counter __asm__("D_L05_0015F978") __attribute__((sda));

#endif /* LOMBYTE_RNC_OVERLAY_SHARED_UI_HUD_DRAW_TRICK_COMBO_HUD_DATA_HUD_RELEASE_HELD_ELEMENT_H */
20 changes: 10 additions & 10 deletions src/audio/decoder/audio_dec_begin_put.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ void audio_dec_begin_put(

void audio_dec_begin_put(struct AudioDec *dec,
void **first_destination,
s32 *size1,
s32 *first_destination_byte_count,
void **second_destination,

s32 *size2) {
s32 *second_destination_byte_count) {
enum {
AUDIO_DEC_STATE_HEADER_PENDING = 0
};
Expand All @@ -18,27 +18,27 @@ void audio_dec_begin_put(struct AudioDec *dec,
if (dec->state == AUDIO_DEC_STATE_HEADER_PENDING) {
if (dec->strType != 4) {
*first_destination = ((u8 *)&dec->hdr + dec->hdrCount);
*size1 = 0x28 - dec->hdrCount;
*first_destination_byte_count = 0x28 - dec->hdrCount;
*second_destination = dec->data;
*size2 = dec->size;
*second_destination_byte_count = dec->size;
} else {
*first_destination = dec->data;
*size1 = dec->size;
*first_destination_byte_count = dec->size;
*second_destination = NULL;
*size2 = 0;
*second_destination_byte_count = 0;
}
} else {
writable_byte_count = dec->size - dec->count;
if ((dec->size - dec->put) >= writable_byte_count) {
*first_destination = dec->data + dec->put;
*size1 = writable_byte_count;
*first_destination_byte_count = writable_byte_count;
*second_destination = NULL;
*size2 = 0;
*second_destination_byte_count = 0;
} else {
*first_destination = dec->data + dec->put;
*size1 = dec->size - dec->put;
*first_destination_byte_count = dec->size - dec->put;
*second_destination = dec->data;
*size2 = writable_byte_count - (dec->size - dec->put);
*second_destination_byte_count = writable_byte_count - (dec->size - dec->put);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/audio/decoder/send_to_spu.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void send_to_spu(struct AudioDec *dec,

void send_to_spu(struct AudioDec *dec,
s32 adpcm_source_address,
s32 size,
s32 transfer_byte_count,

s32 staging_byte_offset) {
u32 descriptor[4];
Expand All @@ -22,14 +22,14 @@ void send_to_spu(struct AudioDec *dec,
FlushCache(0);
descriptor[0] = adpcm_source_address;
descriptor[1] = dec->iopBuff;
descriptor[2] = size;
descriptor[2] = transfer_byte_count;
descriptor[3] = 0;
do {
dma_id = sceSifSetDma(descriptor, 1);
} while (dma_id == 0);
while (sceSifDmaStat(dma_id) >= 0) {
}
snd_update_movie_adpcm(size, staging_byte_offset);
snd_update_movie_adpcm(transfer_byte_count, staging_byte_offset);
}

extern __typeof__(send_to_spu) func_0023AF18 __attribute__((alias("FUN_0023af18")));
12 changes: 6 additions & 6 deletions src/audio/music/process_bgm_display_text_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void process_bgm_display_text_event(u64 color,
f32 scale) {
u8 *text_cursor;
s32 i;
f32 size;
f32 glyph_quad_size;
f32 top;
f32 dx;
f32 dy;
Expand All @@ -45,7 +45,7 @@ void process_bgm_display_text_event(u64 color,
if (font_window_active == 0) {
font_palette_colors[0] = color;
}
size = scale * 16.0f;
glyph_quad_size = scale * 16.0f;
i = 0;
if (byte_limit == 0 || *str == 0) {
return;
Expand All @@ -66,8 +66,8 @@ void process_bgm_display_text_event(u64 color,
dy = convert_integer_to_float(additional_glyph->top) * scale;
emit_textured_rectangle(x + dx,
y + dy,
size,
size,
glyph_quad_size,
glyph_quad_size,
additional_glyph->u,
additional_glyph->v,
16,
Expand All @@ -94,8 +94,8 @@ void process_bgm_display_text_event(u64 color,
} else if (*text_cursor > 0x20) {
emit_textured_rectangle(x,
y + top,
size,
size,
glyph_quad_size,
glyph_quad_size,
glyph_table[*text_cursor].u,
glyph_table[*text_cursor].v,
16,
Expand Down
17 changes: 12 additions & 5 deletions src/audio/rpc/snd_send_iop_command_and_wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ s32 snd_send_iop_command_and_wait(s32 cmd, s32 size, u8 *data) __asm__("

extern s32 snd_batches_held __asm__("D_0015ECC4") __attribute__((sda));

s32 snd_send_iop_command_and_wait(s32 cmd, s32 size, u8 *command_payload) {
s32 snd_send_iop_command_and_wait(s32 cmd, s32 payload_byte_count, u8 *command_payload) {
s32 i;
s32 iop_command_result;

for (i = 0; i < size; i++) {
for (i = 0; i < payload_byte_count; i++) {
snd_sync_send_buffer[i] = command_payload[i];
}
goto check;
Expand All @@ -36,9 +36,16 @@ s32 snd_send_iop_command_and_wait(s32 cmd, s32 size, u8 *command_payload) {
snd_flush_sound_commands();
FlushCache(0);
}
if (size != 0) {
sceSifCallRpc(
sound_command_client, cmd, 1, snd_sync_send_buffer, size, snd_sync_buffer, 0xC, 0, 0);
if (payload_byte_count != 0) {
sceSifCallRpc(sound_command_client,
cmd,
1,
snd_sync_send_buffer,
payload_byte_count,
snd_sync_buffer,
0xC,
0,
0);
} else {
sceSifCallRpc(sound_command_client, cmd, 1, 0, 0, snd_sync_buffer, 0xC, 0, 0);
}
Expand Down
10 changes: 5 additions & 5 deletions src/audio/rpc/snd_send_iop_command_no_wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ void snd_send_iop_command_no_wait(s32 cmd, s32 size, u8 *data, s32 cb, s64 cb_da

extern s32 snd_batches_held __asm__("D_0015ECC4") __attribute__((sda));

void snd_send_iop_command_no_wait(s32 cmd, s32 size, u8 *data, s32 cb, s64 cb_data) {
void snd_send_iop_command_no_wait(s32 cmd, s32 payload_byte_count, u8 *data, s32 cb, s64 cb_data) {
s32 need;
s32 tries;
s32 held;
s32 i;
u8 *command_write_cursor;

held = 0;
if (snd_batches_held == 0 && snd_current_buffer == 0 && size == 0 && cb == 0) {
if (snd_batches_held == 0 && snd_current_buffer == 0 && payload_byte_count == 0 && cb == 0) {
snd_prepare_return_buffer(snd_sync_buffer, 1);
while (SceSifCheckStatRpc(sound_command_client) != 0) {
Printf(snd_non_idle_error_string);
Expand All @@ -43,7 +43,7 @@ void snd_send_iop_command_no_wait(s32 cmd, s32 size, u8 *data, s32 cb, s64 cb_da
sceSifCallRpc(sound_command_client, cmd, 1, 0, 0, snd_sync_buffer, 0xC, 0, 0);
return;
}
need = size + 4;
need = payload_byte_count + 4;
tries = 0;
if (need % 4 != 0) {
need += 4 - need % 4;
Expand Down Expand Up @@ -73,9 +73,9 @@ void snd_send_iop_command_no_wait(s32 cmd, s32 size, u8 *data, s32 cb, s64 cb_da
(snd_batch_free_bytes[snd_batch_index] - 0x1000);
*(s16 *)command_write_cursor = cmd;
command_write_cursor += 2;
*(s16 *)command_write_cursor = size;
*(s16 *)command_write_cursor = payload_byte_count;
command_write_cursor += 2;
for (i = 0; i < size; i++) {
for (i = 0; i < payload_byte_count; i++) {
command_write_cursor[i] = data[i];
}
snd_batch_free_bytes[snd_batch_index] -= need;
Expand Down
8 changes: 4 additions & 4 deletions src/audio/streaming/vag/snd_play_vag_stream_by_loc_ex_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,28 @@ void snd_play_vag_stream_by_loc_ex_cb(s32 loc,
u64 cb_data) __asm__("FUN_0012ec08");

void snd_play_vag_stream_by_loc_ex_cb(s32 loc,
s32 size,
s32 request_word_1,
s32 vol_l,
s32 vol_r,
s32 pitch,
s32 flags,
s32 voice,
s32 channel,
s32 request_word_6,
s32 id,
s32 callback_address,

u64 cb_data) {
int new_var;
s32 playback_request_payload[7];
new_var = (pitch << 16) | (vol_l & 0xFFFF);
playback_request_payload[0] = loc;
playback_request_payload[1] = size;
playback_request_payload[1] = request_word_1;
playback_request_payload[2] = new_var;
playback_request_payload[3] = (flags << 16) | (vol_r & 0xFFFF);
playback_request_payload[4] = voice;
playback_request_payload[5] = channel;
playback_request_payload[6] = request_word_6;
snd_send_iop_command_no_wait(0x2C, 0x1C, playback_request_payload, id, cb_data);
snd_send_iop_command_no_wait(0x2C, 0x1C, playback_request_payload, callback_address, cb_data);
}

extern __typeof__(snd_play_vag_stream_by_loc_ex_cb) func_0012EC08
Expand Down
5 changes: 3 additions & 2 deletions src/audio/voices/allocate_voice_for_bank_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ struct VoiceBankEntryWindow {
extern s32 allocate_voice_slot(u8 *, s32, s32, s32, s32) __asm__("func_0022D7F0");
s32 allocate_voice_for_bank_entry(s32 entry_index, s32 flags, s32 owner) __asm__("FUN_0022db10");

s32 allocate_voice_for_bank_entry(s32 entry_index, s32 flags, s32 owner) {
s32 allocate_voice_for_bank_entry(s32 entry_index, s32 voice_control_flags, s32 owner) {
s32 slot_index;
struct VoiceBankEntryWindow *slot;

if (entry_index >= D_0015F5B4) {
return -1;
}
slot_index = allocate_voice_slot(level_sound_defs + (entry_index << 5), flags, owner, 0, 0x400);
slot_index = allocate_voice_slot(
level_sound_defs + (entry_index << 5), voice_control_flags, owner, 0, 0x400);
if (slot_index >= 0) {
slot = (struct VoiceBankEntryWindow *)(((u8 *)&voice_pool) + slot_index * 0x70);
slot->owner = owner;
Expand Down
5 changes: 3 additions & 2 deletions src/audio/voices/allocate_voice_for_group_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ s32 allocate_voice_for_group_entry(s32 group_entry_index,
s32 flags,
s32 owner) __asm__("FUN_0022dba0");

s32 allocate_voice_for_group_entry(s32 group_entry_index, s32 flags, s32 owner) {
s32 allocate_voice_for_group_entry(s32 group_entry_index, s32 playback_flags, s32 owner) {
s32 entry_index;
s32 slot_index;
struct VoiceGroupEntryWindow *slot;
Expand All @@ -26,7 +26,8 @@ s32 allocate_voice_for_group_entry(s32 group_entry_index, s32 flags, s32 owner)
if (entry_index >= level_sound_def_count) {
return -1;
}
slot_index = allocate_voice_slot(level_sound_defs + (entry_index << 5), flags, owner, 0, 0x400);
slot_index =
allocate_voice_slot(level_sound_defs + (entry_index << 5), playback_flags, owner, 0, 0x400);
if (slot_index >= 0) {
slot = (struct VoiceGroupEntryWindow *)(slot_index * 0x70 + ((u8 *)&voice_pool));
slot->owner = owner;
Expand Down
8 changes: 6 additions & 2 deletions src/audio/voices/allocate_voice_for_target_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ s32 allocate_voice_for_target_entry(s32 entry_index,
/* Queue a class sound entry for a moby; return its pool index or -1.
* The caller supplies a nonnegative entry index: retail only checks the
* upper bound. This does not allocate a hardware voice or play immediately. */
s32 allocate_voice_for_target_entry(s32 entry_index, s32 flags, struct MobyAudioView *moby) {
s32 allocate_voice_for_target_entry(s32 entry_index,
s32 voice_slot_flags,

struct MobyAudioView *moby) {
struct MobyClassAudioView *pclass;
s32 slot_index;
s32 sound_defs;
Expand All @@ -53,7 +56,8 @@ s32 allocate_voice_for_target_entry(s32 entry_index, s32 flags, struct MobyAudio
if (entry_index >= (s32)pclass->sound_def_count) {
return -1;
}
slot_index = allocate_voice_slot(sound_defs + (entry_index << 5), flags, moby, 0, 0x400);
slot_index =
allocate_voice_slot(sound_defs + (entry_index << 5), voice_slot_flags, moby, 0, 0x400);
if (slot_index >= 0) {
slot = (struct VoiceMobyEntryWindow *)((slot_index * 0x70) + (s32)((u8 *)&voice_pool));
slot->owner = moby;
Expand Down
8 changes: 4 additions & 4 deletions src/audio/voices/pause_all_sounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ extern s32

extern void update_skill_point_and_gold_weapon_menu_entries() __asm__("func_00226E58");

void pause_all_sounds(s32 mode) __asm__("FUN_00218d78");
void pause_all_sounds(s32 menu_state) __asm__("FUN_00218d78");

extern s32 game_mode_macro __asm__("D_0015F604") MACRO_ADDR;

void pause_all_sounds(s32 mode) {
void pause_all_sounds(s32 menu_state) {
struct MenuSystem *g;
snd_pause_all_sounds_in_group(0x1D);
music_pause(0);
Expand Down Expand Up @@ -68,7 +68,7 @@ void pause_all_sounds(s32 mode) {
{
struct MenuSystem *g = &menu_system;
struct MenuTextListScreen *head = &pause_menu_chain_head;
g->sequence_autoclose = mode == 0x23;
g->sequence_autoclose = menu_state == 0x23;
head->list.up = g->goodies_tab_shown ? (struct MenuScreen *)&pause_goodies_tab
: (struct MenuScreen *)&pause_menu_chain_tail;
}
Expand All @@ -81,7 +81,7 @@ void pause_all_sounds(s32 mode) {
{
struct MenuSystem *g = &menu_system;
game_mode_macro = 3;
g->state = mode;
g->state = menu_state;
g->close_request = 0;
g->graphics_workspace = 0;
g->update_count = 0;
Expand Down
5 changes: 3 additions & 2 deletions src/audio/voices/sound_update.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ s32 sound_update(void) {
{
/* Fakematch: the byte index in a local keeps the copy's start address as
(index + base) + 1, unflattened as retail's loop pass emits it. */
s32 offset = slot_index * (s32)sizeof(VoiceSlot) + 0xB4;
s32 index = history_offset + offset;
s32 occlusion_history_pool_offset =
slot_index * (s32)sizeof(VoiceSlot) + 0xB4;
s32 index = history_offset + occlusion_history_pool_offset;
for (repeat_index = 1; repeat_index < 6; repeat_index++) {
((u8 *)&voice_pool)[index + repeat_index] =
voice_pool.voices[slot_index].occlusion_history[history_offset];
Expand Down
10 changes: 8 additions & 2 deletions src/camera/sample_camera_path.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ void sample_camera_path(struct CameraPath *path,

void sample_camera_path(

struct CameraPath *path, s32 loop, void *position, f32 *rotation, s32 flags, f32 progress) {
struct CameraPath *path,
s32 loop,
void *position,
f32 *rotation,
s32 rotation_output_flags,

f32 progress) {
Vec4 current_point;
Vec4 next_point;
Vec4 following_point;
Expand Down Expand Up @@ -68,7 +74,7 @@ void sample_camera_path(
qcopy(&current_point.q, &path->points[point_index]);
qcopy(&next_point.q, &path->points[next_index]);
lerp_vector(position, &current_point, &next_point, fraction);
if (!(flags & 1)) {
if (!(rotation_output_flags & 1)) {
fast_vec_sub(&segment, &next_point, &current_point);
heading = fast_arc_tan(segment.f[0], segment.f[1]);
pitch = fast_arc_tan(vector_length_xy(&segment), segment.f[2]);
Expand Down
8 changes: 4 additions & 4 deletions src/game/dispatch_game_state_update.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ void dispatch_game_state_update(void) {
enum {
LEVEL_FRAME_RENDER = 4
};
s32 state;
s32 render_dispatch_state;

if (space_load_in_progress != 0) {
return;
}
state = ship_substate[0];
if ((u32)state >= 9U) {
render_dispatch_state = ship_substate[0];
if ((u32)render_dispatch_state >= 9U) {
return;
}
switch (state) {
switch (render_dispatch_state) {
case 0:
case 8:
prepare_debug_profiler_render();
Expand Down
Loading
Loading