mirror of
https://git.planet-casio.com/Fcalva/Copy3DEngine.git
synced 2024-12-28 20:43:44 +01:00
26 lines
297 B
C
26 lines
297 B
C
|
// Voir README.md pour license précise, par Fcalva 2023-2024 et est sous GPLv3
|
||
|
|
||
|
#ifndef game__h
|
||
|
#define game__h
|
||
|
|
||
|
#include "utils.h"
|
||
|
#include "map.h"
|
||
|
|
||
|
typedef struct {
|
||
|
|
||
|
V2d pos;
|
||
|
V2d dir;
|
||
|
V2d plane;
|
||
|
|
||
|
} RcActor;
|
||
|
|
||
|
typedef struct {
|
||
|
|
||
|
RcActor player;
|
||
|
|
||
|
uint8_t *current_map;
|
||
|
|
||
|
} RcGame;
|
||
|
|
||
|
#endif
|