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.
|
|
|
|
appropriate values.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2708
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1901
|
|
around appropriate strings to allow string replacements.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1867
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1385
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
Heretic and Hexen use WAD path lookup.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1368
|
|
TLColumn/TLPatch for consistency; these are translucent draw functions,
not fuzzy draw functions like Doom's R_DrawFuzzColumn.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1313
|
|
I_DisplayFPSDots.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1271
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1269
|
|
table). Split RNG code out of heretic/m_misc.c to a separate m_random.c.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1256
|
|
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
|
|
soundst.h to s_sound.h to fit. Reformat sounds.c files to declare sounds
through macros and harmonise on the common sfxinfo_t. Fix up Heretic
sound code to use common sound API.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1236
|
|
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
|