ld21-ESCape/src/Structs.pbi
2011-08-20 17:49:22 +02:00

33 lines
507 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.s
Selected.b
EndStructure
Structure GameOptionItem
List Options.s()
CurrentPosition.i
Selected.b
EndStructure
Structure GameMenu
Title.s
List Entries.GameMenuItem()
EndStructure