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
赤子奈落
ygopro
Commits
a1b8730a
Commit
a1b8730a
authored
Nov 12, 2024
by
mercury233
Committed by
GitHub
Nov 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update & fix build (#23)
parent
20bf2ae9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
15 deletions
+35
-15
appveyor.yml
appveyor.yml
+14
-14
gframe/game.cpp
gframe/game.cpp
+2
-0
premake/irrlicht/irrlicht.patch
premake/irrlicht/irrlicht.patch
+19
-1
No files found.
appveyor.yml
View file @
a1b8730a
version
:
'
{build}'
version
:
'
{build}'
image
:
Visual Studio
20
19
image
:
Visual Studio
20
22
environment
:
environment
:
matrix
:
matrix
:
-
SERVER_MODE
:
true
-
SERVER_MODE
:
true
...
@@ -9,25 +9,25 @@ install:
...
@@ -9,25 +9,25 @@ install:
-
git submodule update --init --recursive
-
git submodule update --init --recursive
# environment and system dependency
# environment and system dependency
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-beta
2/premake-5.0.0-beta2
-windows.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-beta
3/premake-5.0.0-beta3
-windows.zip ; exit 0"
-
7z x premake-5.0.0-beta
2
-windows.zip
-
7z x premake-5.0.0-beta
3
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
tar xf libevent-2.0.22-stable.tar.gz
-
move libevent-2.0.22-stable event
-
move libevent-2.0.22-stable event
-
xcopy /E event\WIN32-Code event\include
-
xcopy /E event\WIN32-Code event\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.4.
4
.tar.gz ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.4.
7
.tar.gz ; exit 0"
-
tar xf lua-5.4.
4
.tar.gz
-
tar xf lua-5.4.
7
.tar.gz
-
move lua-5.4.
4
lua
-
move lua-5.4.
7
lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/202
2/sqlite-amalgamation-33903
00.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/202
4/sqlite-amalgamation-34700
00.zip ; exit 0"
-
7z x sqlite-amalgamation-3
3903
00.zip
-
7z x sqlite-amalgamation-3
4700
00.zip
-
move sqlite-amalgamation-3
3903
00 sqlite3
-
move sqlite-amalgamation-3
4700
00 sqlite3
before_build
:
before_build
:
-
xcopy /E premake\* .
-
xcopy /E premake\* .
-
premake5 vs20
19
-
premake5 vs20
22
configuration
:
Release
configuration
:
Release
...
@@ -54,7 +54,7 @@ for:
...
@@ -54,7 +54,7 @@ for:
-
patch -p1 < irrlicht.patch
-
patch -p1 < irrlicht.patch
-
cd ..
-
cd ..
-
premake5 vs20
19
-
premake5 vs20
22
after_build
:
after_build
:
-
ps
:
move bin\release\AI.Server.exe .
-
ps
:
move bin\release\AI.Server.exe .
...
@@ -64,8 +64,8 @@ for:
...
@@ -64,8 +64,8 @@ for:
name
:
YGOPro server for YGOPro2 AI
name
:
YGOPro server for YGOPro2 AI
cache
:
cache
:
-
premake-5.0.0-beta
2
-windows.zip
-
premake-5.0.0-beta
3
-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
libevent-2.0.22-stable.tar.gz
-
irrlicht-1.8.5.zip
-
irrlicht-1.8.5.zip
-
lua-5.4.
4
.tar.gz
-
lua-5.4.
7
.tar.gz
-
sqlite-amalgamation-3
3903
00.zip
-
sqlite-amalgamation-3
4700
00.zip
gframe/game.cpp
View file @
a1b8730a
...
@@ -1241,6 +1241,8 @@ void Game::LoadExpansions() {
...
@@ -1241,6 +1241,8 @@ void Game::LoadExpansions() {
#endif
#endif
if
(
IsExtension
(
fname
,
L".cdb"
))
{
if
(
IsExtension
(
fname
,
L".cdb"
))
{
dataManager
.
LoadDB
(
fname
);
dataManager
.
LoadDB
(
fname
);
continue
;
}
#ifndef YGOPRO_SERVER_MODE
#ifndef YGOPRO_SERVER_MODE
if
(
IsExtension
(
fname
,
L".conf"
))
{
if
(
IsExtension
(
fname
,
L".conf"
))
{
#ifdef _WIN32
#ifdef _WIN32
...
...
premake/irrlicht/irrlicht.patch
View file @
a1b8730a
...
@@ -37,7 +37,7 @@ index 43557cd..ffa06bc 100644
...
@@ -37,7 +37,7 @@ index 43557cd..ffa06bc 100644
} // end namespace core
} // end namespace core
} // end namespace irr
} // end namespace irr
diff --git a/include/irrTypes.h b/include/irrTypes.h
diff --git a/include/irrTypes.h b/include/irrTypes.h
index 403f890..
940e859
100644
index 403f890..
bfa13f4
100644
--- a/include/irrTypes.h
--- a/include/irrTypes.h
+++ b/include/irrTypes.h
+++ b/include/irrTypes.h
@@ -48,6 +48,9 @@
typedef __int16 s16;
@@ -48,6 +48,9 @@
typedef __int16 s16;
...
@@ -50,6 +50,24 @@ index 403f890..940e859 100644
...
@@ -50,6 +50,24 @@ index 403f890..940e859 100644
//! 32 bit unsigned variable.
//! 32 bit unsigned variable.
@@ -113,17 +116,6 @@
typedef double f64;
#include <wchar.h>
#ifdef _IRR_WINDOWS_API_
-//! Defines for s{w,n}printf because these methods do not match the ISO C
-//! standard on Windows platforms, but it does on all others.
-//! These should be int snprintf(char *str, size_t size, const char *format, ...);
-//! and int swprintf(wchar_t *wcs, size_t maxlen, const wchar_t *format, ...);
-#if defined(_MSC_VER) && _MSC_VER > 1310 && !defined (_WIN32_WCE)
-#define swprintf swprintf_s
-#define snprintf sprintf_s
-#elif !defined(__CYGWIN__)
-#define swprintf _snwprintf
-#define snprintf _snprintf
-#endif
// define the wchar_t type if not already built in.
#ifdef _MSC_VER
diff --git a/source/Irrlicht/CGUIEditBox.cpp b/source/Irrlicht/CGUIEditBox.cpp
diff --git a/source/Irrlicht/CGUIEditBox.cpp b/source/Irrlicht/CGUIEditBox.cpp
index 395fb69..cc6b75f 100644
index 395fb69..cc6b75f 100644
--- a/source/Irrlicht/CGUIEditBox.cpp
--- a/source/Irrlicht/CGUIEditBox.cpp
...
...
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