… | |
… | |
134 | fclose (fp); |
134 | fclose (fp); |
135 | LOG (llevDebug, "done. got (%d)\n", num_animations); |
135 | LOG (llevDebug, "done. got (%d)\n", num_animations); |
136 | } |
136 | } |
137 | |
137 | |
138 | static int |
138 | static int |
139 | anim_compare (const animation * a, const animation * b) |
139 | anim_compare (const animation *a, const animation *b) |
140 | { |
140 | { |
141 | return strcmp (a->name, b->name); |
141 | return std::strcmp (a->name, b->name); |
142 | } |
142 | } |
143 | |
143 | |
144 | /* Tries to find the animation id that matches name. Returns an integer match |
144 | /* Tries to find the animation id that matches name. Returns an integer match |
145 | * 0 if no match found (animation 0 is initialised as the 'bug' face |
145 | * 0 if no match found (animation 0 is initialised as the 'bug' face |
146 | */ |
146 | */ |