Age | Commit message (Collapse) | Author |
|
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.
|
|
There was a bug where it was possible to keep moving the background
when the boundaries of the map were reached. This is because the code
to move the background was done in calls to AM_Drawer(), which is
fundamentally a bad idea. Some old commented-out code shows that this
was previously done in AM_Drawer (same location that scrolls the map
itself), but it was moved. Move it back.
Thanks to Chris Fielder for the bug report; this fixes #321.
|
|
When follow mode is off, hitting left would cause it to scroll all the way to the west of the map without stopping.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2555
|
|
around appropriate strings to allow string replacements.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1867
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1718
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1583
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1286
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1270
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1253
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1252
|
|
Replace "shareware" variable with gamemode, as in doom code. Merge angle
definitions into common code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1240
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1234
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1228
|
|
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
|