convert line ends
[canaan.git] / prj / cam / src / object / traitln_.h
blobc7d4cc4950d8f569e1c9568a0865a5f98993bf6c
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/object/traitln_.h,v 1.4 2000/01/29 13:25:08 adurant Exp $
7 #pragma once
8 #ifndef __TRAITLN__H
9 #define __TRAITLN__H
10 #include <traittyp.h>
11 #include <linktype.h>
12 #include <dlist.h>
14 ////////////////////////////////////////////////////////////
15 // TRAIT MANAGER INTERNAL LINK STUFF
18 //------------------------------------------------------------
19 // RELATION IDS
21 EXTERN IRelation* gpMetaPropRel;
23 //------------------------------------------------------------
24 // FAST RELATION ACCESS
27 struct sMetaPropLink
29 LinkID id;
30 ObjID dest;
31 tMetaPropertyPriority pri;
35 typedef cSimpleDList<sMetaPropLink> MetaPropLinks;
38 // Get a prioritized list of metaproperty links (null if none)
41 EXTERN MetaPropLinks* GetObjectMetaPropLinks(ObjID obj);
43 //------------------------------------------------------------
44 // RELATION INITIALIZATION
47 EXTERN void InitTraitRelations(void);
48 EXTERN void TermTraitRelations(void);
51 #endif // __TRAITLN__H