Commit Graph
379 Commits
Author SHA1 Message Date
Jonas Volman a84aa77444 Reconstruct structure lens flare leaves 2026-07-14 20:26:02 -07:00
Jonas Volman b361ea094c Reconstruct Chicago shader preprocessor leaf 2026-07-14 20:21:57 -07:00
Jonas Volman b9fd6d21e2 Reconstruct Xbox rasterizer error reporting 2026-07-14 20:17:35 -07:00
Jonas Volman 5989190a01 Match elite actor type 2026-07-14 20:12:58 -07:00
Jonas Volman 507796ff36 Reconstruct infection actor decision logic 2026-07-14 20:10:22 -07:00
Jonas Volman 2907bd8549 Reconstruct sentinel actor decision logic 2026-07-14 20:08:38 -07:00
Jonas Volman 51e73a59c4 Reconstruct jackal actor decision logic 2026-07-14 20:03:11 -07:00
Jonas Volman 70c95d665a Reconstruct exact grunt actor behavior 2026-07-14 20:01:20 -07:00
Jonas Volman 0139bdc6bf Match crew actor type 2026-07-14 19:59:48 -07:00
Jonas Volman f71547c2cf Reconstruct message encryption routines 2026-07-14 19:54:53 -07:00
Jonas Volman bbed5fed7d Match carrier actor type 2026-07-14 19:52:21 -07:00
Jonas Volman 0c44b91f33 Reconstruct hunter actor decision logic 2026-07-14 19:40:52 -07:00
Jonas Volman c257a55fa3 Reconstruct exact WAVE sound import 2026-07-14 19:38:16 -07:00
Jonas Volman 48e8232432 Reconstruct scenery object behavior 2026-07-14 19:34:50 -07:00
Jonas Volman c2b092bd79 Complete exact AIFF sound import 2026-07-14 19:24:16 -07:00
Jonas Volman 6dd5fb4f25 Conform HS definition prototype 2026-07-14 19:15:48 -07:00
Jonas Volman 166b7db56a Conform circular queue declarations 2026-07-14 19:11:30 -07:00
Jonas Volman fe021e0300 Match circular queue operations 2026-07-14 19:11:30 -07:00
Jonas Volman 5df7ba9b15 Match terminal global BSS linkage 2026-07-14 19:08:43 -07:00
Jonas Volman a917110d9d Fix terminal tab stops linkage: rename to _rdata_002712d0 with external scope
Change static const short terminal_tab_stops[] to const short
rdata_002712d0[] so the symbol is external (storage 0x2) and
matches the target COFF's symbol name and linkage. The 6-byte
tab-stops array was previously reported as a .rdata mismatch
(96.36% of 176 bytes matching). All 13 code functions remain
unchanged and verified EQUAL via the hardened comparator.
2026-07-14 19:03:37 -07:00
Jonas Volman 18ddf62396 Apply maintainer function style to exact lifts 2026-07-14 19:03:07 -07:00
Jonas Volman 3cd314ca3b Align typed accessors with HCEX conventions 2026-07-14 19:03:06 -07:00
Jonas Volman 0538289bd8 Reconstruct AIFF sound import 2026-07-14 18:40:32 -07:00
Jonas Volman b52a4dca3d Reconstruct exact 64-bit arithmetic 2026-07-14 18:35:28 -07:00
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