Skip to content

Commit

Permalink
Updating ec system for each macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Nov 2, 2024
1 parent 7968f3e commit 42ed7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seika/ecs/ec_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ska_ecs_system_create_from_template_with_signature_string(TEMPLATE, #__VA_ARGS__
#define SKA_ECS_SYSTEM_REGISTER_FROM_TEMPLATE(TEMPLATE, ...) \
ska_ecs_system_register(ska_ecs_system_create_from_template_with_signature_string(TEMPLATE, #__VA_ARGS__))

#define SKA_ECS_SYSTEM_ENTITIES_FOR(SYSTEM, VALUE) SKA_ARRAY_LIST_FOR_EACH(SYSTEM->entities, SkaEntity, VALUE)
#define SKA_ECS_SYSTEM_ENTITIES_FOR(SYSTEM, VALUE) for(SkaEntity VALUE = *(SkaEntity*)((SYSTEM)->entities->data), *VALUE##_ptr = (SkaEntity*)((SYSTEM)->entities->data), *VALUE##_end = VALUE##_ptr + (SYSTEM)->entities->size; VALUE##_ptr < VALUE##_end; VALUE = *++VALUE##_ptr)

struct SkaECSSystem;

Expand Down
2 changes: 1 addition & 1 deletion seika/version_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

#define SKA_VERSION_MAJOR 0
#define SKA_VERSION_MINOR 2
#define SKA_VERSION_PATCH 1
#define SKA_VERSION_PATCH 2

#define SKA_VERSION (SKA_MACRO_TO_STRING(SKA_VERSION_MAJOR) "." SKA_MACRO_TO_STRING(SKA_VERSION_MINOR) "." SKA_MACRO_TO_STRING(SKA_VERSION_PATCH))

0 comments on commit 42ed7a3

Please sign in to comment.