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.
|
|
additional freedom.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2713
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
forgotten.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2344
|
|
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
|
|
it in there after all), removed some dead code in p_dialog, added a
'default: break;' case in EV_VerticalDoor, initialize
player_t::allegiance in P_SetupLevel, minor changes to EV_Teleport,
2nd-pass verification for p_tick, and big fixes in p_user.c including
noclip cheat, viewz clipping against floor, air control thrust amount,
and missing/incorrect else's.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2250
|
|
sigil self-damage calculation.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2158
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2123
|
|
most of those are outside of our own code (get on those signed/unsigned
mismatches in the midi code, fraggle ;)
Subversion-branch: /branches/strife-branch
Subversion-revision: 2110
|
|
+ weaponinfo's unknown 1 identified as availabledemo
Subversion-branch: /branches/strife-branch
Subversion-revision: 2095
|
|
DEH_snprintf. Implemented proper logic for Shadowarmor that was missing
from P_GivePower, and added the code for making psprites translucent
and/or godmode-colormapped in R_DrawPSprite.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2089
|
|
elimination of tabs in altered functions. Also refactored a few strings
to use DEH_String.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2082
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2069
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2066
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2062
|
|
+ Power tics implemented
+ Power enums implemented
+ More inventory functions implemented
Subversion-branch: /branches/strife-branch
Subversion-revision: 2061
|
|
+ Some inventory keys supported
Subversion-branch: /branches/strife-branch
Subversion-revision: 2060
|
|
+ Initial dialog interaction implemented
Subversion-branch: /branches/strife-branch
Subversion-revision: 2031
|
|
+ P_PlayerThink updated (checks for extralight)
+ New cheats added to cheat_t
Subversion-branch: /branches/strife-branch
Subversion-revision: 2011
|
|
+ A_FireGrenade and A_MissileTick codepointers added
+ Step up height changed to 16*FRACUNIT (non-human things are excluded)
+ Fixed bug in P_MovePlayer where player cannot climb over things when
pressing forward and jumping. Missed a line of code for this
+ P_SpawnSubMissile renamed to P_SpawnFaceMissile
+ P_SpawnMortar added
+ Ammo types added
+ Fixed some inaccuracies in P_SpawnBlood
Subversion-branch: /branches/strife-branch
Subversion-revision: 2008
|
|
+ Looking/jumping implemented
+ Jump/look/center keys supported
+ Strife mouse firing bug implemented
Subversion-branch: /branches/strife-branch
Subversion-revision: 2003
|
|
+ button code/flags added for cmd->buttons2
Subversion-branch: /branches/strife-branch
Subversion-revision: 1999
|
|
+ Feet clipping support added (drawing and player viewz) (TODO: Need
FeetClipping support done for P_ZMovement)
Subversion-branch: /branches/strife-branch
Subversion-revision: 1992
|
|
All strife codepointers are set as placeholders
+ Strife weapons implemented
+ All state references commented out
+ All weapon references commented out
Subversion-branch: /branches/strife-branch
Subversion-revision: 1984
|
|
enum-determined arrays which will be tackled individually. Removed
player itemcount, secretcount, and didsecret fields. Changed
armorpoints, armortype, and killcount to shorts. Added all runtime
Strife sector types and changed handling of DOOM types where
appropriate. Added nukagecount handling in P_PlayerThink.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1981
|
|
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
|