summaryrefslogtreecommitdiffstats
path: root/src/scripting/script.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Renamed .hpp files into .h for consistency.Yohann Ferreira2010-11-141-170/+0
| | | | | | Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
* Pass a script name to Lua for proper reporting of error locationsThorbjørn Lindeijer2010-08-221-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.
* Rename some stuff to conform to naming conventionsThorbjørn Lindeijer2010-08-221-6/+6
|
* Added LUA script bindings for manipulating the specials available to a ↵Philipp Sehmisch2010-07-091-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
* Implemented handler for on_chr_death and put the loading of the global ↵Philipp Sehmisch2010-04-111-2/+3
| | | | | | script into a method of class LuaScript Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
* Implemented global event function call to on_chr_deathPhilipp Sehmisch2010-04-111-0/+5
| | | | Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
* Added global lua event script (only on_being_death_accept for now)Philipp Sehmisch2010-04-111-0/+2
| | | | Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
* Update Copyright date for Manaserv.Bertram2010-02-071-1/+1
|
* Fixed name of the project in copyright headersThorbjørn Lindeijer2009-12-061-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.
* Removed "TMW" and "TMWSERV" from header guardsThorbjørn Lindeijer2009-12-061-2/+2
|
* Standardize on the position of the const keywordBjørn Lindeijer2009-04-261-7/+8
| | | | Same as for the client.
* Added on_remove callback to lua APIPhilipp Sehmisch2009-01-311-5/+8
|
* Made script error reports more informative and readablePhilipp Sehmisch2009-01-171-1/+4
|
* Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer2008-11-161-2/+0
|
* Implemented death listener for scripting engine.Philipp Sehmisch2008-07-071-1/+22
|
* Implemented NPC names. Implemented the theoretical possibility to have named ↵Philipp Sehmisch2008-05-191-1/+6
| | | | monsters along the way. Note that the syntax of the LUA functions for creating NPCs has changed.
* Defined two helper functions to abstract away money being available underBjørn Lindeijer2007-08-201-1/+7
| | | | | inventory index 0.
* Added helper functions for loading files and NPCs as scripts. Put Lua ↵Guillaume Melquiond2007-08-151-2/+14
| | | | helpers into a separate library automatically loaded into new contexts.
* Made it possible to load scripts from strings instead of files.Guillaume Melquiond2007-08-141-3/+9
|
* Moved creation of testing NPC from C++ to Lua.Guillaume Melquiond2007-08-091-0/+18
|
* Converted NPC class to scripting engine.Guillaume Melquiond2007-08-091-6/+6
|
* Added new scripting interface and Lua engine.Guillaume Melquiond2007-08-091-0/+84