Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
artifact.h
Go to the documentation of this file.
1
/*
2
CrossFire, A Multiplayer game for X-windows
3
4
Copyright (C) 2002-2006 Mark Wedel & Crossfire Development Team
5
Copyright (C) 1992 Frank Tore Johansen
6
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21
The authors can be reached via e-mail at crossfire-devel@real-time.com
22
*/
23
31
#ifndef ARTIFACT_H
32
#define ARTIFACT_H
33
37
typedef
struct
artifactstruct
{
38
object
*
item
;
39
uint16
chance
;
40
uint8
difficulty
;
41
struct
artifactstruct
*
next
;
42
linked_char
*
allowed
;
43
}
artifact
;
44
48
typedef
struct
artifactliststruct
{
49
uint8
type
;
50
uint16
total_chance
;
51
struct
artifactliststruct
*
next
;
52
struct
artifactstruct
*
items
;
53
}
artifactlist
;
54
55
#endif
/* ARTIFACT_H */
artifactliststruct::items
struct artifactstruct * items
Definition:
artifact.h:52
linked_char
Definition:
global.h:159
artifactliststruct::type
uint8 type
Definition:
artifact.h:49
artifactliststruct::next
struct artifactliststruct * next
Definition:
artifact.h:51
artifactstruct::difficulty
uint8 difficulty
Definition:
artifact.h:40
artifactstruct::chance
uint16 chance
Definition:
artifact.h:39
artifact
struct artifactstruct artifact
artifactstruct::allowed
linked_char * allowed
Definition:
artifact.h:42
uint8
unsigned char uint8
Definition:
global.h:75
artifactliststruct
Definition:
artifact.h:48
artifactliststruct::total_chance
uint16 total_chance
Definition:
artifact.h:50
artifactstruct
Definition:
artifact.h:37
artifactlist
struct artifactliststruct artifactlist
uint16
unsigned short uint16
Definition:
global.h:67
artifactstruct::item
object * item
Definition:
artifact.h:38
artifactstruct::next
struct artifactstruct * next
Definition:
artifact.h:41
crossfire-code
server
branches
1.12
include
artifact.h
Generated on Sun Nov 18 2018 02:40:29 for Crossfire Server, Branches 1.12 by
1.8.6