summaryrefslogtreecommitdiff
path: root/src/level-types.hpp
blob: 42c169b17ed5ef57d3589ac0e7d0c73bda65d3a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PKE_LEVEL_TYPES_HPP
#define PKE_LEVEL_TYPES_HPP

#include "array.hpp"
#include "macros.hpp"
#include "memory-type-defs.hpp"
#include "camera.hpp"
#include "components.hpp"

TypeSafeInt_Const_Expr(LevelHandle, uint16_t, 0xFFFF);

struct LvlCamArr : public PkeArray<CameraHandle> { };

struct PkeLevel : public Entity_Base {
	MemBucket *bkt = nullptr;
	char name[16] = {'\0'};
	LevelHandle levelHandle = LevelHandle_MAX;
	LvlCamArr cameras;
};

#endif /* PKE_LEVEL_TYPES_HPP */