ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/crossedit/Defines.h
Revision: 1.3
Committed: Sun Aug 13 17:16:01 2006 UTC (17 years, 9 months ago) by elmex
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
State: FILE REMOVED
Log Message:
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

File Contents

# User Rev Content
1 root 1.1
2     #ifndef _Defines_h_
3     #define _Defines_h_
4    
5     #include <Posix.h>
6     #include <X11/Intrinsic.h>
7     #include <global.h>
8    
9     #ifndef CrossEdit
10     #define CrossEdit
11     #endif
12    
13     extern int FontSize;
14    
15     #define WIZARD_MODE
16    
17     #define STACK_SIZE 40
18     #define STACK_MIN 4
19     #define STACK_MAX 12
20     #define MAPLIST_SIZE 10
21     #define STYPELIST_SIZE 10
22     #define FILENAME_SIZE PATH_MAX
23    
24     #ifndef NeXT
25     #define EXIT_FAILURE 1
26     #endif
27    
28     /*
29     * Map size limits
30     */
31     #define MapMinWidth 1
32     #define MapMinHeight 1
33     #define MapMaxWidth 100
34     #define MapMaxHeight 100
35    
36     #define AppClass "Crossedit"
37    
38     typedef struct _Edit *Edit;
39     typedef struct _App *App;
40     typedef struct _Attr *Attr;
41     typedef struct _MapAttr *MapAttr;
42    
43     typedef struct mapdef *Map;
44    
45     extern enum DisplayMode displaymode;
46    
47     /*typedef struct obj *Object;*/
48    
49     /* temporary kludge */
50    
51     extern XColor discolor[];
52    
53     void CrEditSelect(Widget w,XRectangle rect);
54    
55     enum DisplayMode {Dm_Png};
56    
57     /* Useful macro */
58     #define HAS_COLOUR(widg) (PlanesOfScreen(XtScreen(widg)) > 1)
59    
60     #endif
61    
62    
63     /*** end of Defines.h ***/
64