Added as rev 1091. You might want to check your editor's settings, use tabs for indentation (start of line) and spaces for vertical alignment (middle of line), so that I don't have to sanitize everything
Even more refactoring!
I quite didn't like the eEntityType_XXX enum values and how they were being neglected, so I rewrote that piece of code, it's now "etPickup" instead of "eEntityType_Pickup" etc.; all entities must present their type at creation (as a constructor param) and we have utility functions in cEntity: IsPlayer(), IsPickup(), IsMob().
Alright, enough damage for one day, now I'm gonna enjoy the rest of the evening that shouldn't have been (if the mayan-calendar-freaks were right about the end of the world today - in what timezone?). Goodnight everyone.

Even more refactoring!

I quite didn't like the eEntityType_XXX enum values and how they were being neglected, so I rewrote that piece of code, it's now "etPickup" instead of "eEntityType_Pickup" etc.; all entities must present their type at creation (as a constructor param) and we have utility functions in cEntity: IsPlayer(), IsPickup(), IsMob().
Alright, enough damage for one day, now I'm gonna enjoy the rest of the evening that shouldn't have been (if the mayan-calendar-freaks were right about the end of the world today - in what timezone?). Goodnight everyone.