summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-17 04:07:27 +0100
committerHaru <haru@dotalux.com>2013-11-17 04:19:03 +0100
commite095650d437c81e6ae90a99a3cd1bb0c8c6eba38 (patch)
tree594bf0d9a9f17612fb587e4be276dfe26a8862aa /src/map/battle.h
parentbe6440dfb609b4ce28ca973a8987ab434774c8ed (diff)
downloadhercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.tar.gz
hercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.tar.bz2
hercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.tar.xz
hercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.zip
Added emblem blank pixels check
- Made possible thanks to (and using base code by) Ai4rei - eAthena r15263 and add-on patch http://hercules.ws/board/topic/2974-add-on-patch-for-ea-r15263-commit/ - Modified to allow checking for a percentage of transparent pixels rather than full image transparency. - Tweaked to accept some other bmp formats that are currently allowed by the client. - The performance hit from enabling this check is negligible (benchmarks show that scanning an emblem requires about half the time required to decompress it after it's received), but it does exist, as noted in the configuration file. - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 0f3a22c4b..fd6699f4d 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -426,6 +426,7 @@ struct Battle_Config {
int cashshop_show_points;
int mail_show_status;
int client_limit_unit_lv;
+ int client_emblem_max_blank_percent;
int hom_max_level;
int hom_S_max_level;