From f3ac07ef1c9f6224f985d5bff2f405f6bc9bf226 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 6 Oct 2007 15:35:31 +0000 Subject: * the mapserver won't exit when no mapcache is found, with use_grf: yes * Fixed some \r uses, now looks better; /thx to Ai4rei (topic:165952) * Removed that ridiculous spinner that displays during map/npc loading, and added a more informative progress indicator (idea from jA/eapp) * Checked/fixed/removed some old script and npc commands * cmdothernpc - a specialized 'donpcevent' with the event specified as two arguments * enablearena/disablearena - completely equivalent to enablewaitingroomevent & co. * inittimer/stoptimer - removed since its logic was incompatible with the code it depended on * Removed loads of code that supported these functions. Result: -100b per npc => -1,5MB of wasted memory * Fixed related npcs that erroneously used 'stoptimer' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11374 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 9b3c5782b..39aad1cf8 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -41,10 +41,7 @@ enum { struct view_data* npc_get_viewdata(int class_); int npc_chat_sub(struct block_list* bl, va_list ap); int npc_event_dequeue(struct map_session_data* sd); -int npc_event_timer(int tid,unsigned int tick, int id, int data); int npc_event(struct map_session_data* sd, const char* eventname, int mob_kill); -int npc_timer_event(const char* eventname); // Added by RoVeRT -int npc_command(struct map_session_data* sd, const char* npcname, const char* command); int npc_touch_areanpc(struct map_session_data* sd, int m, int x, int y); int npc_touch_areanpc2(struct block_list* bl); // [Skotlex] int npc_check_areanpc(int flag, int m, int x, int y, int range); -- cgit v1.2.3-70-g09d2