summaryrefslogtreecommitdiff
path: root/src/strife/p_map.c
AgeCommit message (Collapse)Author
2015-02-20Fix game code that makes false boolean assumptions.Simon Howard
Various bits of code assume that booleans are represented as 32-bit ints and that they can be assigned to from 32-bit values. This isn't true on all systems; fix code that does this to convert to boolean values properly. This is more progress towards fixing #509.
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2011-02-25Found the last difference causing the IWAD to desync - playersJames Haley
experience a small amount of friction while falling (65520/65536). Also added all cheat codes. Subversion-branch: /branches/strife-branch Subversion-revision: 2278
2011-02-23Removed all dead code containing P_Random calls to avoid false hits inJames Haley
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
2011-02-12Merge from raven-branch. FEATURE_MULTIPLAYER has been disabledSimon Howard
temporarily until the netgame changes on raven-branch are finished. Subversion-branch: /branches/strife-branch Subversion-revision: 2259
2011-02-07Added graphical intro loading screen, and -nograph parameter whichJames Haley
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
2011-02-05Finished second passes through p_map and p_maputl - modules are largelyJames Haley
finalized. Fixes/additions include adjusted dropoff height in P_TryMove, order-of-evaluation fix in PIT_ChangeSector, proper spechit overrun emulation, and Rogue's fix which prevents intercepts overflows. Subversion-branch: /branches/strife-branch Subversion-revision: 2247
2011-02-04Finished second sweep of p_inter.c for missed code and bugs. SignificantJames Haley
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
2011-02-03Implemented "blockingline" variable so that missiles can triggerJames Haley
shoot-type lines in P_XYMovement. Subversion-branch: /branches/strife-branch Subversion-revision: 2244
2010-10-04Strife changed lowerAndCrush ceiling actions so that they actually doJames Haley
crushing damage, and lower fully to the floor rather than 8 above. The speed of fast crushers was also increased by double. Added code to PIT_RadiusAttack to deny any radius damage to spectral entities and Inquisitors. Subversion-branch: /branches/strife-branch Subversion-revision: 2156
2010-09-28Fix compile warnings.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2149
2010-09-24Implementation of teleflags for EV_Teleport. Fix to somewhat serious bugJames Haley
that let 0-damage tracers pass through walls. Other changes are only comments or formatting. Subversion-branch: /branches/strife-branch Subversion-revision: 2132
2010-09-22Fixed firing of missiles when looking up/down so that the aimslopeJames Haley
calculated in P_AimLineAttack is used. Added W1 handling for linetype 182 to P_CrossSpecialLine, which lets missiles break windows. Corrected numerous mistakes in the implementation of P_ChangeSwitchTexture. Subversion-branch: /branches/strife-branch Subversion-revision: 2128
2010-09-19Just some killing of tabs.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2115
2010-09-19Bug fixes: It's SPECTRALs that aren't hit by tracers, not MVIS thingsJames Haley
(made Shadow Acolytes super-hard to shoot); Mauler should be able to fire when it has 20 ammo left; some damage formulas corrected, all accuracy formulas corrected, and major correction to A_Punch damage formula. Subversion-branch: /branches/strife-branch Subversion-revision: 2114
2010-09-18Tons of warnings fixed - now only 7 warnings at warning level 3, andJames Haley
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
2010-09-16Work on cheats and on teleportation effects.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2091
2010-09-10Minor reformatting in p_map.c, and found some code hex-rays was ignoringJames Haley
in P_CheckMissileRange regarding maximum considered distance for Crusaders. Subversion-branch: /branches/strife-branch Subversion-revision: 2058
2010-09-07+ All linedef flags addedSamuel Villareal
+ Translucent line/wall drawing supported + Jumpover/Blockfloater flag behavior implemented + Puff behavior implemented + Some changes to PIT_AttackRadius + Some changes to PIT_ChangeSector Subversion-branch: /branches/strife-branch Subversion-revision: 2030
2010-09-05Corrections to some of Kaiser's previous commits. Also, significant workJames Haley
on dialog engine, p_enemy code, and support for all new mapthing_t flag values in P_SpawnMapThing. Subversion-branch: /branches/strife-branch Subversion-revision: 2015
2010-09-04+ Map flags for things added (MTF_*)Samuel Villareal
+ 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
2010-09-02Tweaks to Kaiser's PIT_CheckThing work: moved up thing == tmthing check,James Haley
verified clipping and missile stuff, added MF_SPECTRAL check for missiles, and changed missile damage formula to match binary. Major status bar work: STlib rewritten, health and ammo widgets appear on bar. Most DOOM cruft removed. Subversion-branch: /branches/strife-branch Subversion-revision: 1998
2010-09-02+ Update to PIT_CheckThingSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 1996
2010-09-02+ Thing z height clipping code addedSamuel Villareal
+ 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
2010-08-31+ All doom mobjtypes commented out or replaced as placeholdersSamuel Villareal
+ Strife mobjinfo structure filled + strife mobj flags added Subversion-branch: /branches/strife-branch Subversion-revision: 1985
2010-08-31+ Stripped out all doom states/sprites and added strife states/sprites.Samuel Villareal
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
2010-02-06Merge from trunk.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 1849
2010-02-01Create strife directory as a copy of doom directory, change Makefile.amSimon Howard
to build libstrife.a rather than libdoom.a, add chocolate-strife to src/Makefile.am. Subversion-branch: /branches/strife-branch Subversion-revision: 1840
2010-02-01Remove improperly-created strife directory.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 1839
2010-02-01Populated src/strife with copy of source files from src/doom - TODOs:James Haley
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