|
Easys
A minimalist, header-only C++ ECS library for efficient and fuss-free entity and component management.
|

Go to the source code of this file.
Macros | |
| #define | EASYS_ENTITY_TYPE uint32_t |
| Defines the underlying data type for an Entity ID. | |
| #define | EASYS_ENTITY_LIMIT 10000 |
| Defines the maximum number of entities allowed in the ECS. | |
| #define | EASYS_LOG_ENABLED 0 |
| Master switch for all logging functionality. | |
| #define | EASYS_LOG_VERBOSITY 0 |
| Enables additional verbose logging output. | |
| #define | EASYS_LOG_LEVEL 2 |
| Sets the global logging level. | |
| #define | EASYS_LOG_TO_FILE 0 |
| Enables or disables logging to a file. | |
| #define | EASYS_LOG_FILE_PATH "easys_log.txt" |
| Defines the file path used for file-based logging. | |
| #define EASYS_ENTITY_LIMIT 10000 |
Defines the maximum number of entities allowed in the ECS.
This sets the limit for the total number of concurrent entities. It can be overridden by the user to adjust memory usage and capacity. Defaults to 10000.
| #define EASYS_ENTITY_TYPE uint32_t |
Defines the underlying data type for an Entity ID.
This can be overridden by the user to use a different integer type, for example, uint64_t for a larger entity count. Defaults to uint32_t.
| #define EASYS_LOG_ENABLED 0 |
Master switch for all logging functionality.
When set to 0, all logging code is compiled out, regardless of log level or verbosity settings.
0 (disabled). | #define EASYS_LOG_FILE_PATH "easys_log.txt" |
Defines the file path used for file-based logging.
This macro specifies the output file when EASYS_LOG_TO_FILE is enabled.
"easys_log.txt". | #define EASYS_LOG_LEVEL 2 |
Sets the global logging level.
Controls which log messages are emitted based on severity.
Valid values:
0 = NONE1 = ERROR2 = INFO3 = DEBUG4 = TRACEMessages with a severity greater than this level are discarded.
2 (INFO). | #define EASYS_LOG_TO_FILE 0 |
Enables or disables logging to a file.
When enabled, log output is written to the file specified by EASYS_LOG_FILE_PATH.
0 (disabled). | #define EASYS_LOG_VERBOSITY 0 |
Enables additional verbose logging output.
This macro can be used to enable extended or diagnostic log output beyond standard severity-based filtering.
The exact meaning of verbosity is implementation-defined.
0 (disabled).