blob: 4de0f76afa3e867f1fc811401cabf827b85c1e79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef PKE_LEVEL_TYPES_HPP
#define PKE_LEVEL_TYPES_HPP
#include "pk.h"
#include "camera.hpp"
#include "components.hpp"
TypeSafeInt_constexpr(LevelHandle, uint16_t, 0xFFFF);
struct LvlCamArr : public pk_arr_t<CameraHandle>{};
struct PkeLevel : public Entity_Base {
struct pk_membucket *bkt = nullptr;
char name[16] = {'\0'};
LevelHandle levelHandle = LevelHandle_MAX;
LvlCamArr cameras;
};
#endif /* PKE_LEVEL_TYPES_HPP */
|