Fix cross-platform rendering and optimize frame performance
Correct selection orientation, game-entry lifecycle, mounted NPCs, labels and skill panels. Add the native GPU scene path, resident geometry, bounded texture and Python caches, and collision broad phase. Pin the independently maintained Metin2 SDK through a submodule and document reproducible setup. Include rendering regressions and macOS packaging improvements. Validation: client Debug build and 12 targeted client tests passed; SDK build and all 14 SDK tests passed.
This commit is contained in:
@@ -74,6 +74,11 @@ public:
|
||||
bool SendBuildOfflineShopPacket(const std::string& name,const std::vector<TOfflineShopItemTable>& items,uint32_t vnum,uint8_t title);
|
||||
bool SendOfflineShopChangeDecoration(const std::string& sign,uint32_t vnum,uint32_t type);
|
||||
bool SendOfflineShopManagement(uint8_t operation,uint8_t position=0,uint32_t owner=0);
|
||||
bool SendAddOfflineShopItem(const TItemPos& bDisplayPos, uint8_t bPos, int64_t lPrice);
|
||||
bool SendOfflineShopChangeTitle(const std::string& title);
|
||||
bool SendTakeOfflineMoney() { return SendOfflineShopManagement(SHOP_SUBHEADER_CG_TAKE_MONEY); }
|
||||
bool SendOfflineShopCheck() { return SendOfflineShopManagement(SHOP_SUBHEADER_CG_CHECK); }
|
||||
bool SendOfflineShopButton() { return SendOfflineShopManagement(SHOP_SUBHEADER_CG_BUTTON); }
|
||||
bool SendQuickSlotAddPacket(uint8_t index,uint8_t type,uint8_t pos);
|
||||
bool SendQuickSlotDelPacket(uint8_t index);
|
||||
bool SendQuickSlotMovePacket(uint8_t source,uint8_t target);
|
||||
@@ -165,6 +170,7 @@ public:
|
||||
const std::vector<uint8_t>& GetSendQueue() const { return m_sendBuffer; }
|
||||
std::vector<uint8_t> PopSendBytes();
|
||||
void ClearSendQueue() { m_sendBuffer.clear();m_sendPackets.clear(); }
|
||||
const std::vector<std::vector<uint8_t>>& GetSendPackets() const { return m_sendPackets; }
|
||||
std::vector<std::vector<uint8_t>> PopSendPackets();
|
||||
// Packets with whether the transport appends the sequence byte (SendSequence()).
|
||||
std::vector<std::pair<std::vector<uint8_t>,bool>> PopSendPacketsWithSequence();
|
||||
@@ -194,6 +200,7 @@ public:
|
||||
bool GetComboSkillFlag() const { return m_bComboSkillFlag; }
|
||||
// Windows calls PostQuitMessage(0); the host loop polls this instead.
|
||||
bool IsQuitRequested() const { return m_unknownPacketQuit; }
|
||||
void RequestQuit() { m_unknownPacketQuit = true; }
|
||||
// GamePhase() headers Windows handles but this port skips (consumed, not dispatched).
|
||||
const std::vector<uint8_t>& GetUnportedPackets() const { return m_unportedPackets; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user