Build 4207
SVN-
add ceiling-or-floor method set_picnum(). BUILD_LUNATIC.
-
Add EVENT_DAMAGEHPLANE and document it in Lunatic doc Appendix B.
Show details
Also add test/damagehplane.lua with these demonstrations: - custom breakable ceilings - breakable TROR glass
-
General
Generalize Sect_DamageCeiling to Sect_DamageCeilingOrFloor, use appropriately.
Show details
- in the function itself: for floor, currently, do nothing (but this commit is in preparation of the next one, again) - In Proj_MaybeDamageCF(), Proj_MaybeDamageCF2() and the A_RadiusDamage() use if the function, generalize to floors, but with the special case that parallaxed floors keep blocking projectiles, as before (in constrast to parallaxed ceilings). However, Sect_DamageCeilingOrFloor() is only called for non-parallaxed ceilings *and* floors.
-
General
Minor no-functionality-changing tweaks.
Show details
- factor out: G_WallSpriteDist() - factor out: Proj_MaybeDamageCF() and Proj_MaybeDamageCF2() in preparation for the next commit - Make PROJ_DECAYVELOCITY macro take an arg for readability's sake
-
General
sector.c: in ST9 handling code, prevent oob for improperly constructed doors.