diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-28 12:55:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-28 12:55:55 +0300 |
commit | b3bed3c6c764cae9706be429ea0222cad38e2e43 (patch) | |
tree | d8dbdd8595fd1c42f3e388385b0430b0a40fb8a1 /src/map/init.c | |
parent | 833e59fee3e6538863ef7277d7b679fb9f2fe750 (diff) | |
download | evol-hercules-b3bed3c6c764cae9706be429ea0222cad38e2e43.tar.gz evol-hercules-b3bed3c6c764cae9706be429ea0222cad38e2e43.tar.bz2 evol-hercules-b3bed3c6c764cae9706be429ea0222cad38e2e43.tar.xz evol-hercules-b3bed3c6c764cae9706be429ea0222cad38e2e43.zip |
add map mask and script functions for manipulate with it.
New script functions:
setmapmask - set new map mask.
addmapmask - add new map mask to current mask.
removemapmask - remove new mask from current mask.
getmapmask - return current map mask.
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index cd0a5ed..019f53c 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -74,6 +74,10 @@ HPExport void plugin_init (void) addScriptCommand("rif", "is*", rif); addScriptCommand("countitemcolor", "v*", countItemColor); addScriptCommand("misceffect", "i*", miscEffect); + addScriptCommand("setmapmask", "si", setMapMask); + addScriptCommand("addmapmask", "si", addMapMask); + addScriptCommand("removemapmask", "si", removeMapMask); + addScriptCommand("getmapmask", "s", getMapMask); do_init_langs(); |