summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-20 20:56:35 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-20 20:56:35 +0000
commit9e0d52a541b2733575467ae0a7650e5d7a6cfc17 (patch)
tree9b35853a893557fa418ae1e47539532a7c1b4fe8 /src/map/map.h
parent95a7f7d5ac462e982a427445108c0a1bda12692e (diff)
downloadhercules-9e0d52a541b2733575467ae0a7650e5d7a6cfc17.tar.gz
hercules-9e0d52a541b2733575467ae0a7650e5d7a6cfc17.tar.bz2
hercules-9e0d52a541b2733575467ae0a7650e5d7a6cfc17.tar.xz
hercules-9e0d52a541b2733575467ae0a7650e5d7a6cfc17.zip
- New invisible walls system (for WOE SE and Battlegrounds).
- New script commands for this system "setwall" and "delwall" - Added other scripts commands "changelook" (can be used to try clothes colors, hair styles, headgears, etc without saving this on logout). - Added getmobdrops to request a list of drop and rate of an specified class. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13101 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index c428b8922..5a7fed46e 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -387,6 +387,12 @@ struct mapcell
#endif
};
+struct iwall_data {
+ char wall_name[50];
+ short m, x, y, size, dir;
+ bool shootable;
+};
+
struct map_data {
char name[MAP_NAME_LENGTH];
unsigned short index; // The map index used by the mapindex* functions.
@@ -398,6 +404,7 @@ struct map_data {
short bxs,bys; // map dimensions (in blocks)
int npc_num;
int users;
+ int iwall_num; // Total of invisible walls in this map
struct map_flag {
unsigned town : 1; // [Suggestion to protect Mail System]
unsigned autotrade : 1;
@@ -594,6 +601,10 @@ int cleanup_sub(struct block_list *bl, va_list ap);
void map_helpscreen(int flag); // [Valaris]
int map_delmap(char* mapname);
+bool map_iwall_set(int m, int x, int y, int size, int dir, bool shootable, const char* wall_name);
+void map_iwall_get(struct map_session_data *sd);
+void map_iwall_remove(const char *wall_name);
+
int map_addmobtolist(unsigned short m, struct spawn_data *spawn); // [Wizputer]
void map_spawnmobs(int); // [Wizputer]
void map_removemobs(int); // [Wizputer]