Commit Graph
405 Commits
Author SHA1 Message Date
Jonas Volman 06aa27d621 Restore tif_compress codec scheme set 2026-07-14 14:07:54 -07:00
Jonas Volman 823fa08e6a Match object_deleted_procs object 2026-07-14 14:04:39 -07:00
Jonas Volman 4d63323d8b Match source/bitmaps/libtiff/tif_compat.obj
Root cause: TIFFGetFileSize was excluded on xbox by #if guard
checking only unix/__unix/MSDOS/VMS. The Xbox XDK sys/stat.h
provides fstat(), and the original Jan 2002 build included
this function.

Fix: add defined(xbox) to the preprocessor guard and map
fstat->_fstat to match the original build's name decoration
convention (original compiler prepends _ even to names
already starting with _, producing __fstat symbol).

Verification:
  - .text section (48 bytes, MD5 36278163024e40f7...): MATCH
  - .data section (90 bytes, MD5 ac8cc86417f9c2db...): MATCH
  - External symbol __fstat: MATCH
  - objdiff-cli interactive diff: 100.00%

Canonical report 0/1 previously due to the #if guard causing
zero functions to be emitted in the base build.
2026-07-14 13:58:08 -07:00
Jonas Volman 2e1409304d Match huft_build and complete inftrees 2026-07-14 13:47:29 -07:00
Jonas Volman 48337766c8 Match tif_close object 2026-07-14 13:38:25 -07:00
Jonas Volman 787ba37f7d Match object_list_get_first and complete object_lists 2026-07-14 13:26:51 -07:00
Jonas Volman 273d26c886 Match tag_block_get_element_with_size 2026-07-14 13:15:31 -07:00
Jonas Volman 0b2f3008ce Match tif_warning object 2026-07-14 13:10:57 -07:00
Jonas Volman b60640c79d Match tif_error object 2026-07-14 13:10:00 -07:00
Jonas Volman 1c8e87e965 Match hud_initialize_nav_points 2026-07-14 13:06:26 -07:00
Jonas Volman 86a6e88175 Match hud_initialize_nav_points_for_new_map 2026-07-14 13:06:26 -07:00
Jonas Volman d969ea5bbf Match hud_dispose_nav_points 2026-07-14 13:06:26 -07:00
Jonas Volman decb9c45c5 Match hud_dispose_nav_points_from_old_map 2026-07-14 13:06:26 -07:00
Jonas Volman bc65035df1 Match vector_intersect_plane3d 2026-07-14 13:06:26 -07:00
Jonas Volman f110d4e0a9 Match convex_hull3d_verify 2026-07-14 13:06:26 -07:00
Jonas Volman 3dd9a8ba47 Match vector_intersect_plane2d 2026-07-14 13:06:26 -07:00
Jonas Volman 94f4620bfa Match plane2d_distance_to_point 2026-07-14 13:06:26 -07:00
Jonas Volman 238bd11869 Match permutations 2026-07-14 13:06:26 -07:00
Jonas Volman 7d6811cd03 Match factorial 2026-07-14 13:06:26 -07:00
Jonas Volman 5e1786d87f Match rasterizer_windows_end 2026-07-14 13:06:26 -07:00
Jonas Volman 0a85c9a252 Match rasterizer_windows_begin 2026-07-14 13:06:26 -07:00
Jonas Volman 53f83005e3 Match rasterizer_window_end 2026-07-14 13:06:26 -07:00
Jonas Volman 91a50fc8a8 Match rasterizer_frame_end 2026-07-14 13:06:26 -07:00
Jonas Volman 5bb4c262f0 Match rasterizer_dispose 2026-07-14 13:06:26 -07:00
Jonas Volman 6dbfb9cedb Match rasterizer_decals_update_function_pointers 2026-07-14 13:06:26 -07:00
Jonas Volman 12e6426cc0 Match real_seed_random 2026-07-14 12:57:22 -07:00
Jonas Volman cee6fbbd4d Match seed_random_range 2026-07-14 12:56:06 -07:00
Jonas Volman c654f8a55b Match seed_random 2026-07-14 12:54:40 -07:00
Jonas Volman c60807abb3 Match random_math_dispose 2026-07-14 12:53:18 -07:00
Jonas Volman 389387f833 Match random seed initialization source 2026-07-14 12:50:51 -07:00
Jonas Volman 3f3dd7e49b Match get_global_random_seed_address 2026-07-14 12:49:45 -07:00
Jonas Volman e3f5549932 Match unlock_global_random_seed 2026-07-14 12:48:37 -07:00
Jonas Volman 9a3af7c3d8 Match get_random_seed 2026-07-14 12:47:52 -07:00
Jonas Volman c29718a058 Match random_seed_debug_log 2026-07-14 12:46:54 -07:00
Jonas Volman 7fdbe62041 Match damage_render_debug 2026-07-14 12:46:27 -07:00
Jonas Volman 5e4c92ad8e Match damage_dispose_from_old_map 2026-07-14 12:46:27 -07:00
Jonas Volman 1c98c6d422 Match damage_dispose 2026-07-14 12:46:27 -07:00
Jonas Volman 9e0260d4f4 Match damage_initialize 2026-07-14 12:46:27 -07:00
Jonas Volman e6150470f4 Match input_mouse_button_is_down 2026-07-14 12:46:06 -07:00
Jonas Volman 59a6d459c9 Match input_get_mouse_state 2026-07-14 12:46:06 -07:00
Jonas Volman 1a169cfce1 Match input_deactivate 2026-07-14 12:46:06 -07:00
Jonas Volman 008de7deb0 Match input_activate 2026-07-14 12:46:06 -07:00
Jonas Volman 5c6897ed68 Match lock_global_random_seed 2026-07-14 12:46:05 -07:00
Jonas Volman 4e12fa620f Match get_global_local_random_seed_address 2026-07-14 12:45:19 -07:00
Jonas Volman e87b7aedb1 Match shader_type_is_valid_for_modifier 2026-07-14 12:45:03 -07:00
Jonas Volman 1920cf32fd Match shader_type_is_valid_for_model 2026-07-14 12:45:03 -07:00
Jonas Volman 2590211a72 Match shader_type_is_valid_for_environment 2026-07-14 12:45:03 -07:00
Jonas Volman 5abd4f504c Match shader_type_is_vertex_lit 2026-07-14 12:45:03 -07:00
Jonas Volman 1b50453583 Match shader_type_is_lightmapped 2026-07-14 12:45:03 -07:00
Jonas Volman 0aa5fa0dc1 Match data_new 2026-07-14 12:41:01 -07:00