summaryrefslogtreecommitdiff
path: root/textscreen/txt_main.h
diff options
context:
space:
mode:
authorSimon Howard2006-05-23 00:04:27 +0000
committerSimon Howard2006-05-23 00:04:27 +0000
commit1d79686ecf017935fd45c3d7eff3aa844f4d02e6 (patch)
tree732ce7525145dd7c27c82ca0f0e062348b0f4869 /textscreen/txt_main.h
parentaafc38483ef50980170f713fe62a0b471fd34c8d (diff)
downloadchocolate-doom-1d79686ecf017935fd45c3d7eff3aa844f4d02e6.tar.gz
chocolate-doom-1d79686ecf017935fd45c3d7eff3aa844f4d02e6.tar.bz2
chocolate-doom-1d79686ecf017935fd45c3d7eff3aa844f4d02e6.zip
Add TXT_GetKeyDescription() to provide descriptions of key codes.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 513
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 25375d2d..5a4b8a1c 100644
--- a/textscreen/txt_main.h
+++ b/textscreen/txt_main.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: txt_main.h 289 2006-01-13 18:23:28Z fraggle $
+// $Id: txt_main.h 513 2006-05-23 00:04:27Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -96,5 +96,10 @@ void TXT_UpdateScreen(void);
int TXT_GetChar(void);
+// Provides a short description of a key code, placing into the
+// provided buffer.
+
+void TXT_GetKeyDescription(int key, char *buf);
+
#endif /* #ifndef TXT_MAIN_H */