Include SDL.h in the textscreen headers; the SDL headers need to be

included where main() is defined.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 600
This commit is contained in:
Simon Howard 2006-09-09 16:52:01 +00:00
parent bf2f9ea62a
commit 80cdf0868c

View file

@ -27,6 +27,11 @@
#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.
#include <SDL.h>
// Special keypress values that correspond to mouse button clicks
//
#define TXT_MOUSE_LEFT 1