summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-29 09:32:33 -0300
committershennetsind <ind@henn.et>2013-09-29 09:32:33 -0300
commitdbd0dce80cdc7ea02391d5e096b6561f0b598259 (patch)
tree69ecb3fe59c096fd79c0a6909298e6199b299e88 /src/map/map.h
parentc7af219aec5c8a5909ebfa1c7bb1fd4b5597f42a (diff)
parent5697031dce0f02a55044504077775b909a42982d (diff)
downloadhercules-dbd0dce80cdc7ea02391d5e096b6561f0b598259.tar.gz
hercules-dbd0dce80cdc7ea02391d5e096b6561f0b598259.tar.bz2
hercules-dbd0dce80cdc7ea02391d5e096b6561f0b598259.tar.xz
hercules-dbd0dce80cdc7ea02391d5e096b6561f0b598259.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index f3a74ed2e..69152ec57 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -841,21 +841,36 @@ struct map_interface {
const char* (*charid2nick) (int charid);
struct map_session_data* (*charid2sd) (int charid);
+ void (*vmap_foreachpc) (int (*func)(struct map_session_data* sd, va_list args), va_list args);
void (*map_foreachpc) (int (*func)(struct map_session_data* sd, va_list args), ...);
+ void (*vmap_foreachmob) (int (*func)(struct mob_data* md, va_list args), va_list args);
void (*map_foreachmob) (int (*func)(struct mob_data* md, va_list args), ...);
+ void (*vmap_foreachnpc) (int (*func)(struct npc_data* nd, va_list args), va_list args);
void (*map_foreachnpc) (int (*func)(struct npc_data* nd, va_list args), ...);
+ void (*vmap_foreachregen) (int (*func)(struct block_list* bl, va_list args), va_list args);
void (*map_foreachregen) (int (*func)(struct block_list* bl, va_list args), ...);
+ void (*vmap_foreachiddb) (int (*func)(struct block_list* bl, va_list args), va_list args);
void (*map_foreachiddb) (int (*func)(struct block_list* bl, va_list args), ...);
+ int (*vforeachinrange) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int type, va_list ap);
int (*foreachinrange) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int type, ...);
+ int (*vforeachinshootrange) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int type, va_list ap);
int (*foreachinshootrange) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int type, ...);
+ int (*vforeachinarea) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int type, va_list ap);
int (*foreachinarea) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int type, ...);
+ int (*vforcountinrange) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int count, int type, va_list ap);
int (*forcountinrange) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int count, int type, ...);
+ int (*vforcountinarea) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int count, int type, va_list ap);
int (*forcountinarea) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int count, int type, ...);
+ int (*vforeachinmovearea) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int16 dx, int16 dy, int type, va_list ap);
int (*foreachinmovearea) (int (*func)(struct block_list*,va_list), struct block_list* center, int16 range, int16 dx, int16 dy, int type, ...);
+ int (*vforeachincell) (int (*func)(struct block_list*,va_list), int16 m, int16 x, int16 y, int type, va_list ap);
int (*foreachincell) (int (*func)(struct block_list*,va_list), int16 m, int16 x, int16 y, int type, ...);
+ int (*vforeachinpath) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int16 range, int length, int type, va_list ap);
int (*foreachinpath) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int16 range, int length, int type, ...);
+ int (*vforeachinmap) (int (*func)(struct block_list*,va_list), int16 m, int type, va_list args);
int (*foreachinmap) (int (*func)(struct block_list*,va_list), int16 m, int type, ...);
+ int (*vforeachininstance)(int (*func)(struct block_list*,va_list), int16 instance_id, int type, va_list ap);
int (*foreachininstance)(int (*func)(struct block_list*,va_list), int16 instance_id, int type,...);
struct map_session_data * (*id2sd) (int id);