Skip to content

Commit

Permalink
chore: update define configs
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Jan 9, 2025
1 parent 594d689 commit 69c5fff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mc/deps/ecs/EntityId.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
template <>
class entt::entt_traits<EntityId> : public entt::basic_entt_traits<EntityIdTraits> {
public:
static constexpr entity_type page_size = 2048;
static constexpr entity_type page_size = ENTT_SPARSE_PAGE;
};

class EntityId : public entt::entt_traits<EntityId> {
Expand Down
6 changes: 4 additions & 2 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ target("LeviLamina")
"concurrentqueue",
{public = true}
)
add_defines("LL_EXPORT")
add_defines(
"FMT_USE_FULL_CACHE_DRAGONBOX=1",
"ENTT_PACKED_PAGE=128", -- public = true
"LL_EXPORT"
"ENTT_PACKED_PAGE=128",
"ENTT_SPARSE_PAGE=2048",
{public = true}
)

if not is_windows then
Expand Down

0 comments on commit 69c5fff

Please sign in to comment.