summaryrefslogtreecommitdiff
path: root/src/strife/p_doors.c
AgeCommit message (Collapse)Author
2014-09-13Add vld_ prefix for vldoor_e enum values.Simon Howard
It was pointed out to me recently that vldoor_e has enum values named 'open' and 'close'. These can potentially conflict with POSIX standard functions that have the same names, if the right header files are included. This doesn't currently cause any problems. However, to avoid any possibility of a conflict occurring if a different compiler is used, add a vld_ prefix to all the enum values, to namespace them.
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.
2012-12-24Fix compiler warnings by removing variables that are set but not used.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2555
2011-02-06Numerous fixes/adjustments: removed bodyque, restored "is turbo" (foundJames Haley
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
2010-09-26Implemented cross type 179 and fixed cross type 184. I *believe* thatJames Haley
all Strife linedef specials are now implemented, but of course I cannot be 100% certain. Subversion-branch: /branches/strife-branch Subversion-revision: 2140
2010-09-25ALL line types implemented in P_UseSpecialLine!James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2139
2010-09-19+ Fixed a minor fluke with type 165 in EV_VerticalDoorSamuel Villareal
+ Types 165 and 205 supported in P_UseSpecialLine Subversion-branch: /branches/strife-branch Subversion-revision: 2119
2010-09-19+ EV_VerticalDoor: Missed type 165 addedSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2118
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-18Upped warning level and started fixing warnings - can't believe someJames Haley
genius had them completely disabled... Also, a bug fix to EV_ClearForceFields so that it continues running on all tagged sectors even if sec->linecount is 0, and so that it returns a value. Made dialogtext and M_WriteText's 3rd parameter const for safety. Subversion-branch: /branches/strife-branch Subversion-revision: 2108
2010-09-16Had to majorly deconflict p_doors.c; kept my version of lock switch inJames Haley
EV_VerticalDoor because it had all the types present and no errors such as missing parentheses. Please tell me next time if you're going to start working on the same thing I am doing, as I don't like wasting my entire evening. Subversion-branch: /branches/strife-branch Subversion-revision: 2093
2010-09-16+ EV_VerticalDoor finishedSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2092
2010-09-16+ EV_DoLockedDoor completedSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2090
2010-09-15+ EV_DoDoor updatedSamuel Villareal
+ New door types added to enum + T_VerticalDoor updated + Split Door mechanic implemented + Linetypes 40, 174, 183 implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2088
2010-09-14+ P_FindSlidingDoorType fixed where it was returning a null slidetypeSamuel Villareal
+ EV_SlideDoor updated + Linetypes 207 (RemoteSlideDoor) and linetype 229 (Sigil SlideDoor) added + T_MovePlane updated Subversion-branch: /branches/strife-branch Subversion-revision: 2085
2010-09-14+ Sliding door implementationSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2084
2010-09-10+ P_GiveItemToPlayer fleshed outSamuel Villareal
+ Key enumerations added Subversion-branch: /branches/strife-branch Subversion-revision: 2057
2010-08-31+ Strife music/sound implementedSamuel Villareal
+ 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
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