summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29Changed the items loading to handle a new 'attack-action' parameter.Yohann Ferreira1-2/+2
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-06-03Unload loaded DBs before loading them againJared Adams1-0/+1
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-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-1/+0
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-1/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-03-12Fix leaks in status effectsJared Adams1-1/+3
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-09Status particle effects: when looking up block IDs (effect IDs for otherFate1-0/+7
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-11/+11
2008-12-07Added client-side status change handlers (text, icon, particle effect, audio).Fate1-0/+101