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
nanahira
ygopro
Commits
0803a304
Commit
0803a304
authored
Dec 27, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add as an option
parent
4497cb18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
gframe/config.h
gframe/config.h
+1
-0
gframe/game.cpp
gframe/game.cpp
+2
-1
gframe/gframe.cpp
gframe/gframe.cpp
+3
-0
No files found.
gframe/config.h
View file @
0803a304
...
...
@@ -90,6 +90,7 @@ extern unsigned short PRO_VERSION;
extern
int
enable_log
;
extern
bool
exit_on_return
;
extern
bool
auto_watch_mode
;
extern
bool
raw_video_mode
;
extern
bool
open_file
;
extern
wchar_t
open_file_name
[
256
];
extern
bool
bot_mode
;
...
...
gframe/game.cpp
View file @
0803a304
...
...
@@ -981,7 +981,8 @@ void Game::MainLoop() {
DuelClient
::
try_needed
=
false
;
DuelClient
::
StartClient
(
DuelClient
::
temp_ip
,
DuelClient
::
temp_port
,
false
);
}
takeScreenshotLoop
();
if
(
raw_video_mode
)
takeScreenshotLoop
();
}
DuelClient
::
StopClient
(
true
);
if
(
dInfo
.
isSingleMode
)
...
...
gframe/gframe.cpp
View file @
0803a304
...
...
@@ -10,6 +10,7 @@
int
enable_log
=
0
;
bool
exit_on_return
=
false
;
bool
auto_watch_mode
=
false
;
bool
raw_video_mode
=
false
;
bool
open_file
=
false
;
wchar_t
open_file_name
[
256
]
=
L""
;
bool
bot_mode
=
false
;
...
...
@@ -112,6 +113,8 @@ int main(int argc, char* argv[]) {
keep_on_return
=
true
;
}
else
if
(
!
wcscmp
(
wargv
[
i
],
L"--auto-watch"
))
{
// Auto watch mode
auto_watch_mode
=
true
;
}
else
if
(
!
wcscmp
(
wargv
[
i
],
L"--raw-video"
))
{
// Raw video mode
raw_video_mode
=
true
;
}
else
if
(
!
wcscmp
(
wargv
[
i
],
L"-d"
))
{
// Deck
++
i
;
if
(
i
+
1
<
wargc
)
{
// select deck
...
...
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