Add physics and level module
This commit is contained in:
17
src/definitions.hpp
Normal file
17
src/definitions.hpp
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user