2 * Main definitions and externals
4 * Copyright 1998 Bertho A. Stultiens (BS)
11 #ifndef __WRC_WRCTYPES_H
15 #define WRC_VERSION "1.0.4"
16 #define WRC_RELEASEDATE "(10-Dec-1998)"
17 #define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
19 /* Only used in heavy debugging sessions */
22 /* Memory/load flags */
23 #define WRC_MO_MOVEABLE 0x0010
24 #define WRC_MO_PURE 0x0020
25 #define WRC_MO_PRELOAD 0x0040
26 #define WRC_MO_DISCARDABLE 0x1000
28 /* Resource type IDs */
29 #define WRC_RT_CURSOR (1)
30 #define WRC_RT_BITMAP (2)
31 #define WRC_RT_ICON (3)
32 #define WRC_RT_MENU (4)
33 #define WRC_RT_DIALOG (5)
34 #define WRC_RT_STRING (6)
35 #define WRC_RT_FONTDIR (7)
36 #define WRC_RT_FONT (8)
37 #define WRC_RT_ACCELERATOR (9)
38 #define WRC_RT_RCDATA (10)
39 #define WRC_RT_MESSAGETABLE (11)
40 #define WRC_RT_GROUP_CURSOR (12)
41 #define WRC_RT_GROUP_ICON (14)
42 #define WRC_RT_VERSION (16)
43 #define WRC_RT_DLGINCLUDE (17)
44 #define WRC_RT_PLUGPLAY (19)
45 #define WRC_RT_VXD (20)
46 #define WRC_RT_ANICURSOR (21)
47 #define WRC_RT_ANIICON (22)
49 /* Default class type IDs */
50 #define CT_BUTTON 0x80
52 #define CT_STATIC 0x82
53 #define CT_LISTBOX 0x83
54 #define CT_SCROLLBAR 0x84
55 #define CT_COMBOBOX 0x85
58 extern int debuglevel
;
59 #define DEBUGLEVEL_NONE 0x0000
60 #define DEBUGLEVEL_CHAT 0x0001
61 #define DEBUGLEVEL_DUMP 0x0002
62 #define DEBUGLEVEL_TRACE 0x0004
66 extern int create_res
;
67 extern int extensions
;
69 extern int create_header
;
70 extern int create_dir
;
73 extern int indirect_only
;
75 extern int alignment_pwr
;
77 extern DWORD codepage
;
79 extern int auto_register
;
80 extern int leave_case
;
83 extern char *output_name
;
84 extern char *input_name
;
85 extern char *header_name
;
88 extern resource_t
*resource_top
;
89 extern language_t
*currentlanguage
;