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.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2555
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
caused the scanner to never be depleted from the inventory, and
emulation of seemingly inconsequential undefined behavior in
P_XYMovement via use of negative numspechit is currently addressed by
changing the branch condition to > 0.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2286
|
|
setting, and other misc code in g_game. Also started *trying* to add new
savegame code in g_game, but this is a just about a lost cause without
any portable filepath handling support from the engine.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2152
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2126
|
|
+ their_colors array updated
+ Cleaned up unused color macros
Subversion-branch: /branches/strife-branch
Subversion-revision: 2099
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2098
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2097
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2051
|
|
system including working Sigil cursor, alignment changes, shortcut
character changes, and removal of items from the options menu that
Strife put elsewhere. Initial sweep for global lump name changes
completed: AMMNUM%d -> PLMNUM%d, M_DOOM -> M_STRIFE, M_OPTTTL ->
M_OPTION, STTMINUS -> STCFN045, et al. A dummy modified Strife IWAD must
be loaded over DOOM.WAD at this point in order to run.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1968
|
|
to build libstrife.a rather than libdoom.a, add chocolate-strife to
src/Makefile.am.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1840
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 1839
|
|
needs own Makefile.am, and eventual removal of modules not used by
Strife / addition of modules not sharable with Doom.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1838
|