-removed system components sorting due to fact that it's make an issue

-workaround for DMD phobos issues
This commit is contained in:
Mergul 2018-10-02 15:36:00 +02:00
parent 2004909642
commit fddfc78ec1
4 changed files with 44 additions and 42 deletions

View file

@ -131,7 +131,7 @@ int main()
TestComp[] test;
TestComp2[] test2;
@optional TestComp3[] test3;
//@absen TestComp4[] test4;
//@absent TestComp4[] test4;
}
void update(ref Entity entity, ref TestComp test, ref TestComp2 test2)//, TestComp3* test3) //ref TestComp comp)
@ -194,22 +194,22 @@ import std.meta;
{
__gshared ushort system_id;
enum AbsenComponents0
enum AbsentComponents0
{
TestComp,
TestComp4
}
alias AbsenComponents = AliasSeq!("TestComp", "TestComp4");
alias AbsentComponents = AliasSeq!("TestComp", "TestComp4");
string AbsenComponents2;
string AbsentComponents2;
static struct EntitiesData
{
short length;
Entity[] entity;
TestComp3[] test;
//@absen TestComp[] testt;
//@absent TestComp[] testt;
}
void onEnable()