summaryrefslogtreecommitdiff
path: root/src/hexen/mn_menu.c
AgeCommit message (Collapse)Author
2014-12-18fix some more endianess issues with the width fields in patch_t structsFabian Greffrath
as pointed out necessary by Ronald Lasmanowicz for his Wii ports
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-04-01Replace all snprintf() calls with M_snprintf().Simon Howard
The Windows API has an _snprintf function that is not the same as Unix's snprintf(): if the string is truncated then no trailing NUL character is appended. This makes the function unsafe. Define a replacement/wrapper called M_snprintf that works the same but always appends a trailing NUL, for safety on Windows and other OSes that behave like this. Do the same thing for vsnprintf(), and update HACKING to list snprintf/vsnprintf as forbidden functions. This fixes #375; thanks to Quasar for pointing out the different behavior of these functions.
2014-03-30hexen: Eliminate use of sprintf().Simon Howard
Use snprintf() in place of sprintf(). This is part of fixing #371.
2014-03-29heretic: 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
2013-11-17Remove KEY_RSHIFT special-casing from Heretic/Hexen menu code to fixSimon Howard
crashes when pressing shift while entering save game names (thanks chungy). Subversion-branch: /branches/v2-branch Subversion-revision: 2750
2012-12-24Fix compiler warnings by removing variables that are set but not used.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2555
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-23Fix compiler warnings (thanks Edward-San).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2459
2011-10-22Fix crash when pressing escape in help screens.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2453
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-24Add -testcontrols to Hexen.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2398
2010-05-03Fix compiler warnings.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1934
2009-06-09Make Hexen menu keys reconfigurable.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1585
2009-05-04Fix window close button to bring up F10 quit message.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1506
2008-12-01Do endianness conversion when accessing patch->width fields.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1399
2008-11-02Fix up raven-branch copyright notices.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1375
2008-11-02Remove Hexen TIMEBOMB code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1374
2008-10-10Convert Heretic/Hexen menu code to use translated key value whenSimon Howard
entering save game names. Subversion-branch: /branches/raven-branch Subversion-revision: 1353
2008-10-08Replace hexen "shareware" variable with gamemode/gamemission. UseSimon Howard
d_iwad.c code to find the IWAD file. Remove AddWADFile and use the w_wad.c API directly. Subversion-branch: /branches/raven-branch Subversion-revision: 1343
2008-10-08Switch configuration file code to common configuration file code, andSimon Howard
remove old code. Subversion-branch: /branches/raven-branch Subversion-revision: 1338
2008-10-02Split out high-level sound code from hexen/i_ibm.c and refactor to useSimon Howard
common interface. Subversion-branch: /branches/raven-branch Subversion-revision: 1324
2008-10-01Remove some redundant DOS and NeXT-related code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1319
2008-10-01Remove Hexen duplicate KEY_ definitions.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1317
2008-10-01Merge hexen/v_video.c to common.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1314
2008-10-01Use common versions of ticcmd_t and event_t for Hexen code. Remove oldSimon Howard
i_video definitions and use common i_video.c interface. Subversion-branch: /branches/raven-branch Subversion-revision: 1312
2008-09-11Remove duplicate w_wad.c from hexen/ and DevMaps option.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1225
2008-09-05Fix #include statements to use lower case filenames. Add automakeSimon Howard
configuration for building heretic/hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1198
2008-09-05Reformat (beautify) Raven sources and add GPL headers.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1197
2008-09-04Add GPLed Heretic/Hexen source.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1195