summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-07-14Changed chat_data::minLvl and chat_data::maxLvl to int and renamed to ↵Haru3-14/+14
min_level and max_level Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed map_session_data::change_level_2nd and ↵Haru3-27/+25
map_session_data::change_level_3rd to int Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed mmo_charstatus::base_level and mmo_charstatus::job_level to intHaru10-59/+57
Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed various functions to take a const sdHaru2-11/+11
- Affected functions: pc->nextbaseex(), pc->nextjobexp(), pc->thisbaseexp(), pc->thisjobexp(), pc->readparam() - Fixes an accidental '+=' in pc->readparam() due to copy-paste failure, detected thanks to the const enforcement (luckily it had no current ill effects, since the value was 0) Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Changed pc->maxbaselv() and pc->maxjoblv() to return signed int and take ↵Haru3-18/+19
const sd Removes some FIXME (and continues a chain reaction) Fixes some of the many -Wsign-compare warnings Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Fixed Coverity CID 150315: Integer overflowed argumentHaru2-14/+14
Fixes a possible unsigned underflow (and changes the type of some unnecessarily unsigned variables to signed, such as pc->max_level[][]) Signed-off-by: Haru <haru@dotalux.com>
2016-07-14Fixed Coverity CID 150316: Copy into fixed size bufferHaru1-7/+5
Fixes a buffer overflow Signed-off-by: Haru <haru@dotalux.com>
2016-07-13HPM Hooks UpdateHercules.ws4-19/+19
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-14Simplify clif_skillcasting and rename to clif_useskill.Andrei Karas3-5/+6
2016-07-13Add missing includes into HPM.Andrei Karas3-0/+10
2016-07-12HPM Hooks UpdateHercules.ws4-0/+201
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-12Extract some code from battle_calc_damage into battle_calc_pc_damage.Andrei Karas2-24/+36
2016-07-12Add into skill.c some handling for unknown skills/skill units.Andrei Karas4-76/+66
Also improve a bit cast end functions call.
2016-07-12HPM Hooks UpdateHaru7-0/+253
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the grfio interfaceHaru3-189/+332
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Dropped unnecessary typedefs from grfioHaru1-24/+26
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface grfio.chemagx7-30/+57
2016-07-12HPM Hooks UpdateHaru15-1/+1089
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the thread interfaceHaru3-117/+136
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from thread and spinlockHaru6-78/+91
- SPIN_LOCK -> struct spin_lock - rAthread -> struct thread_handle - rAthreadProc -> threadFunc - RATHREAD_PRIO -> enum thread_priority - RAT_PRIO_LOW -> THREADPRIO_LOW - RAT_PRIO_NORMAL -> THREADPRIO_NORMAL - RAT_PRIO_HIGH -> THREADPRIO_HIGH - RA_THREADS_MAX -> THREADS_MAX Signed-off-by: Haru <haru@dotalux.com> fixupthread
2016-07-12Corrected some compiler warnings in test_spinlockHaru1-1/+1
2016-07-12Interface thread.chemagx7-141/+176
2016-07-12HPM Hooks UpdateHaru15-0/+800
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the random interfaceHaru2-26/+76
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface random.chemagx7-48/+82
2016-07-12HPM Hooks UpdateHaru15-0/+984
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the mutex interfaceHaru2-51/+70
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from mutex.hHaru3-57/+56
- ramutex -> struct mutex_data - racond -> struct cond_data Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface mutex.chemagx5-85/+115
2016-07-12HPM Hooks UpdateHaru15-0/+310
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the md5 interfaceHaru2-69/+104
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface md5calc.chemagx7-26/+42
2016-07-12HPM Hooks UpdateHaru15-1/+212
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Various changes to the des interfaceHaru3-82/+108
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Removed unnecessary typedefs from des.hHaru3-25/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Interface des.chemagx5-11/+30
2016-07-11Merge pull request #1352 from 4144/skilldbfixHaru2-27/+35
Some skilldb fixed after conversion
2016-07-12Fix reading skill_db.confAndrei Karas2-27/+35
2016-07-10Fixed some issues with NULL dates in the login tableHaru2-7/+19
Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-10HULD generator: Show the amount of strings parsedHaru1-1/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HULD generator: added .pot file headerHaru1-2/+19
- For compliance with gettext's specifications (and compatibility with online translation management services Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HULD: Improved .po file parser to properly read concatenated stringsHaru2-57/+142
- For compliance with gettext's .po file specifications Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HPM Hooks UpdateHercules.ws4-0/+33
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-10Merge pull request #1350 from 4144/scconfHaru4-50/+17
Extend with new flag sc_config.txt
2016-07-10Fixed SC_OFFERTORIUM and SC_MAGNIFICATRidley1-5/+9
They should cancel each other, not prevent the usage (like Kyrie and Assumptio) Closes #1222 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-07-10Use different interface members for start sc effects and show started effect ↵Andrei Karas2-2/+4
to other. Added interface member clif->sc_continue for already started effects.
2016-07-10Add sc_config.txt flag for always visible effects.Andrei Karas2-48/+13
Remove hardcoded visible effects from status.c and add visible flag into sc_config.txt
2016-07-09HPM Hooks UpdateHercules.ws2-112/+112
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-09Fixed some warnings while compiling HPMHookingHaru1-14/+14
Signed-off-by: Haru <haru@dotalux.com>