summaryrefslogtreecommitdiff
path: root/missile_lock.bmx
diff options
context:
space:
mode:
Diffstat (limited to 'missile_lock.bmx')
-rw-r--r--missile_lock.bmx14
1 files changed, 14 insertions, 0 deletions
diff --git a/missile_lock.bmx b/missile_lock.bmx
index 0bcd87e..9518452 100644
--- a/missile_lock.bmx
+++ b/missile_lock.bmx
@@ -30,6 +30,7 @@ Import brl.d3d7max2d
Import noddybox.bitmapfont
Import noddybox.keysyms
+Import noddybox.showlicense
Import "global.bmx"
Import "gametypes.bmx"
@@ -38,6 +39,9 @@ Import "particle.bmx"
'Import "help.bmx"
Import "sound.bmx"
+Incbin "short_license.txt"
+Incbin "license.txt"
+
' ===================================
' Initialise
' ===================================
@@ -67,6 +71,16 @@ GFX.Init() ' MUST be first
SFX.Init()
GameConfig.Load()
+
+If Not GameConfig.accepted
+ If Not ShowLicense("MISSILE LOCK -- LICENSE","incbin::short_license.txt","incbin::license.txt")
+ EndGraphics()
+ End
+ EndIf
+ GameConfig.accepted=True
+ GameConfig.Save()
+EndIf
+
Scroller.Init()
Thanks.Init()
Particles.Init()