SQL Re-Organization.

Signed-off-by: KeiKun <the.keikun@gmail.com>
Organized sql-tools.
Updated sql-upgrade files.
Updated warg skill check, special thanks to Rytech
Merge pull request #286 from MrKeiKun/fix/organize_sql_files

Fix/organize sql files
Removed unsafe pointer typedefs

- If a variable doesn't look like a pointer... Maybe it might be a
  pointer after all. Please, give me back my '*' sign.
- See CERT DCL05-C.

Signed-off-by: Haru <haru@dotalux.com>
Fixed reserved __identifier violations

- Complies with CERT DCL37-C
- Fixes issue #293 (special thanks to elfring)

Signed-off-by: Haru <haru@dotalux.com>
Removed some c++ compatibility definitions

- Neither our code nor 3rdparty code is, (or will compile as) C++,
  regardless of those checks.
- Special thanks to panikon.

Signed-off-by: Haru <haru@dotalux.com>
Explicitly specify 'void' when a function expects no arguments

- See CERT DCL20-C.

Signed-off-by: Haru <haru@dotalux.com>
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Mado behaviour changes
- Corrected list of skills that can be used while using mado
- Corrected list of supportive skills that can't be cast in users with mado
- Fixed *setmadogear behaviour, it would set mado to any character
Added SI_FALLENEMPIRE to SR_FALLENEMPIRE
Added SI_SILENTBREEZE to MH_SILENTBREEZE
Fixed MH_SILENTBREEZE entry in skill_db
Special thanks to Rytech
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Follow up to da190e09a33591aaabfd2c7735fd64ebb12f78e9
- Added SC_FALLENEMPIRE and updated const.txt
Special thanks to Rytech
Fixed issue with quest exp and bonuses, issue: 8247 http://hercules.ws/board/index.php?app=tracker&showissue=8247
Corrected *getexp documentation
Documented and changed pc_gainexp type
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Updated SR_FLASHCOMBO behaviour
- Added SC_FLASHCOMBO
Relocated some code related to SC_ALL_RIDING
Updated SI table and skill table according to 3CeAM, special thanks to Rytech
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Usage of __func__ for some ShowMsg - Part 1.

Signed-off-by: Shido <the.keikun@gmail.com>
Usage of __func__ for some ShowMsg - Part 2.

Signed-off-by: Shido <the.keikun@gmail.com>
Usage of __func__ for some ShowMsg - Part 3.
* Follow-up 354a5b1 and 0c40a49.

Signed-off-by: Shido <the.keikun@gmail.com>