Updated RecastDemo to SDL2

* Renamed a bunch of variables in main.cpp to be more descriptive.
* Removed unnecessary SDLMain.h and SDLMain.m OSX objective-c class as well as the plist, strings, xib and icns files, which are not needed.
* included cstdio in imguiRenderGL since SDL2 doesn't do it for us.
* Updated premake5 script to support SDL2 and to set the debug directory, as well as copy the SDL2.dll to the target directory on Windows.
* Updated readme with more descriptive, platform-specific demo project setup instructions
* Updated appveyor build script to build vs2015 as well.
* Updated Travis build script to build SDL2 from source, because they use Ubuntu 12.04 which doesn't have the libsdl2-dev package in its repositories.
This commit is contained in:
Graham Pentheny
2015-12-18 00:29:48 -05:00
committed by grahamboree
parent 43a20cce42
commit 2eb3abfb60
19 changed files with 292 additions and 3678 deletions

View File

@@ -17,7 +17,8 @@
//
#define _USE_MATH_DEFINES
#include <math.h>
#include <cmath>
#include <cstdio>
#include "imgui.h"
#include "SDL.h"
#include "SDL_opengl.h"