diff options
| author | Drew DeVault <sir@cmpwn.com> | 2021-12-09 13:06:45 +0100 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2021-12-09 13:07:36 +0100 |
| commit | 01bb53f01d5d8b732bd80a84f25b661e1452faeb (patch) | |
| tree | 822f1c568ce60ca68dd8a1f65b1828a60fb554e4 /sdl2/prototypes.ha | |
| parent | Initial commit (diff) | |
| download | hare-chip8-01bb53f01d5d8b732bd80a84f25b661e1452faeb.tar.gz | |
Rig up events, partially rig up video
Diffstat (limited to 'sdl2/prototypes.ha')
| -rw-r--r-- | sdl2/prototypes.ha | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sdl2/prototypes.ha b/sdl2/prototypes.ha deleted file mode 100644 index b71c890..0000000 --- a/sdl2/prototypes.ha +++ /dev/null @@ -1,21 +0,0 @@ -// These are the flags which may be passed to [[init]]. You should specify the -// subsystems which you will be using in your application. -export type init_flags = enum uint { - TIMER = 0x00000001u, - AUDIO = 0x00000010u, - VIDEO = 0x00000020u, - JOYSTICK = 0x00000200u, - HAPTIC = 0x00001000u, - GAMECONTROLLER = 0x00002000u, - EVENTS = 0x00004000u, - SENSOR = 0x00008000u, - NOPARACHUTE = 0x00100000u, - EVERYTHING = TIMER | AUDIO | VIDEO | EVENTS | JOYSTICK | HAPTIC | GAMECONTROLLER | SENSOR, -}; - -// This function initializes the subsystems specified by 'flags'. -export @symbol("SDL_Init") fn init(flags: init_flags) void; - -// This function cleans up all initialized subsystems. You should call it upon -// all exit conditions. -export @symbol("SDL_Quit") fn quit() void; |
