Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro
Commits
bc9c0526
Commit
bc9c0526
authored
Sep 07, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
54136b93
5e2374eb
Pipeline
#40455
failed with stages
in 22 minutes and 37 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
2 deletions
+6
-2
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+1
-0
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-0
gframe/single_mode.cpp
gframe/single_mode.cpp
+1
-0
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+1
-0
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/replay_mode.cpp
View file @
bc9c0526
...
@@ -189,6 +189,7 @@ bool ReplayMode::StartDuel() {
...
@@ -189,6 +189,7 @@ bool ReplayMode::StartDuel() {
mainGame
->
dInfo
.
duel_rule
=
cur_replay
.
params
.
duel_flag
>>
16
;
mainGame
->
dInfo
.
duel_rule
=
cur_replay
.
params
.
duel_flag
>>
16
;
set_player_info
(
pduel
,
0
,
cur_replay
.
params
.
start_lp
,
cur_replay
.
params
.
start_hand
,
cur_replay
.
params
.
draw_count
);
set_player_info
(
pduel
,
0
,
cur_replay
.
params
.
start_lp
,
cur_replay
.
params
.
start_hand
,
cur_replay
.
params
.
draw_count
);
set_player_info
(
pduel
,
1
,
cur_replay
.
params
.
start_lp
,
cur_replay
.
params
.
start_hand
,
cur_replay
.
params
.
draw_count
);
set_player_info
(
pduel
,
1
,
cur_replay
.
params
.
start_lp
,
cur_replay
.
params
.
start_hand
,
cur_replay
.
params
.
draw_count
);
preload_script
(
pduel
,
"./script/patches/entry.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
mainGame
->
dInfo
.
lp
[
0
]
=
cur_replay
.
params
.
start_lp
;
mainGame
->
dInfo
.
lp
[
0
]
=
cur_replay
.
params
.
start_lp
;
...
...
gframe/single_duel.cpp
View file @
bc9c0526
...
@@ -617,6 +617,7 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
...
@@ -617,6 +617,7 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
set_registry_value
(
pduel
,
"player_type_1"
,
swapped
?
"0"
:
"1"
);
set_registry_value
(
pduel
,
"player_type_1"
,
swapped
?
"0"
:
"1"
);
set_player_info
(
pduel
,
0
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
set_player_info
(
pduel
,
0
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
set_player_info
(
pduel
,
1
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
set_player_info
(
pduel
,
1
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
preload_script
(
pduel
,
"./script/patches/entry.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
unsigned
int
opt
=
(
unsigned
int
)
host_info
.
duel_rule
<<
16
;
unsigned
int
opt
=
(
unsigned
int
)
host_info
.
duel_rule
<<
16
;
...
...
gframe/single_mode.cpp
View file @
bc9c0526
...
@@ -61,6 +61,7 @@ int SingleMode::SinglePlayThread() {
...
@@ -61,6 +61,7 @@ int SingleMode::SinglePlayThread() {
set_registry_value
(
pduel
,
"player_type_1"
,
"1"
);
set_registry_value
(
pduel
,
"player_type_1"
,
"1"
);
set_player_info
(
pduel
,
0
,
start_lp
,
start_hand
,
draw_count
);
set_player_info
(
pduel
,
0
,
start_lp
,
start_hand
,
draw_count
);
set_player_info
(
pduel
,
1
,
start_lp
,
start_hand
,
draw_count
);
set_player_info
(
pduel
,
1
,
start_lp
,
start_hand
,
draw_count
);
preload_script
(
pduel
,
"./script/patches/entry.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
mainGame
->
dInfo
.
lp
[
0
]
=
start_lp
;
mainGame
->
dInfo
.
lp
[
0
]
=
start_lp
;
...
...
gframe/tag_duel.cpp
View file @
bc9c0526
...
@@ -593,6 +593,7 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
...
@@ -593,6 +593,7 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
set_registry_value
(
pduel
,
"player_type_1"
,
swapped
?
"0"
:
"1"
);
set_registry_value
(
pduel
,
"player_type_1"
,
swapped
?
"0"
:
"1"
);
set_player_info
(
pduel
,
0
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
set_player_info
(
pduel
,
0
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
set_player_info
(
pduel
,
1
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
set_player_info
(
pduel
,
1
,
host_info
.
start_lp
,
host_info
.
start_hand
,
host_info
.
draw_count
);
preload_script
(
pduel
,
"./script/patches/entry.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/special.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
preload_script
(
pduel
,
"./script/init.lua"
);
unsigned
int
opt
=
(
unsigned
int
)
host_info
.
duel_rule
<<
16
;
unsigned
int
opt
=
(
unsigned
int
)
host_info
.
duel_rule
<<
16
;
...
...
ocgcore
@
d15a8ef7
Subproject commit
ce8c654094247120ee83ed7f753d19d20539220b
Subproject commit
d15a8ef70c54e3cfdbda2cf82e0164ca79d23f2d
script
@
6b920a4f
Subproject commit
cdd2dcca643c7c48aa253461bb2d5752e01d7a48
Subproject commit
6b920a4f75575c884139779d83d64eaad9d04301
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment