Commit Graph

417 Commits

Author SHA1 Message Date
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
Mercury233 70af2f52e6 add mysnprintf, use std::forward in myswprintf (#2885) 2025-08-11 09:16:01 +08:00
Mercury233 0f73f2282a update CopyString & CopyWideString (#2884) 2025-07-23 11:28:37 +08:00
salix5 3e2be8dd05 Redefine CardDataC structure and remove inheritance from card_data (#2867) 2025-07-06 12:06:34 +08:00
Mercury233 2c3d2e48d8 bump version to 0x1362 (#2863) 2025-06-29 18:16:08 +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 b9e1089f8e add import/export deck code (#2577) 2025-06-18 14:58:05 +08:00
salix5 c41aa28972 left shit on unsigned (#2821) 2025-06-01 20:32:37 +08:00
salix5 5a37286e8a check header in OpenReplay (#2807)
* check header in OpenReplay

* add version_info for old replay

* simplify

* add newline char
2025-05-30 16:05:24 +08:00
salix5 051949fb88 use reference to array in IsExtension (#2808)
* simplify

* use reference to array in IsExtension
2025-05-25 17:38:10 +08:00
salix5 c471f388ff fix: compare signed and unsigned (#2792) 2025-05-17 14:28:11 +08:00
yybbwc f4d57f3c2c scale scrollbar (#2772) 2025-05-17 08:54:25 +08:00
yybbwc 378b11be06 set tooltip on long card name (#2773) 2025-05-17 08:54:07 +08:00
Nanahira bfcb4afcdb add miniaudio (#2727) 2025-05-09 13:34:36 +08:00
Mercury233 c33ed42346 update font fallback order (#2766) 2025-05-01 08:20:14 +08:00
Mercury233 be3e72f503 print error to stderr or debug (#2759) 2025-05-01 08:19:21 +08:00
Mercury233 09db9b19a8 add new font to fallback list (#2758) 2025-04-25 08:56:57 +08:00
Mercury233 137b6820f6 textfont and numfont support spaces (#2756) 2025-04-25 08:56:47 +08:00
Mercury233 9350f5d693 add myfopen, fix setlocale (#2713) 2025-04-21 10:08:00 +08:00
Mercury233 7f29eb15df clarify font error message (#2757) 2025-04-21 10:06:54 +08:00
salix5 fd189e5c8c DeckManager: use uint32_t code (#2739)
* fix LoadLFListSingle

* update LoadDeck, LoadSide

* rename to LoadDeckFromStream

* update CTOS_DeckData

* static member function
2025-03-29 10:44:21 +08:00
salix5 f5d1f205d2 update Game::Initialize (#2725) 2025-03-15 06:42:16 +08:00
salix5 a1188835b3 replace core to irr::core 2025-03-14 19:10:07 +08:00
salix5 9891f8415f replace irr::f32 2025-03-14 19:10:07 +08:00
salix5 b5bf7990e9 replace irr::s32, irr::u32 2025-03-14 19:10:07 +08:00
salix5 b891f85c97 fix namespace irr::core 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 296c0d757e fix namespace irr::video 2025-03-14 19:10:07 +08:00
salix5 b2a50ac0a9 fix namespace irr::io 2025-03-14 19:10:07 +08:00
salix5 78501967da minor fix 2025-03-14 19:10:07 +08:00
salix5 8f9fcbd6ed fix namespace irr::gui 2025-03-14 19:10:07 +08:00
salix5 6c53d02a2b use <cstdlib> functions (#2720)
* replace exit

* replace malloc, calloc

* replace strtol

* #include <cstdlib>
2025-03-13 17:26:44 +08:00
salix5 7f962a995c fix open ydk, yrp file (#2707)
* update Game::Initialize

* fix open ydk, yrp file

* split
2025-03-03 20:43:04 +08:00
salix5 83e21402f7 fix set working directory (#2706) 2025-03-03 09:31:53 +08:00
salix5 9d913e88f8 use standard access mode (#2710) 2025-03-02 13:11:24 +08:00
salix5 ffc6aee169 replace position2d with vector2d (#2709)
* update MenuHandler

* update DeckBuilder

* replace position2di with irr::core::vector2di

* replace position2di with vector2di

* replace core::position2d with irr::core::vector2d

* replace position2d with vector2d
2025-03-02 12:22:54 +08:00
salix5 cfe114f4e5 replace fprintf 2025-02-22 10:37:38 +08:00
salix5 c675547122 replace snprintf, sscanf 2025-02-22 10:37:38 +08:00
salix5 f5955f854f replace fopen, fclose, fgets 2025-02-22 10:37:38 +08:00
yybbwc c2d351c61c fix LPARAM (#2670) 2025-02-13 09:50:26 +08:00
salix5 dc5a305301 use <ctime> header (#2668) 2025-02-12 16:26:38 +08:00
salix5 d376ed0e65 use <cwchar> function (#2651) 2025-01-17 19:50:59 +08:00
salix5 bb6ef1e1e6 static member DataManager::FileSystem (#2644) 2025-01-11 20:32:03 +08:00
salix5 7721bfe017 remove NULL (#2626) 2024-12-04 23:19:51 +08:00
salix5 edcd080569 wcsncpy capped at N-1 (#2618) 2024-11-16 19:07:43 +08:00
salix5 53f97ff0f2 wcsncpy capped at N 2024-11-16 15:50:01 +08:00
salix5 b22ff21ace use macro _WIN32 2024-11-16 15:50:01 +08:00