456 Commits
Author SHA1 Message Date
Mercury233 1b35981929 header updates (#3157) 2026-08-11 08:21:50 +08:00
Mercury233 172c86d1fe update Irrlicht and CGUITTFont headers (#3151) 2026-08-07 08:52:34 +08:00
Mercury233 d305daf77b utilize setting card list label text and color (#3141) 2026-07-27 08:44:34 +08:00
Mercury233 58febe3cfc update network headers (#3148) 2026-07-25 15:47:20 +08:00
Mercury233 bea3249a31 move FileSystem implementation from header to source (#3143) 2026-07-20 11:11:37 +08:00
Mercury233 6c4e9b6924 update DrawSelectionLine, drop deprecated GL_LINE_STIPPLE (#3038) 2026-07-17 16:47:35 +08:00
Mercury233 5ba6e7442c Improve duel client connection handling and bot room startup (#3133) 2026-07-17 16:32:50 +08:00
Mercury233 a23e1b6823 verify default_lflist after loading (#3136) 2026-07-10 09:11:58 +08:00
Mercury233 1805288190 add Game::SpawnAsync (#3109)
* add EncodeUTF8String and DecodeUTF8String which use std::string

* add Game::SpawnAsync

* use Game::SpawnAsync in BUTTON_BOT_START
2026-07-05 12:14:27 +08:00
Mercury233 08787176ed enable alpha channel for images (#3115) 2026-07-05 09:31:55 +08:00
Mercury233 311cd1522b add filtering OCG/TCG exclusive cards (#3120) 2026-06-29 09:11:25 +08:00
salix5 7eb86f6776 Call member functions directly in Game::LoadExpansions (#3125) 2026-06-26 06:29:38 +08:00
Mercury233 c896c5ee92 lengthen checkbox labels (#3119) 2026-06-23 16:07:56 +08:00
Mercury233 164750714b fix macOS bundle working directory (#3094) 2026-05-22 10:53:53 +08:00
Mercury233 b3a06fffa9 update Game::SetWindowsScale to use device->restoreWindow (#3085) 2026-05-13 08:43:48 +08:00
Mercury233 e392429c39 update Game::SetWindowsScale to use device->setWindowSize (#3081) 2026-05-10 05:51:34 +08:00
Mercury233 bd64446275 add support for load-once.conf (#2761) 2026-05-06 09:21:27 +08:00
Mercury233 ca74565578 add & update options (#3045)
* add myclamp

* change gameConf.sound_volume to int

* add resize popup menu

* add resize select window option

* add swap yes no button
2026-04-24 09:49:25 +08:00
Mercury233 1e45da773a upgrade irrlicht to 1.9 (#3063)
* upgrade irrlicht to 1.9

* fix material ZWriteEnable

* add archive file name in errmsg

* use IImage::getData instead of lock
2026-04-23 14:03:23 +08:00
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