summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02Changed server type to "enum class"Thorbjørn Lindeijer1-25/+14
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-5/+5
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2013-05-04Client-side settings are now available from settings.xmlPrzemysław Grzywacz1-45/+37
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2010-08-12Simplify working with the event systemJared Adams1-1/+1
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller1-3/+2
Reviewed-By: Jared Adams
2010-07-29Changed the items loading to handle a new 'attack-action' parameter.Yohann Ferreira1-4/+4
The old behaviour was to load the weapon-type value and do many unnecessary checks and transformation on it: The weapon-type was transformed using hard-coded values into an integer enum value. The exact same thing was done on the opposite side in the animation files before comparing the two. As both data were string values, I simplified all of it by using the value taken in items.xml to call the corresponding action. This now also permit to set up new attack animation in items.xml and in the playerset.xml without having the need to modify the client code. Last but not least, the weapon-type value was used by both the skills and the actions and avoided the possibility to set up a definite action for a weapon-type. Note: The weapon-type parameter will become deprecated for the server in favor of a 'skill' parameter to reflect more it's actual use. This patch is the first step to fix Manasource issue: #157.
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-1/+1
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira1-3/+4
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-06-03Unload loaded DBs before loading them againJared Adams1-0/+10
This greatly simplifies handling DBs when changing states. No more need to manage unloading in Client (except when exiting). Reviewed-by: Thorbjørn Lindeijer
2010-04-25Fix resource errors when chaning serversJared Adams1-0/+2
Reviewed-by: Freeyorp
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-0/+1
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-2/+1
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas1-4/+8
2009-03-27Clean up chat and chat tabs some moreJared Adams1-1/+3
2009-03-26Major clean up of ChatTab handlingJared Adams1-2/+2
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-12Fix leaks in status effectsJared Adams1-12/+16
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-2/+2
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-5/+5
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2008-12-09Defer re-adding of particles to next call to Being::logic() to avoid crashFate1-3/+3
2008-12-09Status particle effects: when looking up block IDs (effect IDs for otherFate1-0/+4
players), make sure to initialise if needed Status particle effects: properly delete particles after effect has worn off
2008-12-07Some small updates and reformattingBjørn Lindeijer1-21/+16
2008-12-07Added client-side status change handlers (text, icon, particle effect, audio).Fate1-0/+171