Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
plugins.hpp File Reference

Plugins: shared libraries that add systems and assets to a game when it starts, without recompiling it. More...

#include <aegis2d/core/shared_library.hpp>
#include <aegis2d/ecs/export.hpp>
#include <aegis2d/ecs/system.hpp>
#include <cstddef>
#include <filesystem>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::ecs::PluginContext
 What a plugin can add to the game, given to its start function. More...
 
class  aegis2d::ecs::Plugins
 The plugins a game loaded, kept loaded as long as it lives. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::ecs
 Entity-Component-System used by client and server.
 

Variables

constexpr std::string_view aegis2d::ecs::plugin_start = "aegis2d_plugin_start"
 Name of the C function a plugin exports, called once when it is loaded.
 

Detailed Description

Plugins: shared libraries that add systems and assets to a game when it starts, without recompiling it.