1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00

rwgame: rwgame needs an entry point (main) using vs2017

This commit is contained in:
Anonymous Maarten 2017-11-05 02:33:15 +01:00 committed by Daniel Evans
parent 4037c83929
commit 58f219c04d

View File

@ -1,3 +1,4 @@
#define SDL_MAIN_HANDLED
#include <iostream>
#include "RWGame.hpp"
#include "SDL.h"
@ -5,6 +6,7 @@
#include <core/Logger.hpp>
int main(int argc, char* argv[]) {
SDL_SetMainReady();
// Initialise Logging before anything else happens
StdOutReceiver logstdout;
Logger logger({ &logstdout });