Added Mangle::Input with SDL and OIS implementation. WIP.

This commit is contained in:
Nicolay Korslund 2010-06-30 11:54:04 +02:00
parent eed875ae04
commit 96e456ee09
16 changed files with 529 additions and 1 deletions

View file

@ -0,0 +1,16 @@
#include "common.cpp"
#include "../servers/sdl_driver.hpp"
#include <SDL.h>
int main(int argc, char** argv)
{
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(640, 480, 0, SDL_SWSURFACE);
input = new SDLDriver();
mainLoop(argc, SDLK_q);
SDL_Quit();
return 0;
}