Skip to content

Commit

Permalink
Update Flecs
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeodrippe committed Nov 9, 2024
1 parent 4f625c8 commit 99c8188
Show file tree
Hide file tree
Showing 34 changed files with 6,571 additions and 5,256 deletions.
2 changes: 1 addition & 1 deletion flecs
Submodule flecs updated 112 files
2 changes: 1 addition & 1 deletion resources/com/pfeodrippe/vybe/blender/glb_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def VY__export_models(file):

# https://docs.blender.org/api/current/bpy.ops.export_scene.html#bpy.ops.export_scene.gltf
bpy.ops.export_scene.gltf(
filepath=bpy.path.abspath("/Users/pfeodrippe/dev/games/resources/models.glb"),
filepath=bpy.path.abspath("/Users/pfeodrippe/dev/vybe-games/resources/models.glb"),
export_format='GLB',
use_active_collection=False,
export_apply=True,
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/EcsPipelineStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class EcsPipelineStats {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
EcsStatsHeader.layout().withName("hdr"),
ecs_map_t.layout().withName("stats")
).withName("$anon$12852:9");
).withName("$anon$12882:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/EcsRest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class EcsRest {
MemoryLayout.paddingLayout(6),
flecs.C_POINTER.withName("ipaddr"),
flecs.C_POINTER.withName("impl")
).withName("$anon$11453:9");
).withName("$anon$11483:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/EcsStatsHeader.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class EcsStatsHeader {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
flecs.C_FLOAT.withName("elapsed"),
flecs.C_INT.withName("reduce_count")
).withName("$anon$12834:9");
).withName("$anon$12864:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/EcsSystemStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class EcsSystemStats {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
EcsStatsHeader.layout().withName("hdr"),
ecs_map_t.layout().withName("stats")
).withName("$anon$12846:9");
).withName("$anon$12876:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/EcsWorldStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class EcsWorldStats {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
EcsStatsHeader.layout().withName("hdr"),
ecs_world_stats_t.layout().withName("stats")
).withName("$anon$12840:9");
).withName("$anon$12870:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/EcsWorldSummary.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class EcsWorldSummary {
flecs.C_LONG_LONG.withName("frame_count"),
flecs.C_LONG_LONG.withName("command_count"),
ecs_build_info_t.layout().withName("build_info")
).withName("$anon$12858:9");
).withName("$anon$12888:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/__mbstate_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class __mbstate_t {
private static final GroupLayout $LAYOUT = MemoryLayout.unionLayout(
MemoryLayout.sequenceLayout(128, flecs.C_CHAR).withName("__mbstate8"),
flecs.C_LONG_LONG.withName("_mbstateL")
).withName("$anon$54:9");
).withName("$anon$67:9");

/**
* The layout of this union
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_hashmap_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ecs_hashmap_t {
flecs.C_POINTER.withName("hashmap_allocator"),
ecs_block_allocator_t.layout().withName("bucket_allocator"),
ecs_map_t.layout().withName("impl")
).withName("$anon$3993:9");
).withName("$anon$3998:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_hm_bucket_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ecs_hm_bucket_t {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
ecs_vec_t.layout().withName("keys"),
ecs_vec_t.layout().withName("values")
).withName("$anon$3988:9");
).withName("$anon$3993:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_http_connection_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ecs_http_connection_t {
flecs.C_POINTER.withName("server"),
MemoryLayout.sequenceLayout(128, flecs.C_CHAR).withName("host"),
MemoryLayout.sequenceLayout(16, flecs.C_CHAR).withName("port")
).withName("$anon$11206:9");
).withName("$anon$11236:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_http_key_value_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ecs_http_key_value_t {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
flecs.C_POINTER.withName("key"),
flecs.C_POINTER.withName("value")
).withName("$anon$11215:9");
).withName("$anon$11245:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_http_reply_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ecs_http_reply_t {
flecs.C_POINTER.withName("status"),
flecs.C_POINTER.withName("content_type"),
ecs_strbuf_t.layout().withName("headers")
).withName("$anon$11246:9");
).withName("$anon$11276:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_http_request_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class ecs_http_request_t {
flecs.C_INT.withName("header_count"),
flecs.C_INT.withName("param_count"),
flecs.C_POINTER.withName("conn")
).withName("$anon$11231:9");
).withName("$anon$11261:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_http_server_desc_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ecs_http_server_desc_t {
MemoryLayout.paddingLayout(4),
flecs.C_DOUBLE.withName("cache_timeout"),
flecs.C_DOUBLE.withName("cache_purge_timeout")
).withName("$anon$11278:9");
).withName("$anon$11308:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_iter_private_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static class iter {
ecs_page_iter_t.layout().withName("page"),
ecs_worker_iter_t.layout().withName("worker"),
ecs_each_iter_t.layout().withName("each")
).withName("$anon$3723:5");
).withName("$anon$3728:5");

/**
* The layout of this union
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_type_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ecs_type_t {
flecs.C_POINTER.withName("array"),
flecs.C_INT.withName("count"),
MemoryLayout.paddingLayout(4)
).withName("$anon$3015:9");
).withName("$anon$3020:9");

/**
* The layout of this struct
Expand Down
2 changes: 1 addition & 1 deletion src-java/org/vybe/flecs/ecs_world_info_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ public static class cmd {
flecs.C_LONG_LONG.withName("other_count"),
flecs.C_LONG_LONG.withName("batched_entity_count"),
flecs.C_LONG_LONG.withName("batched_command_count")
).withName("$anon$4599:5");
).withName("$anon$4604:5");

/**
* The layout of this struct
Expand Down
18 changes: 9 additions & 9 deletions src-java/org/vybe/flecs/ecs_world_stats_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static class entities {
private static final GroupLayout $LAYOUT = MemoryLayout.structLayout(
ecs_metric_t.layout().withName("count"),
ecs_metric_t.layout().withName("not_alive_count")
).withName("$anon$12474:5");
).withName("$anon$12504:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -413,7 +413,7 @@ public static class components {
ecs_metric_t.layout().withName("type_count"),
ecs_metric_t.layout().withName("create_count"),
ecs_metric_t.layout().withName("delete_count")
).withName("$anon$12480:5");
).withName("$anon$12510:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -824,7 +824,7 @@ public static class tables {
ecs_metric_t.layout().withName("empty_count"),
ecs_metric_t.layout().withName("create_count"),
ecs_metric_t.layout().withName("delete_count")
).withName("$anon$12490:5");
).withName("$anon$12520:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -1137,7 +1137,7 @@ public static class queries {
ecs_metric_t.layout().withName("query_count"),
ecs_metric_t.layout().withName("observer_count"),
ecs_metric_t.layout().withName("system_count")
).withName("$anon$12498:5");
).withName("$anon$12528:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -1418,7 +1418,7 @@ public static class commands {
ecs_metric_t.layout().withName("discard_count"),
ecs_metric_t.layout().withName("batched_entity_count"),
ecs_metric_t.layout().withName("batched_count")
).withName("$anon$12505:5");
).withName("$anon$12535:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -2075,7 +2075,7 @@ public static class frame {
ecs_metric_t.layout().withName("systems_ran"),
ecs_metric_t.layout().withName("observers_ran"),
ecs_metric_t.layout().withName("event_emit_count")
).withName("$anon$12520:5");
).withName("$anon$12550:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -2544,7 +2544,7 @@ public static class performance {
ecs_metric_t.layout().withName("rematch_time"),
ecs_metric_t.layout().withName("fps"),
ecs_metric_t.layout().withName("delta_time")
).withName("$anon$12531:5");
).withName("$anon$12561:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -3111,7 +3111,7 @@ public static class memory {
ecs_metric_t.layout().withName("stack_alloc_count"),
ecs_metric_t.layout().withName("stack_free_count"),
ecs_metric_t.layout().withName("stack_outstanding_alloc_count")
).withName("$anon$12543:5");
).withName("$anon$12573:5");

/**
* The layout of this struct
Expand Down Expand Up @@ -3724,7 +3724,7 @@ public static class http {
ecs_metric_t.layout().withName("send_ok_count"),
ecs_metric_t.layout().withName("send_error_count"),
ecs_metric_t.layout().withName("busy_count")
).withName("$anon$12560:5");
).withName("$anon$12590:5");

/**
* The layout of this struct
Expand Down
Loading

0 comments on commit 99c8188

Please sign in to comment.