blob: a70282f2857fc3429e6bedf0b1e2352b06d24497 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef PKE_LEVEL_TYPES_HPP
#define PKE_LEVEL_TYPES_HPP
#include "array.hpp"
#include "vendor/pk.h"
#include "camera.hpp"
#include "components.hpp"
TypeSafeInt_constexpr(LevelHandle, uint16_t, 0xFFFF);
struct LvlCamArr : public PkeArray<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 */
|