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
ae84948f
Commit
ae84948f
authored
Aug 08, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
c8448734
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
gframe/client_card.h
gframe/client_card.h
+2
-2
gframe/config.h
gframe/config.h
+5
-9
gframe/premake4.lua
gframe/premake4.lua
+2
-0
No files found.
gframe/client_card.h
View file @
ae84948f
...
@@ -47,7 +47,7 @@ typedef std::unordered_map<unsigned int, CardDataC>::const_iterator code_pointer
...
@@ -47,7 +47,7 @@ typedef std::unordered_map<unsigned int, CardDataC>::const_iterator code_pointer
class
ClientCard
{
class
ClientCard
{
public:
public:
/*
#ifndef YGOPRO_SERVER_MODE
irr
::
core
::
matrix4
mTransform
;
irr
::
core
::
matrix4
mTransform
;
irr
::
core
::
vector3df
curPos
;
irr
::
core
::
vector3df
curPos
;
irr
::
core
::
vector3df
curRot
;
irr
::
core
::
vector3df
curRot
;
...
@@ -120,7 +120,7 @@ public:
...
@@ -120,7 +120,7 @@ public:
static
bool
deck_sort_atk
(
code_pointer
l1
,
code_pointer
l2
);
static
bool
deck_sort_atk
(
code_pointer
l1
,
code_pointer
l2
);
static
bool
deck_sort_def
(
code_pointer
l1
,
code_pointer
l2
);
static
bool
deck_sort_def
(
code_pointer
l1
,
code_pointer
l2
);
static
bool
deck_sort_name
(
code_pointer
l1
,
code_pointer
l2
);
static
bool
deck_sort_name
(
code_pointer
l1
,
code_pointer
l2
);
*/
#endif //YGOPRO_SERVER_MODE
};
};
}
}
...
...
gframe/config.h
View file @
ae84948f
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include <WinSock2.h>
#include <WinSock2.h>
#include <windows.h>
#include <windows.h>
#include <ws2tcpip.h>
#ifdef _MSC_VER
#ifdef _MSC_VER
#define myswprintf _swprintf
#define myswprintf _swprintf
...
@@ -46,18 +47,13 @@ inline int _wtoi(const wchar_t * s) {
...
@@ -46,18 +47,13 @@ inline int _wtoi(const wchar_t * s) {
}
}
#endif
#endif
/*
#ifndef YGOPRO_SERVER_MODE
#include <irrlicht.h>
#include <irrlicht.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else
#include <GL/gl.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glu.h>
#endif
#include "CGUITTFont.h"
#include "CGUITTFont.h"
#include "CGUIImageButton.h"
#include "CGUIImageButton.h"
*/
#endif //YGOPRO_SERVER_MODE
#include <iostream>
#include <iostream>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
@@ -70,14 +66,14 @@ inline int _wtoi(const wchar_t * s) {
...
@@ -70,14 +66,14 @@ inline int _wtoi(const wchar_t * s) {
#include "../ocgcore/ocgapi.h"
#include "../ocgcore/ocgapi.h"
#include "../ocgcore/card.h"
#include "../ocgcore/card.h"
/*
#ifndef YGOPRO_SERVER_MODE
using
namespace
irr
;
using
namespace
irr
;
using
namespace
core
;
using
namespace
core
;
using
namespace
scene
;
using
namespace
scene
;
using
namespace
video
;
using
namespace
video
;
using
namespace
io
;
using
namespace
io
;
using
namespace
gui
;
using
namespace
gui
;
*/
#endif //YGOPRO_SERVER_MODE
extern
const
unsigned
short
PRO_VERSION
;
extern
const
unsigned
short
PRO_VERSION
;
extern
int
enable_log
;
extern
int
enable_log
;
...
...
gframe/premake4.lua
View file @
ae84948f
...
@@ -2,6 +2,8 @@ include "lzma"
...
@@ -2,6 +2,8 @@ include "lzma"
project
"ygopro"
project
"ygopro"
kind
"ConsoleApp"
kind
"ConsoleApp"
defines
{
"YGOPRO_SERVER_MODE"
}
files
{
"gframe.cpp"
,
"config.h"
,
files
{
"gframe.cpp"
,
"config.h"
,
"game.cpp"
,
"game.h"
,
"game.cpp"
,
"game.h"
,
...
...
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