@@ -34,20 +34,20 @@ void StageReader::ReadParts(std::istream &f, Entity *e)
}
else
{
#BANG_PREPROCESSOR_USERBEHAVIOURS_ELSEIFS
BANG_PREPROCESSOR_USERBEHAVIOURS_ELSEIFS();

/*
BANG_PREPROCESSOR
Here the BangPreprocessor with the macro BANG_PREPROCESSOR_USERBEHAVIOURS_ELSEIFS
will write something like this:
if(line == "<UserBehaviour1>")
{
*p = new UserBehaviour1();
p = new UserBehaviour1();
ReadNextLine(f);
}
else if(line == "<UserBehaviour2>")
{
*p = new UserBehaviour2();
p = new UserBehaviour2();
ReadNextLine(f);
}
...