summaryrefslogtreecommitdiff
path: root/src/setup/mode.c
AgeCommit message (Collapse)Author
2015-02-20Refactor config file API.Simon Howard
The config file API previously relied on binding config variables using M_BindVariable() which took a void pointer. It occurred to me that if used on a boolean variable, this would be erroneous, but the void pointer would make it impossible to tell. Split this into separate M_Bind{Foo}Variable() functions based on type, which allows for proper type checking on the pointers that are passed. Vaguely related to #509.
2014-05-08'strife' is a valid game for chocolate-setup too!Rohit Nirmal
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2014-04-19setup: Make iwad_t pointers const.Simon Howard
The table of IWAD data is stored in const memory, so make all iwad_t pointers const to fix compiler warnings.
2014-04-01setup: Eliminate use of sprintf().Simon Howard
Use M_snprintf() or M_StringJoin() instead where appropriate. This fixes #371.
2013-09-20Set setup tool title so that it it shows the name of the correct gameSimon Howard
being configured, not just always "Chocolate Doom". Subversion-branch: /branches/v2-branch Subversion-revision: 2669
2011-10-20Fix bug with Hexen savedir set to "(null)" by setup tool (thanksSimon Howard
Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2447
2011-03-07Update config variable binding in setup tool so that the correctSimon Howard
variables are bound for Strife. Add option for show_talk to sound configuration screen. Subversion-branch: /branches/strife-branch Subversion-revision: 2296
2010-09-07Bind appropriate configuration values for Strife in setup tool, and addSimon Howard
corresponding options to menus. Subversion-branch: /branches/strife-branch Subversion-revision: 2036
2010-09-02Add configuration to setup tool for Strife, and Strife IWAD maskSimon Howard
definition. Subversion-branch: /branches/strife-branch Subversion-revision: 2001
2009-11-21Fix launch of game from setup tool.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1738
2009-07-09Select the game to configure automatically if the game name is foundSimon Howard
inside the name of the executable. Rename the executable for the Windows CE install packages. Subversion-branch: /branches/raven-branch Subversion-revision: 1612
2009-06-13Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1601
2009-06-09Move menu/map/weapon key variables into common code, and bind variables.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1581
2009-05-10Remove left-over debug message.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1518
2009-05-10Use the internal IWAD search for the setup multiplayer dialogs ratherSimon Howard
than the -findiwads command line hack. Subversion-branch: /branches/raven-branch Subversion-revision: 1516
2009-05-08Choose appropriate executable depending on game type.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1514
2008-12-05Auto-select the game type based on detected IWADs. If IWADs fromSimon Howard
multiple games are detected, pop up a dialog box to prompt the user to select a game to configure. Subversion-branch: /branches/raven-branch Subversion-revision: 1408
2008-12-02Add missing include.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1404
2008-12-02Use PROGRAM_PREFIX for defining config file filenames.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1401
2008-11-27Add -game command-line parameter to control what game to configureSimon Howard
settings for. Subversion-branch: /branches/raven-branch Subversion-revision: 1389