ld21-ESCape/src/Globals.pbi
Aaron 7d1213164b Merge branch 'master' of c:/Users/Aaron/Desktop/game/Git
Conflicts:
	src/Draw.pbi
	src/Functions.pbi
	src/Globals.pbi
2011-08-20 20:18:02 +02:00

46 lines
868 B
Plaintext

#DATA_PATH = "../data/"
; Global variables
Global Fullscreen = 0
Global Title.s = "ESCape - Build " + Str(#PB_Editor_BuildCount)
Global Screen.ScreenDimension\width = 800
Screen.ScreenDimension\height = 600
; Player
Global Player.MapPoint\X = 10
Player.MapPoint\Y = 10
; Them map
Global Dim GameField(50, 50)
NewMap GameStates.GameState()
Global NewMap Menus.GameMenu()
Global CurrentState.s = "MAIN_MENU"
Global *ActiveMenu.GameMenu
; Fonts
Global Font_H1 = LoadFont(1, "Arial", 40, #PB_Font_Bold)
Global Font_H2 = LoadFont(2, "Verdana", 18)
; Graphics
Global Tile01.i
Enumeration 500
#Tile01
#Tile02
#Tile03
#Tile04
#Tile05
#Tile06
EndEnumeration
; Sounds
LoadSound(0, #DATA_PATH + "sound/menu_change.wav")
LoadSound(1, #DATA_PATH + "sound/menu_select.wav")
; Images
UseJPEGImageDecoder()
Debug LoadImage(#Tile01, #DATA_PATH+"gfx/tileset01.jpg")