summaryrefslogtreecommitdiff
path: root/textscreen/txt_desktop.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-04 18:32:50 +0000
committerSimon Howard2007-06-04 18:32:50 +0000
commit9d7126c11b5f1577b00987b8d5f0f7f761b012d7 (patch)
treeb832c6f922879be3668d7f6720c3887ac4409f99 /textscreen/txt_desktop.c
parent2c4e3a7dbf89608355d1ce49c221d41b3e2fa7a8 (diff)
downloadchocolate-doom-9d7126c11b5f1577b00987b8d5f0f7f761b012d7.tar.gz
chocolate-doom-9d7126c11b5f1577b00987b8d5f0f7f761b012d7.tar.bz2
chocolate-doom-9d7126c11b5f1577b00987b8d5f0f7f761b012d7.zip
Rename txt_main.c to txt_sdl.c; add txt_sdl.h for SDL-specific API
functions, while keeping txt_main.h for the common API. Add TXT_SDL_SetEventCallback to allow programs to intercept SDL events in the textscreen main loop. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 892
Diffstat (limited to 'textscreen/txt_desktop.c')
-rw-r--r--textscreen/txt_desktop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/textscreen/txt_desktop.c b/textscreen/txt_desktop.c
index ee6c1671..4b90ed66 100644
--- a/textscreen/txt_desktop.c
+++ b/textscreen/txt_desktop.c
@@ -19,6 +19,7 @@
// 02111-1307, USA.
//
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>