ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/artifact.h
(Generate patch)

Comparing deliantra/server/include/artifact.h (file contents):
Revision 1.2 by root, Tue Aug 29 08:01:36 2006 UTC vs.
Revision 1.4 by root, Mon May 28 21:15:55 2007 UTC

1typedef struct artifactstruct { 1/*
2 object *item; 2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
3 uint16 chance; 3 *
4 uint8 difficulty; 4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 struct artifactstruct *next; 5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6 linked_char *allowed; 6 * Copyright (©) 1992,2007 Frank Tore Johansen
7} artifact; 7 *
8 * Crossfire TRT is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the Free
10 * Software Foundation; either version 2 of the License, or (at your option)
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51
20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 *
22 * The authors can be reached via e-mail to <crossfire@schmorp.de>
23 */
8 24
9typedef struct artifactliststruct { 25struct artifact
10 uint8 type; /* Object type that this list represents */ 26{
11 uint16 total_chance; /* sum of chance for are artifacts on this list */ 27 object *item;
12 struct artifactliststruct *next; 28 uint16 chance;
13 struct artifactstruct *items; 29 uint8 difficulty;
14} artifactlist; 30 artifact *next;
31 linked_char *allowed;
32};
15 33
34struct artifactlist
35{
36 uint8 type; /* Object type that this list represents */
37 uint16 total_chance; /* sum of chance for are artifacts on this list */
38 artifactlist *next;
39 artifact *items;
40};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines