Repository navigation
Reimplement 47 Synchrony::Commands functions at 100%, from gynt's finished work - #431
Open
kotijekriv wants to merge 94 commits into
Open
kotijekriv wants to merge 94 commits into
kotijekriv wants to merge 94 commits into
Conversation
InitialAnnounceReply, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit b19c2c6 ("reimplement: SHC_3BB0A8C1_0x00480640 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ResetSyncStatusUnk, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 83ab8d6 ("reimplement: SHC_3BB0A8C1_0x00484450 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CloseModalDialogForEveryone, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit faf55c3 ("reimplement: SHC_3BB0A8C1_0x00485330 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The BOOLEnum include goes: BOOLEnum is never named here. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
InitialAnnounceToHost, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit dc6352f ("reimplement: SHC_3BB0A8C1_0x004893C0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - 0/1 values are tested by truth. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ClickChangeTaxes, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 6c33d8c ("reimplement: SHC_3BB0A8C1_0x00482360 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - Param0 is cleared with 0 before its low bytes are read, where the draft assigns DAT_CommandActionPlan, which is GCS_EXECUTE (0) on that path; the code is the same. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ClickChangeRations, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 6481c09 ("reimplement: SHC_3BB0A8C1_0x004823C0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - Param0 is cleared with 0 before its low bytes are read, where the draft assigns DAT_CommandActionPlan, which is GCS_EXECUTE (0) on that path; the code is the same. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ClickBuildingSleep, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit fa64671 ("reimplement: SHC_3BB0A8C1_0x00482A40 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - Param0 is cleared with 0 before its low bytes are read, where the draft assigns DAT_CommandActionPlan, which is GCS_EXECUTE (0) on that path; the code is the same. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncStatus2, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 8fc563b ("reimplement: SHC_3BB0A8C1_0x004843F0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - 0/1 values are tested by truth. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
TriggerRecalculationOfUnitSameTileLinkage, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 24c849e ("reimplement: SHC_3BB0A8C1_0x00484E10 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… the style guide On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The buffer the received values are read into is readBuffer, declared at its first use. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
BroadCastSyncRelatedStatus, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 35368ab ("reimplement: SHC_3BB0A8C1_0x004850E0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The BOOLEnum include goes: BOOLEnum is never named here. - 0/1 values are tested by truth. - The comma expression in the execute test is a statement of its own after an early return. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ShareAnnouncementWithHost, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 19129db ("reimplement: SHC_3BB0A8C1_0x004852D0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - 0/1 values are tested by truth. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
TribeRelated1, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 78b3c13 ("reimplement: SHC_3BB0A8C1_0x00484A00 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - The buffer the received values are read into is readBuffer, declared at its first use. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
DeselectUnit, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit c0d6a7b ("reimplement: SHC_3BB0A8C1_0x00484DA0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - The buffer the received values are read into is readBuffer, declared at its first use. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ShareAIVHash, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit cd50aa8 ("reimplement: SHC_3BB0A8C1_0x00486320 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - Numbers are decimal. - x - 1U <= 7 is x >= 1 && x <= 8. - Both sizes are sizeof(aivFileHash) (512 bytes). The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
AnnounceGameVersion, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit acd4892 ("reimplement: SHC_3BB0A8C1_0x00480680 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - x - 1U <= 7 is x >= 1 && x <= 8. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are sizeof(playerDataArray[0]), one element (14836 bytes), where the draft has the byte count. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
SendResyncEntity, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit e4d787c ("reimplement: SHC_3BB0A8C1_0x0048A710 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are sizeof(entityArray[0]), one element (232 bytes), where the draft has the byte count. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncTeleClimb, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 65309ba ("reimplement: SHC_3BB0A8C1_0x0048AB40 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are sizeof(climbData[0]), one element (516 bytes), where the draft has the byte count. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
SendQuitGameQuestion, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 8f1e58c ("reimplement: SHC_3BB0A8C1_0x0048B280 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - The copy loops are strcpy, with its pragma at the top of the file, as sourcehold#415 writes them. - The text of a lookup is a // "..." line above it. - The question's text is copied with strcpy; its text is the // line above it. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncVillage, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 65e49a1 ("reimplement: SHC_3BB0A8C1_0x0048BBE0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are sizeof(aivs[0]), one element (28056 bytes), where the draft has the byte count. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncAIZone, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 923c4c2 ("reimplement: SHC_3BB0A8C1_0x0048BC90 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - heatMaps + n is &heatMaps[n], and 0xf00 and 3840 are sizeof(heatMaps[0]); the receiving half is an early return. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
AcknowledgeMapExistence, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 06ce58c ("reimplement: SHC_3BB0A8C1_0x004833F0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before, which does not build on main as it is (below). reccmp reads 100.0 (normalized 100.0), with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The BOOLEnum include goes: BOOLEnum is never named here. - 0/1 values are tested by truth. - It builds on main with main's field names: GameSynchronyState::field239_0x1072f8 is mapExistenceAckCountdown. - gynt's _flag and _index are parameter0 and mapIndex, each declared where it is read. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ShareMSVMapIndex, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit eac9854 ("reimplement: SHC_3BB0A8C1_0x004834B0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before. On main's headers his file reads reccmp 97.9 (normalized 92.3); this reads 100.0 (normalized 100.0), with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The BOOLEnum include goes: BOOLEnum is never named here. - 0/1 values are tested by truth. - The original stores at MenuTextInputState + 0x1050 + mapIndex * 4. gynt's draft writes that as DAT_ArrayOfMapIndices[mapIndex + 499], with the array at 0x884 on his branch. On main that array starts at 0x880 and has 501 entries, so the address lies in the next one: DAT_ArrayOfMapIndices2[mapIndex - 1] (the array at 0x1054), the form main's MenuItemRenderFunction_SaveLoadMap_TableContent reads the same entries with. - The two received values are parameter0 and mapIndex, each declared where it is read. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncZone, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 6cd4395 ("reimplement: SHC_3BB0A8C1_0x00484E70 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are sizeof(grid[0]), one row of 40 cells (6400 bytes), where the draft has the byte count. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CommandSelectionReplenishAmmo, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit a4dfc57 ("reimplement: SHC_3BB0A8C1_0x00485020 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…uide On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - The buffer the received values are read into is readBuffer, declared at its first use. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
SyncPacketSizeAnnouncement, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit c49a65a ("reimplement: SHC_3BB0A8C1_0x00485210 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before, which does not build on main as it is (below). reccmp reads 100.0 (normalized 100.0), with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - It builds on main with main's field names: GameSynchronyState::field67_0xba4 is field_0xba4; GameSynchronyState::field73_0xbdc is resyncTransferTotalSize. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncMoat, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 38851ff ("reimplement: SHC_3BB0A8C1_0x0048AA80 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are 100 * sizeof(moats[0]) (1600 bytes): the hundred moats from index Param0 * 100. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ResyncPitch, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit cfdcbec ("reimplement: SHC_3BB0A8C1_0x0048ABF0 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The BOOLEnum include goes: BOOLEnum is never named here. - Numbers are decimal. - 0/1 values are tested by truth. - Both sizes are 100 * sizeof(pitchDitches[0]) (2000 bytes): the hundred ditches from index Param0 * 100. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ClickErase, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 9ed0f09 ("reimplement: SHC_3BB0A8C1_0x00481050 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - Param0 is cleared with 0 before its low bytes are read, where the draft assigns DAT_CommandActionPlan, which is GCS_EXECUTE (0) on that path; the code is the same. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ClickSomethingWithDrawBridgeUnk, gynt's file as it stands on upstream's reimpl/Synchrony-Commands (ca943ba), from his commit 84cec66 ("reimplement: SHC_3BB0A8C1_0x00482550 100.0% Reimplemented", 2026-10-03), with his status line from that branch. His fork's reimpl/Synchrony-Commands (6fa5eaa) has the same file. Taken as it is; what main's headers and the style rules need on top follows in our own commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… guide On top of gynt's version in the commit before; the code is the same, reccmp 100.0 (normalized 100.0) before and after, with the data resolvers and the function resolvers of this branch's functions on. - The first include is ../Commands.func.hpp, once; the using lines and the imported block comments are gone. - The execute half is an early return. - The casts around the command parameters are gone. - Param0 is cleared with 0 before its low bytes are read, where the draft assigns DAT_CommandActionPlan, which is GCS_EXECUTE (0) on that path; the code is the same. The status line is gynt's, 100.0% (Reimplemented), from the commit before. Co-authored-by: Gynt <gynt@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
47
Synchrony::Commandsfunctions that gynt had at 100% on hisreimpl/Synchrony-Commandsbranch and that aren't on main or in an open PR. Pero claimed that branch on Discord and gynt answered "Go ahead! I am not working on those branches", the same OK #415 came from. No header changes; the other 30 of the branch's finished functions, two of which need a small header change, are in a second PR.Each function is two commits: gynt's, holding his file as it is on upstream's
reimpl/Synchrony-Commands(ca943ba) and his status line from that branch, authored by him with his date and naming his commit; then ours, with what main's headers and the style rules need. His fork's branch (6fa5eaa) has the same files. All of them are from 2026-10-03.Commands::InitialAnnounceReplyCommands::ResetSyncStatusUnkCommands::CloseModalDialogForEveryoneCommands::InitialAnnounceToHostCommands::ClickChangeTaxesCommands::ClickChangeRationsCommands::ClickBuildingSleepCommands::ResyncStatus2Commands::TriggerRecalculationOfUnitSameTileLinkageCommands::BroadCastSyncRelatedStatusCommands::ShareAnnouncementWithHostCommands::TribeRelated1Commands::DeselectUnitCommands::ShareAIVHashCommands::AnnounceGameVersionCommands::NotifyLaggingPlayerCommands::SomeKindOfMultiplayerPingUnkCommands::ResyncStartCS_CS_SubCommands::HostRemoveAIPlayerBySlotIDCommands::MakeUnitSelectionCommands::ClickRecruitUnitCommands::ClickBuyOrSellCommands::ClickUnitStanceCommands::SiegeEngineRelatedCommands::ReleaseDogsCommands::FlagsAndBraziersCommandUnkCommands::ResyncStatusStartCommands::MapSendingRelatedCommands::ClickNavigateMenuOrEscapeCommands::ShareGameStatePartialHashesCommands::SendResyncBuildingCommands::SendResyncVegCommands::SendResyncPlayerDataCommands::SendResyncEntityCommands::ResyncTeleClimbCommands::SendQuitGameQuestionCommands::ResyncVillageCommands::ResyncAIZoneCommands::AcknowledgeMapExistenceCommands::ShareMSVMapIndexCommands::ResyncZoneCommands::CommandSelectionReplenishAmmoCommands::SyncPacketSizeAnnouncementCommands::ResyncMoatCommands::ResyncPitchCommands::ClickEraseCommands::ClickSomethingWithDrawBridgeUnkMeasured.
Stronghold Crusader.exe(3bb0a8c1…5387ac5a), both resolver sets enabled locally (not committed: the data resolvers, and the function resolvers of these 47), sourcehold's reccmp with--resolve-wrapped-calls --ignore-security-cookie.openshc-pr-fixfinds nothing to change, andopenshc-pr-checkgives 0 ERROR and 21 CHECKs, explained below.What main needed
tools/reimplementation-helper/batch/refactor_struct_fields.py):GameSynchronyState::field131_0xcd4islagNotificationCode.field259_0x109290isresyncStartTime,field267_0x1092b0isconnectionInfoExpanded(a BOOLEnum, so it is set to FALSE),field76_0xbe8isfield_0xbe8.field290_0x109e20ismapSendRequestStatePerPlayer.field239_0x1072f8ismapExistenceAckCountdown.field73_0xbdcisresyncTransferTotalSize,field67_0xba4isfield_0xba4.mapIndex* 4. The draft writes that asDAT_ArrayOfMapIndices[mapIndex + 499], with the array at 0x884 as on gynt's branch. On main that array starts at 0x880 and has 501 entries, so the address lies in the next array:DAT_ArrayOfMapIndices2[mapIndex - 1](0x1054), the form main's MenuItemRenderFunction_SaveLoadMap_TableContent reads the same entries with. The 0x880 / 0x884 shift is the one Reimplement 33 Synchrony::Commands functions at 100% #415 fixed in three other commands.Style (our commit on each file)
../Commands.func.hpp, once; theusinglines and the imported block comments (enum warnings, decompilerscript stamps) are gone. A short hand-written note on the function stays as one//line above it (ClickNavigateMenuOrEscape). The five machine-written summaries of what the handler does ("renamed by: Claude Sonnet 4.6", in TriggerRecalculationOfUnitSameTileLinkage, TribeRelated1, NotifyLaggingPlayer, SiegeEngineRelated and SyncPacketSizeAnnouncement) went with the other block comments: they restate the code.readBuffer, declared at its first use (short local_4[2]was one short used twice).x = x + 1isx++.x - 1U <= 7isx >= 1 && x <= 8(AnnounceGameVersion, ShareAIVHash).HASH_PartialHashPerPlayer.player[slot].domain[i]; the draft reached them throughDAT_PlayerMatchTimes + 9, past the end of that array. ResyncStatusStart and ShareGameStatePartialHashes haveforloops bounded bycountof.&heatMaps[n]andsizeof(heatMaps[0]).sizeof()wherever the header proves them equal (the drafts had the number, seven of them as(size_t)((int)(N))): one element in SendResyncBuilding (812), SendResyncVeg (156), SendResyncPlayerData (14836), SendResyncEntity (232), ResyncTeleClimb (516) and ResyncVillage (28056); one row of the grid in ResyncZone (6400);100 * sizeof()of one element in ResyncMoat and ResyncPitch; the whole array in MakeUnitSelection (400) and ShareAIVHash (512).DAT_GameCommandParam0with 0 before its low one or two bytes are read. The drafts assignDAT_CommandActionPlanthere, which isGCS_EXECUTE(0) on that path; both compile to the same store.shortreadBuffergoes into the two parameters without a(uint). AcknowledgeMapExistence: gynt's_flagand_indexareparameter0andmapIndex, each declared where it is read.The checker's 21 CHECKs
readBufferand the received values are filled through their address byserializeOrDeserializeCommandParameter, so there is no first assignment to declare them at; #415 has the samefield_0xba4,field_0xbe8are placeholder namesOther PRs
🤖 Generated with Claude Code