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.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
features, which work differently than they did in DOOM.
If working properly, then this fully completes Chocolate Strife, aside
from any presently unknown issues.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2646
|
|
P_DamageMobj. This means you *do* have to heal negative damage when
auto-using inventory, and is why telefrags can still insta-kill you in
vanilla - they were NOT doing so previously.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2563
|
|
the Broken Power Coupling's anomalous speed value of 512*FRACUNIT
(verified against binary). Added note about this in the quest flags
enumeration as well; bit 31 (quest #32) is accidentally set by this
item, but is never checked for anywhere.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2560
|
|
MP2E!). Other changes are to comments only.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2509
|
|
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
|
|
receiving one via P_KillMobj item drops.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2280
|
|
P_DestroyConverter when it tries to give items to players that aren't in
the game... needs add'l verification. Also fixed first frame of the good
ending (how the hell did that get screwed up??)
Subversion-branch: /branches/strife-branch
Subversion-revision: 2279
|
|
list, removed all remaining order-of-evaluation portability problems,
and heavily altered behavior of T_FireFlicker thinkers to match the
binary (had no clue they changed this previously!).
Subversion-branch: /branches/strife-branch
Subversion-revision: 2274
|
|
disables it. Made most D_DoomMain messages dependent on -devparm.
wipegamestate should start == 1, which is currently GS_UNKNOWN. Changed
-wart behavior. Verified *no* changes in Strife to p_sight.c.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2251
|
|
message, PST_REBORN set in G_DoLoadLevel if players.health <= 0,
M_ClearRandom doesn't seed rndindex with time(), A_Chase doesn't check
for target->health <= 0 when decrementing actor->threshold, and
A_AcolyteSpecial fixed - ALL blue acolytes must be dead, not just one.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2248
|
|
adjustments and cleanup for P_DamageMobj, including "horror" predicate
for spectral damage, missing target->target assignment for players, and
use of the wrong mobj_t for R_PointToAngle2 when doing hookshot damage.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2246
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2159
|
|
handling. Fixed bug that made you switch to the electric crossbow if you
received poison bolt ammo (you should not switch to anything at all when
this happens). Some more commented-out savegame code added.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2154
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2148
|
|
(Strife doesn't withhold mobj->reactioncount in skill 5), added static
line specials 142, 143, and 149 for vertical texture scrolling, and made
note of a bug with Irale's door line type.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2142
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2133
|
|
treatment of SPR_TOKN objects, and playing proper sounds for different
item types. Fixed most S_StartSound calls in the menu engine. Removed
call to S_StopSound in S_StartSound, as Strife doesn't do it. Added call
to P_DialogDoChoice(-1) in M_Responder when menuindialog is asserted and
the menu exit key is pressed.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2130
|
|
P_TouchSpecialThing.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2127
|
|
engine. Also more use of new GiveVoiceObjective macro.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2111
|
|
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
|
|
super-shortcut. Implemented A_BossDeath - needs moar testing! Resolved
conflict with p_inter.c.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2107
|
|
+ P_TouchSpecialThing updated to damage toucher if special's flag is
spectral
Subversion-branch: /branches/strife-branch
Subversion-revision: 2106
|
|
+ Macro added for giving objective logs
Subversion-branch: /branches/strife-branch
Subversion-revision: 2100
|
|
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
|
|
Macil and all three endings.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2086
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2083
|
|
elimination of tabs in altered functions. Also refactored a few strings
to use DEH_String.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2082
|
|
+ Attackdistance fix for A_FireMauler1
Subversion-branch: /branches/strife-branch
Subversion-revision: 2081
|
|
+ Fixed crash in G_DoReborn
Subversion-branch: /branches/strife-branch
Subversion-revision: 2080
|
|
+ quest enum added
+ P_damagemobj partially done
+ P_SpawnPlayer/G_PlayerReborn updated
Subversion-branch: /branches/strife-branch
Subversion-revision: 2079
|
|
killed
Subversion-branch: /branches/strife-branch
Subversion-revision: 2075
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2073
|
|
+ P_IsMobjBoss implemented
+ Externalized mission_objective
+ plrkilledmsg added
Subversion-branch: /branches/strife-branch
Subversion-revision: 2072
|
|
+ Fixed targeter x/y offsets
+ Pickup Armor/Health/Ammo/Weapon updates
Subversion-branch: /branches/strife-branch
Subversion-revision: 2067
|
|
+ Power tics implemented
+ Power enums implemented
+ More inventory functions implemented
Subversion-branch: /branches/strife-branch
Subversion-revision: 2061
|
|
+ ammo arrays updated
+ All codepointers (except a_firesigil) added
+ Additional enumerations added to psprites
Subversion-branch: /branches/strife-branch
Subversion-revision: 2010
|
|
+ Renamed MF_SKULLFLY to MF_BOUNCE
+ Updated P_ZMovement with Strife changes
+ Updates to PIT_CheckThing
+ Removed most references to MF_SKULLFLY
Subversion-branch: /branches/strife-branch
Subversion-revision: 1995
|
|
+ Strife mobjinfo structure filled
+ strife mobj flags added
Subversion-branch: /branches/strife-branch
Subversion-revision: 1985
|
|
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
|
|
+ All doom sound references replaced with sfx_swish as placeholder
+ Removed all but MT_PLAYER mobjinfo in mobjinfo struct
Subversion-branch: /branches/strife-branch
Subversion-revision: 1980
|
|
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
|