Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
Use snprintf() in place of sprintf(). This is part of fixing #371.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
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.
|
|
|
|
crashes when pressing shift while entering save game names (thanks
chungy).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2750
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2555
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2459
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2453
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2449
|
|
immediately when pressing the window close button.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2400
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2398
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1934
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1585
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1506
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1399
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1374
|
|
entering save game names.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1353
|
|
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
|
|
remove old code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1338
|
|
common interface.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1324
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1319
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1317
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1314
|
|
i_video definitions and use common i_video.c interface.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1312
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1225
|
|
configuration for building heretic/hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1198
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1197
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1195
|