version 1.39 | | version 1.40 |
---|
| | |
%{ | | %{ |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.l,v 1.39 2003/02/14 05:50:29 garbled Exp $"; | | * "$Id: loader.l,v 1.40 2003/03/08 05:35:32 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
^maxsp{S} op->stats.maxsp = IVAL; | | ^maxsp{S} op->stats.maxsp = IVAL; |
^grace{S} op->stats.grace = IVAL; | | ^grace{S} op->stats.grace = IVAL; |
^maxgrace{S} op->stats.maxgrace = IVAL; | | ^maxgrace{S} op->stats.maxgrace = IVAL; |
^exp{S} op->stats.exp = atol(yval()); | | ^exp{S} op->stats.exp = atoll(yval()); |
^food{S} op->stats.food = IVAL; | | ^food{S} op->stats.food = IVAL; |
^dam{S} op->stats.dam = IVAL; | | ^dam{S} op->stats.dam = IVAL; |
^wc{S} op->stats.wc = IVAL; | | ^wc{S} op->stats.wc = IVAL; |
| | |
if(op->stats.maxgrace!=op2->stats.maxgrace) | | if(op->stats.maxgrace!=op2->stats.maxgrace) |
save_long(buf, "maxgrace", op->stats.maxgrace); | | save_long(buf, "maxgrace", op->stats.maxgrace); |
if(op->stats.exp!=op2->stats.exp) | | if(op->stats.exp!=op2->stats.exp) |
save_long(buf, "exp", op->stats.exp); | | save_long_long(buf, "exp", op->stats.exp); |
if(op->expmul!=op2->expmul) | | if(op->expmul!=op2->expmul) |
save_double(buf, "expmul", op->expmul); | | save_double(buf, "expmul", op->expmul); |
if(op->stats.food!=op2->stats.food) | | if(op->stats.food!=op2->stats.food) |