summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-13Merge pull request #1360 from 4144/skillcastingHaru3-5/+6
Simplify clif_skillcasting.
2016-07-14Simplify clif_skillcasting and rename to clif_useskill.Andrei Karas3-5/+6
2016-07-13Merge pull request #1359 from 4144/travisHaru4-2/+19
Add into travis check for hpm.
2016-07-13Add missing includes into HPM.Andrei Karas3-0/+10
2016-07-13Add into travis check for hpm.Andrei Karas1-2/+9
2016-07-12HPM Hooks UpdateHercules.ws4-0/+201
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-12Merge pull request #1354 from 4144/hooksHaru5-100/+102
Add into skill.c some handling for unknown skills/skill units.
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-12Merge pull request #1290 from HerculesWS/common_interfacingAndrei Karas56-942/+5141
Common interfacing
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.chemagx21-75/+155
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 spinlockHaru7-78/+93
- 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-12Changed the HPMHookGen script to correctly handle macros associated with an ↵Haru1-0/+1
interface 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.chemagx13-26/+66
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-12Merge pull request #1357 from 4144/travisfixHaru2-1/+58
Add omit frame pointer flag if sanity flags enabled.
2016-07-12Merge pull request #1358 from alige/patchIbrahem Hossam1-3/+3
Reworded some lines in messages.conf - chrif related.
2016-07-12Add omit frame pointer flag if debug flag enabled.Andrei Karas2-1/+58
2016-07-12Reworded some lines in messages.conf - chrif related.Alige1-3/+3
2016-07-11ItemDB SQL SyncHercules.ws1-0/+13
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-11Merge pull request #1352 from 4144/skilldbfixHaru6-2643/+11540
Some skilldb fixed after conversion
2016-07-12Fix reading skill_db.confAndrei Karas2-27/+35
2016-07-12Fix converted skilldbAndrei Karas2-2536/+11159
2016-07-12Add missing items into item_db.confAndrei Karas2-14/+224
2016-07-12Fix skilldb converterAndrei Karas1-66/+122
2016-07-10Fixed some issues with NULL dates in the login tableHaru2-7/+19
Signed-off-by: Haru <haru@dotalux.com>