Added WRL frontend for Win8 and WP8

Merged Qt, SDL and WRL frontend on the same corewrapper
Moved OpenGL code out of SDL and Qt frontends to OpenGl backend
(JGfx.cpp)
Updated file system and network code to be compatible with WRL
This commit is contained in:
xawotihs
2013-11-17 16:46:44 +01:00
parent 9ac28d35a2
commit a6ba983650
31 changed files with 1660 additions and 1326 deletions

View File

@@ -1,11 +1,15 @@
#include <errno.h>
#ifdef WIN32
#ifdef QT_CONFIG
#pragma comment(lib,"WSOCK32.LIB")
#include <stdio.h>
#include <conio.h>
#include <winsock.h>
#include <winsock.h>
#include <fcntl.h>
#else
#pragma comment(lib,"ws2_32.lib")
#include <winsock2.h>
#endif
#elif LINUX
#include <sys/types.h>
#include <sys/socket.h>
@@ -13,7 +17,9 @@
#include <netdb.h>
#include <fcntl.h>
#endif //WINDOWS
#include <errno.h>
#include <string>
#include "../../include/JSocket.h"
#include "../../include/DebugRoutines.h"