summaryrefslogtreecommitdiff
path: root/src/setup/compatibility.c
diff options
context:
space:
mode:
authorSimon Howard2015-04-04 21:32:44 -0400
committerSimon Howard2015-04-04 21:33:36 -0400
commit710e963acad611dfd1c5780d9f68f6ef91e93a22 (patch)
tree0fd32ea1bc917250ef93d2e65e37f7d9c79210b7 /src/setup/compatibility.c
parent356554c22998264769a5c516697cbfbd43847ce4 (diff)
downloadchocolate-doom-710e963acad611dfd1c5780d9f68f6ef91e93a22.tar.gz
chocolate-doom-710e963acad611dfd1c5780d9f68f6ef91e93a22.tar.bz2
chocolate-doom-710e963acad611dfd1c5780d9f68f6ef91e93a22.zip
setup: Add help URLs for configuration windows.
The wiki now has documentation pages for most of the windows in the setup tool. Add help URLs that link to these. One other minor change here is that the warp button on the main menu had to change to F2 instead of F1, which is now the help key.
Diffstat (limited to 'src/setup/compatibility.c')
-rw-r--r--src/setup/compatibility.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/setup/compatibility.c b/src/setup/compatibility.c
index df202117..14d5bc35 100644
--- a/src/setup/compatibility.c
+++ b/src/setup/compatibility.c
@@ -22,6 +22,8 @@
#include "compatibility.h"
+#define WINDOW_HELP_URL "http://www.chocolate-doom.org/setup-compat"
+
int vanilla_savegame_limit = 1;
int vanilla_demo_limit = 1;
@@ -31,7 +33,9 @@ void CompatibilitySettings(void)
window = TXT_NewWindow("Compatibility");
- TXT_AddWidgets(window,
+ TXT_SetWindowHelpURL(window, WINDOW_HELP_URL);
+
+ TXT_AddWidgets(window,
TXT_NewCheckBox("Vanilla savegame limit",
&vanilla_savegame_limit),
TXT_NewCheckBox("Vanilla demo limit",