version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_anim_c = | | * static char *rcsid_anim_c = |
* "$Id: anim.c,v 1.12 2002/07/15 04:25:39 mwedel Exp $"; | | * "$Id: anim.c,v 1.13 2003/02/24 07:38:38 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
else if (NUM_FACINGS(op)==8) { | | else if (NUM_FACINGS(op)==8) { |
if (dir==0) base_state=0; | | if (dir==0) base_state=0; |
else base_state = (dir-1)*(NUM_ANIMATIONS(op)/4); | | else base_state = (dir-1)*(NUM_ANIMATIONS(op)/8); |
} | | } |
| | |
/* If beyond drawable states, reset */ | | /* If beyond drawable states, reset */ |
| | |
#endif | | #endif |
if(op->more) | | if(op->more) |
animate_object(op->more); | | animate_object(op->more); |
| | |
/* update_object will also recursively update all the pieces. | | /* update_object will also recursively update all the pieces. |
* as such, we call it last, and only call it for the head | | * as such, we call it last, and only call it for the head |
* piece, and not for the other tail pieces. | | * piece, and not for the other tail pieces. |