summaryrefslogtreecommitdiff
path: root/src/game-server/gamehandler.h
AgeCommit message (Collapse)AuthorFilesLines
2013-02-01Added emote support.Yohann Ferreira1-0/+2
2012-04-04Enhanced special supportErik Schilling1-1/+2
- Made the current charge being saved. - Added script binds: - chr_set_special_recharge_speed - chr_get_special_recharge_speed - chr_set_special_mana - chr_get_special_mana - get_special_info - Added special info lua class. Functions: - name - needed_mana - rechargeable - on_use - on_recharged - category Further the engine no longer sets charge to 0 after using of specials this allows more flexbilillity (like failing specials). Changes on the xml database: - recharge renamed to rechargeable (needed by client and server) - needed - the needed mana to trigger a special (server only) - rechargespeed - the defailt recharge speed in mana per tick (server only) - target - the type of target (either being or point) (server and client) I also made the lua engine pushing nil instead of a 0 light userdata when the pointer was 0. Database update needed. Change is tested. Mana-Mantis: #167, #156 Reviewed-by: bjorn.
2012-03-14Added get_character_by_name lua bindErik Schilling1-3/+3
Step to be able to handle chatcommands by scripts. Reviewed-by: bjorn.
2011-05-30Routing party invite through the map serverStefan Dombrowski1-0/+2
The player sends party invites to the game server. If the invitee is within the visual range of the inviter, the game server forwards the invite to the chat server. Reviewed-by: Bjorn, Jaxad0127
2011-04-02Split GameHandler::processMessage up into multiple functionsThorbjørn Lindeijer1-19/+28
One huge function that handles all the messages isn't very readable and causes everything to be indented by several levels. Hence we generally split this up. It also exposed a missing 'break;' when handling the PGMSG_USE_SPECIAL message, which would continue into the handling of PGMSG_ACTION_CHANGE. Reviewed-by: Stefan Dombrowski
2011-03-12Removed a bunch of silly documentationThorbjørn Lindeijer1-3/+0
A C++ developer should be able to recognize a constructor and a destructor by just looking at it, so let's stop writing down the obvious. :)
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-0/+157
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.