You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We eventually want to support 'execution metadata' which is data that is available at execution time. An example of this is system 'delta time'. Currently the way to support delta time has been hacky and the intention is to support this kind of data directly.
Here's a idea. We allow exactly one metadata block to be declared per file (and maybe limit it to the top of the file after imports.) We may have to limit it to the main package only or have some kind of merging rules when packages import other packages, but time will tell.
metadata {
f32 delta_time;
}
ecsact_runtime changes
void ecsact_execute_systems
( ecsact_registry_id
, constvoid* execution_metadata // NEW PARAMETER
);
// NEW FUNCTIONconstvoid* ecsact_system_execution_context_get_execution_metadata
( ecsact_system_execution_context*
);
We eventually want to support 'execution metadata' which is data that is available at execution time. An example of this is system 'delta time'. Currently the way to support delta time has been hacky and the intention is to support this kind of data directly.
Here's a idea. We allow exactly one
metadata
block to be declared per file (and maybe limit it to the top of the file after imports.) We may have to limit it to themain
package only or have some kind of merging rules when packages import other packages, but time will tell.ecsact_runtime changes
c++ wrapper
The text was updated successfully, but these errors were encountered: