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
REIKAI
ygopro
Commits
5c1af676
Commit
5c1af676
authored
Aug 07, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into another
parents
a1d39ec1
00d2c2e1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
8 deletions
+11
-8
cards.cdb
cards.cdb
+0
-0
gframe/game.cpp
gframe/game.cpp
+1
-1
gframe/sound_manager.cpp
gframe/sound_manager.cpp
+3
-3
ocgcore
ocgcore
+1
-1
premake/gframe/ygopro.rc
premake/gframe/ygopro.rc
+2
-2
script
script
+1
-1
strings.conf
strings.conf
+3
-0
No files found.
cards.cdb
View file @
5c1af676
No preview for this file type
gframe/game.cpp
View file @
5c1af676
...
@@ -116,7 +116,7 @@ bool Game::Initialize() {
...
@@ -116,7 +116,7 @@ bool Game::Initialize() {
SetWindowsIcon
();
SetWindowsIcon
();
//main menu
//main menu
wchar_t
strbuf
[
256
];
wchar_t
strbuf
[
256
];
myswprintf
(
strbuf
,
L"KoishiPro Another %X.0%X.%X
Rosarium
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
myswprintf
(
strbuf
,
L"KoishiPro Another %X.0%X.%X
Charin
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
650
,
415
),
false
,
strbuf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
650
,
415
),
false
,
strbuf
);
wMainMenu
->
getCloseButton
()
->
setVisible
(
false
);
wMainMenu
->
getCloseButton
()
->
setVisible
(
false
);
btnLanMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
30
,
270
,
60
),
wMainMenu
,
BUTTON_LAN_MODE
,
dataManager
.
GetSysString
(
1200
));
btnLanMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
30
,
270
,
60
),
wMainMenu
,
BUTTON_LAN_MODE
,
dataManager
.
GetSysString
(
1200
));
...
...
gframe/sound_manager.cpp
View file @
5c1af676
...
@@ -52,6 +52,7 @@ void SoundManager::PlaySoundEffect(int sound) {
...
@@ -52,6 +52,7 @@ void SoundManager::PlaySoundEffect(int sound) {
#ifdef YGOPRO_USE_IRRKLANG
#ifdef YGOPRO_USE_IRRKLANG
if
(
!
mainGame
->
chkEnableSound
->
isChecked
())
if
(
!
mainGame
->
chkEnableSound
->
isChecked
())
return
;
return
;
engineSound
->
setSoundVolume
(
mainGame
->
gameConf
.
sound_volume
);
switch
(
sound
)
{
switch
(
sound
)
{
case
SOUND_SUMMON
:
{
case
SOUND_SUMMON
:
{
engineSound
->
play2D
(
"./sound/summon.wav"
);
engineSound
->
play2D
(
"./sound/summon.wav"
);
...
@@ -180,7 +181,6 @@ void SoundManager::PlaySoundEffect(int sound) {
...
@@ -180,7 +181,6 @@ void SoundManager::PlaySoundEffect(int sound) {
default:
default:
break
;
break
;
}
}
engineSound
->
setSoundVolume
(
mainGame
->
gameConf
.
sound_volume
);
#endif
#endif
}
}
void
SoundManager
::
PlayDialogSound
(
irr
::
gui
::
IGUIElement
*
element
)
{
void
SoundManager
::
PlayDialogSound
(
irr
::
gui
::
IGUIElement
*
element
)
{
...
@@ -212,8 +212,8 @@ void SoundManager::PlayMusic(char* song, bool loop) {
...
@@ -212,8 +212,8 @@ void SoundManager::PlayMusic(char* song, bool loop) {
return
;
return
;
if
(
!
engineMusic
->
isCurrentlyPlaying
(
song
))
{
if
(
!
engineMusic
->
isCurrentlyPlaying
(
song
))
{
engineMusic
->
stopAllSounds
();
engineMusic
->
stopAllSounds
();
soundBGM
=
engineMusic
->
play2D
(
song
,
loop
,
false
,
true
);
engineMusic
->
setSoundVolume
(
mainGame
->
gameConf
.
music_volume
);
engineMusic
->
setSoundVolume
(
mainGame
->
gameConf
.
music_volume
);
soundBGM
=
engineMusic
->
play2D
(
song
,
loop
,
false
,
true
);
}
}
#endif
#endif
}
}
...
@@ -257,8 +257,8 @@ void SoundManager::PlayCustomSound(char* SoundName) {
...
@@ -257,8 +257,8 @@ void SoundManager::PlayCustomSound(char* SoundName) {
#ifdef YGOPRO_USE_IRRKLANG
#ifdef YGOPRO_USE_IRRKLANG
if
(
!
mainGame
->
chkEnableSound
->
isChecked
())
if
(
!
mainGame
->
chkEnableSound
->
isChecked
())
return
;
return
;
engineSound
->
play2D
(
SoundName
);
engineSound
->
setSoundVolume
(
mainGame
->
gameConf
.
sound_volume
);
engineSound
->
setSoundVolume
(
mainGame
->
gameConf
.
sound_volume
);
engineSound
->
play2D
(
SoundName
);
#endif
#endif
}
}
void
SoundManager
::
StopBGM
()
{
void
SoundManager
::
StopBGM
()
{
...
...
ocgcore
@
a863a19d
Subproject commit
0ba949b0cbeb78c619bb1179d3371ff1c108f808
Subproject commit
a863a19d260bc343484ea0911c5f7a72fe9d6a87
premake/gframe/ygopro.rc
View file @
5c1af676
...
@@ -16,8 +16,8 @@ VALUE "InternalName", "KoishiPro Another"
...
@@ -16,8 +16,8 @@ VALUE "InternalName", "KoishiPro Another"
VALUE "LegalCopyright", "Copyright (C) 2019 Nanahira"
VALUE "LegalCopyright", "Copyright (C) 2019 Nanahira"
VALUE "OriginalFilename", "ygopro_another.exe"
VALUE "OriginalFilename", "ygopro_another.exe"
VALUE "ProductName", "KoishiPro Another"
VALUE "ProductName", "KoishiPro Another"
VALUE "FileVersion", "
Rosarium
"
VALUE "FileVersion", "
Charin
"
VALUE "ProductVersion", "
Rosarium
"
VALUE "ProductVersion", "
Charin
"
END
END
END
END
BLOCK "VarFileInfo"
BLOCK "VarFileInfo"
...
...
script
@
1d99403a
Subproject commit
7e2e5d4d4eaf792efb65acd5c426ecb1eb4be6f8
Subproject commit
1d99403acb4527402a1cf53c6a70ce1af6bdb479
strings.conf
View file @
5c1af676
...
@@ -1007,3 +1007,6 @@
...
@@ -1007,3 +1007,6 @@
!
setname
0
x130
破械
!
setname
0
x130
破械
!
setname
0
x1130
破械神
!
setname
0
x1130
破械神
!
setname
0
x131
梦镜
Dream
Mirror
!
setname
0
x131
梦镜
Dream
Mirror
!
setname
0
x132
斩机
!
setname
0
x133
半龙女仆
!
setname
0
x134
王战
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