diff --git a/source/tharsis/entity/entitymanager.d b/source/tharsis/entity/entitymanager.d index a74feab..232325d 100644 --- a/source/tharsis/entity/entitymanager.d +++ b/source/tharsis/entity/entitymanager.d @@ -103,7 +103,7 @@ package: // Set by EntityManager to signify that the thread should stop. Stopping, // The thread is stopped, or never ran in the first place. - Stopped, + Stopped } private: @@ -618,7 +618,7 @@ package: { return manager.rawHandle(descriptor); } - assert(false, "No resource manager for type " ~ to!string(type)); + assert(false, "No resource manager for type " ~ std.conv.to!string(type)); } private: diff --git a/source/tharsis/entity/processwrapper.d b/source/tharsis/entity/processwrapper.d index 3aa50f2..ef417e9 100644 --- a/source/tharsis/entity/processwrapper.d +++ b/source/tharsis/entity/processwrapper.d @@ -10,6 +10,8 @@ module tharsis.entity.processwrapper; import std.algorithm; import tharsis.entity.entitymanager; +import tharsis.prof; + package: @@ -146,7 +148,7 @@ public: } -import std.algorithm: join; +import std.array: join; import std.string: format; import std.traits; diff --git a/source/tharsis/entity/prototypemanager.d b/source/tharsis/entity/prototypemanager.d index f899d24..bfa3bda 100644 --- a/source/tharsis/entity/prototypemanager.d +++ b/source/tharsis/entity/prototypemanager.d @@ -17,6 +17,7 @@ import tharsis.entity.resource; import tharsis.entity.resourcemanager; import tharsis.util.interfaces; import tharsis.util.qualifierhacks; +import tharsis.util.pagedarray; // TODO: Add a method to specify resources to preload at start instead of always loading diff --git a/source/tharsis/std/random.d b/source/tharsis/std/random.d index f2c4e52..d9c9135 100644 --- a/source/tharsis/std/random.d +++ b/source/tharsis/std/random.d @@ -11,6 +11,7 @@ public import std.random; import std.range; +import std.algorithm.sorting; /** Covers a given range $(D r) in a random manner, i.e. goes through each