Merge branch 'main' of yibble.dev:bulmanator/ld58
Fixed conflicts Added "code" directory for include to make it easier to include core headers Stopped warnings (probably cl specific)
This commit is contained in:
17
code/game/player.h
Normal file
17
code/game/player.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#if !defined(LD_GAME_PLAYER_H_)
|
||||
#define LD_GAME_PLAYER_H_
|
||||
|
||||
#include "../core/types.h"
|
||||
#include "../core/macros.h"
|
||||
|
||||
#include <SDL3/SDL_events.h>
|
||||
|
||||
typedef struct Player Player;
|
||||
struct Player
|
||||
{
|
||||
V2f pos;
|
||||
};
|
||||
|
||||
function void PlayerUpdate(SDL_Event *event, Player *player);
|
||||
|
||||
#endif // LD_GAME_PLAYER_H_
|
||||
Reference in New Issue
Block a user