diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-03 23:27:22 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-03 23:27:22 +0000 |
commit | 58a49148ed8667e49214d4814fe771e7cceec427 (patch) | |
tree | 6542200adf9c37566b39efb3c86d4b25715c5593 /src/map/map.h | |
parent | d3e6e368ac40c44fb13978a7529f8f818cdc0731 (diff) | |
download | hercules-58a49148ed8667e49214d4814fe771e7cceec427.tar.gz hercules-58a49148ed8667e49214d4814fe771e7cceec427.tar.bz2 hercules-58a49148ed8667e49214d4814fe771e7cceec427.tar.xz hercules-58a49148ed8667e49214d4814fe771e7cceec427.zip |
Changes to reduce the number of map cell types
- Pneuma now again works via status change (see r3969)
- removed unused CELL_SAFETYWALL
- removed custom CELL_REGEN, it just increased regen rate (r1192, r1518)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12005 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/map/map.h b/src/map/map.h index 67e6d04fc..ffa4685fc 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1109,9 +1109,6 @@ enum _look { // CELLs for non-permanent cell-based effects (Pneuma, Basilica, Npcs, etc) #define CELL_NPC 0x1 -#define CELL_REGEN 0x2 -#define CELL_PNEUMA 0x4 -#define CELL_SAFETYWALL 0x8 #define CELL_LANDPROTECTOR 0x10 #define CELL_BASILICA 0x20 #define CELL_NOVENDING 0x40 @@ -1132,9 +1129,6 @@ typedef enum { CELL_CHKNOREACH, // Same as NOPASS, but ignores the cell-stacking mod. CELL_CHKNPC=0x10, // タッチタイプのNPC(セルタイプ0x80フラグ) - CELL_CHKREGEN, // cells that improve regeneration - CELL_CHKPNEUMA, - CELL_CHKSAFETYWALL, CELL_CHKBASILICA, // バジリカ(セルタイプ0x40フラグ) CELL_CHKLANDPROTECTOR, CELL_CHKICEWALL, @@ -1148,14 +1142,9 @@ enum { CELL_CLRNPC, CELL_SETBASILICA, // バジリカをセット CELL_CLRBASILICA, // バジリカをクリア - CELL_SETREGEN, // set regen cell - CELL_SETLANDPROTECTOR, //Set/Clear Magnetic Earth + CELL_SETLANDPROTECTOR=0x15, //Set/Clear Magnetic Earth CELL_CLRLANDPROTECTOR, - CELL_SETPNEUMA, - CELL_CLRPNEUMA, - CELL_SETSAFETYWALL, - CELL_CLRSAFETYWALL, - CELL_SETICEWALL, + CELL_SETICEWALL=0x1b, CELL_CLRICEWALL, CELL_SETNOVENDING, CELL_CLRNOVENDING, @@ -1172,9 +1161,6 @@ struct mapcell // dynamic flags unsigned char npc : 1, - regen : 1, - pneuma : 1, - safetywall : 1, landprotector : 1, basilica : 1, icewall : 1, |