Make sure that AllTypeInfos list in GameImpl.cpp is complete
As described at http://www.cafu.de/forum/viewtopic.php?f=8&t=1046&start=30, right now it's all too easy to add a new entity and to accidentally not add it to the
AllTypeInfos list in http://trac.cafu.de/browser/cafu/trunk/Games/DeathMatch/Code/GameImpl.cpp#L96
The situation could be improved either
- by generating the
AllTypeInfos list automatically in the build script (where it however might be difficult to figure out the list of entities that should be added to the list), or
- by brute-force testing all entities defined in
EntityClassDefs.lua if they have a proper C++ class in the type manager (this test would be done only in debug builds), and if they haven't, fail loudly and explain the issue.