390 Commits
Author SHA1 Message Date
Mercury233 fb3b0dbf73 fix HINT_ZONE and fix MSG_HINT in puzzle mode (#3170) 2026-09-23 22:46:30 +08:00
Mercury233 1b35981929 header updates (#3157) 2026-08-11 08:21:50 +08:00
Mercury233 58febe3cfc update network headers (#3148) 2026-07-25 15:47:20 +08:00
salix5 efc8f17050 Refactor ClientCard memory management (#3131) 2026-07-20 21:08:04 +08:00
Mercury233 5ba6e7442c Improve duel client connection handling and bot room startup (#3133) 2026-07-17 16:32:50 +08:00
salix5 bb63be7087 Use a static buffer in DuelClient::ClientRead (#3128)
* Use a static buffer in DuelClient::ClientRead

* Change return type of ClientThread and ServerThread to void
2026-07-01 00:12:31 +08:00
Copilot f5adfddf18 Response length capped at UINT8_MAX (#3118) 2026-06-21 10:16:48 +08:00
Mercury233 99b25e496f followup unsigned changes (#3087)
* use uint32_t in SendUpdateDeck

* use size_t for MAX_REPLAY_SIZE and MAX_COMP_SIZE
2026-05-14 08:30:13 +08:00
salix5 ccbe7bd89f Use std::wstring in coin and dice result (#3084)
* Simplify increment

* Refactor ClientAnalyze to simplify hint handling

* Use std::wstring in coin and dice result

* Mark CopyWStrRef as deprecated

* Mark CopyWStrRef as deprecated
2026-05-12 15:08:39 +08:00
salix5 76a79a9e74 Fix size check in STOC_REPLAY and replay read, write (#3083) 2026-05-11 23:35:25 +08:00
salix5 170123f02b Refactor data_manager.h includes (#3039) 2026-05-09 16:10:57 +08:00
Mercury233 f64a7b4bc6 fix OOB read in BroadcastReply (#3075) 2026-05-06 09:27:30 +08:00
salix5 ee529ce929 Refactor DuelClient, NetServer static variables (#3069) 2026-05-06 09:09:20 +08:00
salix5 435611e9b8 Only accept known string id in format string (#3057) 2026-04-25 14:07:12 +08:00
salix5 27e0a047cf cast panel_confirm.size() to int in mysprintf (#3054) 2026-04-21 11:09:44 +08:00
Mercury233 9fa42dd103 move global vars from gframe to member of mainGame (#3041) 2026-04-11 08:57:44 +08:00
Mercury233 afbf2a802a Replace CGUIImageButton with CGUIButton, handle resize and rotation (#3014) 2026-04-09 09:21:38 +08:00
salix5 78c1a9b390 Remove unnecessary header files from config.h (#3036) 2026-03-29 22:44:32 +08:00
salix5 6fea874dac Change Deck to (const CardDataC*) vector (#3006) 2026-03-25 09:34:16 +08:00
salix5 490da9776c Fix typo in constant from SOUND_FILP to SOUND_FLIP (#2954) 2026-01-10 17:26:26 +08:00
salix5 56c313c61d Use vector in DuelClient::SendUpdateDeck (#2952) 2026-01-10 16:34:51 +08:00
salix5 21c52f9c6f Fix size calculation for STOC_HS_PlayerEnter (#2951) 2026-01-10 16:32:13 +08:00
salix5 d552e27657 Use const references for formatting (#2923) 2025-09-09 21:52:16 +08:00
salix5 a5ce265b01 fix dangling pointer (#2920) 2025-09-08 20:22:43 +08:00
salix5 c470682b2c Refactor SaveReplay, Check file path (#2917) 2025-09-08 19:53:12 +08:00
Mercury233 488e66c5a4 fix face-down MSG_SPSUMMONING (#2896) 2025-08-15 17:06:47 +08:00
Mercury233 6181208392 minor typos (#2890) 2025-07-30 09:47:25 +08:00
salix5 42a427a4fa use function template BufferIO::Read (#2835) 2025-07-06 13:18:46 +08:00
Nanahira 632dd98ce9 add CTOS_EXTERNAL_ADDRESS (#2832) 2025-06-29 17:41:05 +08:00
Mercury233 e7ebb75fa0 update forced in MSG_SELECT_CHAIN (#2797) 2025-06-29 17:40:43 +08:00
Mercury233 f4db575058 update MSG_CONFIRM_CARDS, add skip_panel (#2470) 2025-06-29 17:39:57 +08:00
Nanahira 4922ba5738 display side deck count in "banished zone" before duel start (#2790) 2025-06-19 14:36:41 +08:00
salix5 b3482765e4 fix: seeding std::mt19937 with only 1 uint32_t (#2820) 2025-06-18 15:47:55 +08:00
salix5 456f27564e fix STOC_CHAT, CTOS_CHAT handling (#2836) 2025-06-14 16:39:00 +08:00
salix5 56b65a1e69 change RNG except shuffle in duel to std::mt19937 (#2827) 2025-06-14 15:26:15 +08:00
Nanahira bfcb4afcdb add miniaudio (#2727) 2025-05-09 13:34:36 +08:00
yybbwc 4da80f72f9 fix prev button for replay of puzzle mode (#2716) 2025-05-01 08:21:36 +08:00
Mercury233 5d5e7f9c4f update grave_act and so on to support opponent (#2712) 2025-03-17 17:39:59 +08:00
salix5 b5bf7990e9 replace irr::s32, irr::u32 2025-03-14 19:10:07 +08:00
salix5 bb72c00f56 replace irr::core::vector3df 2025-03-14 19:10:07 +08:00
salix5 006d973d19 replace irr::core::rect<s32> 2025-03-14 19:10:07 +08:00
salix5 194608f8f0 replace irr::core::recti 2025-03-14 19:10:07 +08:00
salix5 d06a9096fd rename: GetLFListContent -> GetLFList (#2715)
* update DeckManager::GetLFListContent

* change DeckBuilder::filterList into const LFList*

* update Game::DrawThumb

* rename: GetLFListContent -> GetLFList

* update the signature of DeckManager::GetLFListName

* change code to unsigned
2025-03-08 15:22:53 +08:00
salix5 dc5a305301 use <ctime> header (#2668) 2025-02-12 16:26:38 +08:00
Nanahira 937c214bf3 client MSG_SELECT_SUM: cancellable & better display (#2643)
* client MSG_SELECT_SUM: cancellable & better display

* fix
2025-02-08 16:12:47 +08:00
salix5 ad9a70691e fix DeckManager::CheckDeck (#2656)
* fix DeckManager::CheckDeck

* use MAX_CARD_ID
2025-01-31 17:09:58 +08:00
salix5 53d951c7d1 update signature of ClientCard::SetCode (#2655)
* update signature of ClientCard::SetCode

* ClientField: fix AddCard, RemoveCard

* minor fix

* use int counter variable
2025-01-28 05:35:26 +08:00
salix5 8682f411e0 Revert "use std array in NetServer::ServerEchoRead (#2648)" (#2653)
This reverts commit d7cf1187df.
2025-01-24 09:13:30 +08:00
salix5 d376ed0e65 use <cwchar> function (#2651) 2025-01-17 19:50:59 +08:00
salix5 d7cf1187df use std array in NetServer::ServerEchoRead (#2648) 2025-01-13 19:52:00 +08:00