summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-10-13 00:02:13 +0000
committerIan C <ianc@noddybox.co.uk>2007-10-13 00:02:13 +0000
commit1a78945c445dd03f10de7edad944c486653c56b8 (patch)
tree5adc664c7fdd54ea2fc94dba11380b6a4655d7f4
parent5a8cc026cb6fc591795b8b8e0abec245771889bb (diff)
Added strict modeHEADmaster
-rw-r--r--menu.bmx4
-rw-r--r--players.bmx2
-rw-r--r--sprite.bmx2
3 files changed, 7 insertions, 1 deletions
diff --git a/menu.bmx b/menu.bmx
index b441a0f..68e1c98 100644
--- a/menu.bmx
+++ b/menu.bmx
@@ -3,6 +3,8 @@
'
' $Id$
'
+Strict
+
Import noddybox.bitmapfont
Type TMenu
@@ -47,7 +49,7 @@ Type TMenu
For Local s:String=EachIn list
If (mx>xpos And mx<xpos+w And my>y And my<y+h)
- If KeyDown(KEY_MOUSELEFT)
+ If MouseDown(1)
mbdown=True
DrawImage(img,xpos,y+2)
font.Centre(s,y+yoff+2,255,255,0)
diff --git a/players.bmx b/players.bmx
index cda263a..e826d51 100644
--- a/players.bmx
+++ b/players.bmx
@@ -3,6 +3,8 @@
'
' $Id$
'
+Strict
+
Import "sprite.bmx"
Type TActor Abstract
diff --git a/sprite.bmx b/sprite.bmx
index 94ab084..f146dd7 100644
--- a/sprite.bmx
+++ b/sprite.bmx
@@ -3,6 +3,8 @@
'
' $Id$
'
+Strict
+
Import noddybox.vector
Type TSprite