Skip to content

HBGames/Unreal-Flecs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6,426 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unreal Engine Flecs Integration

Note:

Many Features are not complete

Only tested on Version: UE 5.7 MSVC/partially Clang

Contributors to Unreal-Flecs:

@Megafunk
@ronaldburns

Features:

Universalized Component Type Registration CPP <--> Meta Type, Works with USTRUCT, UENUM, and UCLASS

OS-API implementation for Unreal

Tracked ObjectPtr References in Components (needs testing)

Module Implementation with Hard and Soft Dependencies

Modular Game Loop Implementation to allow for any pipeline setup (also works with module dependencies)

Modifications to Flecs:

New Component Registration in Source/FlecsLibrary/Public/flecs/addons/cpp/component.hpp Disabled flecs Auto Component Registration (do not re-enable) set_symbol in Source/FlecsLibrary/Public/flecs/addons/cpp/mixins/entity/builder.hpp

to_constant in Source/FlecsLibrary/Public/flecs/addons/cpp/mixins/enum/impl.hpp and Source/FlecsLibrary/Public/flecs/addons/cpp/mixins/enum/entity\_view.inl

enum_data::entity(underlying_type_t value) in Source/FlecsLibrary/Public/flecs/addons/cpp/impl/world.hpp

EcsFirstUserComponentId is set to 9

added bUseLowId bool paramn to untyped_component(flecs::world_t *world, const char *name) constructor in Source/FlecsLibrary/Public/flecs/addons/cpp/component.hpp

ensure in the Entity CPP-API is renamed to obtain to be compatible with Unreal

Releases

Packages

Contributors

Languages