diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-22 23:52:58 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-22 23:52:58 +0000 |
commit | 2b2dbf43f11aecf778ff118dd1da1af9726f36e6 (patch) | |
tree | 890231641c122da8ef8664471be4a008041c6349 /src/map/status.h | |
parent | 78dcaf513236ab7736a84deff5820b71cf6a76fb (diff) | |
download | hercules-2b2dbf43f11aecf778ff118dd1da1af9726f36e6.tar.gz hercules-2b2dbf43f11aecf778ff118dd1da1af9726f36e6.tar.bz2 hercules-2b2dbf43f11aecf778ff118dd1da1af9726f36e6.tar.xz hercules-2b2dbf43f11aecf778ff118dd1da1af9726f36e6.zip |
- Changed the status_change structure to use dynamic rather than static memory to hold the individual status changes, this should have a noticeable impact on the server's memory consumption.
- Had to add a few 'ugly' flags to status_change since now you can't track SC related information while said SC is not active (happens only for Storm Gust, Joint Beat and Magic Power).
- Since I am unable to fully test, watch out for any bugs~
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11786 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/status.h b/src/map/status.h index 71f84e93d..f1932ae32 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -272,10 +272,10 @@ enum sc_type { SC_MAGICMIRROR, SC_SLOWCAST, SC_SUMMER, - SC_EXPBOOST, // Field Guide - SC_ITEMBOOST, // Bubble Gum - SC_BOSSMAPINFO, // Convex Mirror - SC_LIFEINSURANCE, // Life Insurance + SC_EXPBOOST, + SC_ITEMBOOST, + SC_BOSSMAPINFO, + SC_LIFEINSURANCE, //260 SC_INCCRI, SC_INCDEF, SC_INCBASEATK, @@ -692,5 +692,6 @@ int status_check_visibility(struct block_list *src, struct block_list *target); int status_readdb(void); int do_init_status(void); +void do_final_status(void); #endif /* _STATUS_H_ */ |