update
This commit is contained in:
@@ -33,12 +33,18 @@ struct GameInput {
|
||||
int yOffset;
|
||||
};
|
||||
|
||||
struct GameSoundOutputBuffer {
|
||||
int samplesPerSecond;
|
||||
int sampleCount;
|
||||
int16 *samples;
|
||||
};
|
||||
|
||||
struct GameOffscreenBuffer {
|
||||
void *memory;
|
||||
int width;
|
||||
int height;
|
||||
};
|
||||
|
||||
void gameUpdateAndRender();
|
||||
void gameUpdateAndRender(GameOffscreenBuffer *videoBuf, GameInput *input, GameSoundOutputBuffer *soundBuf);
|
||||
|
||||
// Platform to game services
|
||||
|
||||
Reference in New Issue
Block a user