summaryrefslogtreecommitdiff
path: root/gametypes.bmx
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-12-05 00:59:34 +0000
committerIan C <ianc@noddybox.co.uk>2005-12-05 00:59:34 +0000
commitcf0e1b5f3422dc1adc60b1684591ab0962c441bb (patch)
tree8c69f5fe70d39475e1dc31ef994f719948c70621 /gametypes.bmx
parent2432acd3b0cc49fb71cfee5b32e14e0eac773619 (diff)
Updates and added help page
Diffstat (limited to 'gametypes.bmx')
-rw-r--r--gametypes.bmx9
1 files changed, 8 insertions, 1 deletions
diff --git a/gametypes.bmx b/gametypes.bmx
index 63a642b..7c60b71 100644
--- a/gametypes.bmx
+++ b/gametypes.bmx
@@ -399,6 +399,8 @@ Type TPiece_SpecialBomb Extends TSpecial
End Method
Method DoSpecial:Int(gm:TGameMap)
+ Draw()
+
Local l:TWireList=New TWireList
If y<Pit.HEIGHT-1
@@ -420,6 +422,8 @@ Type TPiece_SpecialBomb Extends TSpecial
gm.path.AddLast(l)
EndIf
+ ExplosionParticles.BlowUp(Pit.X(x),Pit.Y(y))
+
Return False
End Method
End Type
@@ -438,6 +442,8 @@ Type TPiece_SpecialTwister Extends TSpecial
End Method
Method DoSpecial:Int(gm:TGameMap)
+ Draw()
+
If gm.path.Count()
Return True
EndIf
@@ -446,6 +452,7 @@ Type TPiece_SpecialTwister Extends TSpecial
rotd=60
rot:+1
If rot=5
+ ExplosionParticles.BlowUp(Pit.X(x),Pit.Y(y))
Return False
EndIf
TextParticles.Big("TWIST!")
@@ -728,7 +735,7 @@ Type TGameMap
If map[x,y]
SetColor(255,255,255)
DrawImage(GameGFX.tile,Pit.X(x),Pit.Y(y))
- SetColor(128,128,128)
+ SetColor(trode_col,trode_col,0)
DrawImage(map[x,y].Image(),Pit.X(x),Pit.Y(y))
EndIf
Next