android-native: auto hunt, in-client account registration, mobile UI polish

- Auto hunt (client-only): PythonPlayerAutoHunt.cpp + AutoHuntScript.inc as the
  embedded mt_autohunt module, AUTO touch button, F9/F8.
- Account registration: tools/40250/register_server.py (rc.d mt_register, :11080)
  inserts into account.account; net.RegisterAccount/GetRegisterAccountResult
  (PythonAccountRegister.cpp) and the mt_register login-window dialog
  (RegisterScript.inc).
- --py-exec also runs in --login-screen mode for scripted login-screen tests.
- Touch controller, window manager and render command updates for the
  Android native client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-29 16:15:04 +09:00
co-authored by Claude Opus 5.5
parent 53d06c3c26
commit 3e3708ef06
31 changed files with 2975 additions and 140 deletions
@@ -442,8 +442,11 @@ void CPythonPlayer::__OnPressScreen(CInstanceBase& rkInstMain)
}
bool CPythonPlayer::NEW_MoveToDirection(float fDirRot)
bool CPythonPlayer::NEW_MoveToDirection(float fDirRot, bool isAutoCameraRotation)
{
// PORT: direction keys and the touch stick pause auto hunt.
__AutoHunt_OnManualInput();
// PrivateShop
if (IsOpenPrivateShop())
return true;
@@ -464,7 +467,7 @@ bool CPythonPlayer::NEW_MoveToDirection(float fDirRot)
float fCmrCurRot=CameraRotationToCharacterRotation(pkCmrCur->GetRoll());
// 현재
if (m_isCmrRot)
if (m_isCmrRot && isAutoCameraRotation)
{
float fSigDirRot=fDirRot;
if (fSigDirRot>180.0f)