summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-01 21:53:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-01 21:53:17 +0000
commit5d51ba8e8b84af11603b0c9c87b6203618604df0 (patch)
tree5b5233c7f03a7c2e6665c487f1b7fad6f1230462 /src/map/map.h
parent2c82c85e3857f9bcf513f4771f393f5f788f7f3f (diff)
downloadhercules-5d51ba8e8b84af11603b0c9c87b6203618604df0.tar.gz
hercules-5d51ba8e8b84af11603b0c9c87b6203618604df0.tar.bz2
hercules-5d51ba8e8b84af11603b0c9c87b6203618604df0.tar.xz
hercules-5d51ba8e8b84af11603b0c9c87b6203618604df0.zip
- Added function map_foreachinshootrange, behaves the same way as map_foreachinrange, but it also performs a "shoot-path" check before invoking the function. Used in the skill subtimer function if skill_wall_check is defined.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6436 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 105183244..66a242545 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -1254,6 +1254,7 @@ int map_delblock_sub(struct block_list *, int);
#define map_delblock(bl) map_delblock_sub(bl,1)
int map_moveblock(struct block_list *, int, int, unsigned int);
int map_foreachinrange(int (*)(struct block_list*,va_list),struct block_list *,int,int,...);
+int map_foreachinshootrange(int (*)(struct block_list*,va_list),struct block_list *,int,int,...);
int map_foreachinarea(int (*)(struct block_list*,va_list),int,int,int,int,int,int,...);
// -- moonsoul (added map_foreachincell)
int map_foreachincell(int (*)(struct block_list*,va_list),int,int,int,int,...);