cave-story-solaris/src/Game.h
Clownacy 5ea356a3bd Weed out a lot of the Windows dependency
Storytime: Cucky's original SDL2 port work involved using SDL2's
threading API to emulate the original WinAPI threading.

I can't be assed with that stuff, so I used the same trick Cucky did
for the Wii port, and hooked Organya up to the SDL2 audio callback.
This actually opens up the possibility for perfectly-synchronised
Organya playback. By that I mean, instead of needing a super
low-latency audio callback, I can have the callback synchronise its
audio mixing with Organya itself. I haven't done it yet, I plan to
soon.
2019-09-04 00:28:23 +01:00

11 lines
191 B
C

#pragma once
#include "WindowsWrapper.h"
extern int g_GameFlags;
extern int gCounter;
int Random(int min, int max);
void PutNumber4(int x, int y, int value, BOOL bZero);
BOOL Game(void);