소스 검색

Added missing strict statements.

woollybah 5 년 전
부모
커밋
4df5080d7c
4개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      samples/digesteroids/MathUtil.bmx
  2. 2 2
      samples/digesteroids/digesteroids.bmx
  3. 1 0
      samples/digesteroids/dynamicgame.bmx
  4. 1 0
      samples/digesteroids/minitimer.bmx

+ 1 - 0
samples/digesteroids/MathUtil.bmx

@@ -10,6 +10,7 @@
 ' Required:
 ' Required:
 '  - Nothing.
 '  - Nothing.
 ' *******************************************************************
 ' *******************************************************************
+Strict
 
 
 Type MathUtil
 Type MathUtil
 
 

+ 2 - 2
samples/digesteroids/digesteroids.bmx

@@ -26,7 +26,7 @@ Framework SDL.gl2sdlmax2d
 Import brl.pngloader
 Import brl.pngloader
 Import brl.wavloader
 Import brl.wavloader
 Import brl.oggloader
 Import brl.oggloader
-Import brl.random
+Import brl.Random
 Import sdl.sdlfreeaudio
 Import sdl.sdlfreeaudio
 
 
 ' Import various utilities.
 ' Import various utilities.
@@ -39,7 +39,7 @@ SetAudioDriver("FreeAudio SDL")
 ' Screen settings.
 ' Screen settings.
 Const WIDTH       = 1024    ' Width of the screen.
 Const WIDTH       = 1024    ' Width of the screen.
 Const HEIGHT      = 768     ' Height of the screen.
 Const HEIGHT      = 768     ' Height of the screen.
-Const DEPTH       = 32      ' Depth of the screen.
+Const DEPTH       = 0      ' Depth of the screen.
 Const REFRESHRATE = 75      ' How often to update the screen (Per second).
 Const REFRESHRATE = 75      ' How often to update the screen (Per second).
 
 
 ' Game Settings
 ' Game Settings

+ 1 - 0
samples/digesteroids/dynamicgame.bmx

@@ -30,6 +30,7 @@
 ' Required:
 ' Required:
 '  - minitimer.bmx   - Timer framework.
 '  - minitimer.bmx   - Timer framework.
 ' *******************************************************************
 ' *******************************************************************
+Strict
 
 
 Import "minitimer.bmx"
 Import "minitimer.bmx"
 
 

+ 1 - 0
samples/digesteroids/minitimer.bmx

@@ -20,6 +20,7 @@
 ' Required:
 ' Required:
 '  - Nothing.
 '  - Nothing.
 ' *******************************************************************
 ' *******************************************************************
+Strict
 
 
 Type MiniTimer
 Type MiniTimer