From 9d7126c11b5f1577b00987b8d5f0f7f761b012d7 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 4 Jun 2007 18:32:50 +0000 Subject: 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 --- textscreen/txt_main.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'textscreen/txt_main.h') diff --git a/textscreen/txt_main.h b/textscreen/txt_main.h index 13c38537..7978c8b7 100644 --- a/textscreen/txt_main.h +++ b/textscreen/txt_main.h @@ -20,17 +20,17 @@ // //----------------------------------------------------------------------------- // -// Text mode emulation in SDL +// Base interface that abstracts the text mode screen. // //----------------------------------------------------------------------------- #ifndef TXT_MAIN_H #define TXT_MAIN_H -// The textscreen API itself doesn't need SDL; however, SDL needs its -// headers included where main() is defined. +// For the moment, txt_sdl.c is the only implementation of the base +// text mode screen API: -#include "SDL.h" +#include "txt_sdl.h" // Special keypress values that correspond to mouse button clicks // -- cgit v1.2.3