summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-01-16Add EQP_ = Equipment Position constantsAnnieRuru1-0/+23
2016-01-15Merge pull request #1086 from Jedzkie/GC_CLOAKINGEXCEEDDastgir1-2/+2
Fixes speed given by cloaking exceed
2016-01-13HPM Hooks UpdateHercules.ws1-12/+12
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-13Added support to mark constants in db/constants.conf as deprecatedHaru5-97/+112
Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Converted const.txt to libconfig formatHaru2-23/+51
- This is necessary for upcoming improvements Signed-off-by: Haru <haru@dotalux.com>
2016-01-12Whitespace cleanup (removed alignment tabs or trailing whitespace at line end)Haru12-90/+95
Signed-off-by: Haru <haru@dotalux.com>
2016-01-12Replaced 22-bit mask entry with a regular uint32 in the noviewid mapflag ↵Haru4-4/+5
implementation As per ultramage's suggestion in #926 Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Fixed an accidental MAX_CART_DECORATION leftoverHaru1-4/+4
Follow-up to a0f25125a6239894a86d51ae8dcf6a06a4d0a380 Signed-off-by: Haru <haru@dotalux.com>
2016-01-10HPM Hooks UpdateHercules.ws3-0/+63
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-10Fixed a compiler warning (statement with no effect)Haru1-6/+7
Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Move declaration of login config struct to login interfacehemagx3-107/+108
Closes #1030 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Added the unused attribute to BL_UCAST / BL_UCCASTHaru1-0/+2
- Fixes a warning when including map.h and not using those functions, depending on the compiler verbosity Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Sanitized various macrosHaru11-31/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Corrected various zero-argument function definitionsHaru11-20/+21
- Functions should always specify their arguments, even if they take none. In C, not specifying arguments is different than specifying (void). Signed-off-by: Haru <haru@dotalux.com>
2016-01-09HPM Hooks UpdateHercules.ws3-0/+62
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-09Added support for MC_CARTDECORATE skill.Jedzkie5-6/+71
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Fixes #907Jedzkie1-2/+2
- Cloaking Exceed speed must 140%, not 200+%.
2016-01-08Fixed a mapserver crash (too small allocation)Haru1-1/+1
- Follow-up to e3eac134b1607cfe78331e298aaa20b260662571 - Fixes #1074 Signed-off-by: Haru <haru@dotalux.com>
2016-01-08Cleaned up the pilebunker item checkHaru2-6/+5
- Follow-up to e3da170660e8c52ec5657c086057085ef20e382f - Removed redundant checks for sd->equip_index[EQI_HAND_R] validity - Added itemid_is_pilebunker macro - Restored correct indentation of the return instruction Signed-off-by: Haru <haru@dotalux.com>
2016-01-07Skill Update:Jedzkie2-3/+10
- According to this kRO's Patch Note: https://rathena.org/board/topic/101392-4082015-maintenance/ • Mechanic's Pile Bunker added 3 new weapons.
2016-01-06Fix null pointer access after previous commits.Andrei Karas1-4/+8
2016-01-06HPM Hooks UpdateHercules.ws3-86/+214
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-06Replaced the remaining explicit casts with BL_CAST/BL_UCASTHaru19-251/+276
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCASTHaru12-641/+843
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Moved status_get_homXXX macros to status.cHaru2-22/+37
- The macros were very specific to a small set of functions, they don't belong to status.h. - The macros have been edited to take two parameters instead of relying on external variables. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some map->id2sd calls with the proper map->id2XX functionHaru11-213/+360
- Also added new map->id2XX convenience functions for the other bl types. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru15-274/+475
- Replaced casts in foreach callbacks. - Added assertions and nullpo checks where applicable. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru13-92/+79
- Replaced the map-iterator related casts. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Added const variants of BL_CAST/BL_UCAST: BL_CCAST/BL_UCCASTHaru1-0/+42
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Introduced the BL_UCAST() macro as an alternative to explicit castsHaru1-1/+40
- The benefit of using BL_UCAST() instead of an explicit cast is that it produces a compiler error if the argument is not a block_list. - The benefit of using BL_UCAST() instead of BL_CAST() is that the block_list argument is guaranteed to be evaluated only once. As such it can be used in places where the argument is a function. - No block_list type checking is done. As such, if a different block_list type is passed, behavior is undefined. The user should do the checking beforehand. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_NPC to struct npc_data as per style guidelineshemagx8-106/+110
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_ELEM to struct elemental_data as per style guidelineshemagx5-30/+30
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PET to struct pet_data as per style guidelineshemagx9-49/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_SKILL to struct skill_data as per style guidelineshemagx5-18/+18
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MER to struct mercenary_data as per style guidelineshemagx9-53/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_HOM to struct homun_data as per style guidelineshemagx10-56/+57
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MOB to struct mob_data as per strly guidelineshemagx13-169/+176
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PC to struct map_session_data as per style guidelineshemagx26-915/+863
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Revert the changes in scope. thanks @dastgir.Jedzkie1-1/+2
2016-01-06Fixed #1071Jedzkie2-9/+12
Change the official message for NC_MAGICDECOY.
2016-01-05Add *swap script commandAnnieRuru1-0/+71
- extremely useful when writing algorithm functions Closes #1012 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Fixed an unused variable warningHaru1-2/+0
Follow-up to 5020a123570a7b263f6b742df5891a36434473a0 Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Change the leftover ItemID's in skills.Jedzkie2-2/+3
Closes #1067 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Fix battle config Hp/Sp overflow valueAnnieRuru1-3/+3
- client can't handle value over 21474836 - SQL also can't save value over 16777215 due to mediumint unsigned Closes #965 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Added Support for BodyStyleDastgir12-53/+166
Closes #974 as merged
2016-01-05Merge pull request #1053 from Jedzkie/Transformation_Scrolls_UpdateDastgir3-7/+5
Monster Transform Update:
2016-01-05Merge pull request #1047 from Kerubael/masterFrost1-1/+1
Spear Stab damage adjustment
2016-01-05Corrected the MTF_MATK, it should only give Fix MATK instead of MATK RateJedzkie1-1/+1
2016-01-05Enable the Status Icons for Transformation Candies.Jedzkie1-4/+4
2016-01-05Removal of Hard coded showscript command for Monster Transform.Jedzkie1-2/+0