Mercury233
9fa42dd103
move global vars from gframe to member of mainGame ( #3041 )
2026-04-11 08:57:44 +08:00
salix5
78c1a9b390
Remove unnecessary header files from config.h ( #3036 )
2026-03-29 22:44:32 +08:00
Mercury233
70af2f52e6
add mysnprintf, use std::forward in myswprintf ( #2885 )
2025-08-11 09:16:01 +08:00
salix5
42a427a4fa
use function template BufferIO::Read ( #2835 )
2025-07-06 13:18:46 +08:00
Mercury233
e7ebb75fa0
update forced in MSG_SELECT_CHAIN ( #2797 )
2025-06-29 17:40:43 +08:00
Mercury233
f4db575058
update MSG_CONFIRM_CARDS, add skip_panel ( #2470 )
2025-06-29 17:39:57 +08:00
salix5
b3482765e4
fix: seeding std::mt19937 with only 1 uint32_t ( #2820 )
2025-06-18 15:47:55 +08:00
salix5
56b65a1e69
change RNG except shuffle in duel to std::mt19937 ( #2827 )
2025-06-14 15:26:15 +08:00
salix5
f9b5c7ed33
fix MSG_AI_NAME, MSG_SHOW_HINT ( #2800 )
...
* fix MSG_AI_NAME
* fix MSG_SHOW_HINT
2025-05-20 12:24:44 +08:00
salix5
cf320708df
check REPLAY_TAG in start_duel ( #2801 )
2025-05-20 11:05:41 +08:00
salix5
471c2134a3
Read player names, deck & check script path on OpenReplay ( #2776 )
2025-05-17 08:53:06 +08:00
salix5
cc18709fb0
Replay: add read/write template ( #2637 )
...
* Replay: add read/write template
* Replay: remove WriteInt8, WriteInt16
* use int32_t in WriteInt32
* remove ReadInt8, ReadInt16
* use int32_t in ReadInt32
* update ReadData
* add ReadHeader
* use array index
2024-12-27 08:23:02 +08:00
salix5
fb4580f93d
Patch1 ( #2635 )
...
* update include in network.h
* format
2024-12-15 15:15:24 +08:00
salix5
85793b7105
replace intN macro ( #2627 )
...
* remove int32
* replace uint32_t
* remove uint8
2024-12-05 19:29:41 +08:00
salix5
c1cd59c475
change byte to unsigned char ( #2622 )
...
the dependency of byte is Windows SDK, not common.h
2024-11-30 15:27:20 +08:00
salix5
cc9497b79b
ocgapi change: preload_script ( #2601 )
2024-10-18 19:41:38 +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
1f03d7321c
update get_log_message() ( #2550 )
2024-05-31 21:51:52 +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
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
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
fabf658c43
format
2024-01-04 14:16:12 +08:00
salix5
b21d5dc691
fix undo after replay swapping
2023-12-19 17:03:59 +08:00
salix5
e082f6e0f3
add DuelInfo.Clear()
2023-12-19 16:36:52 +08:00
salix5
3c6de95686
update message handler
2023-12-18 11:00:05 +08:00
salix5
86825b0a6c
update script reader
2023-12-18 01:37:32 +08:00
salix5
7d446e2477
update card reader
2023-12-18 00:44:53 +08:00
salix5
e94a2e032e
update class SingleMode, ReplayMode
2023-12-16 13:05:16 +08:00
salix5
bd9a269048
declare large array
2023-12-14 17:33:43 +08:00
salix5
32389dda77
use unsigned char buffer
2023-12-14 16:10:19 +08:00
salix5
ccdba4e7a5
update class ReplayMode
2023-12-14 12:53:41 +08:00
salix5
1110ff16a0
use std::vector buffer
2023-12-14 01:21:09 +08:00
mercury233
d63e517791
replace 0x80 with LOCATION_OVERLAY
2022-11-06 09:02:04 +08:00
神楽坂玲奈
1cfa1a1cbb
clean abuse of ptr type, compiles on vs x64. ( #2370 )
2022-09-28 08:56:18 +08:00
Nanahira
55536b64a1
update max value of LP bar ( #2459 )
2022-09-25 08:49:37 +08:00
Mercury233
2736908ba9
replay mode: refresh deck when sorting deck ( #2409 )
2022-01-11 15:47:50 +08:00
salix5
1c829da02e
update RNG and uniform distribution, part 1 ( #2362 )
...
Old version:
pheader.flag does not contain REPLAY_UNIFORM
RNG: mt19937
distribution: almost-uniform
New version
pheader.flag contains REPLAY_UNIFORM
RNG: mt19937
distribution: uniform
* add bounds checking
* update RNG in replay mode
* replace mtrandom with mt19937
* replace mtrandom with mt19937
2021-08-21 18:46:19 +08:00
salix5
27dca9742b
reset status when leaving ReplayThread()
2021-08-07 03:32:32 +08:00
Mercury233
697a6f7a25
update & fix hiding elements ( #2295 )
2020-05-24 18:08:01 +08:00
DailyShana
32b7a24911
reset isSingleMode after watching puzzle replay
2020-04-16 12:43:29 +08:00
DailyShana
84c42fb12b
remove MSG_SORT_CHAIN
2020-01-23 18:52:45 +08:00
DailyShana
9addd24631
use standard mutex library ( #2224 )
2019-07-15 08:16:07 +08:00
DailyShana
de2ec1baaa
use standard thread library ( #2221 )
...
* use standard thread library
* use standard sleep function
2019-07-14 10:08:33 +08:00
Edoardo Lolletti
16219d2fab
Merge MSG_ANNOUNCE_CARD with MSG_ANNOUNCE_CARD_FILTER ( #2205 )
2019-07-07 20:38:26 +08:00
DailyShana
9135f79706
move restarting duel to replay thread
...
to avoid crash caused by clicking undo button twice in a very short time
2019-06-30 19:13:11 +08:00
DailyShana
a5655685f5
refresh deck and extra when restarting in undo
2019-06-30 18:03:35 +08:00
DailyShana
22c102f9c8
fix replay undo after replay swap
2019-06-30 12:04:04 +08:00
Mercury233
9edf6ab787
update MSG_ANNOUNCE_CARD_FILTER ( #2199 )
2019-05-26 14:45:42 +08:00
Mercury233
ae3da99161
use one ScriptReaderEx ( #2165 )
2018-12-09 20:29:17 +08:00
DailyShana
ab80989ff4
clean up
...
len paramter of preload_script is useless
2018-09-12 11:56:05 +08:00