summaryrefslogtreecommitdiff
path: root/src/game-server/spawnareacomponent.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-08-26Allowed to push attributeinfos for the attribute recalculationErik Schilling1-1/+2
While on it I replaced the id usage in the server with the usage of the AttributeInfo directly. Next steps: - Dehardcode the core attribute ids and store their attributeinfos somewhere in AttributeManager (for now i simply wrapped the ids with getAttributeInfo(). - Move AttributeInfo out of AttributeManager to shorten the usage + to allow using a pointer in ModifierLocation without forward declaring it.
2013-05-02Fixed a bunch of cppcheck warningsErik Schilling1-1/+1
2013-04-12Removed static member definitions that are no longer neededThorbjørn Lindeijer1-2/+0
The requirement for having these definitions was relaxed in the C++11 standard. In short, they are not needed anymore for static const integral types. Details: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#454
2013-04-12Moved Actor into an ComponentErik Schilling1-3/+5
This was the final step to remove the hierachy with Entity on the top.
2013-04-11Converted Being into a ComponentErik Schilling1-3/+5
I did not really care too much about staying consistent with the use of static_casts to Actors since they are only temporary anyway until Actor is a component too.
2013-04-03Moved the Monster class to a ComponentErik Schilling1-1/+2
Things done: - Allowed to create new Attributes outside of the protected scope of Being - Moved Monster to MonsterComponent - Some minor cleanup in the Attribute setting code of monsters
2013-03-25Changed SpawnArea and TriggerArea to components of EntityThorbjørn Lindeijer1-0/+121
Well, first visible change is that everything just gets longer to read. Reviewed-by: Yohann Ferreira