This repository has been archived on 2021-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
pongr/src/Structs.pbi
2016-04-06 15:33:54 +02:00

40 lines
674 B
Plaintext

; This file holds all structs so we can include it in every
; file we need it.
Structure ScreenDimension
Width.i
Height.i
EndStructure
Prototype DRAW()
Prototype HANDLE_EVENTS()
Structure GameState
DrawFun.DRAW
HandleEventFun.HANDLE_EVENTS
EndStructure
Structure GameMenuItem
Label.s
TargetState.GameState
Selected.b
EndStructure
Structure GameOptionItem
List Options.s()
CurrentPosition.i
Selected.b
EndStructure
Structure GameMenu
Title.s
List Entries.GameMenuItem()
EndStructure
; IDE Options = PureBasic 4.51 (MacOS X - x86)
; CursorPosition = 32
; EnableUnicode
; EnableThread
; EnableXP
; EnableCompileCount = 1
; EnableBuildCount = 0