Difference for common/loader.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /* A lexical scanner generated by flex */  /* A lexical scanner generated by flex */
   
 /* Scanner skeleton version:  /* Scanner skeleton version:
  * $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.4 2000/04/27 07:04:18 cvs Exp $   * $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.5 2000/06/16 06:06:33 cvs Exp $
  */   */
   
 #define FLEX_SCANNER  #define FLEX_SCANNER
Line 1258
 
Line 1258
 #line 2 "loader.l"  #line 2 "loader.l"
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: loader.c,v 1.4 2000/04/27 07:04:18 cvs Exp $";   *   "$Id: loader.c,v 1.5 2000/06/16 06:06:33 cvs Exp $";
  */   */
   
 /*  /*
Line 1511
 
Line 1511
 YY_DECL  YY_DECL
  {   {
  register yy_state_type yy_current_state;   register yy_state_type yy_current_state;
  register char *yy_cp = NULL, *yy_bp = NULL;   register char *yy_cp, *yy_bp;
  register int yy_act;   register int yy_act;
   
 #line 117 "loader.l"  #line 117 "loader.l"
Line 1711
 
Line 1711
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 183 "loader.l"  #line 183 "loader.l"
 {   {
    if (strcmp (yval(), "NONE") == 0) {
        op->animation_id = 0;
        CLEAR_FLAG (op, FLAG_ANIMATE);
    } else {
  op->animation_id = find_animation(yval());   op->animation_id = find_animation(yval());
  SET_FLAG(op,FLAG_ANIMATE);   SET_FLAG(op,FLAG_ANIMATE);
      }       }
        }
  YY_BREAK   YY_BREAK
 case 12:  case 12:
 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */  *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
 yy_c_buf_p = yy_cp -= 1;  yy_c_buf_p = yy_cp -= 1;
 YY_DO_BEFORE_ACTION; /* set up yytext again */  YY_DO_BEFORE_ACTION; /* set up yytext again */
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 188 "loader.l"  #line 193 "loader.l"
 { /* We need to record that this is a multipart object,  { /* We need to record that this is a multipart object,
         * so the calling function can glue things back together          * so the calling function can glue things back together
         */          */
Line 1732
 
Line 1737
 yy_c_buf_p = yy_cp -= 1;  yy_c_buf_p = yy_cp -= 1;
 YY_DO_BEFORE_ACTION; /* set up yytext again */  YY_DO_BEFORE_ACTION; /* set up yytext again */
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 194 "loader.l"  #line 199 "loader.l"
 { if (ismore) return LL_MORE; else return LL_NORMAL; }  { if (ismore) return LL_MORE; else return LL_NORMAL; }
  YY_BREAK   YY_BREAK
 case 14:  case 14:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 195 "loader.l"  #line 200 "loader.l"
 op->last_heal = IVAL;  op->last_heal = IVAL;
  YY_BREAK   YY_BREAK
 case 15:  case 15:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 196 "loader.l"  #line 201 "loader.l"
 op->last_sp = IVAL;  op->last_sp = IVAL;
  YY_BREAK   YY_BREAK
 case 16:  case 16:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 197 "loader.l"  #line 202 "loader.l"
 op->last_grace = IVAL;  op->last_grace = IVAL;
  YY_BREAK   YY_BREAK
 case 17:  case 17:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 198 "loader.l"  #line 203 "loader.l"
 op->last_eat = IVAL;  op->last_eat = IVAL;
  YY_BREAK   YY_BREAK
 case 18:  case 18:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 199 "loader.l"  #line 204 "loader.l"
 { op->speed = FVAL;  { op->speed = FVAL;
  if (op->speed<0) op->speed_left = op->speed_left-RANDOM()%100/100.0;   if (op->speed<0) op->speed_left = op->speed_left-RANDOM()%100/100.0;
  update_ob_speed(op);   update_ob_speed(op);
Line 1765
 
Line 1770
  YY_BREAK   YY_BREAK
 case 19:  case 19:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 203 "loader.l"  #line 208 "loader.l"
 op->speed_left = FVAL;  op->speed_left = FVAL;
  YY_BREAK   YY_BREAK
 case 20:  case 20:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 204 "loader.l"  #line 209 "loader.l"
 { SET_SLOW_PENALTY(op,FVAL);  { SET_SLOW_PENALTY(op,FVAL);
  SET_FLAG(op, FLAG_SLOW_MOVE);   SET_FLAG(op, FLAG_SLOW_MOVE);
      }       }
  YY_BREAK   YY_BREAK
 case 21:  case 21:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 207 "loader.l"  #line 212 "loader.l"
 op->face = &new_faces[FindFace(yval(), 0)];  op->face = &new_faces[FindFace(yval(), 0)];
  YY_BREAK   YY_BREAK
 case 22:  case 22:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 208 "loader.l"  #line 213 "loader.l"
 op->stats.Str = IVAL;  op->stats.Str = IVAL;
  YY_BREAK   YY_BREAK
 case 23:  case 23:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 209 "loader.l"  #line 214 "loader.l"
 op->stats.Dex = IVAL;  op->stats.Dex = IVAL;
  YY_BREAK   YY_BREAK
 case 24:  case 24:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 210 "loader.l"  #line 215 "loader.l"
 op->stats.Con = IVAL;  op->stats.Con = IVAL;
  YY_BREAK   YY_BREAK
 case 25:  case 25:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 211 "loader.l"  #line 216 "loader.l"
 op->stats.Wis = IVAL;  op->stats.Wis = IVAL;
  YY_BREAK   YY_BREAK
 case 26:  case 26:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 212 "loader.l"  #line 217 "loader.l"
 op->stats.Cha = IVAL;  op->stats.Cha = IVAL;
  YY_BREAK   YY_BREAK
 case 27:  case 27:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 213 "loader.l"  #line 218 "loader.l"
 op->stats.Int = IVAL;  op->stats.Int = IVAL;
  YY_BREAK   YY_BREAK
 case 28:  case 28:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 214 "loader.l"  #line 219 "loader.l"
 op->stats.Pow = IVAL;  op->stats.Pow = IVAL;
  YY_BREAK   YY_BREAK
 case 29:  case 29:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 215 "loader.l"  #line 220 "loader.l"
 op->stats.hp = IVAL;  op->stats.hp = IVAL;
  YY_BREAK   YY_BREAK
 case 30:  case 30:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 216 "loader.l"  #line 221 "loader.l"
 op->stats.maxhp = IVAL;  op->stats.maxhp = IVAL;
  YY_BREAK   YY_BREAK
 case 31:  case 31:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 217 "loader.l"  #line 222 "loader.l"
 op->stats.sp = IVAL;  op->stats.sp = IVAL;
  YY_BREAK   YY_BREAK
 case 32:  case 32:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 218 "loader.l"  #line 223 "loader.l"
 op->stats.maxsp = IVAL;  op->stats.maxsp = IVAL;
  YY_BREAK   YY_BREAK
 case 33:  case 33:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 219 "loader.l"  #line 224 "loader.l"
 op->stats.grace = IVAL;  op->stats.grace = IVAL;
  YY_BREAK   YY_BREAK
 case 34:  case 34:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 220 "loader.l"  #line 225 "loader.l"
 op->stats.maxgrace = IVAL;  op->stats.maxgrace = IVAL;
  YY_BREAK   YY_BREAK
 case 35:  case 35:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 221 "loader.l"  #line 226 "loader.l"
 op->stats.exp = atol(yval());  op->stats.exp = atol(yval());
  YY_BREAK   YY_BREAK
 case 36:  case 36:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 222 "loader.l"  #line 227 "loader.l"
 op->stats.food = IVAL;  op->stats.food = IVAL;
  YY_BREAK   YY_BREAK
 case 37:  case 37:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 223 "loader.l"  #line 228 "loader.l"
 op->stats.dam = IVAL;  op->stats.dam = IVAL;
  YY_BREAK   YY_BREAK
 case 38:  case 38:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 224 "loader.l"  #line 229 "loader.l"
 op->stats.wc = IVAL;  op->stats.wc = IVAL;
  YY_BREAK   YY_BREAK
 case 39:  case 39:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 225 "loader.l"  #line 230 "loader.l"
 op->stats.ac = IVAL;  op->stats.ac = IVAL;
  YY_BREAK   YY_BREAK
 case 40:  case 40:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 226 "loader.l"  #line 231 "loader.l"
 {op->x = IVAL; op->ox= op->x; }  {op->x = IVAL; op->ox= op->x; }
  YY_BREAK   YY_BREAK
 case 41:  case 41:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 227 "loader.l"  #line 232 "loader.l"
 {op->y = IVAL; op->oy= op->y; }  {op->y = IVAL; op->oy= op->y; }
  YY_BREAK   YY_BREAK
 case 42:  case 42:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 228 "loader.l"  #line 233 "loader.l"
 op->nrof= atol(yval());  op->nrof= atol(yval());
  YY_BREAK   YY_BREAK
 case 43:  case 43:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 229 "loader.l"  #line 234 "loader.l"
 op->level = IVAL;  op->level = IVAL;
  YY_BREAK   YY_BREAK
 case 44:  case 44:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 230 "loader.l"  #line 235 "loader.l"
 op->direction = IVAL;  op->direction = IVAL;
  YY_BREAK   YY_BREAK
 case 45:  case 45:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 231 "loader.l"  #line 236 "loader.l"
 op->type = IVAL;  op->type = IVAL;
  YY_BREAK   YY_BREAK
 case 46:  case 46:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 232 "loader.l"  #line 237 "loader.l"
 op->material = IVAL;  op->material = IVAL;
  YY_BREAK   YY_BREAK
 case 47:  case 47:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 233 "loader.l"  #line 238 "loader.l"
 op->value = IVAL;  op->value = IVAL;
  YY_BREAK   YY_BREAK
 case 48:  case 48:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 234 "loader.l"  #line 239 "loader.l"
 op->weight = atol(yval());  op->weight = atol(yval());
  YY_BREAK   YY_BREAK
 case 49:  case 49:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 235 "loader.l"  #line 240 "loader.l"
 op->carrying = atol(yval());  op->carrying = atol(yval());
  YY_BREAK   YY_BREAK
 case 50:  case 50:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 236 "loader.l"  #line 241 "loader.l"
 op->immune = IVAL;  op->immune = IVAL;
  YY_BREAK   YY_BREAK
 case 51:  case 51:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 237 "loader.l"  #line 242 "loader.l"
 op->protected = IVAL;  op->protected = IVAL;
  YY_BREAK   YY_BREAK
 case 52:  case 52:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 238 "loader.l"  #line 243 "loader.l"
 op->attacktype = IVAL;  op->attacktype = IVAL;
  YY_BREAK   YY_BREAK
 case 53:  case 53:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 239 "loader.l"  #line 244 "loader.l"
 op->vulnerable = IVAL;  op->vulnerable = IVAL;
  YY_BREAK   YY_BREAK
 case 54:  case 54:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 240 "loader.l"  #line 245 "loader.l"
 op->path_attuned = IVAL;  op->path_attuned = IVAL;
  YY_BREAK   YY_BREAK
 case 55:  case 55:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 241 "loader.l"  #line 246 "loader.l"
 op->path_repelled = IVAL;  op->path_repelled = IVAL;
  YY_BREAK   YY_BREAK
 case 56:  case 56:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 242 "loader.l"  #line 247 "loader.l"
 op->path_denied = IVAL;  op->path_denied = IVAL;
  YY_BREAK   YY_BREAK
 case 57:  case 57:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 243 "loader.l"  #line 248 "loader.l"
 op->invisible = IVAL;  op->invisible = IVAL;
  YY_BREAK   YY_BREAK
 case 58:  case 58:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 244 "loader.l"  #line 249 "loader.l"
 op->magic = IVAL;  op->magic = IVAL;
  YY_BREAK   YY_BREAK
 case 59:  case 59:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 245 "loader.l"  #line 250 "loader.l"
 op->state = IVAL;  op->state = IVAL;
  YY_BREAK   YY_BREAK
 case 60:  case 60:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 246 "loader.l"  #line 251 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_ALIVE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_ALIVE, IVAL);
  YY_BREAK   YY_BREAK
 case 61:  case 61:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 247 "loader.l"  #line 252 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_APPLIED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_APPLIED, IVAL);
  YY_BREAK   YY_BREAK
 case 62:  case 62:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 248 "loader.l"  #line 253 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_UNPAID, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_UNPAID, IVAL);
  YY_BREAK   YY_BREAK
 case 63:  case 63:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 249 "loader.l"  #line 254 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_AN, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_AN, IVAL);
  YY_BREAK   YY_BREAK
 case 64:  case 64:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 250 "loader.l"  #line 255 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NEED_IE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NEED_IE, IVAL);
  YY_BREAK   YY_BREAK
 case 65:  case 65:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 251 "loader.l"  #line 256 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_PICK, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_PICK, IVAL);
  YY_BREAK   YY_BREAK
 case 66:  case 66:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 252 "loader.l"  #line 257 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_PASS, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_PASS, IVAL);
  YY_BREAK   YY_BREAK
 case 67:  case 67:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 253 "loader.l"  #line 258 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_WALK_ON, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_WALK_ON, IVAL);
  YY_BREAK   YY_BREAK
 case 68:  case 68:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 254 "loader.l"  #line 259 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_WALK_OFF, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_WALK_OFF, IVAL);
  YY_BREAK   YY_BREAK
 case 69:  case 69:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 255 "loader.l"  #line 260 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_FLY_ON, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_FLY_ON, IVAL);
  YY_BREAK   YY_BREAK
 case 70:  case 70:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 256 "loader.l"  #line 261 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_FLY_OFF, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_FLY_OFF, IVAL);
  YY_BREAK   YY_BREAK
 case 71:  case 71:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 257 "loader.l"  #line 262 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_ANIMATE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_ANIMATE, IVAL);
  YY_BREAK   YY_BREAK
 case 72:  case 72:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 258 "loader.l"  #line 263 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_FLYING, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_FLYING, IVAL);
  YY_BREAK   YY_BREAK
 case 73:  case 73:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 259 "loader.l"  #line 264 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_MONSTER, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_MONSTER, IVAL);
  YY_BREAK   YY_BREAK
 case 74:  case 74:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 260 "loader.l"  #line 265 "loader.l"
 { if (IVAL) {  { if (IVAL) {
      SET_FLAG(op, FLAG_FRIENDLY);       SET_FLAG(op, FLAG_FRIENDLY);
      if (op->type != PLAYER) {       if (op->type != PLAYER) {
Line 2055
 
Line 2060
  YY_BREAK   YY_BREAK
 case 75:  case 75:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 269 "loader.l"  #line 274 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_GENERATOR, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_GENERATOR, IVAL);
  YY_BREAK   YY_BREAK
 case 76:  case 76:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 270 "loader.l"  #line 275 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_THROWN, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_THROWN, IVAL);
  YY_BREAK   YY_BREAK
 case 77:  case 77:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 271 "loader.l"  #line 276 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_AUTO_APPLY, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_AUTO_APPLY, IVAL);
  YY_BREAK   YY_BREAK
 case 78:  case 78:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 272 "loader.l"  #line 277 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_TREASURE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_TREASURE, IVAL);
  YY_BREAK   YY_BREAK
 case 79:  case 79:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 273 "loader.l"  #line 278 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_APPLY_ONCE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_APPLY_ONCE, IVAL);
  YY_BREAK   YY_BREAK
 case 80:  case 80:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 274 "loader.l"  #line 279 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_SEE_INVISIBLE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_SEE_INVISIBLE, IVAL);
  YY_BREAK   YY_BREAK
 case 81:  case 81:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 275 "loader.l"  #line 280 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CAN_ROLL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CAN_ROLL, IVAL);
  YY_BREAK   YY_BREAK
 case 82:  case 82:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 276 "loader.l"  #line 281 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_TURNABLE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_TURNABLE, IVAL);
  YY_BREAK   YY_BREAK
 case 83:  case 83:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 277 "loader.l"  #line 282 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_USED_UP, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_USED_UP, IVAL);
  YY_BREAK   YY_BREAK
 case 84:  case 84:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 278 "loader.l"  #line 283 "loader.l"
 { if (IVAL) {  { if (IVAL) {
      SET_FLAG(op, FLAG_IDENTIFIED);       SET_FLAG(op, FLAG_IDENTIFIED);
      CLEAR_FLAG(op, FLAG_KNOWN_MAGICAL);       CLEAR_FLAG(op, FLAG_KNOWN_MAGICAL);
Line 2110
 
Line 2115
  YY_BREAK   YY_BREAK
 case 85:  case 85:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 284 "loader.l"  #line 289 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_REFLECTING, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_REFLECTING, IVAL);
  YY_BREAK   YY_BREAK
 case 86:  case 86:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 285 "loader.l"  #line 290 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CHANGING, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CHANGING, IVAL);
  YY_BREAK   YY_BREAK
 case 87:  case 87:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 286 "loader.l"  #line 291 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_SPLITTING, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_SPLITTING, IVAL);
  YY_BREAK   YY_BREAK
 case 88:  case 88:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 287 "loader.l"  #line 292 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_HITBACK, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_HITBACK, IVAL);
  YY_BREAK   YY_BREAK
 case 89:  case 89:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 288 "loader.l"  #line 293 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_STARTEQUIP, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_STARTEQUIP, IVAL);
  YY_BREAK   YY_BREAK
 case 90:  case 90:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 289 "loader.l"  #line 294 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_BLOCKSVIEW, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_BLOCKSVIEW, IVAL);
  YY_BREAK   YY_BREAK
 case 91:  case 91:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 290 "loader.l"  #line 295 "loader.l"
 op->arch->editable = IVAL;  op->arch->editable = IVAL;
  YY_BREAK   YY_BREAK
 case 92:  case 92:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 291 "loader.l"  #line 296 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_UNDEAD, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_UNDEAD, IVAL);
  YY_BREAK   YY_BREAK
 case 93:  case 93:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 292 "loader.l"  #line 297 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_SCARED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_SCARED, IVAL);
  YY_BREAK   YY_BREAK
 case 94:  case 94:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 293 "loader.l"  #line 298 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_UNAGGRESSIVE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_UNAGGRESSIVE, IVAL);
  YY_BREAK   YY_BREAK
 case 95:  case 95:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 294 "loader.l"  #line 299 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_REFL_MISSILE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_REFL_MISSILE, IVAL);
  YY_BREAK   YY_BREAK
 case 96:  case 96:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 295 "loader.l"  #line 300 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_REFL_SPELL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_REFL_SPELL, IVAL);
  YY_BREAK   YY_BREAK
 case 97:  case 97:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 296 "loader.l"  #line 301 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_MAGIC, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_MAGIC, IVAL);
  YY_BREAK   YY_BREAK
 case 98:  case 98:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 297 "loader.l"  #line 302 "loader.l"
 { if (IVAL) {  { if (IVAL) {
      SET_FLAG(op, FLAG_WIZ);       SET_FLAG(op, FLAG_WIZ);
      SET_FLAG(op, FLAG_WAS_WIZ);       SET_FLAG(op, FLAG_WAS_WIZ);
Line 2189
 
Line 2194
  YY_BREAK   YY_BREAK
 case 99:  case 99:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 307 "loader.l"  #line 312 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_WAS_WIZ, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_WAS_WIZ, IVAL);
  YY_BREAK   YY_BREAK
 case 100:  case 100:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 308 "loader.l"  #line 313 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_FIX_PLAYER, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_FIX_PLAYER, IVAL);
  YY_BREAK   YY_BREAK
 case 101:  case 101:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 309 "loader.l"  #line 314 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_TEAR_DOWN, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_TEAR_DOWN, IVAL);
  YY_BREAK   YY_BREAK
 case 102:  case 102:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 310 "loader.l"  #line 315 "loader.l"
 op->stats.luck = IVAL;  op->stats.luck = IVAL;
  YY_BREAK   YY_BREAK
 case 103:  case 103:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 311 "loader.l"  #line 316 "loader.l"
 op->run_away = IVAL;  op->run_away = IVAL;
  YY_BREAK   YY_BREAK
 case 104:  case 104:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 312 "loader.l"  #line 317 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_PASS_THRU, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_PASS_THRU, IVAL);
  YY_BREAK   YY_BREAK
 case 105:  case 105:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 313 "loader.l"  #line 318 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CAN_PASS_THRU, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CAN_PASS_THRU, IVAL);
  YY_BREAK   YY_BREAK
 case 106:  case 106:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 314 "loader.l"  #line 319 "loader.l"
 op->pick_up = IVAL;  op->pick_up = IVAL;
  YY_BREAK   YY_BREAK
 case 107:  case 107:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 315 "loader.l"  #line 320 "loader.l"
 op->anim_speed = IVAL;  op->anim_speed = IVAL;
  YY_BREAK   YY_BREAK
 case 108:  case 108:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 316 "loader.l"  #line 321 "loader.l"
 op->weight_limit = IVAL;  op->weight_limit = IVAL;
  YY_BREAK   YY_BREAK
 case 109:  case 109:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 317 "loader.l"  #line 322 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_DROP, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_DROP, IVAL);
  YY_BREAK   YY_BREAK
 case 110:  case 110:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 318 "loader.l"  #line 323 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_PRETEXT, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_PRETEXT, IVAL);
  YY_BREAK   YY_BREAK
 case 111:  case 111:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 319 "loader.l"  #line 324 "loader.l"
 op->will_apply = IVAL;  op->will_apply = IVAL;
  YY_BREAK   YY_BREAK
 case 112:  case 112:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 320 "loader.l"  #line 325 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_RANDOM_MOVE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_RANDOM_MOVE, IVAL);
  YY_BREAK   YY_BREAK
 case 113:  case 113:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 321 "loader.l"  #line 326 "loader.l"
 op->can_apply = IVAL;  op->can_apply = IVAL;
  YY_BREAK   YY_BREAK
 case 114:  case 114:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 322 "loader.l"  #line 327 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CAST_SPELL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CAST_SPELL, IVAL);
  YY_BREAK   YY_BREAK
 case 115:  case 115:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 323 "loader.l"  #line 328 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_SCROLL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_SCROLL, IVAL);
  YY_BREAK   YY_BREAK
 case 116:  case 116:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 324 "loader.l"  #line 329 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_WAND, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_WAND, IVAL);
  YY_BREAK   YY_BREAK
 case 117:  case 117:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 325 "loader.l"  #line 330 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_BOW, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_BOW, IVAL);
  YY_BREAK   YY_BREAK
 case 118:  case 118:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 326 "loader.l"  #line 331 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_ARMOUR, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_ARMOUR, IVAL);
  YY_BREAK   YY_BREAK
 case 119:  case 119:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 327 "loader.l"  #line 332 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_WEAPON, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_WEAPON, IVAL);
  YY_BREAK   YY_BREAK
 case 120:  case 120:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 328 "loader.l"  #line 333 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_RING, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_RING, IVAL);
  YY_BREAK   YY_BREAK
 case 121:  case 121:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 329 "loader.l"  #line 334 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_READY_WAND, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_READY_WAND, IVAL);
  YY_BREAK   YY_BREAK
 case 122:  case 122:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 330 "loader.l"  #line 335 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_READY_BOW, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_READY_BOW, IVAL);
  YY_BREAK   YY_BREAK
 case 123:  case 123:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 331 "loader.l"  #line 336 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_XRAYS, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_XRAYS, IVAL);
  YY_BREAK   YY_BREAK
 case 124:  case 124:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 332 "loader.l"  #line 337 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_FLOOR, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_FLOOR, IVAL);
  YY_BREAK   YY_BREAK
 case 125:  case 125:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 333 "loader.l"  #line 338 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_LIFESAVE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_LIFESAVE, IVAL);
  YY_BREAK   YY_BREAK
 case 126:  case 126:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 334 "loader.l"  #line 339 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_STRENGTH, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_STRENGTH, IVAL);
  YY_BREAK   YY_BREAK
 case 127:  case 127:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 335 "loader.l"  #line 340 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_SLEEP, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_SLEEP, IVAL);
  YY_BREAK   YY_BREAK
 case 128:  case 128:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 336 "loader.l"  #line 341 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_STAND_STILL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_STAND_STILL, IVAL);
  YY_BREAK   YY_BREAK
 case 129:  case 129:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 337 "loader.l"  #line 342 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_RANDOM_MOVE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_RANDOM_MOVE, IVAL);
  YY_BREAK   YY_BREAK
 case 130:  case 130:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 338 "loader.l"  #line 343 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_ONLY_ATTACK, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_ONLY_ATTACK, IVAL);
  YY_BREAK   YY_BREAK
 case 131:  case 131:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 339 "loader.l"  #line 344 "loader.l"
 op->armour = IVAL;  op->armour = IVAL;
  YY_BREAK   YY_BREAK
 case 132:  case 132:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 340 "loader.l"  #line 345 "loader.l"
 op->move_type = IVAL;  op->move_type = IVAL;
  YY_BREAK   YY_BREAK
 case 133:  case 133:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 341 "loader.l"  #line 346 "loader.l"
 op->move_status = IVAL;  op->move_status = IVAL;
  YY_BREAK   YY_BREAK
 case 134:  case 134:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 342 "loader.l"  #line 347 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CONFUSED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CONFUSED, IVAL);
  YY_BREAK   YY_BREAK
 case 135:  case 135:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 343 "loader.l"  #line 348 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_STEALTH, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_STEALTH, IVAL);
  YY_BREAK   YY_BREAK
 case 136:  case 136:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 344 "loader.l"  #line 349 "loader.l"
 add_button_link(op, op->map, IVAL);  add_button_link(op, op->map, IVAL);
  YY_BREAK   YY_BREAK
 case 137:  case 137:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 345 "loader.l"  #line 350 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CURSED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CURSED, IVAL);
  YY_BREAK   YY_BREAK
 case 138:  case 138:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 346 "loader.l"  #line 351 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_DAMNED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_DAMNED, IVAL);
  YY_BREAK   YY_BREAK
 case 139:  case 139:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 347 "loader.l"  #line 352 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_SEE_ANYWHERE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_SEE_ANYWHERE, IVAL);
  YY_BREAK   YY_BREAK
 case 140:  case 140:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 348 "loader.l"  #line 353 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_KNOWN_MAGICAL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_KNOWN_MAGICAL, IVAL);
  YY_BREAK   YY_BREAK
 case 141:  case 141:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 349 "loader.l"  #line 354 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_KNOWN_CURSED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_KNOWN_CURSED, IVAL);
  YY_BREAK   YY_BREAK
 case 142:  case 142:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 350 "loader.l"  #line 355 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_CAN_USE_SKILL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_CAN_USE_SKILL, IVAL);
  YY_BREAK   YY_BREAK
 case 143:  case 143:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 351 "loader.l"  #line 356 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_BEEN_APPLIED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_BEEN_APPLIED, IVAL);
  YY_BREAK   YY_BREAK
 case 144:  case 144:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 352 "loader.l"  #line 357 "loader.l"
 { char *y=yval();  { char *y=yval();
  if (*y=='\0') LOG(llevError,"Title without value.\n");   if (*y=='\0') LOG(llevError,"Title without value.\n");
  else FREE_AND_COPY(op->title, y);   else FREE_AND_COPY(op->title, y);
Line 2422
 
Line 2427
  YY_BREAK   YY_BREAK
 case 145:  case 145:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 356 "loader.l"  #line 361 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_READY_ROD, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_READY_ROD, IVAL);
  YY_BREAK   YY_BREAK
 case 146:  case 146:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 357 "loader.l"  #line 362 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_ROD, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_ROD, IVAL);
  YY_BREAK   YY_BREAK
 case 147:  case 147:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 358 "loader.l"  #line 363 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_READY_HORN, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_READY_HORN, IVAL);
  YY_BREAK   YY_BREAK
 case 148:  case 148:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 359 "loader.l"  #line 364 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_USE_HORN, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_USE_HORN, IVAL);
  YY_BREAK   YY_BREAK
 case 149:  case 149:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 360 "loader.l"  #line 365 "loader.l"
 op->expmul = FVAL;  op->expmul = FVAL;
  YY_BREAK   YY_BREAK
 case 150:  case 150:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 361 "loader.l"  #line 366 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_UNIQUE, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_UNIQUE, IVAL);
  YY_BREAK   YY_BREAK
 case 151:  case 151:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 362 "loader.l"  #line 367 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_MAKE_INVIS, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_MAKE_INVIS, IVAL);
  YY_BREAK   YY_BREAK
 case 152:  case 152:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 363 "loader.l"  #line 368 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_INV_LOCKED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_INV_LOCKED, IVAL);
  YY_BREAK   YY_BREAK
 case 153:  case 153:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 364 "loader.l"  #line 369 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_WOODED, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_WOODED, IVAL);
  YY_BREAK   YY_BREAK
 case 154:  case 154:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 365 "loader.l"  #line 370 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_HILLY, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_HILLY, IVAL);
  YY_BREAK   YY_BREAK
 case 155:  case 155:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 366 "loader.l"  #line 371 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_READY_SKILL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_READY_SKILL, IVAL);
  YY_BREAK   YY_BREAK
 case 156:  case 156:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 367 "loader.l"  #line 372 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_READY_WEAPON, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_READY_WEAPON, IVAL);
  YY_BREAK   YY_BREAK
 case 157:  case 157:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 368 "loader.l"  #line 373 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_SKILL_IDENT, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_SKILL_IDENT, IVAL);
  YY_BREAK   YY_BREAK
 case 158:  case 158:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 369 "loader.l"  #line 374 "loader.l"
 op->glow_radius = IVAL;  op->glow_radius = IVAL;
  YY_BREAK   YY_BREAK
 case 159:  case 159:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 370 "loader.l"  #line 375 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_BLIND, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_BLIND, IVAL);
  YY_BREAK   YY_BREAK
 case 160:  case 160:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 371 "loader.l"  #line 376 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_SEE_IN_DARK, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_SEE_IN_DARK, IVAL);
  YY_BREAK   YY_BREAK
 case 161:  case 161:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 372 "loader.l"  #line 377 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_IS_CAULDRON, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_IS_CAULDRON, IVAL);
  YY_BREAK   YY_BREAK
 case 162:  case 162:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 373 "loader.l"  #line 378 "loader.l"
 op->randomitems = find_treasurelist(yval());  op->randomitems = find_treasurelist(yval());
  YY_BREAK   YY_BREAK
 case 163:  case 163:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 374 "loader.l"  #line 379 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_DUST, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_DUST, IVAL);
  YY_BREAK   YY_BREAK
 case 164:  case 164:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 375 "loader.l"  #line 380 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_NO_STEAL, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_NO_STEAL, IVAL);
  YY_BREAK   YY_BREAK
 case 165:  case 165:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 376 "loader.l"  #line 381 "loader.l"
 SET_OR_CLEAR_FLAG(op, FLAG_ONE_HIT, IVAL);  SET_OR_CLEAR_FLAG(op, FLAG_ONE_HIT, IVAL);
  YY_BREAK   YY_BREAK
 case 166:  case 166:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 378 "loader.l"  #line 383 "loader.l"
 { /* Some archetypes have these values in them */ }  { /* Some archetypes have these values in them */ }
  YY_BREAK   YY_BREAK
 case 167:  case 167:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 379 "loader.l"  #line 384 "loader.l"
 { /* Probably the pupland archetypes - I imagined */ }  { /* Probably the pupland archetypes - I imagined */ }
  YY_BREAK   YY_BREAK
 case 168:  case 168:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 380 "loader.l"  #line 385 "loader.l"
 { /* That these are for the new combat code */ }  { /* That these are for the new combat code */ }
  YY_BREAK   YY_BREAK
 case 169:  case 169:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 381 "loader.l"  #line 386 "loader.l"
 { /* just ignore for now */ }  { /* just ignore for now */ }
  YY_BREAK   YY_BREAK
 case 170:  case 170:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 382 "loader.l"  #line 387 "loader.l"
 { }  { }
  YY_BREAK   YY_BREAK
 case 171:  case 171:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 384 "loader.l"  #line 389 "loader.l"
 {/* ignore empty lines, newlines we don't do above */}  {/* ignore empty lines, newlines we don't do above */}
  YY_BREAK   YY_BREAK
 case 172:  case 172:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 385 "loader.l"  #line 390 "loader.l"
 {}  {}
  YY_BREAK   YY_BREAK
 case YY_STATE_EOF(INITIAL):  case YY_STATE_EOF(INITIAL):
 case YY_STATE_EOF(MESSAGE):  case YY_STATE_EOF(MESSAGE):
 #line 387 "loader.l"  #line 392 "loader.l"
 {/* If we got an error, return the error.  Otherwise, return that we got EOF */  {/* If we got an error, return the error.  Otherwise, return that we got EOF */
      if (lex_error!=0) return lex_error; else return LL_EOF;}       if (lex_error!=0) return lex_error; else return LL_EOF;}
  YY_BREAK   YY_BREAK
 case 173:  case 173:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 389 "loader.l"  #line 394 "loader.l"
 { yyerror( "Unrecognized string"); lex_error= -1; }  { yyerror( "Unrecognized string"); lex_error= -1; }
  YY_BREAK   YY_BREAK
 case 174:  case 174:
 YY_RULE_SETUP  YY_RULE_SETUP
 #line 390 "loader.l"  #line 395 "loader.l"
 ECHO;  ECHO;
  YY_BREAK   YY_BREAK
   
Line 3461
 
Line 3466
  return 0;   return 0;
  }   }
 #endif  #endif
 #line 390 "loader.l"  #line 395 "loader.l"
   
   
 int yyerror(char *s)  int yyerror(char *s)
Line 3694
 
Line 3699
       strcat(buf,buf2);        strcat(buf,buf2);
   }    }
   if (op->animation_id != op2->animation_id) {    if (op->animation_id != op2->animation_id) {
       if (op->animation_id) {
     sprintf(buf2,"animation %s\n", animations[GET_ANIM_ID(op)].name);      sprintf(buf2,"animation %s\n", animations[GET_ANIM_ID(op)].name);
         if ( ! QUERY_FLAG (op, FLAG_ANIMATE)) {
           strcat (buf, buf2);
           sprintf (buf2, "is_animated 0\n");
         }
       } else {
         sprintf (buf2, "animation NONE\n");
       }
     strcat(buf, buf2);      strcat(buf, buf2);
   }    }
   if(op->stats.Str!=op2->stats.Str)    if(op->stats.Str!=op2->stats.Str)


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:11