diff options
author | Ian C <ianc@noddybox.co.uk> | 2007-10-12 23:31:52 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2007-10-12 23:31:52 +0000 |
commit | 34faed4b450f60c7db445575bc5ad2070bb68538 (patch) | |
tree | 97a67c9214dd4c4b6e6c52b2439faef493bbb6e4 /main.bmx | |
parent | b847fa6928c5e7b2731f54b362b1772f94508d4c (diff) |
Diffstat (limited to 'main.bmx')
-rw-r--r-- | main.bmx | 37 |
1 files changed, 18 insertions, 19 deletions
@@ -89,7 +89,7 @@ SetImageHandle(GameGFX.shock,3,3) TPoint.img=GameGFX.point TParticle.img=GameGFX.particle -TGUIFont.font=GameGFX.font +TSGUIFont.font=GameGFX.font Lookup.Init() TParticleMachine.Init() @@ -146,13 +146,13 @@ Function Error(s:String, fatal:Int=False) While Not KeyHit(KEY_ESCAPE) Cls - GameGFX.font.CentreColoured(s,GraphicsHeight()/4,255,255*f,255*f) + GameGFX.font.Centre(s,GraphicsHeight()/4,255,255*f,255*f) If fatal - GameGFX.font.CentreColoured("FATAL ERROR",0,255,255,255) - GameGFX.font.CentreColoured("Press ESCAPE to exit",GraphicsHeight()/4*3,255,255,255) + GameGFX.font.Centre("FATAL ERROR",0,255,255,255) + GameGFX.font.Centre("Press ESCAPE to exit",GraphicsHeight()/4*3,255,255,255) Else - GameGFX.font.CentreColoured("Press ESCAPE",GraphicsHeight()/4*3,255,255,255) + GameGFX.font.Centre("Press ESCAPE",GraphicsHeight()/4*3,255,255,255) EndIf t:+1 @@ -240,16 +240,16 @@ Function Menu() GameGFX.font.Centre("DEFINE KEYS",50) EndIf - GameGFX.font.DrawColoured("Left",250,100,255,255*(defkey=1),0) - GameGFX.font.DrawColoured("Right",250,120,255,255*(defkey=2),0) - GameGFX.font.DrawColoured("Thrust",250,140,255,255*(defkey=3),0) - GameGFX.font.DrawColoured("Reverse",250,160,255,255*(defkey=4),0) - GameGFX.font.DrawColoured("Gravity Wave",250,180,255,255*(defkey=5),0) - GameGFX.font.DrawColoured(KeySym(GameConfig.kleft),500,100,255,255*(defkey=1),0) - GameGFX.font.DrawColoured(KeySym(GameConfig.kright),500,120,255,255*(defkey=2),0) - GameGFX.font.DrawColoured(KeySym(GameConfig.kthrust),500,140,255,255*(defkey=3),0) - GameGFX.font.DrawColoured(KeySym(GameConfig.kreverse),500,160,255,255*(defkey=4),0) - GameGFX.font.DrawColoured(KeySym(GameConfig.kblast),500,180,255,255*(defkey=5),0) + GameGFX.font.Draw("Left",250,100,255,255*(defkey=1),0) + GameGFX.font.Draw("Right",250,120,255,255*(defkey=2),0) + GameGFX.font.Draw("Thrust",250,140,255,255*(defkey=3),0) + GameGFX.font.Draw("Reverse",250,160,255,255*(defkey=4),0) + GameGFX.font.Draw("Gravity Wave",250,180,255,255*(defkey=5),0) + GameGFX.font.Draw(KeySym(GameConfig.kleft),500,100,255,255*(defkey=1),0) + GameGFX.font.Draw(KeySym(GameConfig.kright),500,120,255,255*(defkey=2),0) + GameGFX.font.Draw(KeySym(GameConfig.kthrust),500,140,255,255*(defkey=3),0) + GameGFX.font.Draw(KeySym(GameConfig.kreverse),500,160,255,255*(defkey=4),0) + GameGFX.font.Draw(KeySym(GameConfig.kblast),500,180,255,255*(defkey=5),0) Local k:Int=0 @@ -318,20 +318,19 @@ Function Menu() End Select SetScale(2,2) - GameGFX.font.CentreColoured("PARTICLE PINCH",0,255,255,0) + GameGFX.font.Centre("PARTICLE PINCH",0,255,255,0) If defkey=0 - GameGFX.font.CentreColoured("Start Level",528,0,255,255) + GameGFX.font.Centre("Start Level",528,0,255,255) GameGFX.font.Centre(levelset.Get(selected_level).name,547) EndIf SetScale(1,1) - GameGFX.font.CentreColoured("Copyright (c) 2005 Ian Cowburn",20,255,0,0) + GameGFX.font.Centre("Copyright (c) 2005 Ian Cowburn",20,255,0,0) SetColor(255,255,255) DrawImage(GameGFX.pointer,MouseX(),MouseY()) Flip - FlushMem Wend End Function
\ No newline at end of file |