summaryrefslogtreecommitdiff
path: root/src/heretic/f_finale.c
AgeCommit message (Collapse)Author
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-30heretic: Eliminate use of sprintf().Simon Howard
Use snprintf() in place of sprintf(). This is part of fixing #371.
2013-09-19Fix crash at Heretic E2 end screen (thanks Leitbild).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2665
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
2010-04-18Do dehacked string substitution for end of episode text.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1907
2010-02-08Add Heretic implementation of HHE "Text" section, add DEH_String()Simon Howard
around appropriate strings to allow string replacements. Subversion-branch: /branches/raven-branch Subversion-revision: 1867
2008-11-02Fix up raven-branch copyright notices.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1375
2008-09-20Replace heretic "screen" variable with I_VideoBuffer.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1253
2008-09-20Merge heretic/v_video.c to common code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1252
2008-09-17Remove heretic definitions for fixed math arithmetic and endiannessSimon Howard
conversion macros; use the ones from the common code. Subversion-branch: /branches/raven-branch Subversion-revision: 1242
2008-09-17Remove definitions from heretic/doomdef.h that are in common code.Simon Howard
Replace "shareware" variable with gamemode, as in doom code. Merge angle definitions into common code. Subversion-branch: /branches/raven-branch Subversion-revision: 1240
2008-09-17Split sound code out of Heretic's i_ibm.c into s_sound.c. RenameSimon Howard
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
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