summaryrefslogtreecommitdiff
path: root/src/game-server/triggerareacomponent.h
AgeCommit message (Collapse)AuthorFilesLines
2013-05-10Partial rewrite and improvements of Warp objectPrzemysław Grzywacz1-0/+33
2013-04-12Moved Actor into an ComponentErik Schilling1-5/+5
This was the final step to remove the hierachy with Entity on the top.
2013-04-02Fixed multiple warnings and errors that blocked c++0xErik Schilling1-3/+3
This allows the server to compile with c++0x (and enables it). This also includes some coding style / readabillity fixes.
2013-03-25Changed Effect to a component of ActorThorbjørn Lindeijer1-1/+1
Reviewed-by: Yohann Ferreira
2013-03-25Changed Item to a component of ActorThorbjørn Lindeijer1-1/+1
Items also have positions, so the ItemComponent only makes sense as part of an Actor. Later on it will probably be part of an entity that also has an ActorComponent. Since it was annoying to update all the places where items were created, I've introduced a function for this. The component types are now prefixed with "CT_" because I wanted to introduce an 'Item' namespace which would otherwise be conflicting. The component types enum isn't used much in the code so it can look a bit ugly. Reviewed-by: Yohann Ferreira
2013-03-25Changed SpawnArea and TriggerArea to components of EntityThorbjørn Lindeijer1-0/+91
Well, first visible change is that everything just gets longer to read. Reviewed-by: Yohann Ferreira