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
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
Commits
0836873a
Commit
0836873a
authored
Mar 17, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0cae1242
Pipeline
#33765
passed with stages
in 4 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
gframe/config.h
gframe/config.h
+1
-7
gframe/game.cpp
gframe/game.cpp
+1
-1
No files found.
gframe/config.h
View file @
0836873a
...
@@ -72,16 +72,10 @@ inline FILE* mywfopen(const wchar_t* filename, const char* mode) {
...
@@ -72,16 +72,10 @@ inline FILE* mywfopen(const wchar_t* filename, const char* mode) {
return
fp
;
return
fp
;
}
}
#if
ndef YGOPRO_SERVER_MODE
#if
!defined(YGOPRO_SERVER_MODE) || defined(SERVER_ZIP_SUPPORT)
#include <irrlicht.h>
#include <irrlicht.h>
#endif
#endif
#ifdef SERVER_ZIP_SUPPORT
#include <irrlicht.h>
using
namespace
irr
;
using
namespace
io
;
#endif
extern
const
unsigned
short
PRO_VERSION
;
extern
const
unsigned
short
PRO_VERSION
;
extern
unsigned
int
enable_log
;
extern
unsigned
int
enable_log
;
extern
bool
exit_on_return
;
extern
bool
exit_on_return
;
...
...
gframe/game.cpp
View file @
0836873a
...
@@ -98,7 +98,7 @@ void Game::MainServerLoop() {
...
@@ -98,7 +98,7 @@ void Game::MainServerLoop() {
dataManager
.
LoadDB
(
L"cards.cdb"
);
dataManager
.
LoadDB
(
L"cards.cdb"
);
LoadExpansions
();
LoadExpansions
();
#ifdef SERVER_PRO2_SUPPORT
#ifdef SERVER_PRO2_SUPPORT
DataManager
::
FileSystem
->
addFileArchive
(
"data/script.zip"
,
true
,
false
,
EFAT_ZIP
);
DataManager
::
FileSystem
->
addFileArchive
(
"data/script.zip"
,
true
,
false
,
irr
::
io
::
EFAT_ZIP
);
#endif
#endif
server_port
=
NetServer
::
StartServer
(
server_port
);
server_port
=
NetServer
::
StartServer
(
server_port
);
...
...
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