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() or other functions in place of sprintf(). This is part
of fixing #371.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
|
|
Add -gameversion options for v1.666, v1.7, v1.8. Set demo and savegame
headers appropriately depending on version. Also add an enum entry for
Doom v1.2 but no code support for it yet.
|
|
A deathmatch player spawning facing directly west does not see the
normal teleport fog (or hear it). This is because of an angle that
should be unsigned but is actually signed. Import PrBoom's code to
emulate this bug. This fixes #186.
|
|
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2742
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2553
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2550
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
statdump.exe does with Vanilla Doom.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2450
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2413
|
|
can be added to other games.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2395
|
|
IWADs.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2390
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2347
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2214
|
|
player quit, to avoid possible desyncs. Further refactoring to split
game-specific code from generic code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2141
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1987
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1931
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1845
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1596
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1581
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1579
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1302
|
|
V_ScreenShot to take a format string describing the format of the
filename for the screen shot file.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1255
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1249
|
|
V_UseBuffer where necessary.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1248
|
|
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: 1219
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1205
|
|
level.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1204
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1201
|