LightWrap++
AC++wrapperfortheLightWave3DSDK
lw_version.h
Go to the documentation of this file.
1 
6 #ifndef LW_VERSION
7 #define LW_VERSION
8 
9 #define LWPP_COMMANDFUNC_GLOBAL "LW Command Interface"
10 
11 #ifndef LW_SDK
12 #define LW_SDK 75 // base version of the LW SDK to use
13 #endif
14 
15 #ifdef LW_SDK
16  #if LW_SDK == 75
17 
18  // globals
19  #define LWPP_TEXTUREFUNCS_GLOBAL "Texture Functions 3"
20  #define LWPP_TXTREDFUNCS_GLOBAL "Texture Editor 2"
21 
22  #define LWPP_DIRINFOFUNC_GLOBAL "Directory Info"
23  #define LWPP_FILETYPEFUNC_GLOBAL "File Type Pattern"
24  #define LWPP_FILEACTIVATEFUNC_GLOBAL "File Request 2"
25  #define LWPP_MESSAGEFUNCS_GLOBAL "Info Messages 2"
26  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
27  #define LWPP_OBJECTINFO_GLOBAL "LW Object Info 4"
28  #define LWPP_OBJECTFUNCS_GLOBAL "Scene Objects 4"
29  #define LWPP_INTERFACEINFO_GLOBAL "LW Interface Info 5"
30 
31  #define LWPP_PANEL_SERVICES_NAME "LWPanelServices"
32  #define LWPP_PANELFUNCS_GLOBAL "LWPanelServices"
33  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
34  #define LWPP_CONTEXTMENU_GLOBAL "ContextMenuServices"
35  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
36  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
37  #define LWPP_PANELS_API_VERSION 19
38 
39  #define LWPP_ITEMINFO_GLOBAL "LW Item Info 3"
40  #define LWPP_BONEINFO_GLOBAL "LW Bone Info 3"
41  #define LWPP_LIGHTINFO_GLOBAL "LW Light Info 3"
42  #define LWPP_CAMERAINFO_GLOBAL "LW Camera Info 2"
43  #define LWPP_SCENEINFO_GLOBAL "LW Scene Info 3"
44  #define LWPP_TIMEINFO_GLOBAL "LW Time Info"
45  #define LWPP_COMPINFO_GLOBAL "LW Compositing Info"
46  #define LWPP_BACKDROPINFO_GLOBAL "LW Backdrop Info 2"
47  #define LWPP_FOGINFO_GLOBAL "LW Fog Info"
48 
49  #define LWPP_VIEWPORTINFO_GLOBAL "LW Viewport Info"
50  #define LWPP_GLOBALPOOL_RENDER_GLOBAL "Global Render Memory"
51  #define LWPP_GLOBALPOOL_GLOBAL "Global Memory"
52  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
53 
54  #define LWPP_COMRING_GLOBAL "LW Communication Ring"
55  #define LWPP_SERVERINFO_GLOBAL "LW Server Info"
56 
57  #define LWPP_SURFACEFUNCS_GLOBAL "Surface Functions 3"
58 
59  #define LWPP_SYSTEMID_GLOBAL "System ID"
60  #define LWPP_PRODUCTINFO_GLOBAL "Product Info"
61  #define LWPP_MTUTILFUNCS_GLOBAL "MultiThreading Utilities"
62 
63  #define LWPP_MTUTILFUNCS_GLOBAL_9 "MultiThreading Utilities"
64 
65  #define LWPP_VPARMFUNCS_GLOBAL "LWVParmFuncs 2"
66  #define LWPP_ENVELOPEFUNCS_GLOBAL "Animation Envelopes"
67  #define LWPP_CHANNELINFO_GLOBAL "Channel Info 2"
68  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
69 
70  #define LWPP_INSTUPDATE_GLOBAL "Instance Update"
71 
72  #define LWPP_FILEIOFUNCS_GLOBAL "File IO"
73 
74  #define LWPP_IMAGELIST_GLOBAL "LW Image List 3"
75  #define LWPP_IMAGEUTIL_GLOBAL "Image Utility"
76 
77  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
78 
79  // added in LW 9.0 - only load in LW 9.0+ as well
80 
81  #define LWPP_NODEFUNCS_GLOBAL "NodeFuncs"
82  #define LWPP_NODEINPUTFUNCS_GLOBAL "NodeInputFuncs"
83  #define LWPP_NODEOUTPUTFUNCS_GLOBAL "NodeOutputFuncs"
84  #define LWPP_NODEUTILITYFUNCS_GLOBAL "NodeUtilityFuncs"
85  #define LWPP_NODEDRAWFUNCS_GLOBAL "NodeDrawFuncs"
86  #define LWPP_NODEEDITORFUNCS_GLOBAL "NodeEditorFuncs"
87 
88  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
89 
90  // classes
91  #define LWPP_IMAGELOADER_VERSION 3
92  #define LWPP_IMAGESAVER_VERSION 2
93  #define LWPP_MASTER_VERSION 4
94  #define LWPP_TEXTURE_VERSION 5
95  #define LWPP_SHADER_VERSION 4
96  #define LWPP_IMAGEFILTER_VERSION 4
97  #define LWPP_PIXELFILTER_VERSION 6
98  #define LWPP_DISPLACEMENT_VERSION 5
99  #define LWPP_TEXTURE_VERSION 5
100  #define LWPP_SHADER_VERSION 4
101  #define LWPP_CUSTOMOBJECT_VERSION 4
102  #define LWPP_NODE_VERSION 1
103  #define LWPP_MASTER_VERSION 4
104 
105  #elif LW_SDK == 93
106 
107 // globals
108  #define LWPP_TEXTUREFUNCS_GLOBAL "Texture Functions 3"
109  #define LWPP_TXTREDFUNCS_GLOBAL "Texture Editor 2"
110 
111  #define LWPP_DIRINFOFUNC_GLOBAL "Directory Info"
112  #define LWPP_FILETYPEFUNC_GLOBAL "File Type Pattern"
113  #define LWPP_FILEACTIVATEFUNC_GLOBAL "File Request 2"
114  #define LWPP_MESSAGEFUNCS_GLOBAL "Info Messages 2"
115  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
116  #define LWPP_OBJECTINFO_GLOBAL "LW Object Info 4"
117  #define LWPP_OBJECTFUNCS_GLOBAL "Scene Objects 4"
118  #define LWPP_INTERFACEINFO_GLOBAL "LW Interface Info 5"
119 
120  #define LWPP_PANEL_SERVICES_NAME "LWPanelServices"
121  #define LWPP_PANELFUNCS_GLOBAL "LWPanelServices"
122  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
123  #define LWPP_CONTEXTMENU_GLOBAL "ContextMenuServices"
124  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
125  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
126  #define LWPP_PANELS_API_VERSION 19
127 
128  //updated from 3 to 4
129  #define LWPP_ITEMINFO_GLOBAL "LW Item Info 4"
130  #define LWPP_BONEINFO_GLOBAL "LW Bone Info 3"
131  #define LWPP_LIGHTINFO_GLOBAL "LW Light Info 3"
132 
133  //Updated LWCam info from 2 to 5
134  #define LWPP_CAMERAINFO_GLOBAL "LW Camera Info 5"
135 
136  //Added evaluator funcs
137  #define LWPP_CAMERAEVALUATIONFUNCS_GLOBAL "LW Camera Evaluation Funcs 2"
138 
139  //Updated from 3 to 4
140  #define LWPP_SCENEINFO_GLOBAL "LW Scene Info 4"
141  #define LWPP_TIMEINFO_GLOBAL "LW Time Info"
142  #define LWPP_COMPINFO_GLOBAL "LW Compositing Info"
143  #define LWPP_BACKDROPINFO_GLOBAL "LW Backdrop Info 2"
144  #define LWPP_FOGINFO_GLOBAL "LW Fog Info"
145 
146  #define LWPP_VIEWPORTINFO_GLOBAL "LW Viewport Info"
147  #define LWPP_GLOBALPOOL_RENDER_GLOBAL "Global Render Memory"
148  #define LWPP_GLOBALPOOL_GLOBAL "Global Memory"
149  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
150 
151  #define LWPP_COMRING_GLOBAL "LW Communication Ring"
152  #define LWPP_SERVERINFO_GLOBAL "LW Server Info"
153 
154  #define LWPP_SURFACEFUNCS_GLOBAL "Surface Functions 3"
155 
156  #define LWPP_SYSTEMID_GLOBAL "System ID"
157  #define LWPP_PRODUCTINFO_GLOBAL "Product Info"
158  #define LWPP_MTUTILFUNCS_GLOBAL "MultiThreading Utilities"
159 
160  #define LWPP_MTUTILFUNCS_GLOBAL_9 "MultiThreading Utilities"
161 
162  #define LWPP_VPARMFUNCS_GLOBAL "LWVParmFuncs 2"
163  #define LWPP_ENVELOPEFUNCS_GLOBAL "Animation Envelopes"
164  #define LWPP_CHANNELINFO_GLOBAL "Channel Info 2"
165  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
166 
167  #define LWPP_INSTUPDATE_GLOBAL "Instance Update"
168 
169  #define LWPP_FILEIOFUNCS_GLOBAL "File IO"
170 
171  #define LWPP_IMAGELIST_GLOBAL "LW Image List 3"
172  #define LWPP_IMAGEUTIL_GLOBAL "Image Utility"
173 
174  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
175 
176  // added in LW 9.0 - only load in LW 9.0+ as well
177 
178  #define LWPP_NODEFUNCS_GLOBAL "NodeFuncs"
179  #define LWPP_NODEINPUTFUNCS_GLOBAL "NodeInputFuncs"
180  #define LWPP_NODEOUTPUTFUNCS_GLOBAL "NodeOutputFuncs"
181  #define LWPP_NODEUTILITYFUNCS_GLOBAL "NodeUtilityFuncs"
182  #define LWPP_NODEDRAWFUNCS_GLOBAL "NodeDrawFuncs"
183  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
184 
185  // classes
186  #define LWPP_IMAGELOADER_VERSION 2
187  #define LWPP_IMAGESAVER_VERSION 2
188  #define LWPP_MASTER_VERSION 4
189  #define LWPP_TEXTURE_VERSION 5
190  #define LWPP_SHADER_VERSION 4
191  #define LWPP_IMAGEFILTER_VERSION 4
192  #define LWPP_TEXTURE_VERSION 5
193  #define LWPP_SHADER_VERSION 4
194  #define LWPP_PIXELFILTER_VERSION 6
195  #define LWPP_DISPLACEMENT_VERSION 5
196  #define LWPP_CUSTOMOBJECT_VERSION 5
197  #define LWPP_NODE_VERSION 2
198  #define LWPP_MASTER_VERSION 4
199 
200  #elif LW_SDK == 95
201 
202 // globals
203  #define LWPP_TEXTUREFUNCS_GLOBAL "Texture Functions 3"
204  #define LWPP_TXTREDFUNCS_GLOBAL "Texture Editor 2"
205 
206  #define LWPP_DIRINFOFUNC_GLOBAL "Directory Info"
207  #define LWPP_FILETYPEFUNC_GLOBAL "File Type Pattern"
208  #define LWPP_FILEACTIVATEFUNC_GLOBAL "File Request 2"
209  #define LWPP_MESSAGEFUNCS_GLOBAL "Info Messages 2"
210  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
211  #define LWPP_OBJECTINFO_GLOBAL "LW Object Info 4"
212  #define LWPP_OBJECTFUNCS_GLOBAL "Scene Objects 4"
213  #define LWPP_INTERFACEINFO_GLOBAL "LW Interface Info 5"
214 
215  #define LWPP_PANEL_SERVICES_NAME "LWPanelServices"
216  #define LWPP_PANELFUNCS_GLOBAL "LWPanelServices"
217  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
218  #define LWPP_CONTEXTMENU_GLOBAL "ContextMenuServices"
219  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
220  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
221  #define LWPP_PANELS_API_VERSION 19
222 
223  //updated from 3 to 4
224  #define LWPP_ITEMINFO_GLOBAL "LW Item Info 4"
225  #define LWPP_BONEINFO_GLOBAL "LW Bone Info 3"
226  #define LWPP_LIGHTINFO_GLOBAL "LW Light Info 3"
227 
228  //Updated LWCam info from 2 to 5
229  #define LWPP_CAMERAINFO_GLOBAL "LW Camera Info 5"
230 
231  //Added evaluator funcs
232  #define LWPP_CAMERAEVALUATIONFUNCS_GLOBAL "LW Camera Evaluation Funcs 2"
233 
234  //Updated from 3 to 4
235  #define LWPP_SCENEINFO_GLOBAL "LW Scene Info 4"
236  #define LWPP_TIMEINFO_GLOBAL "LW Time Info"
237  #define LWPP_COMPINFO_GLOBAL "LW Compositing Info"
238  #define LWPP_BACKDROPINFO_GLOBAL "LW Backdrop Info 2"
239  #define LWPP_FOGINFO_GLOBAL "LW Fog Info"
240 
241  #define LWPP_VIEWPORTINFO_GLOBAL "LW Viewport Info"
242  #define LWPP_GLOBALPOOL_RENDER_GLOBAL "Global Render Memory"
243  #define LWPP_GLOBALPOOL_GLOBAL "Global Memory"
244  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
245 
246  #define LWPP_COMRING_GLOBAL "LW Communication Ring"
247  #define LWPP_SERVERINFO_GLOBAL "LW Server Info"
248  #define LWPP_SURFACEFUNCS_GLOBAL "Surface Functions 3"
249 
250  #define LWPP_SYSTEMID_GLOBAL "System ID"
251  #define LWPP_PRODUCTINFO_GLOBAL "Product Info"
252  #define LWPP_MTUTILFUNCS_GLOBAL "MultiThreading Utilities"
253 
254  #define LWPP_MTUTILFUNCS_GLOBAL_9 "MultiThreading Utilities"
255 
256  #define LWPP_VPARMFUNCS_GLOBAL "LWVParmFuncs 2"
257  #define LWPP_ENVELOPEFUNCS_GLOBAL "Animation Envelopes"
258  #define LWPP_CHANNELINFO_GLOBAL "Channel Info 2"
259  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
260 
261  #define LWPP_INSTUPDATE_GLOBAL "Instance Update"
262 
263  #define LWPP_FILEIOFUNCS_GLOBAL "File IO"
264 
265  #define LWPP_IMAGELIST_GLOBAL "LW Image List 5"
266  #define LWPP_IMAGEUTIL_GLOBAL "Image Utility 3"
267 
268  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
269  #define LWPP_COLORACTIVATEFUNC_GLOBAL "Color Picker"
270 
271  // added in LW 9.0 - only load in LW 9.0+ as well
272 
273  #define LWPP_NODEFUNCS_GLOBAL "NodeFuncs"
274  #define LWPP_NODEINPUTFUNCS_GLOBAL "NodeInputFuncs"
275  #define LWPP_NODEOUTPUTFUNCS_GLOBAL "NodeOutputFuncs"
276  #define LWPP_NODEUTILITYFUNCS_GLOBAL "NodeUtilityFuncs"
277  #define LWPP_NODEDRAWFUNCS_GLOBAL "NodeDrawFuncs"
278  #define LWPP_NODEEDITORFUNCS_GLOBAL "NodeEditorFuncs"
279  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
280  #define LWPP_PARTICLE_SERVICES_GLOBAL "Particle Services"
281 
282  #define LWPP_LIGHTEVALUATIONFUNCS "LW Light Evaluation Funcs"
283 
284  // classes
285  #define LWPP_COLORPICK_VERSION 4
286  #define LWPP_IMAGELOADER_VERSION 3
287  #define LWPP_IMAGESAVER_VERSION 3
288  #define LWPP_MASTER_VERSION 4
289  #define LWPP_TEXTURE_VERSION 5
290  #define LWPP_SHADER_VERSION 4
291  #define LWPP_IMAGEFILTER_VERSION 4
292  #define LWPP_TEXTURE_VERSION 5
293  #define LWPP_SHADER_VERSION 4
294  #define LWPP_PIXELFILTER_VERSION 6
295  #define LWPP_DISPLACEMENT_VERSION 5
296  #define LWPP_CUSTOMOBJECT_VERSION 5
297  #define LWPP_VOLUMETRIC_VERSION 7
298  #define LWPP_NODE_VERSION 2
299  #define LWPP_MASTER_VERSION 4
300 
301  #define LWPP_LIGHT_VERSION 1
302 
303  #elif LW_SDK == 96
304 
305 // globals
306  #define LWPP_TEXTUREFUNCS_GLOBAL "Texture Functions 3"
307  #define LWPP_TXTREDFUNCS_GLOBAL "Texture Editor 2"
308 
309  #define LWPP_DIRINFOFUNC_GLOBAL "Directory Info"
310  #define LWPP_FILETYPEFUNC_GLOBAL "File Type Pattern"
311  #define LWPP_FILEACTIVATEFUNC_GLOBAL "File Request 2"
312  #define LWPP_MESSAGEFUNCS_GLOBAL "Info Messages 2"
313  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
314  #define LWPP_OBJECTINFO_GLOBAL "LW Object Info 4"
315  #define LWPP_OBJECTFUNCS_GLOBAL "Scene Objects 4"
316  #define LWPP_INTERFACEINFO_GLOBAL "LW Interface Info 5"
317 
318  #define LWPP_PANEL_SERVICES_NAME "LWPanelServices"
319  #define LWPP_PANELFUNCS_GLOBAL "LWPanelServices"
320  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
321  #define LWPP_CONTEXTMENU_GLOBAL "ContextMenuServices"
322  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
323  #define LWPP_LMONFUNCS_GLOBAL "LWLMonFuncs"
324  #define LWPP_COLORACTIVATEFUNC_GLOBAL "Color Picker"
325 
326  #define LWPP_PANELS_API_VERSION 20
327 
328  //updated from 3 to 4
329  #define LWPP_ITEMINFO_GLOBAL "LW Item Info 4"
330  #define LWPP_BONEINFO_GLOBAL "LW Bone Info 3"
331  #define LWPP_LIGHTINFO_GLOBAL "LW Light Info 3"
332 
333  //Updated LWCam info from 2 to 5
334  #define LWPP_CAMERAINFO_GLOBAL "LW Camera Info 5"
335 
336  //Added evaluator funcs
337  #define LWPP_CAMERAEVALUATIONFUNCS_GLOBAL "LW Camera Evaluation Funcs 2"
338 
339  //Updated from 3 to 4
340  #define LWPP_SCENEINFO_GLOBAL "LW Scene Info 4"
341  #define LWPP_TIMEINFO_GLOBAL "LW Time Info"
342  #define LWPP_COMPINFO_GLOBAL "LW Compositing Info"
343  #define LWPP_BACKDROPINFO_GLOBAL "LW Backdrop Info 2"
344  #define LWPP_FOGINFO_GLOBAL "LW Fog Info"
345 
346  #define LWPP_VIEWPORTINFO_GLOBAL "LW Viewport Info"
347  #define LWPP_GLOBALPOOL_RENDER_GLOBAL "Global Render Memory"
348  #define LWPP_GLOBALPOOL_GLOBAL "Global Memory"
349  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
350 
351  #define LWPP_COMRING_GLOBAL "LW Communication Ring"
352  #define LWPP_SERVERINFO_GLOBAL "LW Server Info"
353  #define LWPP_SURFACEFUNCS_GLOBAL "Surface Functions 3"
354 
355  #define LWPP_SYSTEMID_GLOBAL "System ID"
356  #define LWPP_PRODUCTINFO_GLOBAL "Product Info"
357  #define LWPP_MTUTILFUNCS_GLOBAL "MultiThreading Utilities"
358 
359  #define LWPP_MTUTILFUNCS_GLOBAL_9 "MultiThreading Utilities"
360 
361  #define LWPP_VPARMFUNCS_GLOBAL "LWVParmFuncs 2"
362  #define LWPP_ENVELOPEFUNCS_GLOBAL "Animation Envelopes"
363  #define LWPP_CHANNELINFO_GLOBAL "Channel Info 2"
364  #define LWPP_XPANELFUNCS_GLOBAL "LWXPanel"
365 
366  #define LWPP_INSTUPDATE_GLOBAL "Instance Update"
367 
368  #define LWPP_FILEIOFUNCS_GLOBAL "File IO"
369 
370  #define LWPP_IMAGELIST_GLOBAL "LW Image List 3"
371  #define LWPP_IMAGEUTIL_GLOBAL "Image Utility"
372 
373  #define LWPP_PREVIEWFUNCS_GLOBAL "Preview Functions"
374 
375  // added in LW 9.0 - only load in LW 9.0+ as well
376 
377  #define LWPP_NODEFUNCS_GLOBAL "NodeFuncs"
378  #define LWPP_NODEINPUTFUNCS_GLOBAL "NodeInputFuncs"
379  #define LWPP_NODEOUTPUTFUNCS_GLOBAL "NodeOutputFuncs"
380  #define LWPP_NODEUTILITYFUNCS_GLOBAL "NodeUtilityFuncs"
381  #define LWPP_NODEDRAWFUNCS_GLOBAL "NodeDrawFuncs"
382  #define LWPP_NODEEDITORFUNCS_GLOBAL "NodeEditorFuncs"
383  #define LWPP_RASTERFUNCS_GLOBAL "RasterServices"
384  #define LWPP_PARTICLE_SERVICES_GLOBAL "Particle Services"
385 
386  #define LWPP_LIGHTEVALUATIONFUNCS "LW Light Evaluation Funcs"
387 
388  // classes
389  #define LWPP_IMAGELOADER_VERSION 2
390  #define LWPP_IMAGESAVER_VERSION 2
391  #define LWPP_MASTER_VERSION 4
392  #define LWPP_TEXTURE_VERSION 5
393  #define LWPP_SHADER_VERSION 4
394  #define LWPP_IMAGEFILTER_VERSION 4
395  #define LWPP_TEXTURE_VERSION 5
396  #define LWPP_SHADER_VERSION 4
397 
398  #define LWPP_DISPLACEMENT_VERSION 5
399  #define LWPP_CUSTOMOBJECT_VERSION 5
400  #define LWPP_VOLUMETRIC_VERSION 7
401  #define LWPP_NODE_VERSION 2
402  #define LWPP_MASTER_VERSION 4
403  #define LWPP_COLORPICK_VERSION 4
404 
405  #define LWPP_LIGHT_VERSION 1
406 
407  #endif // LW_SDK Version
408 
409 #endif // LW_SDK
410 
411 #endif // LW_VERSION