Commit Graph

55 Commits

Author SHA1 Message Date
Mercury233 0a96956ad0 fix animation of card moving to extra (#2856) 2025-08-07 15:30:58 +08:00
salix5 42a427a4fa use function template BufferIO::Read (#2835) 2025-07-06 13:18:46 +08:00
salix5 a1188835b3 replace core to irr::core 2025-03-14 19:10:07 +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 b57b331b65 move struct CardDataC, deck sort functions to data_manager.h (#2647)
* move struct CardDataC to data_manager.h

* update struct CardDataC

* move deck sort functions to DataManager

* update DeckBuilder::filter_effect
2025-01-14 13:25:16 +08:00
salix5 85793b7105 replace intN macro (#2627)
* remove int32

* replace uint32_t

* remove uint8
2024-12-05 19:29:41 +08:00
salix5 080d7781f0 clean config.h (#2568)
* move header files to game.h

* include mutex when necessary

* include myfilesystem.h when necessary

* include thread when necessary

* include string

* include GL when necessary

* remove #pragma once

* rename guard macro to YGOPRO_CONFIG_H

* fix warning C4456, C4458

* move GL to game.h

* use <cstring> functions

* include <wchar.h>
2024-08-11 05:05:20 +08:00
salix5 b290125977 Use BufferIO::ReadUInt8 (#2537)
* change code, location, position to unsigned

* change code, location, postion to unsigned

* use ReadUInt8() for 1-byte data

* Game::LocalPlayer() returns 0, 1

* wrong matching

* change card code to unsigned
2024-05-02 21:59:41 +08:00
salix5 f00a870483 fix ClientCard destructor 2024-01-03 00:57:17 +08:00
salix5 fcc2c69792 update lambda in ClientCard::client_card_sort() 2023-12-30 13:54:14 +08:00
salix5 ee5fea7e02 clear data while face-down
MSG_UPDATE_DATA
flag=0: clear

MSG_UPDATE_CARD
flag=QUERY_CODE, code=0: clear
2023-12-19 16:35:12 +08:00
salix5 d71ff12261 ClientCard: add destructor 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
DailyShana 949f8d2379 fix client_card_sort
to satisfy strict weak ordering
2020-01-16 19:21:35 +08:00
Mercury233 b7bea21d23 always list selected cards at last when SelectUnselect (#2249) 2019-12-24 08:41:40 +08:00
Nanahira 1daa9a14d1 fix querys 2018-11-26 18:54:09 +08:00
DailyShana c697373a2f show STATUS_PROC_COMPLETE in client (#2156) 2018-11-17 20:40:09 +08:00
Mercury233 5e3ece9851 update (#2151)
place cards which are activating or target in first when selecting cards
2018-11-16 20:42:19 +08:00
DailyShana 99c86f43bd tweak 2018-11-15 21:17:56 +08:00
DailyShana 9192eb03ef fix 2018-11-07 23:14:33 +08:00
DailyShana 39a812c439 refresh position of cards in extra and removed for reconnection 2018-08-08 22:41:55 +08:00
DailyShana c26bcf889e initial position of ClientCard 2018-08-08 20:01:06 +08:00
VanillaSalt 475bddc9e9 show chain target 2017-06-19 18:17:08 +09:00
Mercury233 139080b872 fix drawing link value and extra zones of opponent (#1956) 2017-04-01 19:09:21 +08:00
VanillaSalt 06d98be44b update 2017-03-25 14:58:33 +09:00
edo9300 d3dcc2110f Added TYPE_LINK (#1946) 2017-03-25 13:37:34 +09:00
DailyShana 312d490fd0 update showing equip and target icon 2017-01-29 20:27:47 +08:00
DailyShana 0e47f4ab9b update for scale zero 2016-12-14 22:42:25 +08:00
salix5 b35329ad91 ShowSelectCard(), crlf in game.cpp
1. Now the face-up/face-down position of cards in deck is shown by text
color.
2. Effects in POSITION_HINT will not display the location of cards.
2016-09-30 14:59:11 +08:00
VanillaSalt eb60a60b2c improve SortList() 2016-08-29 15:24:38 +09:00
salix5 ec17659944 DEFENCE->DEFENSE 2016-05-31 13:02:22 +08:00
salix5 14444f1200 defence->defense 2016-05-31 13:02:22 +08:00
VanillaSalt 818c283fd7 sort 2016-05-25 06:06:17 +09:00
salix5 e609726991 DataManager::FormatLocation() 2016-03-26 20:58:03 +08:00
salix5 eaf2c37fbf MSG_SELECT_CHAIN
global effects:
effects registered to the players, characterized by EFFECT_FLAG_FIELD_ONLY
current settings:
1. The max len of card id is 9 digit (< 1e9)
2. For global effects, MSG_SELECT_CHAIN will send 1000000000+id
   For normal effects, MSG_SELECT_CHAIN will send id
3. Global effects are collected in LOCATION_REMOVED
2015-06-21 21:57:08 +08:00
salix5 1d2a19f28f MSG_SELECT_CHAIN 2015-06-11 01:45:06 +08:00
salix5 daf3d2dd81 fix 2014-09-01 00:58:04 +08:00
Damien Lawford f7ee8e6ab8 New Field Design 2014-03-19 00:03:52 +00:00
VanillaSalt a7eb57f5a2 update 2014-03-15 11:53:01 +09:00
argon b48e4f5f08 fix 2013-04-12 18:10:31 +08:00
argon.sun d8de33da84 fix 2012-08-08 02:51:11 +08:00
argon.sun 5431ae83e1 fix 2012-07-25 20:54:12 +08:00
argon.sun 3d12c3127f new 2012-06-13 21:48:24 +08:00
argon.sun cb12d79364 puz 2012-06-12 21:40:44 +08:00
argon.sun 1ad1b5fcb3 fix 2012-06-04 20:25:18 +08:00
argon.sun 9b0c818178 new scripts 2012-02-27 21:24:42 +08:00
argon.sun 2d0d9709d0 gaov & new feature 2012-02-21 20:27:00 +08:00
argon.sun 30f57cac7c recon 2012-01-23 03:04:35 +08:00