summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-03 12:20:28 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-03 12:20:28 +0000
commitef3dd111a1d2b77b37dc7848ce2f2e5f28948b72 (patch)
treecd3ce5bea5768ff8dc61415362835f6a3cba4ef1 /src/map/status.h
parent7563f5131f94b33c0ad988a21de62567a6906f99 (diff)
downloadhercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.tar.gz
hercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.tar.bz2
hercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.tar.xz
hercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.zip
Removed the map.h<->status.h cyclic dependency. Relies on the fact by that preprocessor definitions don't need to be expanded immediately (or some other obscure reason why the thing even compiles :D)
This allowed me to also remove the annoying/memory-wasting MAX_STATUSCHANGE define. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10442 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/status.h b/src/map/status.h
index 4f51c61ab..0ea31cdec 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -4,7 +4,12 @@
#ifndef _STATUS_H_
#define _STATUS_H_
-#include "map.h"
+// forward declarations from map.h
+struct block_list;
+struct mob_data;
+struct pet_data;
+struct homun_data;
+struct status_change;
//Use this to refer the max refinery level [Skotlex]
#define MAX_REFINE 10
@@ -258,7 +263,7 @@ enum {
SC_INCAGIRATE,
SC_INCDEXRATE,
SC_JAILED,
- SC_ENCHANTARMS,
+ SC_ENCHANTARMS, //250
SC_MAGICALATTACK,
SC_MAX, //Automatically updated max, used in for's and at startup to check we are within bounds. [Skotlex]
};