Commit Graph
437 Commits
Author SHA1 Message Date
Mercury233 9fa42dd103 move global vars from gframe to member of mainGame (#3041) 2026-04-11 08:57:44 +08:00
Mercury233 b006d11bc6 disable OpenMP by default (#3002) 2026-04-11 08:51:33 +08:00
Mercury233 768036c616 refactor FPS lock (#3035) 2026-04-11 08:31:29 +08:00
Mercury233 afbf2a802a Replace CGUIImageButton with CGUIButton, handle resize and rotation (#3014) 2026-04-09 09:21:38 +08:00
Mercury233 674564c826 rename dataManager.FileSystem to IrrFileSystem (#3042) 2026-04-04 20:26:52 +08:00
Mercury233 2172fbdba3 add constexpr GAME_WINDOW_WIDTH & HEIGHT (#3032) 2026-03-29 19:24:38 +08:00
Mercury233 1918623c2e cleanup drawing (#3031)
* move Draw2DImageQuad

* add SetImageButtonDrawing

* fix Draw2DImageQuad signature

both Irrlicht and ImageManager don't use const

* rename linePattern

* update DrawSelectionLine signature

use u32 color directly to simplify calling

* minor performance

* dead code

* cleanup mainGame arrow operator
2026-03-29 19:20:04 +08:00
salix5 3619617185 Change font path from wchar_t to char (#3022) 2026-03-23 08:44:55 +08:00
Mercury233 09c010e87e log error message of database and expansion pack list (#3016) 2026-03-23 06:31:44 +08:00
Mercury233 4ca2485637 fix default coordinates of some elements (#3012) 2026-03-19 10:01:19 +08:00
Mercury233 cea5fb7901 workaround check pack ydk file name in zip (#3007) 2026-03-16 06:30:44 +08:00
salix5 bd326e20d9 Add datas.rule_code (#3000) 2026-03-15 18:21:01 +08:00
Mercury233 90198376d8 remove _IRR_WCHAR_FILESYSTEM and make DataManager::LoadDB accept char* (#2977) 2026-03-10 06:49:13 +08:00
Mercury233 bbd99ad4d1 use _IRR_WCHAR_FILESYSTEM instead of _WIN32 in related #ifdef (#2976) 2026-02-22 17:10:14 +08:00
salix5 89f5265394 remove: pics/thumbnail, use_image_scale, ImageManager::RemoveTexture (#2868) 2026-01-29 15:21:35 +08:00
salix5 aa9652ab1c Use std::wstring in SetStaticText (#2957) 2026-01-27 22:43:24 +08:00
yybbwcandsalix5 3df874cc79 Move PRO_VERSION to config.h (#2695)
* 减少一个extern

* bump version

---------

Co-authored-by: salix5 <salix5566@gmail.com>
2025-10-14 14:13:26 +08:00
salix5 2607476de4 fix buffer overflow in SetStaticText (#2925) 2025-09-14 14:08:03 +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 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