convert line ends
[canaan.git] / prj / cam / src / editor / objedit.h
blob58b126253d7da77560e5605d41081834e34fbcd3
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/editor/objedit.h,v 1.4 2000/01/29 13:12:49 adurant Exp $
7 #pragma once
9 #ifndef __OBJEDIT_H
10 #define __OBJEDIT_H
12 #include <objtype.h>
14 #ifdef __cplusplus
15 #include <str.h>
16 #define ObjWarnName(obj) ((const char *)cStr(ObjEditName(obj)))
17 #else
18 #define ObjWarnName ObjEditName
19 #endif
22 // ObjEditName
24 // Get an object's printable name for editing/debugging
27 EXTERN const char* ObjEditName(ObjID obj);
30 // ObjEditNamed
32 // Gets the object described by a string
35 EXTERN ObjID EditGetObjNamed(const char* name);
38 // ObjEditInit
40 // Initialize object editing
43 EXTERN void ObjEditInit(void);
45 #endif // __OBJEDIT_H