40#ifndef _DISPLAY_TYPES_H
41#define _DISPLAY_TYPES_H
47#define NUM_TEXTURE_POINTS 4
49#define OBJECT_SETTING_UNDEFINED -1
74 DEPTH_BUFFER_NO_TEST_NO_WRITE = 0,
75 DEPTH_BUFFER_TEST_AND_WRITE,
155#define DEF_WINDOW_SIZE 500
156#define DEF_FILE_NAME "Untitled"
158#define DEF_LINE_RCOLOR 0
159#define DEF_LINE_GCOLOR 0
160#define DEF_LINE_BCOLOR 0
161#define DEF_LINE_ALPHA 255
163#define DEF_FILL_RCOLOR 255
164#define DEF_FILL_GCOLOR 255
165#define DEF_FILL_BCOLOR 255
166#define DEF_FILL_ALPHA 255
168#define DEF_GRID_RCOLOR 0
169#define DEF_GRID_GCOLOR 0
170#define DEF_GRID_BCOLOR 0
171#define DEF_GRID_ALPHA 255
173#define DEF_AXES_RCOLOR 0
174#define DEF_AXES_GCOLOR 0
175#define DEF_AXES_BCOLOR 0
176#define DEF_AXES_ALPHA 255
178#define DEF_TEXTURE_BLEND_RCOLOR 255
179#define DEF_TEXTURE_BLEND_GCOLOR 255
180#define DEF_TEXTURE_BLEND_BCOLOR 255
181#define DEF_TEXTURE_BLEND_ALPHA 255
183#define DEF_BACKGROUND_RCOLOR 160
184#define DEF_BACKGROUND_GCOLOR 168
185#define DEF_BACKGROUND_BCOLOR 176
186#define DEF_BACKGROUND_ALPHA 255
188#define DEF_LIGHT_COLOR 255
190#define DEF_LINE_WIDTH 1.0
191#define DEF_LINE_STIPPLE_PATTERN 65535
192#define DEF_LINE_STIPPLE_MULTIPLIER 1
194#define DEF_QUAD_WIDTH 25.0
195#define DEF_QUAD_HEIGHT 25.0
197#define DEF_CIRCLE_WIDTH 25.0
198#define DEF_CIRCLE_HEIGHT 25.0
199#define DEF_SHADING SHADING_FLAT
200#define DEF_LIGHTING_ENABLED 0
201#define DEF_USE_PARENT_LIGHTING true
202#define DEF_POLY_MODE POLY_MODE_OUTLINE
203#define DEF_POLY_END POLY_CLOSED
204#define DEF_TEXTURE_REPEAT TRUE
205#define DEF_TEXTURE_MAGNIFICATION TEXTURE_FILTER_LINEAR
206#define DEF_TEXTURE_MINIFICATION TEXTURE_FILTER_LINEAR
207#define DEF_TEXTURE_MAP TEXTURE_MAP_REPLACE
208#define DEF_POLYGON_MIN_DIMENSION 1
210#define DEF_POLYGON_OFFSET 0
212#define DEF_DOUBLE_CLICK 500
213#define DEF_DOUBLE_CLICK_TOLERANCE 5
215#define DEF_STATIC_FLAG FALSE
216#define DEF_ALPHAMODE ALPHA_MODE_256_LEVEL
217#define DEF_VISIBILITY TRUE
218#define DEF_CULLBACKFACE FALSE
219#define DEF_ZBUFFER DEPTH_BUFFER_TEST_NO_WRITE
220#define DEF_ANTIALIAS FALSE
221#define DEF_CIRCLE_SEGMENTS 30
222#define DEF_PROTECTION_MODE PUBLIC
223#define DEF_ARC_ANGLE_AMOUNT 90.0
224#define DEF_ARC_START_ANGLE 270.0
225#define DEF_PROJECTION ORTHOGRAPHIC
226#define DEF_BUFFER DOUBLE_BUFFER
227#define DEF_FRAME_RATE 30
228#define DEF_REDRAW REDRAW_CONSTANT
229#define DEF_BLINK false
230#define DEF_BLINK_RATE 2.0
231#define DEF_PICKABLE PICK_FIRST
232#define DEF_MATERIAL_INDEX 0
234#define DEF_TEXTURE_PALETTE_SIZE 50
236static const int MULTIPLE_TEXTURES_ON_OBJECT = -2;
251 VIEW_PERSPECTIVE = 8,
265 GLS_INSTANCE_NAME = 1,
273 GLS_TEXTURE_MAP_MODE,
274 GLS_TEXTURE_MIN_FILTER,
275 GLS_TEXTURE_MAG_FILTER,
276 GLS_TEXTURE_BLEND_COLOR,
277 GLS_TEXTURE_ROTATION,
280 GLS_TEXTURE_OFFSET_X,
281 GLS_TEXTURE_OFFSET_Y,
286 GLS_COLOR_MATERIAL_MODE,
288 GLS_LINE_STIPPLE_PATTERN,
289 GLS_LINE_STIPPLE_MULTIPLIER,
299 GLS_LIGHTING_ENABLED,
301 GLS_MATERIAL_INDICES,
303 GLS_COMPONENT_ABSOLUTE_PLACEMENT,
304 GLS_COMPONENT_EDITOR_TRANSFORM,
A file for all GL Studio files to include.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
GLS_Initializers
Definition: display_types.h:264
PickableType_e
Definition: display_types.h:131
@ PICK_ALWAYS
Definition: display_types.h:135
@ PICK_FIRST
Definition: display_types.h:133
@ PICK_NEVER
Definition: display_types.h:132
@ PICK_BEST
Definition: display_types.h:134
TextureMap_e
Definition: display_types.h:53
@ TEXTURE_MAP_BLEND
Definition: display_types.h:56
@ TEXTURE_MAP_DECAL
Definition: display_types.h:55
@ TEXTURE_MAP_MODULATE
Definition: display_types.h:54
@ TEXTURE_MAP_REPLACE
Definition: display_types.h:57
TextureFilter_e
Definition: display_types.h:62
@ TEXTURE_FILTER_NEAREST
Definition: display_types.h:63
@ TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR
Definition: display_types.h:66
@ TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST
Definition: display_types.h:65
@ TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST
Definition: display_types.h:68
@ TEXTURE_FILTER_LINEAR
Definition: display_types.h:64
@ TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR
Definition: display_types.h:67
DepthBuffer_e
Definition: display_types.h:73
@ DEPTH_BUFFER_TEST_NO_WRITE
Definition: display_types.h:76
@ DEPTH_BUFFER_NO_TEST_AND_WRITE
Definition: display_types.h:77
Views
Definition: display_types.h:247
PolygonMode_e
Definition: display_types.h:82
@ POLY_MODE_FILLED
Definition: display_types.h:86
@ POLY_MODE_POINTS
Definition: display_types.h:84
@ POLY_MODE_OUTLINE
Definition: display_types.h:85
@ POLY_MODE_UNDEFINED
Definition: display_types.h:83
@ POLY_MODE_FILL_AND_OUTLINE
Definition: display_types.h:87
AlphaMode_e
Definition: display_types.h:92
@ ALPHA_MODE_256_LEVEL
Definition: display_types.h:96
@ ALPHA_MODE_UNDEFINED
Definition: display_types.h:93
@ ALPHA_MODE_2_LEVEL
Definition: display_types.h:95
@ ALPHA_MODE_OPAQUE
Definition: display_types.h:94
ColorMaterialMode_e
Definition: display_types.h:141
@ EMISSION_COLOR_MATERIAL
Definition: display_types.h:146
@ NO_COLOR_MATERIAL
Definition: display_types.h:142
@ DIFFUSE_COLOR_MATERIAL
Definition: display_types.h:143
@ SPECULAR_COLOR_MATERIAL
Definition: display_types.h:147
@ DIFFUSE_AND_AMBIENT_COLOR_MATERIAL
Definition: display_types.h:145
@ AMBIENT_COLOR_MATERIAL
Definition: display_types.h:144
MemberAccess_e
Definition: display_types.h:115
@ PRIVATE
Definition: display_types.h:117
@ PROTECTED
Definition: display_types.h:118
@ PUBLIC
Definition: display_types.h:116
ShadingType_e
Definition: display_types.h:108
@ SHADING_FLAT
Definition: display_types.h:109
@ SHADING_GOURAUD
Definition: display_types.h:110
RedrawBehavior_e
Definition: display_types.h:123
@ REDRAW_CONDITIONAL
Definition: display_types.h:124
@ REDRAW_CONSTANT
Definition: display_types.h:125
@ REDRAW_CONTINUOUS
Definition: display_types.h:126
PolygonClose_e
Definition: display_types.h:101
@ POLY_OPEN
Definition: display_types.h:102
@ POLY_CLOSED
Definition: display_types.h:103