port 2V2-c: chrmgr/chr modules + race registration chain

PythonCharacterManagerModule/PythonCharacterModule ported verbatim; the
2V0 chr/chrmgr stubs are gone and initchr/initchrmgr run in 40250 order.
The registration chain they need (RaceData/RaceDataFile/RaceManager/
RaceMotionData, GameType, AttributeData/AttributeInstance, TextFileLoader,
Util, Camera/CameraProcedure) is ported; CRaceManager is created in
PythonBoot. port.login_flow asserts race 0 has its wait motions and no
unhandled packet header; port.login_live 8/8 against 192.168.21.203.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-23 18:40:47 +09:00
co-authored by Claude Opus 5.5
parent 62b6e23bfc
commit 996d793f0c
39 changed files with 8270 additions and 625 deletions
@@ -387,3 +387,81 @@ auto CInstanceBase::__EffectContainer_DetachEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RegisterTitleName(int, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RegisterNameColor(UINT, UINT, UINT, UINT) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::RegisterTitleColor(UINT, UINT, UINT, UINT) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::SetDustGap(float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetHorseDustGap(float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetEmpireNameMode(bool) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SCRIPT_SetAffect(UINT, bool) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetAlpha(float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::Revive() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::Hide() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::Show() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetDirection(int) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetLoopMotion(WORD, float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::PushLoopMotion(WORD, float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::IsPossibleEmoticon() -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
@@ -88,3 +88,9 @@ auto CPythonBackground::CheckAdvancing(CInstanceBase *) -> bool
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CPythonBackground::GetPickingPointWithRayOnlyTerrain(const CRay &, D3DXVECTOR3 *) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}