summaryrefslogtreecommitdiff
path: root/src/char/mapif.h
AgeCommit message (Collapse)AuthorFilesLines
2016-02-24Added const qualifier to several variable/argument pointersHaru1-25/+25
- This is necessary for compatibility with a const RFIFOP. Signed-off-by: Haru <haru@dotalux.com>
2016-02-24Updated inter_pet->tosql() and mapif->save_pet() to work with const dataHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-24Split mapif->mercenary_save() into two functions (save and create)Haru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-02-24Split mapif->homunculus_save() into two functions (save and create)Haru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-02-24Split mapif->elemental_save() into two functions (save and create)Haru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru1-4/+19
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM compatibility improvementsHaru1-3/+3
Improved compatibility, portability and standards conformance. - Since it is not possible to portably and reliably re-use the core's symbols in plugins, symbols are no longer exported unless explicitly required, in the UNIX builds. This mimics the Windows behavior and adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas for making this possible. - For convenience, it is no longer necessary to call GET_SYMBOL, since the plugin will automatically import all the available symbols when it's loaded, depending on the included headers. - Plugins are now supposed to include the "common/hercules.h" header before including anything else. Incluing common/HPMi.h, common/cbasetypes.h or conf/core.h is no longer necessary, as those are guaranteed to be automatically included by hercules.h. - HPM API version bumped to 1.1. Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Cleaned up some #includesHaru1-9/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Removed ".." from include directivesHaru1-1/+1
- Include directives are now directory-independent. - This will allow building plugins from other directories in future. Signed-off-by: Haru <haru@dotalux.com>
2015-01-12Blocked compilation of plugins that use unavailable functionsHaru1-0/+2
- Rather than failing at runtime, plugins that try to access non-interfaced, unavailable functions or variables, will now show an error at compile-time. Signed-off-by: Haru <haru@dotalux.com>
2014-11-16Moved mapif_s into mapif.cHaru1-169/+169
Signed-off-by: Haru <haru@dotalux.com>
2014-11-15Fix mapif interface.Andrei Karas1-1/+1
2014-11-15Allow generate HPM hooks for all interfaces in char server.Andrei Karas1-1/+3
2014-11-15Add most functions from inter.c to interfaces.Andrei Karas1-0/+18
2014-11-15Add most functions from int_storage.c to interfaces.Andrei Karas1-0/+9
2014-11-15Add most functions from int_quest.c to interfaces.Andrei Karas1-0/+9
2014-11-15Add most functions from int_pet.c to interfaces.Andrei Karas1-0/+15
2014-11-15Add most functions from int_party.c to interfaces.Andrei Karas1-0/+18
2014-11-15Add most functions from int_mercenary.c to interfaces.Andrei Karas1-0/+11
2014-11-15Add most functions from int_mail.c to interfaces.Andrei Karas1-0/+14
2014-11-15Add most functions from int_homun.c to interfaces.Andrei Karas1-0/+15
2014-11-15Add most functions from int_guild.c to interfaces.Andrei Karas1-0/+35
2014-11-15Add most functions from int_elemental.c to interfaces.Andrei Karas1-0/+12
2014-11-15Add most functions from int_auction.c to interfaces.Andrei Karas1-0/+11
2014-11-15Add most functions from char.c to interfaces.Andrei Karas1-0/+29
Introduced interfaces: chr, mapif, loginif.