blob: b0abce68f95fc387f3314b0a3940cf271c484a10 (
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 "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 */
|