Commit Graph

4625 Commits

Author SHA1 Message Date
salix5 23bb85c6bf Refactor LoadCurrentDeck 2025-08-31 21:29:05 +08:00
salix5 2e74d40d14 Add deck category constants 2025-08-31 21:29:05 +08:00
salix5 868d4b2574 Update .gitignore to include trailing slashes 2025-08-26 14:49:21 +08:00
salix5 029dfa0aa2 Add .vscode/ to .gitignore 2025-08-26 11:53:30 +08:00
salix5 d921cd0fc0 DataManager: change unknown_string, FileSystem to instance member (#2907) 2025-08-23 14:53:58 +08:00
salix5 17715fe485 add GetDataTable, GetStringTable (#2905)
* add GetDataTable, GetStringTable

* Refactor table access in ClientField and DeckBuilder

* Refactor LoadDeck to use table lookup

* Refactor loops in DeckBuilder::check_limit
2025-08-22 13:55:06 +08:00
Nanahira 1b1b8edde4 use cp -pr to copy out premake (#2900) 2025-08-17 11:20:31 +08:00
Mercury233 488e66c5a4 fix face-down MSG_SPSUMMONING (#2896) 2025-08-15 17:06:47 +08:00
salix5 71b960125f use fputs in SaveDeck (#2902) 2025-08-11 23:45:15 +08:00
Wind2009-Louse c6b0690451 Update setcode for DOOD (#2894) 2025-08-11 13:52:19 +08:00
Mercury233 c484fa0e85 drop fopen support for old Windows SDK (#2889) 2025-08-11 13:46:34 +08:00
salix5 1d647270a9 Remove WinXP support from build configuration (#2887) 2025-08-11 09:16:51 +08:00
Mercury233 b8d3b686f5 remove unnecessary features from Freetype (#2854) 2025-08-11 09:16:31 +08:00
salix5 04ac2a12f5 use std::rename in Replay::RenameReplay (#2883) 2025-08-11 09:16:14 +08:00
Mercury233 70af2f52e6 add mysnprintf, use std::forward in myswprintf (#2885) 2025-08-11 09:16:01 +08:00
salix5 d5044ff888 add SQLITE_TRUSTED_SCHEMA=0 (#2895) 2025-08-08 07:00:07 +08:00
Mercury233 0a96956ad0 fix animation of card moving to extra (#2856) 2025-08-07 15:30:58 +08:00
Mercury233 a789c1bbc0 fix prev_deck on BUTTON_SAVE_DECK_AS (#2892) 2025-08-07 15:30:44 +08:00
Mercury233 6181208392 minor typos (#2890) 2025-07-30 09:47:25 +08:00
Mercury233 0f73f2282a update CopyString & CopyWideString (#2884) 2025-07-23 11:28:37 +08:00
salix5 68d1ff8570 improve loop condition in ReadDB (#2881) 2025-07-21 15:37:30 +08:00
salix5 fb6814a8f6 Refactor replay code for cross-platform compatibility (#2877) 2025-07-21 13:34:39 +08:00
salix5 4e002a7239 static_cast<uint32_t> on uint32 column (#2880) 2025-07-16 10:15:33 +08:00
salix5 bd0547ed50 move MAINC_MAX, SIDEC_MAX to deck_manager.h (#2876) 2025-07-08 23:30:10 +08:00
salix5 a58e7c31bc use wcsrtombs in UTF-8 encoding (#2860)
* use wcsrtombs in  UTF-8 encoding

* fix underflow

* static_cast
2025-07-07 13:32:34 +08:00
salix5 a3d10c01e6 Add config.h includes to duelclient and netserver (#2875) 2025-07-06 17:41:13 +08:00
salix5 c9573debfd use uint32_t code as key (#2874) 2025-07-06 16:13:11 +08:00
salix5 c3ecc29236 Refactor DataManager iterator methods to inline (#2873) 2025-07-06 14:38:10 +08:00
salix5 42a427a4fa use function template BufferIO::Read (#2835) 2025-07-06 13:18:46 +08:00
salix5 3e2be8dd05 Redefine CardDataC structure and remove inheritance from card_data (#2867) 2025-07-06 12:06:34 +08:00
salix5 844a96d952 Improve error handling in DataManager::Error (#2872) 2025-07-05 17:45:06 +08:00
salix5 3b885f2fc0 Improve error handling in LoadDeckFromStream, LoadLFListSingle (#2871) 2025-07-05 00:13:38 +08:00
salix5 bfa02b0b78 Simplify card name retrieval in UpdateDeclarableList (#2869) 2025-07-03 22:28:21 +08:00
Mercury233 2c3d2e48d8 bump version to 0x1362 (#2863) 2025-06-29 18:16:08 +08:00
salix5 c23725c046 workaround fix argument -r (#2864) 2025-06-29 18:09:15 +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
Mercury233 db1633bf5c update opParam of MSG_SELECT_SUM (#2491) 2025-06-29 17:39:05 +08:00
salix5 f0e9bc8831 fix: correct EVENT_VERSION format and improve warning message (#2861) 2025-06-29 09:13:39 +08:00
salix5 464d3e2388 Refactor AddCard and RemoveCard for sequence management (#2851) 2025-06-25 15:04:52 +08:00
今晚有宵夜吗 1f881e62e0 2025.7 OCG lflist (#2853)
* Update lflist.conf

* order

---------

Co-authored-by: Mercury233 <me@mercury233.me>
2025-06-24 20:43:14 +08:00
salix5 ed09b7a36f revert cppdialect (#2848) 2025-06-22 21:50:24 +08:00
Mercury233 5cbf953bdb use patched miniaudio (#2840) 2025-06-19 20:18:57 +08:00
Nanahira f7a977c72c fix new replay crash (#2846) 2025-06-19 19:24:05 +08:00
Nanahira 4922ba5738 display side deck count in "banished zone" before duel start (#2790) 2025-06-19 14:36:41 +08:00
yybbwc ba9379cf37 use unordered_map imageLoading (#2768) 2025-06-19 11:32:39 +08:00
Mercury233 b28b64927f add config for image load background thread and multi thread (#2822)
* add gameConf.use_image_load_background_thread

* preformance

* fix config not saving

* add gameConf.use_image_scale_multi_thread

* fix default use_image_load_background_thread
2025-06-19 11:04:12 +08:00
Mercury233 ec24699d17 use lua 5.4.8 (#2841) 2025-06-18 16:58:01 +08:00
Mercury233 e3d08ae627 use premake 5.0.0-beta7 & drop support for premake below 5.0.0-beta4 (#2842)
* use premake 5.0.0-beta7

* readme

* use premake mac from github release & remove Rosetta thing (#43)

---------

Co-authored-by: Nanahira <nanahira@momobako.com>
2025-06-18 16:57:40 +08:00