|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
Namespaces | |
| namespace | Fields |
Classes | |
| class | ComponentFactory |
| Creates components by type id (see the file comment above). More... | |
| class | SceneMsgPackParser |
| Embedded-friendly MessagePack parser for scene files No dynamic allocation, fixed stack depth. More... | |
| class | SceneMsgPackWriter |
| MessagePack writer for saving scenes from editor. More... | |
Typedefs | |
| using | ComponentCreator = DekiComponent* (*)() |
| Function pointer type for component creators. | |
| using | AssetResolver = std::function<std::string(const std::string& guid)> |
| using | SubAssetResolverCallback = std::function<bool(const std::string& guid, std::string& outParentGuid)> |
Enumerations | |
| enum class | MPType : uint8_t { MP_NIL = 0xc0 , MP_FALSE = 0xc2 , MP_TRUE = 0xc3 , FLOAT32 = 0xca , INT8 = 0xd0 , INT16 = 0xd1 , INT32 = 0xd2 , UINT8 = 0xcc , UINT16 = 0xcd , UINT32 = 0xce , FIXSTR_BASE = 0xa0 , STR8 = 0xd9 , STR16 = 0xda , FIXMAP_BASE = 0x80 , MAP16 = 0xde , FIXARRAY_BASE = 0x90 , ARRAY16 = 0xdc } |
Variables | |
| constexpr const char * | SCENE_EXTENSION = ".scene" |
| Scene file extension. | |
| constexpr uint16_t | SCENE_FORMAT_VERSION = 1 |
| Scene format version. | |
| using SceneFormat::ComponentCreator = DekiComponent* (*)() |
Function pointer type for component creators.
| using SceneFormat::AssetResolver = std::function<std::string(const std::string& guid)> |
| using SceneFormat::SubAssetResolverCallback = std::function<bool(const std::string& guid, std::string& outParentGuid)> |
|
strong |
|
constexpr |
Scene file extension.
|
constexpr |
Scene format version.