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

#include "camera.hpp"
#include "components.hpp"
#include "pk.h"
#include "player-input.hpp"

const uint8_t SCENE_NAME_MAX_LEN = 16;
#define pke_scene_name_printf_format "%16s"

struct pke_scene : public Entity_Base {
	pk_str file_path = {};
	char name[SCENE_NAME_MAX_LEN] = {'\0'};
	SceneHandle scene_handle = SceneHandle_MAX;
	pk_arr_t<CameraHandle> cameras;
	pk_arr_t<pke_input_action_set_handle> input_handles;
};

#endif /* PKE_SCENE_TYPES_HPP */