Commit Graph
405 Commits
Author SHA1 Message Date
Jonas Volman 0210bed957 Match scenery animation time 2026-07-14 18:29:05 -07:00
Jonas Volman d4221e7211 Match game engine registry 2026-07-14 18:21:53 -07:00
Jonas Volman dfa4392da3 Implement projectile material response definition 2026-07-14 18:21:47 -07:00
Jonas Volman 73d92be2b9 Match HUD anchor names 2026-07-14 18:21:47 -07:00
Jonas Volman f663010fbe Match scenery update 2026-07-14 18:21:05 -07:00
Jonas Volman 818cb4837e Match scenery lifecycle leaves 2026-07-14 18:15:25 -07:00
Jonas Volman cb8b87265d Match default sound environment data 2026-07-14 18:10:13 -07:00
Jonas Volman e07fc8fdd8 Match seed_random_orientation 2026-07-14 18:04:09 -07:00
Jonas Volman f48c7d3900 Conform sound scenery definition style 2026-07-14 18:03:28 -07:00
Jonas Volman 7d9248ad25 Match targa_export 2026-07-14 18:01:28 -07:00
Jonas Volman 529fd2c9cb Match signed bitmap dimensions 2026-07-14 18:01:28 -07:00
Jonas Volman 26235f5609 Reconstruct action avoid behavior 2026-07-14 17:59:36 -07:00
Jonas Volman 9fa5a9b436 Place random initialization state in bss 2026-07-14 17:56:04 -07:00
Jonas Volman 0f51c7dbc5 Match randomrange64 2026-07-14 17:56:04 -07:00
Jonas Volman ea7b2e2d09 Name random number initialization state 2026-07-14 17:56:04 -07:00
Jonas Volman 1371090615 Correct debug realloc ABI 2026-07-14 17:55:49 -07:00
Jonas Volman 5bc7b6c8be Use semantic PackBits names and TIFF fields 2026-07-14 17:43:27 -07:00
Jonas Volman 4078156c16 Match tif_packbits: all 5 functions, .rdata, .data
Functions matched (all EQUAL via hardened comparator):
- _code_0005bff0 (PackBitsPreEncode): 0x40 bytes, 2 relocs
- _code_0005c030 (PackBitsEncode): 0x230 bytes, 7 relocs
- _code_0005c260 (PackBitsDecode): 0x110 bytes, 3 relocs
- _code_0005c370 (PackBitsEncodeChunk): 0x50 bytes, 1 reloc
- _TIFFInitPackBits: 0x50 bytes, 4 relocs

Changes:
- Remove #include <assert.h> and assert() call
- Rename static functions to target VA-based symbol names
- Replace bcopy() with _csmemcpy() (XDK standard)
- Put RCSID string in .data as _data_002daf38
- Use direct offset stores for struct fields whose layout
  differs between this repo's tiffioP.h and the original binary
- Reorder function definitions alphabetically to match section
  ordering in the original COFF
2026-07-14 17:43:24 -07:00
Jonas Volman 5e4830c263 Match multiplayer scenario map name extraction 2026-07-14 17:43:23 -07:00
Jonas Volman 2168b602e9 Match multiplayer scenario list lookup 2026-07-14 17:43:22 -07:00
Jonas Volman ab22c4ea7b Apply Xbox shell definition style 2026-07-14 17:43:18 -07:00
Jonas Volman 33289cad88 Name Xbox shell command line storage 2026-07-14 17:43:18 -07:00
Jonas Volman 7e838e671a Match combine 2026-07-14 17:43:18 -07:00
Jonas Volman 9dfaaeb2aa Match permute 2026-07-14 17:43:18 -07:00
Jonas Volman f6629e6dde Match combinations 2026-07-14 17:43:18 -07:00
Jonas Volman 9814c3301d Match random prime selection 2026-07-14 17:43:02 -07:00
Jonas Volman 390a15253d Match descending prime comparator 2026-07-14 17:36:32 -07:00
Jonas Volman 70887b1edf Apply project function definition style 2026-07-14 17:31:18 -07:00
Jonas Volman f13aaa1c22 Match hs syntax data byte swapping 2026-07-14 17:30:30 -07:00
Jonas Volman bbc3ee4daa Recover Halo script scenario definitions 2026-07-14 17:30:30 -07:00
Jonas Volman 04f527104e Recover Halo script scenario layouts 2026-07-14 17:30:30 -07:00
Jonas Volman 38ba8b8820 Match light_fixture_update 2026-07-14 17:29:46 -07:00
Jonas Volman 675998759e Match light_fixture_delete 2026-07-14 17:29:45 -07:00
Jonas Volman ef01e31851 Match light_fixture_new 2026-07-14 17:29:44 -07:00
Jonas Volman 4644bfe73b Match light_fixture_place 2026-07-14 17:29:42 -07:00
Jonas Volman d0bc90f945 Match light_fixtures_dispose_from_old_map 2026-07-14 17:29:41 -07:00
Jonas Volman 21e2dcd912 Match light_fixtures_initialize_for_new_map 2026-07-14 17:29:39 -07:00
Jonas Volman 4ff077c510 Match light_fixtures_dispose 2026-07-14 17:29:38 -07:00
Jonas Volman 9d1f461c57 Match light_fixtures_initialize 2026-07-14 17:29:36 -07:00
Jonas Volman c93564c389 Match sound_raw_sample_data_get 2026-07-14 17:29:32 -07:00
Jonas Volman aef5a7ca65 Handle random math globals explicitly 2026-07-14 17:29:12 -07:00
Jonas Volman 508fe9b4eb Match action_sleep_control 2026-07-14 17:19:45 -07:00
Jonas Volman cc7e2bb8c9 Recover model animation catalog data 2026-07-14 17:16:06 -07:00
Jonas Volman e688944f54 Declare model animation catalogs 2026-07-14 17:16:06 -07:00
Jonas Volman 89d62d6cd1 Match animation_list_get_string 2026-07-14 17:16:06 -07:00
Jonas Volman c8b2c3941e Match animation_get_frame_info 2026-07-14 17:16:06 -07:00
Jonas Volman 5b84cbab2e Match animation_get_frame_data 2026-07-14 17:16:06 -07:00
Jonas Volman 8c99655de2 Declare model animation definition accessors 2026-07-14 17:16:06 -07:00
Jonas Volman 206fb9accd Match TIFFFieldWithTag 2026-07-14 17:16:03 -07:00
Jonas Volman 2d63f6fe16 Match TIFFFindFieldInfo 2026-07-14 17:16:03 -07:00