This commit is contained in:
2024-09-15 17:30:36 +01:00
parent 2c359bae0f
commit 28f07009c2
4 changed files with 145 additions and 21 deletions

View File

@@ -97,6 +97,8 @@ struct GameOffscreenBuffer {
void *memory;
int width;
int height;
int bytesPerPixel;
int pitch; // Bytes per row
};
struct GameButtonState {
@@ -151,6 +153,8 @@ struct GameState {
int greenOffset;
int blueOffset;
real32 tSine;
int playerY;
int playerX;
};
// === Game to platform services ===