layout: restructure into src/ tests/ android/ scripts/ tools/
- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
(+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten
No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
70710477cf
commit
a46093104c
@@ -0,0 +1,49 @@
|
||||
// The classic wire sizes for port_packet_test.cpp, in the same order as its kPortSizes.
|
||||
#include "classic/wire_classic.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
struct WireSize { const char* name; std::size_t size; };
|
||||
|
||||
namespace w = mtnet::classic;
|
||||
|
||||
extern const WireSize kWireSizes[] = {
|
||||
{"Handshake", sizeof(w::Handshake)},
|
||||
{"Phase_", sizeof(w::Phase_)},
|
||||
{"BindUDP", sizeof(w::BindUDP)},
|
||||
{"KeyAgreement", sizeof(w::KeyAgreement)},
|
||||
{"KeyAgreementCompleted", sizeof(w::KeyAgreementCompleted)},
|
||||
{"Blank", sizeof(w::Blank)},
|
||||
{"Blank", sizeof(w::Blank)},
|
||||
{"CGLogin", sizeof(w::CGLogin)},
|
||||
{"CGLogin2", sizeof(w::CGLogin2)},
|
||||
{"CGLogin3", sizeof(w::CGLogin3)},
|
||||
{"GCLoginKey", sizeof(w::GCLoginKey)},
|
||||
{"GCAuthSuccess", sizeof(w::GCAuthSuccess)},
|
||||
{"SimplePlayer", sizeof(w::SimplePlayer)},
|
||||
{"GCLoginSuccess3", sizeof(w::GCLoginSuccess3)},
|
||||
{"GCLoginSuccess", sizeof(w::GCLoginSuccess)},
|
||||
{"GCLoginFailure", sizeof(w::GCLoginFailure)},
|
||||
{"GCEmpire", sizeof(w::GCEmpire)},
|
||||
{"CGEmpire", sizeof(w::CGEmpire)},
|
||||
{"CGPlayerSelect", sizeof(w::CGPlayerSelect)},
|
||||
{"CGPlayerCreate", sizeof(w::CGPlayerCreate)},
|
||||
{"CGPlayerDelete", sizeof(w::CGPlayerDelete)},
|
||||
{"CGChangeName", sizeof(w::CGChangeName)},
|
||||
{"GCPlayerCreateSuccess", sizeof(w::GCPlayerCreateSuccess)},
|
||||
{"GCPlayerCreateFailure", sizeof(w::GCPlayerCreateFailure)},
|
||||
{"GCPlayerDeleteSuccess", sizeof(w::GCPlayerDeleteSuccess)},
|
||||
{"GCChangeName", sizeof(w::GCChangeName)},
|
||||
{"GCMainCharacterOld", sizeof(w::GCMainCharacterOld)},
|
||||
{"GCMainCharacter", sizeof(w::GCMainCharacter)},
|
||||
{"GCMainCharacter3BGM", sizeof(w::GCMainCharacter3BGM)},
|
||||
{"GCMainCharacter4BGM", sizeof(w::GCMainCharacter4BGM)},
|
||||
{"GCPoints", sizeof(w::GCPoints)},
|
||||
{"GCPointChange", sizeof(w::GCPointChange)},
|
||||
{"GCItemSet", sizeof(w::GCItemSet)},
|
||||
{"GCQuickSlotAdd", sizeof(w::GCQuickSlotAdd)},
|
||||
{"GCCharacterUpdate", sizeof(w::GCCharacterUpdate)},
|
||||
{"CGClientVersion2", sizeof(w::CGClientVersion2)},
|
||||
{"CGEnterGame", sizeof(w::CGEnterGame)},
|
||||
{nullptr, 0},
|
||||
};
|
||||
Reference in New Issue
Block a user