Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
462621c7
Commit
462621c7
authored
Oct 01, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update test
parent
ace03f4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
gframe/game.cpp
gframe/game.cpp
+2
-4
script
script
+1
-1
No files found.
gframe/game.cpp
View file @
462621c7
...
...
@@ -114,7 +114,8 @@ bool Game::Initialize() {
env
->
addStaticText
(
L"\u76EE\u524D\u6D4B\u8BD5\u7684\u5185\u5BB9\uFF1A
\n\n
\
\u7A97\u53E3\u7F29\u653E\u3002
\n
\
\u589E\u52A0\u52A0\u5FEB\u52A8\u753B\u6548\u679C\u529F\u80FD\u3002
\n
\
\u6295\u964D\u65F6\u786E\u8BA4\u3002
\n
\
\u66F4\u6539\u5893\u5730\u7B49\u5904\u5361\u7247\u88AB\u9009\u4E3A\u5BF9\u8C61\u7684\u52A8\u753B\u3002
\n
\
\n
\
\n
\u5DF2\u77E5\u95EE\u9898\uFF1A
\n
\
\n
\u6548\u679C\u6587\u5185\u82F1\u6587\u6362\u884C\u4F1A\u622A\u65AD\u5355\u8BCD\u3002
\n
\
...
...
@@ -1188,8 +1189,6 @@ void Game::LoadConfig() {
gameConf
.
window_height
=
atoi
(
valbuf
);
}
else
if
(
!
strcmp
(
strbuf
,
"resize_popup_menu"
))
{
gameConf
.
resize_popup_menu
=
atoi
(
valbuf
)
>
0
;
}
else
if
(
!
strcmp
(
strbuf
,
"quick_animation"
))
{
gameConf
.
quick_animation
=
atoi
(
valbuf
);
#ifdef YGOPRO_USE_IRRKLANG
}
else
if
(
!
strcmp
(
strbuf
,
"enable_sound"
))
{
gameConf
.
enable_sound
=
atoi
(
valbuf
)
>
0
;
...
...
@@ -1267,7 +1266,6 @@ void Game::SaveConfig() {
fprintf
(
fp
,
"window_width = %d
\n
"
,
gameConf
.
window_width
);
fprintf
(
fp
,
"window_height = %d
\n
"
,
gameConf
.
window_height
);
fprintf
(
fp
,
"resize_popup_menu = %d
\n
"
,
gameConf
.
resize_popup_menu
?
1
:
0
);
fprintf
(
fp
,
"quick_animation = %d
\n
"
,
gameConf
.
quick_animation
);
#ifdef YGOPRO_USE_IRRKLANG
fprintf
(
fp
,
"enable_sound = %d
\n
"
,
(
chkEnableSound
->
isChecked
()
?
1
:
0
));
fprintf
(
fp
,
"enable_music = %d
\n
"
,
(
chkEnableMusic
->
isChecked
()
?
1
:
0
));
...
...
script
@
85604b1c
Subproject commit
44a8b72a59752a4d16ac2a658b4e9169b3c6b1eb
Subproject commit
85604b1c222fabdad39f18bf1580358d298aaa84
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