Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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
fallenstardust
YGOMobile-Cn-Ko-En
Commits
ebfa29eb
Commit
ebfa29eb
authored
Dec 15, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
saveinsetting prefer expansion script
parent
6b9adc01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+3
-0
No files found.
Classes/gframe/game.cpp
View file @
ebfa29eb
...
@@ -1429,6 +1429,7 @@ void Game::LoadConfig() {
...
@@ -1429,6 +1429,7 @@ void Game::LoadConfig() {
gameConf
.
chkIgnoreDeckChanges
=
android
::
getIntSetting
(
appMain
,
"chkIgnoreDeckChanges"
,
0
);
gameConf
.
chkIgnoreDeckChanges
=
android
::
getIntSetting
(
appMain
,
"chkIgnoreDeckChanges"
,
0
);
gameConf
.
auto_save_replay
=
android
::
getIntSetting
(
appMain
,
"auto_save_replay"
,
0
);
gameConf
.
auto_save_replay
=
android
::
getIntSetting
(
appMain
,
"auto_save_replay"
,
0
);
gameConf
.
quick_animation
=
android
::
getIntSetting
(
appMain
,
"quick_animation"
,
0
);
gameConf
.
quick_animation
=
android
::
getIntSetting
(
appMain
,
"quick_animation"
,
0
);
gameConf
.
prefer_expansion_script
=
android
::
getIntSetting
(
appMain
,
"prefer_expansion_script"
,
0
);
//defult Setting without checked
//defult Setting without checked
gameConf
.
hide_setname
=
0
;
gameConf
.
hide_setname
=
0
;
gameConf
.
hide_hint_button
=
0
;
gameConf
.
hide_hint_button
=
0
;
...
@@ -1466,6 +1467,8 @@ void Game::SaveConfig() {
...
@@ -1466,6 +1467,8 @@ void Game::SaveConfig() {
android
::
saveIntSetting
(
appMain
,
"draw_field_spell"
,
gameConf
.
draw_field_spell
);
android
::
saveIntSetting
(
appMain
,
"draw_field_spell"
,
gameConf
.
draw_field_spell
);
gameConf
.
quick_animation
=
chkQuickAnimation
->
isChecked
()
?
1
:
0
;
gameConf
.
quick_animation
=
chkQuickAnimation
->
isChecked
()
?
1
:
0
;
android
::
saveIntSetting
(
appMain
,
"quick_animation"
,
gameConf
.
quick_animation
);
android
::
saveIntSetting
(
appMain
,
"quick_animation"
,
gameConf
.
quick_animation
);
gameConf
.
prefer_expansion_script
=
chkPreferExpansionScript
->
isChecked
()
?
1
:
0
;
android
::
saveIntSetting
(
appMain
,
"prefer_expansion_script"
,
gameConf
.
prefer_expansion_script
);
//gameConf.control_mode = control_mode->isChecked()?1:0;
//gameConf.control_mode = control_mode->isChecked()?1:0;
// android::saveIntSetting(appMain, "control_mode", gameConf.control_mode);
// android::saveIntSetting(appMain, "control_mode", gameConf.control_mode);
...
...
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