Codechange: make EngineID an enum

This commit is contained in:
Rubidium
2025-01-19 14:58:40 +01:00
committed by rubidium42
parent ab8177ea77
commit 9015c3651f
9 changed files with 29 additions and 25 deletions

View File

@@ -32,7 +32,7 @@ enum class EngineDisplayFlag : uint8_t {
using EngineDisplayFlags = EnumBitSet<EngineDisplayFlag, uint8_t>;
typedef Pool<Engine, EngineID, 64, 64000> EnginePool;
typedef Pool<Engine, EngineID, 64, ENGINE_END> EnginePool;
extern EnginePool _engine_pool;
struct Engine : EnginePool::PoolItem<&_engine_pool> {