ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/anim.c
(Generate patch)

Comparing deliantra/server/common/anim.c (file contents):
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:17 2006 UTC vs.
Revision 1.2 by elmex, Sun Aug 13 17:16:00 2006 UTC

1/* 1/*
2 * static char *rcsid_anim_c = 2 * static char *rcsid_anim_c =
3 * "$Id: anim.c,v 1.1.1.2 2006/02/22 18:01:17 elmex Exp $"; 3 * "$Id: anim.c,v 1.2 2006/08/13 17:16:00 elmex dead $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
115 } 115 }
116 fclose(fp); 116 fclose(fp);
117 LOG(llevDebug,"done. got (%d)\n", num_animations); 117 LOG(llevDebug,"done. got (%d)\n", num_animations);
118} 118}
119 119
120static int anim_compare(const Animations *a, const Animations *b) { 120static int anim_compare(Animations *a, Animations *b) {
121 return strcmp(a->name, b->name); 121 return strcmp(a->name, b->name);
122} 122}
123 123
124/* Tries to find the animation id that matches name. Returns an integer match 124/* Tries to find the animation id that matches name. Returns an integer match
125 * 0 if no match found (animation 0 is initialized as the 'bug' face 125 * 0 if no match found (animation 0 is initialized as the 'bug' face

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines