summaryrefslogtreecommitdiff
path: root/src/setup/sound.c
AgeCommit message (Collapse)Author
2015-05-29Text formatting.Nuke.YKT
2015-05-29Added OPL3 mode support.Nuke.YKT
2015-04-04setup: Add help URLs for configuration windows.Simon Howard
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.
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-10-24Replace strdup() with M_StringDuplicate().Simon Howard
strdup() can theoretically fail and return NULL. This could lead to a crash or undesirable behavior. Add M_StringDuplicate() which does the same thing but exits with an error if a string cannot be allocated. This fixes #456. Thanks to Quasar for the suggestion.
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-05setup: Adjust positioning of sound dialog.Simon Howard
When configuring Chocolate Strife the sound dialog can become quite tall, and the dialog is visibly uncentered vertically. Move it up slightly to counterbalance it.
2014-03-27setup: Make default sound volumes match Vanilla.Simon Howard
Doom, Heretic, Hexen and Strife have different default SFX and music volumes. Make sure the setup tool sets the appropriate default when creating a new configuration file. Thanks to Alexandre-Xavier for reporting this and providing the correct defaults. This fixes #347.
2014-03-23setup: Add missing snd_maxslicetime_ms variable.Simon Howard
Preserve the snd_maxslicetime_ms variable when loading/saving configs in the setup tool.
2014-03-23music: Add config var for external music program.Simon Howard
Mix_SetMusicCMD() allows a program to be specified to configure an external program to be invoked for music playback. Add a config variable (snd_musiccmd) to allow this to be set from a configuration file. Thanks to Holering for his comments on Doomworld about how to do this.
2013-10-20Use OPL MIDI playback as the default music device.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2714
2013-10-16Fix bug with freeing of static strings, accidentally introduced inSimon Howard
r2633. Subversion-branch: /branches/v2-branch Subversion-revision: 2712
2013-10-06Finish implementation of Hexen CD audio music mode.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2694
2013-09-29Preserve libsamplerate_scale in the setup tool.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2691
2013-09-04Fix setup tool defaults for GUS/Timidity path config variables (thanksSimon Howard
Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2633
2013-04-01Add configuration boxes for GUS and Timidity configuration.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2578
2013-03-03Add GUS pseudo-emulation.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2566
2013-03-03Add configuration file variable to specify path to a Timidity configSimon Howard
file. Subversion-branch: /branches/v2-branch Subversion-revision: 2564
2012-02-02Bind missing sound variables so the settings are not lost when runningSimon Howard
the setup tool (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2485
2011-10-29Enable gcc warning to detect redundant declarations, and clean upSimon Howard
instances of this within the code (thanks Edward-san). Subversion-branch: /branches/v2-branch Subversion-revision: 2468
2011-09-11Merge from raven-branch.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2367
2011-06-13Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2347
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-09Merge from raven-branch.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2051
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-08-31Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1987
2010-04-30Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1924
2009-11-21Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1737
2008-12-02Fix setup to show the correct available sfx/music options, depending onSimon Howard
the game type. Add CD music option for Hexen. Subversion-branch: /branches/raven-branch Subversion-revision: 1402
2008-11-26Add bindings for remaining missing config file variables, to getSimon Howard
chocolate-setup functional again. Subversion-branch: /branches/raven-branch Subversion-revision: 1388
2008-11-21Move setup/ into src/ and merge with main codebase. Remove duplicatedSimon Howard
code. Split out I_Endoom to separate i_endoom.c file. Subversion-branch: /branches/raven-branch Subversion-revision: 1384