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
53b0d09d
Commit
53b0d09d
authored
Jun 30, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
da811668
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gframe/game.cpp
gframe/game.cpp
+6
-6
No files found.
gframe/game.cpp
View file @
53b0d09d
...
@@ -275,18 +275,18 @@ bool Game::Initialize() {
...
@@ -275,18 +275,18 @@ bool Game::Initialize() {
chkAutoSearch
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
posX
,
posY
,
posX
+
225
,
posY
+
25
),
tabSystem
,
CHECKBOX_AUTO_SEARCH
,
dataManager
.
GetSysString
(
1358
));
chkAutoSearch
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
posX
,
posY
,
posX
+
225
,
posY
+
25
),
tabSystem
,
CHECKBOX_AUTO_SEARCH
,
dataManager
.
GetSysString
(
1358
));
chkAutoSearch
->
setChecked
(
gameConf
.
auto_search_limit
>=
0
);
chkAutoSearch
->
setChecked
(
gameConf
.
auto_search_limit
>=
0
);
posY
+=
30
;
posY
+=
30
;
chkEnableSound
=
env
->
addCheckBox
(
gameConf
.
enablesound
,
rect
<
s32
>
(
posX
,
posY
,
posX
+
1
0
0
,
posY
+
25
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1380
));
chkEnableSound
=
env
->
addCheckBox
(
gameConf
.
enablesound
,
rect
<
s32
>
(
posX
,
posY
,
posX
+
1
2
0
,
posY
+
25
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1380
));
chkEnableSound
->
setChecked
(
gameConf
.
enablesound
);
chkEnableSound
->
setChecked
(
gameConf
.
enablesound
);
srcSoundVolume
=
env
->
addScrollBar
(
true
,
rect
<
s32
>
(
posX
+
105
,
posY
,
posX
+
260
,
posY
+
25
),
tabSystem
,
SCROLL_VOLUME
);
srcSoundVolume
=
env
->
addScrollBar
(
true
,
rect
<
s32
>
(
posX
+
126
,
posY
+
4
,
posX
+
260
,
posY
+
21
),
tabSystem
,
SCROLL_VOLUME
);
srcSoundVolume
->
setMax
(
100
);
srcSoundVolume
->
setMax
(
100
);
srcSoundVolume
->
setMin
(
0
);
srcSoundVolume
->
setMin
(
0
);
srcSoundVolume
->
setPos
(
gameConf
.
soundvolume
*
100
);
srcSoundVolume
->
setPos
(
gameConf
.
soundvolume
*
100
);
srcSoundVolume
->
setLargeStep
(
1
);
srcSoundVolume
->
setLargeStep
(
1
);
srcSoundVolume
->
setSmallStep
(
1
);
srcSoundVolume
->
setSmallStep
(
1
);
posY
+=
30
;
posY
+=
30
;
chkEnableMusic
=
env
->
addCheckBox
(
gameConf
.
enablemusic
,
rect
<
s32
>
(
posX
,
posY
,
posX
+
1
0
0
,
posY
+
25
),
tabSystem
,
CHECKBOX_ENABLE_MUSIC
,
dataManager
.
GetSysString
(
1381
));
chkEnableMusic
=
env
->
addCheckBox
(
gameConf
.
enablemusic
,
rect
<
s32
>
(
posX
,
posY
,
posX
+
1
2
0
,
posY
+
25
),
tabSystem
,
CHECKBOX_ENABLE_MUSIC
,
dataManager
.
GetSysString
(
1381
));
chkEnableMusic
->
setChecked
(
gameConf
.
enablemusic
);
chkEnableMusic
->
setChecked
(
gameConf
.
enablemusic
);
srcMusicVolume
=
env
->
addScrollBar
(
true
,
rect
<
s32
>
(
posX
+
105
,
posY
,
posX
+
260
,
posY
+
25
),
tabSystem
,
SCROLL_VOLUME
);
srcMusicVolume
=
env
->
addScrollBar
(
true
,
rect
<
s32
>
(
posX
+
126
,
posY
+
4
,
posX
+
260
,
posY
+
21
),
tabSystem
,
SCROLL_VOLUME
);
srcMusicVolume
->
setMax
(
100
);
srcMusicVolume
->
setMax
(
100
);
srcMusicVolume
->
setMin
(
0
);
srcMusicVolume
->
setMin
(
0
);
srcMusicVolume
->
setPos
(
gameConf
.
musicvolume
*
100
);
srcMusicVolume
->
setPos
(
gameConf
.
musicvolume
*
100
);
...
@@ -993,9 +993,9 @@ void Game::LoadConfig() {
...
@@ -993,9 +993,9 @@ void Game::LoadConfig() {
gameConf
.
auto_search_limit
=
-
1
;
gameConf
.
auto_search_limit
=
-
1
;
gameConf
.
chkIgnoreDeckChanges
=
0
;
gameConf
.
chkIgnoreDeckChanges
=
0
;
gameConf
.
enablesound
=
true
;
gameConf
.
enablesound
=
true
;
gameConf
.
soundvolume
=
1.0
;
gameConf
.
soundvolume
=
0.5
;
gameConf
.
enablemusic
=
true
;
gameConf
.
enablemusic
=
true
;
gameConf
.
musicvolume
=
1.0
;
gameConf
.
musicvolume
=
0.5
;
gameConf
.
BGM_index
=
-
1
;
gameConf
.
BGM_index
=
-
1
;
fseek
(
fp
,
0
,
SEEK_END
);
fseek
(
fp
,
0
,
SEEK_END
);
int
fsize
=
ftell
(
fp
);
int
fsize
=
ftell
(
fp
);
...
...
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