From 047544a5af9100ec269e9222213385bc7794f619 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Sat, 7 May 2022 23:26:27 +1000 Subject: Split out platform-specific code for Windows Not sure if I'm really doing it in the best way possible. Feels a bit weird that some place assumes the existence of other functions. --- platform/platform.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 platform/platform.h (limited to 'platform/platform.h') diff --git a/platform/platform.h b/platform/platform.h new file mode 100644 index 0000000..da1efa6 --- /dev/null +++ b/platform/platform.h @@ -0,0 +1,10 @@ +#ifndef CLAK_PLATFORM_H_ +#define CLAK_PLATFORM_H_ + +bool sound_init(float volume); +void sound_play(unsigned char *buffer); +void keyboard_unhook(void); +bool keyboard_hook(void); +void enter_idle(void); + +#endif /* CLAK_PLATFORM_H_ */ \ No newline at end of file -- cgit