summaryrefslogtreecommitdiff
path: root/src/scripting/script.hpp
AgeCommit message (Collapse)AuthorFilesLines
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-170/+0
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-08-22Pass a script name to Lua for proper reporting of error locationsThorbjørn Lindeijer1-1/+4
Now the Lua file name shows up in the error message and stack traceback, or the map file and object name in case of a script embedded in a map file.
2010-08-22Rename some stuff to conform to naming conventionsThorbjørn Lindeijer1-6/+6
2010-07-09Added LUA script bindings for manipulating the specials available to a ↵Philipp Sehmisch1-1/+4
character. Added script call for getting the cost of a special (recharge only for now) Deleting specials works server-sided but the client isn't informed about it properly. Specials without recharge cost don't appear for the player. Both of these features require an additional netcode message. Reviewed-by: Freeyorp
2010-04-11Implemented handler for on_chr_death and put the loading of the global ↵Philipp Sehmisch1-2/+3
script into a method of class LuaScript Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
2010-04-11Implemented global event function call to on_chr_deathPhilipp Sehmisch1-0/+5
Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
2010-04-11Added global lua event script (only on_being_death_accept for now)Philipp Sehmisch1-0/+2
Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
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-12-06Removed "TMW" and "TMWSERV" from header guardsThorbjørn Lindeijer1-2/+2
2009-04-26Standardize on the position of the const keywordBjørn Lindeijer1-7/+8
Same as for the client.
2009-01-31Added on_remove callback to lua APIPhilipp Sehmisch1-5/+8
2009-01-17Made script error reports more informative and readablePhilipp Sehmisch1-1/+4
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-07-07Implemented death listener for scripting engine.Philipp Sehmisch1-1/+22
2008-05-19Implemented NPC names. Implemented the theoretical possibility to have named ↵Philipp Sehmisch1-1/+6
monsters along the way. Note that the syntax of the LUA functions for creating NPCs has changed.
2007-08-20Defined two helper functions to abstract away money being available underBjørn Lindeijer1-1/+7
inventory index 0.
2007-08-15Added helper functions for loading files and NPCs as scripts. Put Lua ↵Guillaume Melquiond1-2/+14
helpers into a separate library automatically loaded into new contexts.
2007-08-14Made it possible to load scripts from strings instead of files.Guillaume Melquiond1-3/+9
2007-08-09Moved creation of testing NPC from C++ to Lua.Guillaume Melquiond1-0/+18
2007-08-09Converted NPC class to scripting engine.Guillaume Melquiond1-6/+6
2007-08-09Added new scripting interface and Lua engine.Guillaume Melquiond1-0/+84