From 12e2de07998e0091158c03432a0bb305c6a3e184 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 12 Jul 2001 16:08:51 +0000 Subject: [PATCH] --- source/fx/fxgeyser.cpp | 9 +++++ .../spongebob project/spongebob project.dsp | 40 +++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/source/fx/fxgeyser.cpp b/source/fx/fxgeyser.cpp index 0cede5e68..ed58201bf 100644 --- a/source/fx/fxgeyser.cpp +++ b/source/fx/fxgeyser.cpp @@ -59,6 +59,15 @@ CThing *Parent=getParent(); { int HDiff=TargetHeight-Height; Height+=(HDiff+(GeyserSpeed-1))/GeyserSpeed; + + if ( Height > 10 ) + { + Flags |= FX_FLAG_INJURE_PLAYER; + } + else + { + Flags &= ~FX_FLAG_INJURE_PLAYER; + } } // top diff --git a/users/paul/spongebob project/spongebob project.dsp b/users/paul/spongebob project/spongebob project.dsp index c8ce6c3b5..2bb7a1121 100644 --- a/users/paul/spongebob project/spongebob project.dsp +++ b/users/paul/spongebob project/spongebob project.dsp @@ -661,6 +661,14 @@ SOURCE=..\..\..\source\fx\fxfallingtile.h # End Source File # Begin Source File +SOURCE=..\..\..\source\fx\fxgeyser.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\source\fx\fxgeyser.h +# End Source File +# Begin Source File + SOURCE=..\..\..\source\fx\fxjfish.cpp # End Source File # Begin Source File @@ -685,6 +693,14 @@ SOURCE=..\..\..\source\fx\fxnrgbar.h # End Source File # Begin Source File +SOURCE=..\..\..\source\fx\fxsmoke.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\source\fx\fxsmoke.h +# End Source File +# Begin Source File + SOURCE=..\..\..\source\fx\fxsteam.cpp # End Source File # Begin Source File @@ -699,6 +715,22 @@ SOURCE=..\..\..\source\fx\fxthwack.cpp SOURCE=..\..\..\source\fx\fxthwack.h # End Source File +# Begin Source File + +SOURCE=..\..\..\source\fx\fxtvexplode.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\source\fx\fxtvexplode.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\source\fx\fxzzzz.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\source\fx\fxzzzz.h +# End Source File # End Group # Begin Group "game" @@ -2377,6 +2409,14 @@ SOURCE=..\..\..\source\triggers\todripemit.h # End Source File # Begin Source File +SOURCE=..\..\..\source\triggers\toilgeyser.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\source\triggers\toilgeyser.h +# End Source File +# Begin Source File + SOURCE=..\..\..\source\triggers\tplatfrm.cpp # End Source File # Begin Source File