Mercury233
abbb4cccd8
fix ClientField::Clear ( #3171 )
2026-09-23 22:19:28 +08:00
salix5
b87d2e6571
Use thread_local std::mt19937 for shuffling in cant_check_grave ( #3158 )
2026-08-11 21:36:36 +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
salix5
efc8f17050
Refactor ClientCard memory management ( #3131 )
2026-07-20 21:08:04 +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
23c3cf1add
update ClientField::UpdateDeclarableList & NormalizeChar ( #3037 )
2026-04-09 09:30:55 +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
bd326e20d9
Add datas.rule_code ( #3000 )
2026-03-15 18:21:01 +08:00
Mercury233
eab041318f
Merge pull request #2982 from mercury233/patch-copilot-fix-2
2026-03-02 11:32:36 +08:00
Mercury233
491c350139
fix div 0 in OPCODE_DIV ( #2984 )
2026-02-27 19:50:34 +08:00
mercury233
e8cb6da9a1
check opParam2 before recursion in ClientField::check_sum_trib
...
the other check_sum had done that
2026-02-27 16:29:30 +08:00
salix5
39475480a0
Refactor class DataManager ( #2956 )
2026-01-28 19:02:46 +08:00
salix5
489e07920a
Refactor ClientField destructor ( #2926 )
...
* Refactor card deletion
* add override to destructor
2025-09-20 14:20:39 +08:00
salix5
86a9ca5d6e
fix location after selecting continuous effect ( #2924 )
2025-09-14 14:09:07 +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
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
bfa02b0b78
Simplify card name retrieval in UpdateDeclarableList ( #2869 )
2025-07-03 22:28:21 +08:00
Mercury233
db1633bf5c
update opParam of MSG_SELECT_SUM ( #2491 )
2025-06-29 17:39:05 +08:00
salix5
464d3e2388
Refactor AddCard and RemoveCard for sequence management ( #2851 )
2025-06-25 15:04:52 +08:00
Nanahira
4922ba5738
display side deck count in "banished zone" before duel start ( #2790 )
2025-06-19 14:36:41 +08:00
salix5
c7b674da2b
Remove ocgcore/common.h includes from multiple files ( #2843 )
2025-06-14 17:03:44 +08:00
salix5
56b65a1e69
change RNG except shuffle in duel to std::mt19937 ( #2827 )
2025-06-14 15:26:15 +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
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
b71023f27a
add ClientField::ResetSequence ( #2678 )
...
* add ClientField::ResetSequence
* update ClientField::AddCard
* fix ClientField::RemoveCard
* fix remove xyz material animation
2025-02-24 12:06:42 +08:00
salix5
c5650a698d
Revert "ClientField: fix AddCard, RemoveCard" ( #2677 )
...
This reverts commit 92db0f7311 .
2025-02-15 11:53:04 +08:00
Wind2009-Louse
db97241d3a
Fix extra deck card duplicate in Client_field::AddCard ( #2676 )
2025-02-15 09:55:35 +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
377824c5ba
remove additional texts for cards in deck ( #2657 )
...
* clear data before adding to deck
* keep the order in deck
* remove additional texts for cards in deck
* set mark to false before adding to deck
* update ClientField::Initial
2025-02-04 00:58:25 +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
7e1c4b7560
check second_code in is_declarable() ( #2625 )
2024-12-03 21:07:01 +08:00
salix5
b0e0ca3c79
add datas_begin(), strings_begin() ( #2607 )
...
* reorder
* DataManager: add datas_begin(), strings_begin()
* replace
2024-10-16 18:51:22 +08:00
salix5
0761407162
use std::memcpy in class Replay ( #2549 )
...
* use std::memcpy in class Replay
* remove pointer casting
2024-05-21 15:34:10 +08:00
Mercury233
0a7a4745f7
add STOC_TEAMMATE_SURRENDER ( #2548 )
2024-05-21 15:17:32 +08:00
salix5
31bd9394da
remove warning 4267 ( #2529 )
2024-04-21 20:46:54 +08:00
salix5
05da015f89
Use array to store setcode ( #2510 )
...
* card_data.setcode: use std vector
* remove CARD_ARTWORK_VERSIONS_OFFSET
* add extra_setcode for cards with 5+ setcodes
* setcode use array
* Update data_manager.cpp
2024-02-12 16:38:50 +08:00
salix5
c52977150a
DataManager: change _strings to private
2024-01-10 17:45:54 +08:00
salix5
4297cb3ef6
DataManager: change _datas to private
2024-01-10 16:42:07 +08:00
salix5
dc609b68b5
fix ranged-based for loop
2024-01-03 01:08:30 +08:00
salix5
9458fd09e7
ClientField: add destructor
2023-12-19 17:22:08 +08:00
salix5
91b183dbd9
fix ClientField::ShowLocationCard()
2023-12-19 14:49:36 +08:00
salix5
36e4dfe5ad
ClientField: member initialization
2023-12-16 10:43:52 +08:00
salix5
75bbf24b7c
clear data while face-down
2023-12-16 10:43:52 +08:00
salix5
32389dda77
use unsigned char buffer
2023-12-14 16:10:19 +08:00