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
MobiusMei
ygopro
Commits
55c41bfa
Commit
55c41bfa
authored
Jul 19, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support ALL master rules
parent
643f6ca8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
gframe/gframe.cpp
gframe/gframe.cpp
+8
-1
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/gframe.cpp
View file @
55c41bfa
...
@@ -86,8 +86,15 @@ int main(int argc, char* argv[]) {
...
@@ -86,8 +86,15 @@ int main(int argc, char* argv[]) {
ygo
::
game_info
.
mode
=
mode
;
ygo
::
game_info
.
mode
=
mode
;
if
(
argv
[
5
][
0
]
==
'T'
)
if
(
argv
[
5
][
0
]
==
'T'
)
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
-
1
;
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
-
1
;
else
else
if
(
argv
[
5
][
0
]
==
'F'
)
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
;
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
;
else
{
int
master_rule
=
atoi
(
argv
[
5
]);
if
(
master_rule
)
ygo
::
game_info
.
duel_rule
=
master_rule
;
else
ygo
::
game_info
.
duel_rule
=
DEFAULT_DUEL_RULE
;
}
if
(
argv
[
6
][
0
]
==
'T'
)
if
(
argv
[
6
][
0
]
==
'T'
)
ygo
::
game_info
.
no_check_deck
=
true
;
ygo
::
game_info
.
no_check_deck
=
true
;
else
else
...
...
ocgcore
@
df7f36d8
Subproject commit
f79332d76d1b5774fe0105e541d34c7b40e3e54a
Subproject commit
df7f36d8847fc560991ad8bd80ad40ea8ab8361e
script
@
ebd97b35
Subproject commit
573645ee990be70d8e7c7ae2fa8a8fad33e9d62e
Subproject commit
ebd97b358b20e82c334a972ae3eaa42ec91329eb
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