1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01: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 });