summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-17 15:48:23 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-17 15:48:23 +0200
commit2872eb224e9f3ec6947542f2d7ac0ad288574cf1 (patch)
tree718c571b7930afce9e909920366d0a052ddbf698 /main.cpp
parente7e6a79f8bf2855b5d1d432613151e48d2d685da (diff)
Added a console-like window which doesn't do anything interesting yet.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 4d050fc..be24747 100644
--- a/main.cpp
+++ b/main.cpp
@@ -29,6 +29,7 @@ int main(int argc, char **argv) {
Scene *scene = new Scene();
SDL_ShowCursor(SDL_DISABLE);
+ SDL_EnableUNICODE(1);
SDL_WarpMouse(video::width/2, video::height/2);
scene->last_time = SDL_GetTicks();