ld21-ESCape/src/Globals.pbi

32 lines
680 B
Plaintext
Raw Normal View History

2011-08-20 14:49:54 +02:00

2011-08-20 18:18:52 +02:00
Global DataPath.s = "../data/"
2011-08-20 14:49:54 +02:00
; Global variables
Global Fullscreen = 0
2011-08-20 17:49:22 +02:00
Global Title.s = "ESCape - Build " + Str(#PB_Editor_BuildCount)
2011-08-20 14:49:54 +02:00
Global Screen.ScreenDimension\width = 800
Screen.ScreenDimension\height = 600
NewMap GameStates.GameState()
Global NewMap Menus.GameMenu()
Global CurrentState.s = "MAIN_MENU"
Global *ActiveMenu.GameMenu
; Fonts
Global Font_H1 = LoadFont(1, "Courier", 40, #PB_Font_Bold)
2011-08-20 17:40:18 +02:00
Global Font_H2 = LoadFont(2, "Verdana", 18)
; Graphics
Enumeration 500
#Tile01
#Tile02
#Tile03
#Tile04
#Tile05
#Tile06
2011-08-20 17:49:22 +02:00
EndEnumeration
2011-08-20 18:18:52 +02:00
; Sounds
Global Dim Sounds.s(2)
Sounds(0) = DataPath + "sound/menu_change.wav"
Sounds(1) = DataPath + "sound/menu_select.wav"