Add physics and level module

This commit is contained in:
2025-05-31 13:26:21 +02:00
parent b828bf6bd2
commit af6fd5fc45
8 changed files with 253 additions and 195 deletions

17
src/definitions.hpp Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <SDL3/SDL.h>
static constexpr int WINDOW_WIDTH = 400;
static constexpr int WINDOW_HEIGHT = 240;
struct SdlHandles
{
SDL_Window* window;
SDL_Renderer* renderer;
};
struct Game
{
uint32_t ticks;
};