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
salix5
0423cf886e
update mt19937
2023-12-12 14:10:05 +08:00
salix5
92c957928d
fix xyz material drawing ( #2506 )
...
normal card: 0.010f
xyz material: 0.003f
2023-11-26 22:23:24 +08:00
mercury233
d63e517791
replace 0x80 with LOCATION_OVERLAY
2022-11-06 09:02:04 +08:00
Mercury233
b76e3bff18
fix announce list not refreshing ( #2391 )
2021-11-01 19:04:33 +08:00
salix5
14bd1f7f60
remove rand(), random_shuffle()
2021-09-05 04:06:19 +08:00
Mercury233
2c1f3de131
fix ClientField::ClearSelect ( #2345 )
2021-05-24 08:15:41 +08:00
Mercury233
2cedcbb93b
fix card showing popup menu may be inaccurate ( #2342 )
2021-05-02 18:00:08 +08:00
salix5
3ef790bfb7
fix MSG_SORT_CARD
2021-01-28 04:05:20 +08:00
Mercury233
ed3dde3a0c
add basic support for cant check grave ( #2319 )
2020-09-30 06:44:26 +00:00
Mercury233
a90e6c8a41
update selecting tributes ( #2304 )
2020-09-28 07:29:04 +00:00
DailyShana
84c42fb12b
remove MSG_SORT_CHAIN
2020-01-23 18:52:45 +08:00
DailyShana
c7614adae9
add HINT_ZONE ( #2263 )
2020-01-11 13:19:17 +08:00
DailyShana
9addd24631
use standard mutex library ( #2224 )
2019-07-15 08:16:07 +08:00
Edoardo Lolletti
16219d2fab
Merge MSG_ANNOUNCE_CARD with MSG_ANNOUNCE_CARD_FILTER ( #2205 )
2019-07-07 20:38:26 +08:00
DailyShana
a17bfa790a
update declaring card name ( #2198 )
...
remove unnecessary typing enter key
2019-05-26 11:59:22 +08:00
Edoardo Lolletti
7eea778649
update ShowSelectOption ( #2131 )
...
Allow select option quick to select among more than 5 values
2019-04-14 20:42:35 +08:00