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

Comparing deliantra/server/common/init.C (file contents):
Revision 1.5 by root, Mon Sep 4 11:07:59 2006 UTC vs.
Revision 1.6 by pippijn, Thu Sep 7 09:37:11 2006 UTC

1/* 1/*
2 * static char *rcsid_init_c = 2 * static char *rcsid_init_c =
3 * "$Id: init.C,v 1.5 2006/09/04 11:07:59 root Exp $"; 3 * "$Id: init.C,v 1.6 2006/09/07 09:37:11 pippijn Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
266 * Sets up and initialises the linked list of free and used objects. 266 * Sets up and initialises the linked list of free and used objects.
267 * Allocates a certain chunk of objects and puts them on the free list. 267 * Allocates a certain chunk of objects and puts them on the free list.
268 * Called by init_library(); 268 * Called by init_library();
269 */ 269 */
270 270
271void
271void init_objects(void) { 272init_objects(void)
272 int i; 273{
273/* Initialize all objects: */ 274 /* Initialize all objects: */
274 objects=NULL; 275 objects = NULL;
275 active_objects = NULL; 276 active_objects = NULL;
276} 277}
277 278
278/* 279/*
279 * Initialises global variables which can be changed by options. 280 * Initialises global variables which can be changed by options.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines