![]() |
Jopnal Engine
alpha 0.4
Simple Component Based 2D/3D Game Engine
|
Namespaces | |
gl | |
Typedefs | |
typedef std::function< Component &(JOP_COMPONENT_FACTORY_ARGS)> | ComponentFactoryFunc |
typedef std::function< bool(JOP_COMPONENT_LOAD_ARGS)> | ComponentLoadFunc |
typedef std::function< bool(JOP_COMPONENT_SAVE_ARGS)> | ComponentSaveFunc |
typedef std::function< Scene &(JOP_SCENE_FACTORY_ARGS)> | SceneFactoryFunc |
typedef std::function< bool(JOP_SCENE_LOAD_ARGS)> | SceneLoadFunc |
typedef std::function< bool(JOP_SCENE_SAVE_ARGS)> | SceneSaveFunc |
typedef std::function< Resource &(JOP_RESOURCE_FACTORY_ARGS)> | ResourceFactoryFunc |
typedef std::function< bool(JOP_RESOURCE_LOAD_ARGS)> | ResourceLoadFunc |
typedef std::function< bool(JOP_RESOURCE_SAVE_ARGS)> | ResourceSaveFunc |
typedef float | float32 |
32 bit float (single-precision) More... | |
typedef double | float64 |
64 bit float (double precision) More... | |
typedef signed char | int8 |
8 bit signed integer More... | |
typedef signed short | int16 |
16 bit signed integer More... | |
typedef signed int | int32 |
32 bit signed integer More... | |
typedef signed long long | int64 |
64 bit signed integer More... | |
typedef unsigned char | uint8 |
8 bit unsigned integer More... | |
typedef unsigned short | uint16 |
16 bit unsigned integer More... | |
typedef unsigned int | uint32 |
32 bit unsigned integer More... | |
typedef unsigned long long | uint64 |
64 bit unsigned integer More... | |
typedef void * | WindowHandle |
typedef WindowHandle | WindowLibHandle |
Functions | |
JOP_API const std::string & | getProjectName () |
Get the project name. More... | |
JOP_API Message::Result | broadcast (const Message &message) |
Broadcast a message to the whole engine. More... | |
JOP_API void | assertion (const bool expression, const std::string &file, unsigned int line, const std::string &message) |
Custom assertion function. More... | |
template<typename To , typename From > | |
WeakReference< To > | static_ref_cast (const WeakReference< From > &other) |
Statically cast a weak reference. More... | |
template<typename To , typename From > | |
WeakReference< To > | dynamic_ref_cast (const WeakReference< From > &other) |
Dynamically cast a weak reference. More... | |
typedef std::function<Component&(JOP_COMPONENT_FACTORY_ARGS)> jop::ComponentFactoryFunc |
Definition at line 55 of file Serializer.hpp.
typedef std::function<bool(JOP_COMPONENT_LOAD_ARGS)> jop::ComponentLoadFunc |
Definition at line 58 of file Serializer.hpp.
typedef std::function<bool(JOP_COMPONENT_SAVE_ARGS)> jop::ComponentSaveFunc |
Definition at line 59 of file Serializer.hpp.
typedef float jop::float32 |
typedef double jop::float64 |
typedef signed short jop::int16 |
typedef signed int jop::int32 |
typedef signed long long jop::int64 |
typedef std::function<Resource&(JOP_RESOURCE_FACTORY_ARGS)> jop::ResourceFactoryFunc |
Definition at line 65 of file Serializer.hpp.
typedef std::function<bool(JOP_RESOURCE_LOAD_ARGS)> jop::ResourceLoadFunc |
Definition at line 66 of file Serializer.hpp.
typedef std::function<bool(JOP_RESOURCE_SAVE_ARGS)> jop::ResourceSaveFunc |
Definition at line 67 of file Serializer.hpp.
typedef std::function<Scene&(JOP_SCENE_FACTORY_ARGS)> jop::SceneFactoryFunc |
Definition at line 61 of file Serializer.hpp.
typedef std::function<bool(JOP_SCENE_LOAD_ARGS)> jop::SceneLoadFunc |
Definition at line 62 of file Serializer.hpp.
typedef std::function<bool(JOP_SCENE_SAVE_ARGS)> jop::SceneSaveFunc |
Definition at line 63 of file Serializer.hpp.
typedef unsigned short jop::uint16 |
typedef unsigned int jop::uint32 |
typedef unsigned long long jop::uint64 |
typedef unsigned char jop::uint8 |
typedef void* jop::WindowHandle |
Definition at line 44 of file WindowHandle.hpp.
typedef WindowHandle jop::WindowLibHandle |
Definition at line 62 of file WindowHandle.hpp.
JOP_API void jop::assertion | ( | const bool | expression, |
const std::string & | file, | ||
unsigned int | line, | ||
const std::string & | message | ||
) |
Custom assertion function.
This function, should the assertion fail, opens a customized message box and exits the program.
expression | The expression to be tested |
file | File name |
line | The line number |
message | Description of the error |
JOP_API Message::Result jop::broadcast | ( | const Message & | message | ) |
Broadcast a message to the whole engine.
This is the same as calling jop::Engine::sendMessage().
message | The message |
WeakReference<To> jop::dynamic_ref_cast | ( | const WeakReference< From > & | other | ) |
Dynamically cast a weak reference.
other | The reference to cast |
JOP_API const std::string& jop::getProjectName | ( | ) |
Get the project name.
WeakReference<To> jop::static_ref_cast | ( | const WeakReference< From > & | other | ) |
Statically cast a weak reference.
other | The reference to cast |