… | |
… | |
409 | |
409 | |
410 | static void |
410 | static void |
411 | set_move (MoveType &mt, const char *str) |
411 | set_move (MoveType &mt, const char *str) |
412 | { |
412 | { |
413 | static const struct flagstr { |
413 | static const struct flagstr { |
414 | char *name; |
414 | const char *name; |
415 | MoveType flags; |
415 | MoveType flags; |
416 | } move_flags[] = { |
416 | } move_flags[] = { |
417 | { "walk" , MOVE_WALK }, |
417 | { "walk" , MOVE_WALK }, |
418 | { "flying" , MOVE_FLY_LOW | MOVE_FLY_HIGH }, |
418 | { "flying" , MOVE_FLY_LOW | MOVE_FLY_HIGH }, |
419 | { "fly_low" , MOVE_FLY_LOW }, |
419 | { "fly_low" , MOVE_FLY_LOW }, |
… | |
… | |
1243 | f.put (KW_msg, KW_endmsg, op->msg); |
1243 | f.put (KW_msg, KW_endmsg, op->msg); |
1244 | if (op->lore != tmp->lore) |
1244 | if (op->lore != tmp->lore) |
1245 | f.put (KW_lore, KW_endlore, op->lore); |
1245 | f.put (KW_lore, KW_endlore, op->lore); |
1246 | |
1246 | |
1247 | CMP_OUT (other_arch); |
1247 | CMP_OUT (other_arch); |
1248 | CMP_OUT (face); |
1248 | |
|
|
1249 | if (op->face != tmp->face) f.put (KW_face, op->face ? &faces [op->face] : 0); |
1249 | |
1250 | |
1250 | if (op->animation_id != tmp->animation_id) |
1251 | if (op->animation_id != tmp->animation_id) |
1251 | if (op->animation_id) |
1252 | if (op->animation_id) |
1252 | { |
1253 | { |
1253 | f.put (KW_animation, animations[GET_ANIM_ID (op)].name); |
1254 | f.put (KW_animation, animations[GET_ANIM_ID (op)].name); |