diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-10-08 13:05:25 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-10-08 13:10:54 -0700 |
commit | 41c5b02bbdb78381bc203251fe2a2ef034264642 (patch) | |
tree | fe2b0735041fe90ac05638e404871c3aebd28ec1 /src/map/npc.hpp | |
parent | 4763e230ab02bcf3e7db20dee23d42a02815bdb3 (diff) | |
download | tmwa-41c5b02bbdb78381bc203251fe2a2ef034264642.tar.gz tmwa-41c5b02bbdb78381bc203251fe2a2ef034264642.tar.bz2 tmwa-41c5b02bbdb78381bc203251fe2a2ef034264642.tar.xz tmwa-41c5b02bbdb78381bc203251fe2a2ef034264642.zip |
Split npc parse functions in to their own file
Diffstat (limited to 'src/map/npc.hpp')
-rw-r--r-- | src/map/npc.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/map/npc.hpp b/src/map/npc.hpp index 30b0178..3bd64af 100644 --- a/src/map/npc.hpp +++ b/src/map/npc.hpp @@ -58,7 +58,6 @@ int npc_scriptcont(dumb_ptr<map_session_data>, BlockId); int npc_buysellsel(dumb_ptr<map_session_data>, BlockId, int); int npc_buylist(dumb_ptr<map_session_data>, const std::vector<Packet_Repeat<0x00c8>>&); int npc_selllist(dumb_ptr<map_session_data>, const std::vector<Packet_Repeat<0x00c9>>&); -int npc_parse_warp(XString w1, XString, NpcName w3, XString w4); int npc_enable(NpcName name, bool flag); dumb_ptr<npc_data> npc_name2id(NpcName name); @@ -66,21 +65,10 @@ dumb_ptr<npc_data> npc_name2id(NpcName name); BlockId npc_get_new_npc_id(void); /** - * Spawns and installs a talk-only NPC - * - * \param message The message to speak. If message is nullptr, the NPC will not do anything at all. - */ -dumb_ptr<npc_data> npc_spawn_text(map_local *m, int x, int y, - Species class_, NpcName name, AString message); - -/** * Uninstalls and frees an NPC */ void npc_free(dumb_ptr<npc_data> npc); -void npc_addsrcfile(AString); -void npc_delsrcfile(XString); -bool do_init_npc(void); int npc_event_do_oninit(void); int npc_event_doall_l(ScriptLabel name, BlockId rid, Slice<argrec_t> argv); |