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
0
Merge Requests
0
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
YGOPRO-520DIY
ygopro
Commits
1c3a57a9
Commit
1c3a57a9
authored
Feb 23, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
eccff2ea
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
gframe/game.cpp
gframe/game.cpp
+1
-1
gframe/game.h
gframe/game.h
+1
-1
gframe/gframe.cpp
gframe/gframe.cpp
+1
-1
gframe/single_duel.h
gframe/single_duel.h
+4
-1
No files found.
gframe/game.cpp
View file @
1c3a57a9
...
...
@@ -94,7 +94,7 @@ bool IsExtension(const wchar_t* filename, const wchar_t* extension) {
#ifdef YGOPRO_SERVER_MODE
unsigned
short
server_port
;
unsigned
short
replay_mode
;
unsigned
int
pre_seed
[
3
];
unsigned
int
pre_seed
[
5
];
unsigned
int
duel_flags
;
HostInfo
game_info
;
...
...
gframe/game.h
View file @
1c3a57a9
...
...
@@ -688,7 +688,7 @@ extern Game* mainGame;
extern
unsigned
short
server_port
;
extern
unsigned
short
replay_mode
;
extern
HostInfo
game_info
;
extern
unsigned
int
pre_seed
[
3
];
extern
unsigned
int
pre_seed
[
5
];
extern
unsigned
int
duel_flags
;
#endif
}
...
...
gframe/gframe.cpp
View file @
1c3a57a9
...
...
@@ -121,7 +121,7 @@ int main(int argc, char* argv[]) {
ygo
::
game_info
.
draw_count
=
atoi
(
argv
[
10
]);
ygo
::
game_info
.
time_limit
=
atoi
(
argv
[
11
]);
ygo
::
replay_mode
=
atoi
(
argv
[
12
]);
for
(
int
i
=
13
;
(
i
<
argc
&&
i
<=
1
5
)
;
++
i
)
for
(
int
i
=
13
;
(
i
<
argc
&&
i
<=
1
7
)
;
++
i
)
{
ygo
::
pre_seed
[
i
-
13
]
=
(
unsigned
int
)
atol
(
argv
[
i
]);
}
...
...
gframe/single_duel.h
View file @
1c3a57a9
...
...
@@ -80,7 +80,11 @@ protected:
int
match_kill
{
0
};
unsigned
char
duel_count
{
0
};
unsigned
char
tp_player
{
0
};
#ifdef YGOPRO_SERVER_MODE
unsigned
char
match_result
[
5
]{};
#else
unsigned
char
match_result
[
3
]{};
#endif
short
time_limit
[
2
]{};
short
time_elapsed
{
0
};
#ifdef YGOPRO_SERVER_MODE
...
...
@@ -93,4 +97,3 @@ protected:
}
#endif //SINGLE_DUEL_H
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