summaryrefslogtreecommitdiff
path: root/textscreen/txt_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_main.h')
-rw-r--r--textscreen/txt_main.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/textscreen/txt_main.h b/textscreen/txt_main.h
index 43c5475b..0f63a445 100644
--- a/textscreen/txt_main.h
+++ b/textscreen/txt_main.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: txt_main.h 547 2006-06-02 19:29:24Z fraggle $
+// $Id: txt_main.h 570 2006-08-31 18:08:43Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -105,5 +105,10 @@ void TXT_GetKeyDescription(int key, char *buf);
void TXT_GetMouseState(int *x, int *y);
+// Sleep until an event is received or the screen needs updating
+// Optional timeout in ms (timeout == 0 : sleep forever)
+
+void TXT_Sleep(int timeout);
+
#endif /* #ifndef TXT_MAIN_H */