Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2f510bbd5 | ||
|
|
4605d38982 | ||
|
|
d9452b02d9 | ||
|
|
1cfee14caa | ||
|
|
fd3777f08e |
@@ -25,6 +25,7 @@ std::string ToHex(T* pointer)
|
|||||||
|
|
||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
#define OutputDebugString(val) (std::cerr << val);
|
#define OutputDebugString(val) (std::cerr << val);
|
||||||
|
#define OutputDebugStringA(val) (std::cerr << val);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
#define _JSOCKET_H_
|
#define _JSOCKET_H_
|
||||||
|
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include "Threading.h"
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#define SERVER_PORT 5001
|
#define SERVER_PORT 5001
|
||||||
|
|||||||
@@ -26,8 +26,16 @@
|
|||||||
#include "JAudio.h"
|
#include "JAudio.h"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
#ifdef IOS
|
||||||
|
#include <tr1/cstdint>
|
||||||
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
//#include <cstdint>
|
||||||
|
#endif
|
||||||
|
//#include <stdint.h>
|
||||||
|
//the MSC version might only define _MSC_STDINT_H_
|
||||||
|
//and that might cause redefinition of standard types
|
||||||
|
//#define _STDINT_H_
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -140,9 +148,14 @@ typedef uint32_t u32;
|
|||||||
#include <GLES/gl.h>
|
#include <GLES/gl.h>
|
||||||
#include <GLES/glext.h>
|
#include <GLES/glext.h>
|
||||||
#elif defined (WIN32) || defined (LINUX)
|
#elif defined (WIN32) || defined (LINUX)
|
||||||
|
#if defined(__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
|
#endif
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <QtOpenGL>
|
#include <QtOpenGL>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef THREADING_H
|
#ifndef THREADING_H
|
||||||
#define THREADING_H
|
#define THREADING_H
|
||||||
|
|
||||||
#if !defined(PSP) && !defined(QT_CONFIG) && !(__cplusplus > 199711L)
|
#if !defined(PSP) && !defined(QT_CONFIG) && !(__cplusplus > 199711L) && !(_MSC_VER >= 1700)
|
||||||
#include <boost/date_time.hpp>
|
#include <boost/date_time.hpp>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
@@ -537,7 +537,7 @@ namespace boost
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif (__cplusplus > 199711L)
|
#elif (__cplusplus > 199711L) || (_MSC_VER >= 1700)
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
|
|
||||||
#include "../include/DebugRoutines.h"
|
#include "../include/DebugRoutines.h"
|
||||||
#include "../include/JNetwork.h"
|
#include "../include/JNetwork.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
|
|
||||||
|
#include "../../include/DebugRoutines.h"
|
||||||
|
#include "Threading.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#pragma comment(lib,"WSOCK32.LIB")
|
#pragma comment(lib,"WSOCK32.LIB")
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
#include <winsock.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#elif LINUX
|
#elif LINUX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@@ -16,7 +20,6 @@
|
|||||||
#endif //WINDOWS
|
#endif //WINDOWS
|
||||||
|
|
||||||
#include "../../include/JSocket.h"
|
#include "../../include/JSocket.h"
|
||||||
#include "../../include/DebugRoutines.h"
|
|
||||||
|
|
||||||
|
|
||||||
JSocket::JSocket(string ipAddr)
|
JSocket::JSocket(string ipAddr)
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
#ifndef PRECOMPILEDHEADER_H
|
#ifndef PRECOMPILEDHEADER_H
|
||||||
#define PRECOMPILEDHEADER_H
|
#define PRECOMPILEDHEADER_H
|
||||||
|
|
||||||
|
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@@ -21,11 +24,6 @@
|
|||||||
|
|
||||||
#include "GameOptions.h"
|
#include "GameOptions.h"
|
||||||
|
|
||||||
#if !defined(WP8) && !defined(QT_CONFIG)
|
|
||||||
#include <boost/shared_ptr.hpp>
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined (WP8) || defined (IOS) || defined (ANDROID) || defined (QT_CONFIG) || defined (SDL_CONFIG)
|
#if defined (WP8) || defined (IOS) || defined (ANDROID) || defined (QT_CONFIG) || defined (SDL_CONFIG)
|
||||||
#define TOUCH_ENABLED
|
#define TOUCH_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef WRESOURCE_FWD_H
|
#ifndef WRESOURCE_FWD_H
|
||||||
#define WRESOURCE_FWD_H
|
#define WRESOURCE_FWD_H
|
||||||
|
|
||||||
#if (__cplusplus > 199711L)
|
#if (__cplusplus > 199711L) || (_MSC_VER >= 1700)
|
||||||
#include <memory>
|
#include <memory>
|
||||||
typedef std::shared_ptr<JQuad> JQuadPtr;
|
typedef std::shared_ptr<JQuad> JQuadPtr;
|
||||||
#elif defined(QT_CONFIG)
|
#elif defined(QT_CONFIG)
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#include "PrecompiledHeader.h"
|
||||||
#include "DeckView.h"
|
#include "DeckView.h"
|
||||||
|
|
||||||
#include "GameOptions.h"
|
#include "GameOptions.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user