summaryrefslogtreecommitdiff
path: root/src/game-server/trigger.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-07-11Made sure the map is set for trigger scriptsErik Schilling1-0/+1
Also unsetted maps after execution of scripts to make finding this mistakes easier. Reviewed-by: bjorn.
2012-03-03Removed the last direct call to global script functionThorbjørn Lindeijer1-4/+13
The ScriptAction of the TriggerArea (which can be created by mana.trigger_create) was still using a named global function for its callback. Now it also uses a reference to a script function. Since it was the last occurrence of a call to a global script function, I've also removed the Script::prepare(std::string) overload. Reviewed-by: Erik Schilling Mantis-issue: 299
2011-08-26Added a bit more precision on the conditions used in the ↵Yohann Ferreira1-2/+3
TriggerArea::update() function.
2011-08-26Fixed the trigger area declared within map files.Yohann Ferreira1-1/+5
The bug was pretty generic, as the contains() method of the Rectangle class wasn't checking against left and top sides according to the client view point. Resolves: Mana-Mantis #317.
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-5/+5
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2010-01-08Added tracing of kill count for each monster per characterPhilipp Sehmisch1-0/+3
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-7/+6
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-04-26Merged MovingObject into the Being classBjørn Lindeijer1-8/+9
Also renamed Object to Actor, to make it sound a little less generic. Cleans up a bit the rather big hierarchy of different object types we have.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-05-07Implemented script bindings for making beings talk and sending private chat ↵Philipp Sehmisch1-2/+9
messages from scripts to clients. Implemented trigger areas which are only triggered once when a being steps into them instead of every tick.
2008-05-06Implemented script trigger areas which call a script function when an object ↵Philipp Sehmisch1-0/+13
steps into them.
2007-09-23Changed delayed events to an explicit interface.Guillaume Melquiond1-3/+2
2007-07-07Singleton managers do not need stateful classes. Changed them to namespace ↵Guillaume Melquiond1-1/+1
interfaces.
2007-07-07Simplified code by using map pointers only, instead of using both map IDs ↵Guillaume Melquiond1-10/+2
and map pointers.
2007-03-30Separated the Thing and MovingObject classes from the Object module.Bjørn Lindeijer1-1/+3
2007-03-14Modified the game-server to use AbstractCharacterData, some renamingRogier Polak1-1/+1
2007-01-03Split persistent player data from game server data. Enabled inventory code back.Guillaume Melquiond1-1/+1
2007-01-02Removed obsolete files. Added a generic trigger system.Guillaume Melquiond1-0/+55