summaryrefslogtreecommitdiff
path: root/src/heretic/sb_bar.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.
2014-03-24Fix various Clang compiler warnings.Simon Howard
2013-10-15Remove gamemission variables for Heretic and Hexen and hard-code to theSimon Howard
appropriate values. Subversion-branch: /branches/v2-branch Subversion-revision: 2708
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-18Use DEH_String() around TXT_ definitions from dstrings.h.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1901
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-23Shut up compiler warnings in Heretic code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1385
2008-11-02Fix up raven-branch copyright notices.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1375
2008-10-30Factor out Heretic and Hexen versions of m_misc.c. Make -file forSimon Howard
Heretic and Hexen use WAD path lookup. Subversion-branch: /branches/raven-branch Subversion-revision: 1368
2008-10-01Rename "FuzzColumn"/"FuzzPatch" for Heretic/Hexen code toSimon Howard
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
2008-09-24Remove external reference to DisplayTicker; make this callSimon Howard
I_DisplayFPSDots. Subversion-branch: /branches/raven-branch Subversion-revision: 1271
2008-09-24Rework Heretic cheat code to use common m_cheat.c code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1269
2008-09-20Move m_random.[ch] to doom/ (as Hexen uses a different random numberSimon Howard
table). Split RNG code out of heretic/m_misc.c to a separate m_random.c. Subversion-branch: /branches/raven-branch Subversion-revision: 1256
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 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