diff options
author | Simon Howard | 2006-10-23 17:59:51 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-23 17:59:51 +0000 |
commit | 9326506e95b39059718ce02a72a58c43e6f89424 (patch) | |
tree | 35c8cf2bed3da968d5376a7197b88272da239227 | |
parent | 5e3221964de6a7cadd69dfc88d90a72f2c1648b5 (diff) | |
download | chocolate-doom-9326506e95b39059718ce02a72a58c43e6f89424.tar.gz chocolate-doom-9326506e95b39059718ce02a72a58c43e6f89424.tar.bz2 chocolate-doom-9326506e95b39059718ce02a72a58c43e6f89424.zip |
Shut up compiler warnings.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 718
-rw-r--r-- | setup/mainmenu.c | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c index 9721c25e..23b9f6df 100644 --- a/setup/mainmenu.c +++ b/setup/mainmenu.c @@ -76,16 +76,24 @@ void MainMenu(void) window = TXT_NewWindow("Main Menu"); TXT_AddWidgets(window, - TXT_NewButton2("Configure display", ConfigDisplay, NULL), - TXT_NewButton2("Configure keyboard", ConfigKeyboard, NULL), - TXT_NewButton2("Configure mouse", ConfigMouse, NULL), - TXT_NewButton2("Configure sound", ConfigSound, NULL), - TXT_NewButton2("Compatibility", CompatibilitySettings, NULL), + TXT_NewButton2("Configure display", + (TxtWidgetSignalFunc) ConfigDisplay, NULL), + TXT_NewButton2("Configure keyboard", + (TxtWidgetSignalFunc) ConfigKeyboard, NULL), + TXT_NewButton2("Configure mouse", + (TxtWidgetSignalFunc) ConfigMouse, NULL), + TXT_NewButton2("Configure sound", + (TxtWidgetSignalFunc) ConfigSound, NULL), + TXT_NewButton2("Compatibility", + (TxtWidgetSignalFunc) CompatibilitySettings, NULL), TXT_NewButton("Save parameters and launch DOOM"), TXT_NewStrut(0, 1), - TXT_NewButton2("Start a Network game", StartMultiGame, NULL), - TXT_NewButton2("Join a Network game", JoinMultiGame, NULL), - TXT_NewButton2("Multiplayer configuration", MultiplayerConfig, NULL), + TXT_NewButton2("Start a Network game", + (TxtWidgetSignalFunc) StartMultiGame, NULL), + TXT_NewButton2("Join a Network game", + (TxtWidgetSignalFunc) JoinMultiGame, NULL), + TXT_NewButton2("Multiplayer configuration", + (TxtWidgetSignalFunc) MultiplayerConfig, NULL), NULL); quit_action = TXT_NewWindowAction(KEY_ESCAPE, "Quit"); |