34 lines
573 B
Plaintext
34 lines
573 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
|
|
draw_fun.DRAW
|
|
handle_event_fun.HANDLE_EVENTS
|
|
EndStructure
|
|
|
|
|
|
Structure GameMenuItem
|
|
label.s
|
|
target_state.GameState
|
|
EndStructure
|
|
|
|
Structure GameMenu
|
|
title.s
|
|
List entries.GameMenuItem()
|
|
EndStructure
|
|
|
|
; IDE Options = PureBasic 4.51 (Linux - x64)
|
|
; CursorPosition = 16
|
|
; EnableUnicode
|
|
; EnableThread
|
|
; EnableXP
|
|
; EnableCompileCount = 1
|
|
; EnableBuildCount = 0 |