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

Comparing deliantra/server/common/friend.C (file contents):
Revision 1.17 by root, Thu Nov 8 19:43:23 2007 UTC vs.
Revision 1.19 by root, Thu Jan 8 00:54:55 2009 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,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002,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
103 delete obj; 103 delete obj;
104 } 104 }
105 } 105 }
106} 106}
107 107
108/*
109 * Dumps all friendly objects.
110 */
111void
112dump_friendly_objects (void)
113{
114 objectlink *ol;
115
116 for (ol = first_friendly_object; ol; ol = ol->next)
117 LOG (llevError, "%s (%d)\n", &ol->ob->name, ol->ob->count);
118}
119
120/* New function, MSW 2000-1-14 108/* New function, MSW 2000-1-14
121 * It traverses the friendly list removing objects that should not be here 109 * It traverses the friendly list removing objects that should not be here
122 * (ie, do not have friendly flag set, freed, etc) 110 * (ie, do not have friendly flag set, freed, etc)
123 */ 111 */
124void 112void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines