blob: 9e94190aad09babccdf9d8b9a595be02d9b4e37c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "utils.h"
#include "settings.h"
#ifndef MAP_H
#define MAP_H
typedef struct {
Rectangle rect;
Rectangle heightmapRect;
float zoom;
Vector2 playerPosition;
float playerRotation;
bool isEnabled;
bool isFullSize;
} Map;
void initMap(Map* map, const Settings* settings);
void updateMap(Map* map, Game* game);
#endif
|