--- deliantra/server/include/attack.h 2006/02/03 07:12:47 1.1 +++ deliantra/server/include/attack.h 2006/08/29 08:01:36 1.3 @@ -126,7 +126,7 @@ #define AT_BLIND 0x00400000 /* 4194304 thomas@astro.psu.edu */ #define AT_INTERNAL 0x00800000 /* Only used for internal calculations */ #define AT_LIFE_STEALING \ - 0x01000000 /* 16777216 for hp drain */ + 0x01000000 /* 16777216 for hp drain */ #define AT_DISEASE 0x02000000 /* 33554432 disease attacktypes */ /* attacktypes_load is suffixed to resist_ when saving objects. @@ -162,7 +162,7 @@ * as for example: resist_life stealing 50! */ #else -EXTERN char *resist_save[NROFATTACKS] = { +EXTERN const char* resist_save[NROFATTACKS] = { "physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ", "drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ", "turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ", @@ -171,7 +171,7 @@ }; /* Short description of names of the attacktypes */ -EXTERN char *attacktype_desc[NROFATTACKS] = { +EXTERN const char* attacktype_desc[NROFATTACKS] = { "physical", "magic", "fire", "electricity", "cold", "confusion", "acid", "drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze", "turn undead", "fear", "cancellation", "deplete", "death", "chaos", @@ -181,7 +181,7 @@ /* This is the array that is what the player sees. */ -EXTERN char *resist_plus[NROFATTACKS] = { +EXTERN const char* resist_plus[NROFATTACKS] = { "armour", "resist magic", "resist fire", "resist electricity", "resist cold", "resist confusion", "resist acid", "resist drain", "resist weaponmagic", "resist ghosthit", "resist poison", "resist slow", @@ -195,7 +195,7 @@ /* These are the descriptions of the resistances displayed when a * player puts on/takes off an item. See change_abil() in living.c. */ -EXTERN char *change_resist_msg[NROFATTACKS] = { +EXTERN const char* change_resist_msg[NROFATTACKS] = { "physical", "magic", "fire", "electricity", "cold", "confusion", "acid", "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze", "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",