Commit Graph
48 Commits
Author SHA1 Message Date
Jonas Volman f4db2f6e9c Reconstruct UI widget game-data callbacks 2026-09-02 18:16:40 -07:00
Jonas Volman 435e80783d Recover exact UI widget support wave 2026-09-02 07:17:04 -07:00
Jonas Volman 7055eee35a Match and reconcile main loop
Reconstruct _main_loop from the exact Claude packet using semantic helper names, authentic types, and owner-header prototypes. Keep collision timing declarations behind the collision debug/log boundary so units.obj remains exact.
2026-09-01 17:20:02 -07:00
Jonas Volman 9f74e9937f Import 909 authenticated January and HCEA symbol names 2026-08-31 16:11:03 -07:00
Jonas Volman 777a30ba1d Place shared prototypes in owner headers 2026-08-30 23:58:08 -07:00
Jonas Volman cbc900ec83 Match network machine invalidation 2026-08-29 19:18:31 -07:00
Jonas Volman 27cf965153 Match server broadcast message senders 2026-08-29 00:01:11 -07:00
Jonas Volman 50a724f6f1 Match server machine message send 2026-08-28 23:53:56 -07:00
Jonas Volman 770f1c7113 Advance five objects with exact public leaves 2026-08-28 17:01:33 -07:00
Jonas Volman 6978db0144 Recover network client rejection handler 2026-08-27 05:40:16 -07:00
Jonas Volman d31c239a8d Recover network client OOS and player-index helpers 2026-08-27 05:14:03 -07:00
Jonas Volman cd0d05e34e Recover network client lifecycle helpers 2026-08-27 05:03:27 -07:00
Jonas Volman 8fffaeeba7 Match advertised game validity 2026-08-27 04:53:36 -07:00
Jonas Volman 028ef9a127 Recover network client state helpers 2026-08-27 04:50:26 -07:00
Jonas Volman 568b653e78 Recover network client accessor clusters 2026-08-27 04:39:28 -07:00
Jonas Volman 0e312d7e4c Match network client write wrapper 2026-08-27 04:30:23 -07:00
Jonas Volman b51291a905 Match player queue public leaves 2026-08-21 08:07:12 -07:00
Jonas Volman ec28ac4e29 Advance network server manager reconstruction 2026-08-20 16:31:43 -07:00
Jonas Volman 60c1f7e6f4 Advance network server manager reconstruction 2026-08-20 12:21:33 -07:00
Jonas Volman 018aa03f36 Checkpoint network server manager reconstruction 2026-08-20 11:23:39 -07:00
Jonas Volman 0c2369607e Match telnet console object 2026-08-13 05:30:26 -07:00
Jonas Volman c801d5ec6e Match game engine nondeterministic update cluster 2026-07-25 21:52:27 -07:00
Jonas Volman 610017aa7b Match network game globals object 2026-07-22 14:06:55 -07:00
Jonas Volman d40ddf4dd5 Match network client end frame 2026-07-17 23:22:30 -07:00
Jonas Volman b8a77ab76f Reconstruct network client frame lifecycle 2026-07-17 20:53:49 -07:00
Jonas Volman 651768302b Match network game local player helpers 2026-07-16 23:11:07 -07:00
Jonas Volman 9e9cce3fda Match network game manager helpers 2026-07-16 23:11:07 -07:00
Jonas Volman 8fcb1a35d9 Match server connection admission control 2026-07-16 23:00:19 -07:00
Jonas Volman f71ac4dee1 Match network connection state helpers 2026-07-16 22:53:12 -07:00
Jonas Volman 0c727c4a42 Match network game manager leaves 2026-07-16 22:48:43 -07:00
Jonas Volman 0de921c47e Match network game lifecycle helpers 2026-07-16 22:39:10 -07:00
Jonas Volman 7c831ee865 Match network game global state helpers 2026-07-16 22:37:07 -07:00
Jonas Volman eca5cb1a16 Reconstruct data packet serialization 2026-07-15 18:52:51 -07:00
Jonas Volman dfaa3a9a34 Reconstruct network message packet definitions 2026-07-15 17:34:34 -07:00
Jonas Volman 26ef675a7f Align network message private symbols 2026-07-15 17:20:46 -07:00
Jonas Volman 66d0f54f9c Match network game message creation 2026-07-15 16:22:59 -07:00
Jonas Volman 1aa822f30c Correct network packet class API 2026-07-15 11:00:01 -07:00
Jonas VolmanandClaude Opus 4.8 35d3a59674 Match network game message initialization, event, and decode
Reconstruct three bounded functions in network_messages.obj against the
January target object:

  initialize_network_game_packets  0x10 padded,  2 relocations
  network_event                    0x60 padded,  8 relocations
  decode_network_game_message      0xa0 padded,  8 relocations

All three are proven exact by coff_compare.py: padded size, normalized
hash, and every relocation offset, type, resolved target and addend.

Parameter names and assert expressions are recovered from the target's
own assert strings. data_0030aa68 is declared with a named container
type following the initialize_key_agreement_packets convention, placing
the packet group at +0x830; its definition is deferred with the packet
definition table.

data_packet_group_decode_packet is declared in data_packet_groups.h,
whose parameter names come from the callee's assert strings.
data_packet_groups.h now includes cseries.h so it is self-sufficient for
translation units that include it without cseries.h first.

code_0011af00 (encode_network_game_message) is left dormant: it takes
message_struct, encoded_message and encoded_message_size in edi/ebx/esi
without saving them, so it uses a private register calling convention
that MSVC only selects with its sole caller, create_network_game_message,
present in the same translation unit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 10:58:22 -07:00
Jonas Volman 0ce8c8a49d Match network connection initialization 2026-07-15 08:46:18 -07:00
Jonas Volman 3cd314ca3b Align typed accessors with HCEX conventions 2026-07-14 19:03:06 -07:00
Jonas Volman 1d76b70081 Match network_game_get_random_player_name 2026-07-14 14:10:49 -07:00
punpckhdq cce8ecb1f2 Use space before equals (#21) 2026-06-08 02:44:47 +01:00
Berthalamew 52a0dc4c28 add tag definitions and misc function prototypes (#19)
* misc changes

- add function prototypes and change types
- add profile_initialize

* add tag definitions and prototypes

- real math changes
2026-05-05 18:56:06 +01:00
Berthalamewandpunpckhdq 4817ee1995 console/terminal related work (#8)
* misc changes and additions

formatting changes and add structs/constants for terminal work

* match write_to_error_file and add error_global_data

* console work

* requested changes

* terminal work

100% match all terminal functions

* Formatting

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-01-06 23:30:12 +00:00
punpckhdq 13ede36d69 Cleanup attract_mode.c 2026-01-06 18:08:35 +00:00
punpckhdq 4fc9a8a143 main.c WIP 2025-12-02 15:59:57 +00:00
punpckhdq 4bd27e8251 Push all applicable HCEX header stubs 2025-11-27 10:43:31 +00:00
punpckhdq e830efbd7c Initial commit 2025-11-27 02:27:27 +00:00