Fixed char.c compilation error in MSVC <= 2012

Signed-off-by: TungSinpei <TungSinpei@hotmail.com>
Merge pull request #395 from QQfoolsorellina/master

Fixed char.c compilation error in MSVC <= 2012
Add function for parse/report unknown map flag.
Add function for parse or report about unknown object in parsing script file.
update HPM hooks.
Fix npc->parse_unknown_object usage.