diff options
author | shennetsind <shennetsind@users.noreply.github.com> | 2013-11-06 15:10:38 -0800 |
---|---|---|
committer | shennetsind <shennetsind@users.noreply.github.com> | 2013-11-06 15:10:38 -0800 |
commit | 87d7348396af97428638723ae49ca2ff166e4acd (patch) | |
tree | f9cebecab0aaf281a8ebb5405648fe8d0b731ecb /src/map/npc.h | |
parent | 7d1bbde0046ee7520c907e090f1b4087eb713172 (diff) | |
parent | 4fbe8e2a270997b02e2e002074259e4648ac0031 (diff) | |
download | hercules-87d7348396af97428638723ae49ca2ff166e4acd.tar.gz hercules-87d7348396af97428638723ae49ca2ff166e4acd.tar.bz2 hercules-87d7348396af97428638723ae49ca2ff166e4acd.tar.xz hercules-87d7348396af97428638723ae49ca2ff166e4acd.zip |
Merge pull request #217 from HerculesWS/script-checker
Introducing the Hercules Standalone Script Syntax Checker
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 5ec201e55..10f3406b4 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -140,7 +140,7 @@ struct npc_interface { struct npc_src_list *src_files; struct unit_data base_ud; /* */ - int (*init) (void); + int (*init) (bool minimal); int (*final) (void); /* */ int (*get_new_npc_id) (void); @@ -218,7 +218,7 @@ struct npc_interface { void (*parse_mob2) (struct spawn_data *mobspawn); const char* (*parse_mob) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath); const char* (*parse_mapflag) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath); - void (*parsesrcfile) (const char *filepath, bool runOnInit); + int (*parsesrcfile) (const char *filepath, bool runOnInit); int (*script_event) (struct map_session_data *sd, enum npce_event type); void (*read_event_script) (void); int (*path_db_clear_sub) (DBKey key, DBData *data, va_list args); |