summaryrefslogtreecommitdiff
path: root/src/map/mercenary.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-28 14:35:53 -0300
committershennetsind <ind@henn.et>2013-09-28 14:35:53 -0300
commitf966d2fa8c5249dfbab11658849aebed16204017 (patch)
tree381196dad02a44061c4b2d089ee81d60baeb412c /src/map/mercenary.h
parent2e86f1db03587ced5655f92c3ab58c512679f688 (diff)
downloadhercules-f966d2fa8c5249dfbab11658849aebed16204017.tar.gz
hercules-f966d2fa8c5249dfbab11658849aebed16204017.tar.bz2
hercules-f966d2fa8c5249dfbab11658849aebed16204017.tar.xz
hercules-f966d2fa8c5249dfbab11658849aebed16204017.zip
HPM: Mercenary.c Completed
Moved missing declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r--src/map/mercenary.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h
index b59a1c808..47f37ac66 100644
--- a/src/map/mercenary.h
+++ b/src/map/mercenary.h
@@ -1,5 +1,6 @@
-// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
-// For more information, see LICENCE in the main folder
+// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// See the LICENSE file
+// Portions Copyright (c) Athena Dev Teams
#ifndef _MERCENARY_H_
#define _MERCENARY_H_
@@ -58,7 +59,7 @@ struct mercenary_interface {
/* funcs */
- int (*init) (void);
+ void (*init) (void);
bool (*class) (int class_);
struct view_data * (*get_viewdata) (int class_);
@@ -83,7 +84,14 @@ struct mercenary_interface {
int (*checkskill) (struct mercenary_data *md, uint16 skill_id);
int (*read_db) (void);
- int (*read_skilldb) (void);
+ int (*read_skilldb) (void);
+
+ int (*killbonus) (struct mercenary_data *md);
+ int (*search_index) (int class_);
+
+ int (*contract_end_timer) (int tid, unsigned int tick, int id, intptr_t data);
+ bool (*read_db_sub) (char* str[], int columns, int current);
+ bool (*read_skill_db_sub) (char* str[], int columns, int current);
};
struct mercenary_interface *mercenary;