version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_anim_c = | | * static char *rcsid_anim_c = |
* "$Id: anim.c,v 1.3 2000/06/14 03:57:47 cvs Exp $"; | | * "$Id: anim.c,v 1.4 2001/01/24 05:01:36 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* it will have a default value that should be pretty obvious. | | * it will have a default value that should be pretty obvious. |
*/ | | */ |
animations = malloc(10*sizeof(Animations)); | | animations = malloc(10*sizeof(Animations)); |
animations[0].name=NULL; | | /* set the name so we don't try to dereferance null. |
| | * Put # at start so it will be first in alphabetical |
| | * order. |
| | */ |
| | animations[0].name=add_string("###none"); |
animations[0].num_animations=1; | | animations[0].num_animations=1; |
animations[0].faces = malloc(sizeof(Fontindex)); | | animations[0].faces = malloc(sizeof(Fontindex)); |
animations[0].faces[0]=0; | | animations[0].faces[0]=0; |