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
01e9295f
Commit
01e9295f
authored
Dec 18, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5a9a840e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
gframe/premake4.lua
gframe/premake4.lua
+10
-0
gframe/sound_manager.cpp
gframe/sound_manager.cpp
+1
-1
No files found.
gframe/premake4.lua
View file @
01e9295f
...
@@ -31,3 +31,13 @@ project "ygopro"
...
@@ -31,3 +31,13 @@ project "ygopro"
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.2"
,
"/usr/include/lua/5.2"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.2"
,
"/usr/include/lua/5.2"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
excludes
{
"COSOperator.*"
}
excludes
{
"COSOperator.*"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
configuration
"linux"
removelinks
{
"lua"
}
links
{
"lua5.2"
}
if
USE_IRRKLANG
then
defines
{
"YGOPRO_USE_IRRKLANG"
}
links
{
"IrrKlang"
}
linkoptions
{
"-Wl,-rpath=./irrklang/bin/linux-gcc-64/"
}
libdirs
{
"../irrklang/bin/linux-gcc-64"
}
includedirs
{
"../irrklang/include"
}
end
gframe/sound_manager.cpp
View file @
01e9295f
...
@@ -54,7 +54,7 @@ void SoundManager::RefershBGMDir(std::wstring path, int scene) {
...
@@ -54,7 +54,7 @@ void SoundManager::RefershBGMDir(std::wstring path, int scene) {
// not fully implemented
// not fully implemented
DIR
*
dir
;
DIR
*
dir
;
struct
dirent
*
dirp
;
struct
dirent
*
dirp
;
if
((
dir
=
opendir
(
"./sound/BGM/
*.ogg
"
))
==
NULL
)
if
((
dir
=
opendir
(
"./sound/BGM/"
))
==
NULL
)
return
;
return
;
while
((
dirp
=
readdir
(
dir
))
!=
NULL
)
{
while
((
dirp
=
readdir
(
dir
))
!=
NULL
)
{
size_t
len
=
strlen
(
dirp
->
d_name
);
size_t
len
=
strlen
(
dirp
->
d_name
);
...
...
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