version 1.131 | | version 1.132 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.131 2005/08/10 13:38:31 ryo_saeba Exp $"; | | * "$Id: spell_effect.c,v 1.132 2005/08/12 08:18:59 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
* create nonnmagic arrows, or even -1, etc... | | * create nonnmagic arrows, or even -1, etc... |
*/ | | */ |
| | |
int cast_create_missile(object *op, object *caster,object *spell, int dir, char *stringarg) | | int cast_create_missile(object *op, object *caster,object *spell, int dir, const char *stringarg) |
{ | | { |
int missile_plus=0, bonus_plus=0; | | int missile_plus=0, bonus_plus=0; |
char *missile_name; | | char *missile_name; |
| | |
| | |
/* allows the choice of what sort of food object to make. | | /* allows the choice of what sort of food object to make. |
* If stringarg is NULL, it will create food dependent on level --PeterM*/ | | * If stringarg is NULL, it will create food dependent on level --PeterM*/ |
int cast_create_food(object *op,object *caster, object *spell_ob, int dir, char *stringarg) | | int cast_create_food(object *op,object *caster, object *spell_ob, int dir, const char *stringarg) |
{ | | { |
int food_value; | | int food_value; |
archetype *at=NULL; | | archetype *at=NULL; |
| | |
* There really isn't any adjustments we make. | | * There really isn't any adjustments we make. |
*/ | | */ |
| | |
int write_mark(object *op, object *spell, char *msg) { | | int write_mark(object *op, object *spell, const char *msg) { |
char rune[HUGE_BUF]; | | char rune[HUGE_BUF]; |
object *tmp; | | object *tmp; |
| | |