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
Mercury233
e7ebb75fa0
update forced in MSG_SELECT_CHAIN ( #2797 )
2025-06-29 17:40:43 +08:00
salix5
c7b674da2b
Remove ocgcore/common.h includes from multiple files ( #2843 )
2025-06-14 17:03:44 +08:00
salix5
c41aa28972
left shit on unsigned ( #2821 )
2025-06-01 20:32:37 +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
8f9fcbd6ed
fix namespace irr::gui
2025-03-14 19:10:07 +08:00
salix5
d06a9096fd
rename: GetLFListContent -> GetLFList ( #2715 )
...
* update DeckManager::GetLFListContent
* change DeckBuilder::filterList into const LFList*
* update Game::DrawThumb
* rename: GetLFListContent -> GetLFList
* update the signature of DeckManager::GetLFListName
* change code to unsigned
2025-03-08 15:22:53 +08:00
salix5
ffc6aee169
replace position2d with vector2d ( #2709 )
...
* update MenuHandler
* update DeckBuilder
* replace position2di with irr::core::vector2di
* replace position2di with vector2di
* replace core::position2d with irr::core::vector2d
* replace position2d with vector2d
2025-03-02 12:22:54 +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
d376ed0e65
use <cwchar> function ( #2651 )
2025-01-17 19:50:59 +08:00
salix5
fb4580f93d
Patch1 ( #2635 )
...
* update include in network.h
* format
2024-12-15 15:15:24 +08:00
salix5
f2278ae751
use vector rbegin ( #2628 )
...
* use vector rbegin
* const reference
* use vector assign
* minor update
* init
2024-12-06 23:50:39 +08:00
salix5
85793b7105
replace intN macro ( #2627 )
...
* remove int32
* replace uint32_t
* remove uint8
2024-12-05 19:29:41 +08:00
salix5
51929625b3
BufferIO: add CopyCharArray ( #2616 )
...
array length is determined by reference to array
2024-11-16 11:51:18 +08:00
salix5
48b01b838c
remove wcscpy, wcscat ( #2602 )
...
* use wcsncpy
* fix FileSystem::TraversalDir
* avoid wcscat
* remove wcscat
* add BufferIO::CopyWideString
* struct Config: path string changed to wchar_t[256]
* Revert "use wcsncpy"
This reverts commit b05e0c96a3 .
* check lastcategory, lastdeck
* fix Game::LoadConfig
max length of filename should be determined by file system
* remove wcscpy
* use BufferIO::CopyWideString
* fix UpdateDeck
* myfilesystem: use std functions
* DataManager: fix GetNumString (#2603 )
* DataManager: fix FormatAttribute, FormatRace
* update FormatAttribute, FormatRace
* DataManager: fix FormatType
* update FormatType
* DataManager: fix FormatSetName
* DataManager: fix FormatLinkMarker
* merge
* DataManager: fix GetNumString
* rebuild class ustring16 from edopro version
* add stringw conversion
core::stringw in current version does not have data()
* add CGUITTFont::drawUstring
* use drawUstring
* update DrawShadowText
* fix Game::lpcstring
* fix DuelInfo::vic_string
* add PACK_MAX_SIZE
* add IsExtension (#2604 )
* CGUITTFont: use override
* ustring16: only accept basic_string
2024-11-06 08:34:12 +08:00
salix5
40d77767ac
fix ClientField::SetResponseSelectedCards ( #2605 )
2024-10-12 15:01:11 +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
e209e77502
disconnect when the packet is too large ( #2551 )
...
* use memcpy in DuelClient, NetServer
* NetServer: discard too large packet
* DuelClient: discard too large packet
* replace memcpy with std::memcpy
* disconnect when the packet is too large
* check packet_len
* check len in HandleCTOSPacket()
* check len in HandleSTOCPacketLan()
* remove bool type in HostInfo
* check len in packet handling
* add boundary check to STOC_CHAT packet
* use memcpy in DuelMode::JoinGame
* add DECK_MAX_SIZE, DECK_MIN_SIZE
* fix DuelMode::UpdateDeck()
* fix
* fix Manager::OpenDeckFile()
* update DuelMode init
* update DuelMode::JoinGame
* update DuelMode::GetResponse
* Revert "check len in packet handling"
This reverts commit 2b5c12f360 .
* use memcpy in GetPosition
* check struct size by static_assert
* update DuelMode::UpdateDeck
* check if the struct is trivially copyable
* replace unsigned short to uint16_t
* replace unsigned int to uint32_t
* add padding member to STOC_HS_PlayerEnter
* workaround: use STOC_HS_PlayerEnter_size
2024-05-31 21:52:06 +08:00
Mercury233
0a7a4745f7
add STOC_TEAMMATE_SURRENDER ( #2548 )
2024-05-21 15:17:32 +08:00
Mercury233
b7dcae4ef1
change side chat drawing ( #2545 )
...
* fix CGUITTFont lineBreak
* change side chat drawing
* fix
* fix
* update normal chat
* less changement
* fix
2024-05-11 09:55:47 +08:00
Nanahira
1b1fb66437
fix chat player name display ( #2542 )
...
* fix after change side chat reverse
* fix
* fix
* fix
* Update replay_mode.cpp
* fix tag
* simplify
* fix
2024-05-07 16:13:39 +08:00
salix5
e3155746c5
fix: check response size before writing ( #2514 )
...
* update DuelClient::response_buf[]
* fix: check response size before writing
2024-02-14 04:03:07 +08:00
salix5
c8fd63357e
fix: deprecated szone[7]
2024-01-05 20:40:05 +08:00
salix5
88e3f5a3c5
fix ClientField::GetHoverField()
...
If the opponent's mzone[6] is selectable:
Select opponent, mzone[6]
Otherwise:
Select self, mzone[5]
2023-11-19 19:25:34 +08:00
Mercury233
64003a70fd
add hide player name option ( #2476 )
2023-05-18 15:17:27 +08:00
Mercury233
27e06722c5
add RACE_ILLUSION, RACES_COUNT ( #2494 )
2023-05-03 14:36:42 +08:00
Mercury233
022914dc92
add hint for player go first in the 1st turn ( #2469 )
2022-11-17 16:11:56 +08:00
Mercury233
ab8f41a5e3
disable BP M2 EP buttons on showing menu ( #2449 )
...
* disable BP M2 EP buttons on showing menu
* fix BP button conflict with Last Will
2022-09-08 17:09:04 +08:00
Chrono-Genex
d26deec3e9
fix show pscale ( #2415 )
2022-01-13 18:35:55 +08:00
salix5
a77898ba9c
remove warning C4018
2021-08-21 23:46:27 +08:00
Mercury233
2cedcbb93b
fix card showing popup menu may be inaccurate ( #2342 )
2021-05-02 18:00:08 +08:00
mercury233
05d362b467
fix
2021-05-02 13:58:21 +08:00
mercury233
27e43abb8d
fix BUTTON_CMD_ACTIVATE ShowCancelOrFinishButton
2021-05-02 00:22:14 +08:00
salix5
7501deeca2
fix ClientField::SetResponseSelectedOption()
...
Now it store the index related to the option in another vector.
2021-03-26 06:12:03 +08:00
Mercury233
f934b83a79
Deck category and deck manage ( #2187 )
2021-03-21 11:24:47 +00:00
salix5
3ef790bfb7
fix MSG_SORT_CARD
2021-01-28 04:05:20 +08:00
Mercury233
61980c6fb5
make cards in grave support EFFECT_FLAG_CLIENT_HINT ( #2329 )
2020-12-29 00:38:15 +00: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
Mercury233
b394020722
cancel MSG_SELECT_PLACE ( #2320 )
2020-09-28 07:27:07 +00:00
Mercury233
54a5be68f0
add hint for selecting xyz material ( #2317 )
2020-09-17 01:50:30 +00:00
Mercury233
1c36764c7c
add card big picture ( #2307 )
2020-07-07 19:02:51 +08:00
Mercury233
697a6f7a25
update & fix hiding elements ( #2295 )
2020-05-24 18:08:01 +08:00
Mercury233
a4ee458684
add setting for drawing single chain ( #2300 )
2020-05-24 18:07:19 +08:00
DailyShana
84c42fb12b
remove MSG_SORT_CHAIN
2020-01-23 18:52:45 +08:00
DailyShana
5cab79c329
hide list tip when closing card list
...
fix #2265
2020-01-17 14:11:58 +08:00