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
c4dfdc1f
Commit
c4dfdc1f
authored
Nov 11, 2017
by
edo9300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for linux/mac
parent
2aa71d84
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
16 deletions
+12
-16
gframe/CXMLRegistry/CXMLNode.h
gframe/CXMLRegistry/CXMLNode.h
+0
-7
gframe/CXMLRegistry/CXMLRegistry.cpp
gframe/CXMLRegistry/CXMLRegistry.cpp
+6
-0
gframe/CXMLRegistry/CXMLRegistry.h
gframe/CXMLRegistry/CXMLRegistry.h
+2
-7
gframe/premake4.lua
gframe/premake4.lua
+2
-2
premake4.lua
premake4.lua
+2
-0
No files found.
gframe/CXMLRegistry/CXMLNode.h
View file @
c4dfdc1f
...
@@ -3,14 +3,7 @@
...
@@ -3,14 +3,7 @@
#ifndef __C_XMLNODE_H_INCLUDED__
#ifndef __C_XMLNODE_H_INCLUDED__
#define __C_XMLNODE_H_INCLUDED__
#define __C_XMLNODE_H_INCLUDED__
#ifdef _WIN32
#include <irrlicht.h>
#include <irrlicht.h>
#else
// Setup for compile with stripped down IRRlicht on FreeBSD (stripped by Madoc)
#include <irrString.h>
#include <irrArray.h>
#include <irrTypes.h>
#endif
using
namespace
irr
;
using
namespace
irr
;
enum
CXMLNODETYPE
{
enum
CXMLNODETYPE
{
...
...
gframe/CXMLRegistry/CXMLRegistry.cpp
View file @
c4dfdc1f
#include "CXMLRegistry.h"
#include "CXMLRegistry.h"
#ifndef _WIN32
inline
int
_wtoi
(
const
wchar_t
*
str
){
return
(
int
)
wcstol
(
str
,
0
,
10
);
}
#endif
CXMLRegistry
::
CXMLRegistry
(
io
::
IFileSystem
*
fsys
)
{
CXMLRegistry
::
CXMLRegistry
(
io
::
IFileSystem
*
fsys
)
{
fileSystem
=
fsys
;
fileSystem
=
fsys
;
fileSystem
->
grab
();
fileSystem
->
grab
();
...
...
gframe/CXMLRegistry/CXMLRegistry.h
View file @
c4dfdc1f
...
@@ -2,14 +2,9 @@
...
@@ -2,14 +2,9 @@
#ifndef __C_XMLREGISTRY_H_INCLUDED__
#ifndef __C_XMLREGISTRY_H_INCLUDED__
#define __C_XMLREGISTRY_H_INCLUDED__
#define __C_XMLREGISTRY_H_INCLUDED__
#ifdef _WIN32
#include <irrlicht.h>
#include <irrlicht.h>
#else
// Setup for compile with stripped down IRRlicht on FreeBSD (stripped by Madoc)
#include <irrString.h>
#include <irrArray.h>
#include <irrTypes.h>
#endif
using
namespace
irr
;
using
namespace
irr
;
#include "CXMLNode.h"
#include "CXMLNode.h"
//File->
//File->
...
...
gframe/premake4.lua
View file @
c4dfdc1f
...
@@ -17,8 +17,8 @@ project "ygopro"
...
@@ -17,8 +17,8 @@ project "ygopro"
configuration
{
"windows"
,
"not vs*"
}
configuration
{
"windows"
,
"not vs*"
}
includedirs
{
"/mingw/include/irrlicht"
,
"/mingw/include/freetype2"
}
includedirs
{
"/mingw/include/irrlicht"
,
"/mingw/include/freetype2"
}
configuration
"not vs*"
configuration
"not vs*"
buildoptions
{
"-std=gnu++0x"
,
"-fno-rtti"
}
buildoptions
{
"-std=gnu++0x"
,
"-fno-rtti"
,
"-fpermissive"
}
configuration
"not windows"
configuration
"not windows"
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.
3"
,
"/usr/include/lua/5.3
"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
excludes
{
"COSOperator.*"
}
excludes
{
"COSOperator.*"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
premake4.lua
View file @
c4dfdc1f
...
@@ -22,6 +22,8 @@ solution "ygo"
...
@@ -22,6 +22,8 @@ solution "ygo"
configuration
"linux"
configuration
"linux"
defines
{
"LUA_USE_LINUX"
}
defines
{
"LUA_USE_LINUX"
}
includedirs
{
"irrKlang/include"
}
libdirs
{
"irrKlang/lib"
}
configuration
"vs*"
configuration
"vs*"
flags
"EnableSSE2"
flags
"EnableSSE2"
...
...
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