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.28 by root, Thu Nov 8 19:43:23 2007 UTC vs.
Revision 1.30 by root, Tue May 6 16:55:25 2008 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002-2003,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002-2003,2007 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992,2007 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify 8 * Deliantra is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
30std::vector<animation> animations; 30std::vector<animation> animations;
31 31
32void 32void
33animation::resize (int new_size) 33animation::resize (int new_size)
34{ 34{
35 sfree <faceidx> (faces, num_animations); 35 sfree<faceidx> (faces, num_animations);
36 num_animations = new_size; 36 num_animations = new_size;
37 faces = salloc<faceidx> (num_animations); 37 faces = salloc<faceidx> (num_animations);
38} 38}
39 39
40animation & 40animation &

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines