GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Load a gd::Platform in memory from a file and add it to the manager. More...
#include <PlatformLoader.h>
Static Public Member Functions | |
static std::shared_ptr< gd::Platform > | LoadPlatformInManager (gd::String fullpath) |
Load a gd::Platform in memory from a file and add it to the manager.
Platforms are expected to be compiled into shared library. The shared library must provides the two C functions CreateGDPlatform and DestroyGDPlatform :
Platforms are expected to be singletons, so the DestroyGDPlatform is not passing any pointer as argument.
|
static |
Load a specific platform.
fullpath | The path to the platform file. |