summaryrefslogtreecommitdiff
path: root/src/doom/m_menu.c
AgeCommit message (Collapse)Author
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-19joystick: Add joystick button to toggle menu.Simon Howard
When using a joystick or gamepad it's nice to be able to bring up the menu without having to reach for the keyboard. This makes modern gamepads more useful/usable.
2014-03-30doom: Eliminate use of sprintf().Simon Howard
Use snprintf() or other functions in place of sprintf(). This is part of fixing #371.
2014-03-30Eliminate some uses of sprintf() from common code.Simon Howard
As part of this, add DIR_SEPARATOR_S as a string version of the DIR_SEPARATOR macro. Change M_TempFile() to return a string allocated on the C heap rather than the zone heap. This is a first step towards fixing #371.
2014-03-29doom: Eliminate use of unsafe string functions.Simon Howard
Eliminate use of strcpy, strcat, strncpy, and use the new safe alternatives.
2014-03-23Set default for key_menu_screenshot to 0.Simon Howard
In #364 I recommended -1 as the default to avoid taking screenshots in some situations where a key event is posted for key 0. It turns out that wasn't such a great idea, as -1 is not parsed properly by the config parser, and is shown as ??-1 in the setup tool. Default to zero instead, and add guards to prevent screenshots being taken by mistake. Thanks to Alexandre-Xavier for pointing this out.
2014-03-18Add a dedicated key for taking screenshots.Fabian Greffrath
2014-03-16doom: Fix behavior of M_EPI4 menu item.Simon Howard
Ultimate Doom's doom.exe will crash when run with an IWAD that doesn't contain M_EPI4 (like the stock v1.9 IWAD). Thanks to Alexandre Xavier for the bug report (fixes #344).
2014-03-02doom: Reverse detail graphic for BFG edition.Simon Howard
Use "ON" to mean "high detail", "OFF" for "low detail". The logic was backwards.
2014-02-20Add BFG edition workaround for options menu crash.Simon Howard
The BFG edition IWADs have their M_GDHIGH lumps changed to say "Fullscreen:" instead of just "high". This breaks the options menu which assumes a graphic that is not as wide. In the same spirit as the title screen workaround, add a workaround for this as well: use the message "on/off" graphics instead when we are running using a BFG edition IWAD. This fixes #341 (thanks Fabian Greffrath).
2013-10-28Fix Vanilla behavior of shift key when entering savegame names in theSimon Howard
menu (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2723
2013-09-04Extend "emulation" of menu pause key behavior to caps/num/scroll lockSimon Howard
keys, which cause the same behavior. Subversion-branch: /branches/v2-branch Subversion-revision: 2632
2013-08-17Fix Chocolate Doom/Strife to emulate weird Vanilla behavior when theSimon Howard
pause key is pressed in a menu with a scroll-bar (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2620
2012-12-24Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2553
2012-10-28Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2537
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-10-20Confirm quit game when the window close button is clicked a second time.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2449
2011-09-24Don't allow menu actions when running with -testcontrols. QuitSimon Howard
immediately when pressing the window close button. Subversion-branch: /branches/v2-branch Subversion-revision: 2400
2011-09-20Add dedicated pack_chex and pack_hacx values for the Chex Quest and HacxSimon Howard
IWADs. Subversion-branch: /branches/v2-branch Subversion-revision: 2390
2011-06-13Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2347
2011-02-12Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2258
2010-12-10Merge from trunk. This is slightly out of date as I did the mergeSimon Howard
several days ago. Subversion-branch: /branches/raven-branch Subversion-revision: 2212
2010-05-03Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1931
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-06-09Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1579
2009-05-04Fix window close button to bring up F10 quit message.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1506
2008-09-20Remove screen parameter from V_DrawPatch functions; update code to useSimon Howard
V_UseBuffer where necessary. Subversion-branch: /branches/raven-branch Subversion-revision: 1248
2008-09-17Silence compiler warning.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1235
2008-09-06Remove includes of doomdef.h where possible, move generic parts into topSimon Howard
level. Subversion-branch: /branches/raven-branch Subversion-revision: 1204
2008-09-06Move doom-specific files to a separate directory.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1201