diff options
author | Simon Howard | 2006-09-25 20:31:42 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-25 20:31:42 +0000 |
commit | 2f634a05ce168e6c9955a8298103ffdc5de1aceb (patch) | |
tree | ee09fdd4c650b63e94bbdc2e06a9c4b6d5408de8 /setup/mouse.c | |
parent | b7fced59e1d1690842f7ac8f286eb89d4c976189 (diff) | |
download | chocolate-doom-2f634a05ce168e6c9955a8298103ffdc5de1aceb.tar.gz chocolate-doom-2f634a05ce168e6c9955a8298103ffdc5de1aceb.tar.bz2 chocolate-doom-2f634a05ce168e6c9955a8298103ffdc5de1aceb.zip |
Add "test" window actions to the keyboard/mouse dialogs to invoke Chocolate
Doom with the -testcontrols option.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 663
Diffstat (limited to 'setup/mouse.c')
-rw-r--r-- | setup/mouse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup/mouse.c b/setup/mouse.c index b8eeaff6..37aaef1b 100644 --- a/setup/mouse.c +++ b/setup/mouse.c @@ -20,8 +20,10 @@ // #include <stdlib.h> + #include "textscreen.h" +#include "testconfig.h" #include "txt_mouseinput.h" int use_mouse = 1; @@ -108,5 +110,7 @@ void ConfigMouse(void) AddMouseControl(table, "Strafe on", &mouseb_strafe); TXT_AddWidget(window, table); + + TXT_SetWindowAction(window, TXT_HORIZ_CENTER, TestConfigAction()); } |