Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/geo/geoFormat.h

    r4758 r13041  
    99    ------------------------------------------------------------------------- 
    1010 
    11 PROPRIETARY RIGHTS NOTICE:    
    12      
    13   This software contains proprietary information and trade secrets of Carbon  
    14   Graphics LLC. No part or all of this software may be reproduced in any form,  
     11PROPRIETARY RIGHTS NOTICE: 
     12 
     13  This software contains proprietary information and trade secrets of Carbon 
     14  Graphics LLC. No part or all of this software may be reproduced in any form, 
    1515  without the written permission of Carbon Graphics LLC. 
    1616 
    1717  Exception: 
    1818  This Software file can be used by third-party software developers (without 
    19   using the Geo SDK libraries) for any purpose OTHER THAN loading Geo format  
    20   files into an application or executable (such as, though not limited to,  
     19  using the Geo SDK libraries) for any purpose OTHER THAN loading Geo format 
     20  files into an application or executable (such as, though not limited to, 
    2121  geometry Modelers & animation systems) which is primarily intended to allow for 
    22   the CREATION or MODIFICATION of geometric or animation data.  
    23    
    24   Specifically,using this software (either all or part thereof) to aid in the  
    25   creation of a Geo format loader for a run-time system, game engine, toolkit  
     22  the CREATION or MODIFICATION of geometric or animation data. 
     23 
     24  Specifically,using this software (either all or part thereof) to aid in the 
     25  creation of a Geo format loader for a run-time system, game engine, toolkit 
    2626  IG (Image Generation) System or any software where the PRIMARY purpose is 
    2727  real-time image playback and interactivity and not Model Creation and/or 
    2828  modification is permitted. 
    2929 
    30 COPYRIGHT NOTICE:  
    31     
     30COPYRIGHT NOTICE: 
     31 
    3232  Copyright © 1998-2001 Carbon Graphics Llc, ALL RIGHTS RESERVED 
    3333 
     
    4343#define GEO_1_0_RC2    1132 
    4444#define GEO_1_0_RC3    1133 
    45 #define GEO_1_0_RC4    1134     
     45#define GEO_1_0_RC4    1134 
    4646#define GEO_1_0       1141 
    4747 
     
    8383 
    8484//---------------------------------------------------------------- 
    85 //  
     85// 
    8686//---------------------------------------------------------------- 
    8787 
     
    108108const unsigned int DB_DSK_BASE_SURFACE                    = 123; 
    109109const unsigned int DB_DSK_BEHAVIOR                        = 124; 
    110 const unsigned int DB_DSK_CLAMP_ACTION                    = 125;     
    111 const unsigned int DB_DSK_RANGE_ACTION                    = 126;         
    112 const unsigned int DB_DSK_ROTATE_ACTION                    = 127;         
    113 const unsigned int DB_DSK_TRANSLATE_ACTION                = 128;     
    114 const unsigned int DB_DSK_SCALE_ACTION                    = 129;                     
    115 const unsigned int DB_DSK_ARITHMETIC_ACTION                = 130;             
    116 const unsigned int DB_DSK_LOGIC_ACTION                    = 131;                 
    117 const unsigned int DB_DSK_CONDITIONAL_ACTION            = 132;         
    118 const unsigned int DB_DSK_LOOPING_ACTION                = 133;                 
    119 const unsigned int DB_DSK_COMPARE_ACTION                = 134;            
    120 const unsigned int DB_DSK_VISIBILITY_ACTION                = 135;                
    121 const unsigned int DB_DSK_STRING_CONTENT_ACTION            = 136;                
    122 const unsigned int DB_DSK_INTERNAL_VARS                    = 137;                      
    123 const unsigned int DB_DSK_LOCAL_VARS                    = 138;                     
    124 const unsigned int DB_DSK_EXTERNAL_VARS                    = 139;                
    125 const unsigned int DB_DSK_FLOAT_VAR                        = 140;      
    126 const unsigned int DB_DSK_INT_VAR                        = 141;  
    127 const unsigned int DB_DSK_LONG_VAR                        = 142;  
    128 const unsigned int DB_DSK_DOUBLE_VAR                    = 143;      
     110const unsigned int DB_DSK_CLAMP_ACTION                    = 125; 
     111const unsigned int DB_DSK_RANGE_ACTION                    = 126; 
     112const unsigned int DB_DSK_ROTATE_ACTION                    = 127; 
     113const unsigned int DB_DSK_TRANSLATE_ACTION                = 128; 
     114const unsigned int DB_DSK_SCALE_ACTION                    = 129; 
     115const unsigned int DB_DSK_ARITHMETIC_ACTION                = 130; 
     116const unsigned int DB_DSK_LOGIC_ACTION                    = 131; 
     117const unsigned int DB_DSK_CONDITIONAL_ACTION            = 132; 
     118const unsigned int DB_DSK_LOOPING_ACTION                = 133; 
     119const unsigned int DB_DSK_COMPARE_ACTION                = 134; 
     120const unsigned int DB_DSK_VISIBILITY_ACTION                = 135; 
     121const unsigned int DB_DSK_STRING_CONTENT_ACTION            = 136; 
     122const unsigned int DB_DSK_INTERNAL_VARS                    = 137; 
     123const unsigned int DB_DSK_LOCAL_VARS                    = 138; 
     124const unsigned int DB_DSK_EXTERNAL_VARS                    = 139; 
     125const unsigned int DB_DSK_FLOAT_VAR                        = 140; 
     126const unsigned int DB_DSK_INT_VAR                        = 141; 
     127const unsigned int DB_DSK_LONG_VAR                        = 142; 
     128const unsigned int DB_DSK_DOUBLE_VAR                    = 143; 
    129129const unsigned int DB_DSK_BOOL_VAR                        = 144; 
    130130//    unsigned int DEPRICATED                            = 145; 
     
    134134const unsigned int DB_DSK_COLOR_PALETTE                    = 149; 
    135135const unsigned int DB_DSK_COLOR_RAMP_ACTION                = 150; 
    136 const unsigned int DB_DSK_FLOAT2_VAR                    = 151;  
    137 const unsigned int DB_DSK_FLOAT3_VAR                    = 152;      
    138 const unsigned int DB_DSK_FLOAT4_VAR                    = 153;      
    139 const unsigned int DB_DSK_LINEAR_ACTION                    = 154;      
    140 const unsigned int DB_DSK_TASK_ACTION                    = 155;      
    141 const unsigned int DB_DSK_PERIODIC_ACTION                = 156;  
     136const unsigned int DB_DSK_FLOAT2_VAR                    = 151; 
     137const unsigned int DB_DSK_FLOAT3_VAR                    = 152; 
     138const unsigned int DB_DSK_FLOAT4_VAR                    = 153; 
     139const unsigned int DB_DSK_LINEAR_ACTION                    = 154; 
     140const unsigned int DB_DSK_TASK_ACTION                    = 155; 
     141const unsigned int DB_DSK_PERIODIC_ACTION                = 156; 
    142142//    unsigned int DEPRICATED                            = 157; 
    143 const unsigned int DB_DSK_TRIG_ACTION                    = 158;   
    144 const unsigned int DB_DSK_INVERSE_ACTION                = 159;  
     143const unsigned int DB_DSK_TRIG_ACTION                    = 158; 
     144const unsigned int DB_DSK_INVERSE_ACTION                = 159; 
    145145const unsigned int DB_DSK_TRUNCATE_ACTION                = 160; 
    146 const unsigned int DB_DSK_ABS_ACTION                    = 161;  
     146const unsigned int DB_DSK_ABS_ACTION                    = 161; 
    147147const unsigned int DB_DSK_IF_THEN_ELSE_ACTION            = 162;     // simple variable value check 
    148 const unsigned int DB_DSK_DCS_ACTION                    = 163;      
     148const unsigned int DB_DSK_DCS_ACTION                    = 163; 
    149149const unsigned int DB_DSK_INSTANCE                        = 164; 
    150150const unsigned int DB_DSK_COORD_POOL                    = 165; 
     
    153153const unsigned int DB_DSK_NORMAL_POOL                    = 168; 
    154154const unsigned int DB_DSK_DISCRETE_ACTION                = 169; 
    155 const unsigned int DB_DSK_STRING_VAR                    = 170;             
     155const unsigned int DB_DSK_STRING_VAR                    = 170; 
    156156const unsigned int DB_DSK_STRING_COPY_ACTION            = 171; 
    157157const unsigned int DB_DSK_PAGE                            = 172; 
    158 const unsigned int DB_DSK_SQRT_ACTION                    = 173;      
    159 const unsigned int DB_DSK_LOG_ACTION                    = 174;      
     158const unsigned int DB_DSK_SQRT_ACTION                    = 173; 
     159const unsigned int DB_DSK_LOG_ACTION                    = 174; 
    160160const unsigned int DB_DSK_PLANE_TEXTURE_MAPPING_INFO    = 175; 
    161161const unsigned int DB_DSK_CYLINDER_TEXTURE_MAPPING_INFO    = 176;    // not implemented in 1.0 
     
    184184const unsigned int DB_DSK_POP_ACTION                    = 199; // End of child action list 
    185185const unsigned int DB_DSK_LIGHT_GROUP                    = 200; 
    186 const unsigned int DB_DSK_CONTINUOUS_ACTION                = 201;   
    187 const unsigned int DB_DSK_MOMENTARY_ACTION                = 202;   
    188 const unsigned int DB_DSK_NSTATE_ACTION                    = 203;   
    189 const unsigned int DB_DSK_ROTARY_DRAG_ACTION            = 204;   
     186const unsigned int DB_DSK_CONTINUOUS_ACTION                = 201; 
     187const unsigned int DB_DSK_MOMENTARY_ACTION                = 202; 
     188const unsigned int DB_DSK_NSTATE_ACTION                    = 203; 
     189const unsigned int DB_DSK_ROTARY_DRAG_ACTION            = 204; 
    190190const unsigned int DB_DSK_DCS                            = 205; 
    191191const unsigned int DB_DSK_FAT_VERTEX                    = 206; 
     
    195195const unsigned int DB_DSK_GLSL_SHADER                    = 210; 
    196196 
    197          
    198                      
     197 
     198 
    199199 
    200200 
     
    313313{ 
    314314    /** The Field ID for the data about to be read from disk. This Field 
    315      *  token record in effect describes the data which is going to  
     315     *  token record in effect describes the data which is going to 
    316316     *  follow this geoFieldToken struct. This description is sufficient to 
    317317     *  allow parsing code to step over and ignore either fields or whole 
     
    333333 
    334334/** The Field ID for the data about to be read from disk. This Field 
    335  *  token record in effect describes the data which is going to  
     335 *  token record in effect describes the data which is going to 
    336336 *  follow this geoExtendedFieldHeader struct. This description is sufficient to 
    337337 *  allow parsing code to step over and ignore either fields or whole 
     
    344344 * 
    345345 *  on disk: 
    346  *     
     346 * 
    347347 *  geoFieldHeader 
    348348 *  { 
    349349 *      DB_UCHAR    id        GEO_DB_VRTX_COORDS 
    350  *      DB_UCHAR    type    DB_EXTENDED_FIELD_STRUCT   
     350 *      DB_UCHAR    type    DB_EXTENDED_FIELD_STRUCT 
    351351 *      DB_USHORT   num     1 
    352352 *  } 
    353353 * 
    354  *  parse code now knows there is 1 record of an extended field struct  
     354 *  parse code now knows there is 1 record of an extended field struct 
    355355 *  following the header. It just so happens that the following "data item" 
    356356 *  is itself a header (this time of the extended variety) 
     
    370370 *  parse code only needs to look for geoRecordHeader & geoFieldHeader records. 
    371371 *  It also means that there is enough info grouped together, so that an 
    372  *  ignoreField function can work - given a geoFieldHeader to ignore.    
     372 *  ignoreField function can work - given a geoFieldHeader to ignore. 
    373373 * 
    374374 *  The id field is also an unsigned short in this header - meaning that records 
     
    377377 *  records have more than 255 fields then their ids will be unsigned shorts and 
    378378 *  on disk they will be represented by... 
    379  *     
     379 * 
    380380 *  geoFieldHeader 
    381381 *  { 
    382382 *      DB_UCHAR    id        GEO_DB_NODE_EXTENDED 
    383  *      DB_UCHAR    type    DB_EXTENDED_FIELD_STRUCT   
     383 *      DB_UCHAR    type    DB_EXTENDED_FIELD_STRUCT 
    384384 *      DB_USHORT   num     1 
    385385 *  } 
     
    444444// Field ID Address Ranges... 
    445445// 
    446 //NODE                                                         1   through 19             
    447 //    DERIVED_A : public NODE                                    20  through 79         
    448 //        DERIVED_B : public DERIVED_A                        80  through 139     
     446//NODE                                                         1   through 19 
     447//    DERIVED_A : public NODE                                    20  through 79 
     448//        DERIVED_B : public DERIVED_A                        80  through 139 
    449449//            DERIVED_C : public DERIVED_B                    140 through 199 
    450450//                DERIVED_D : public DERIVED_C                200 through 255 
     
    453453// 
    454454//GEO_DSK_MULTI_TEX_SHADER: 
    455 //            Node Property IDs                                1   through 19     
     455//            Node Property IDs                                1   through 19 
    456456//            Group Property IDs                                20  through 79 
    457457//            RenderGroup property IDs                        80  through 139 
     
    460460// 
    461461//DB_DSK_LIGHTPT: 
    462 //            Node Property IDs                                1   through 19     
     462//            Node Property IDs                                1   through 19 
    463463//            Polygon Property IDs                            20  through 79 
    464464//            LightPt property IDs                            80  through 139 
     
    483483const unsigned char GEO_DB_HDR_NAME                            = 6;    // From Node 
    484484const unsigned char GEO_DB_HDR_NODE_ID                        = 7;    // From Node 
    485      
     485 
    486486const unsigned char GEO_DB_HDR_UNITS                        = 20;    // Header Additions 
    487487const unsigned char GEO_DB_HDR_BBOX                            = 21; 
     
    495495const unsigned char GEO_DB_HDR_SOUTHERN_HEMISPHERE            = 29; 
    496496const unsigned char GEO_DB_HDR_ELLIPSOID                    = 30; 
    497 const unsigned char GEO_DB_HDR_ORIGIN_LAT                    = 31;     
     497const unsigned char GEO_DB_HDR_ORIGIN_LAT                    = 31; 
    498498const unsigned char GEO_DB_HDR_ORIGIN_LON                    = 32; 
    499 const unsigned char GEO_DB_HDR_SW_CORNER_LAT                = 33;     
    500 const unsigned char GEO_DB_HDR_SW_CORNER_LON                = 34;     
    501 const unsigned char GEO_DB_HDR_NE_CORNER_LAT                = 35;     
     499const unsigned char GEO_DB_HDR_SW_CORNER_LAT                = 33; 
     500const unsigned char GEO_DB_HDR_SW_CORNER_LON                = 34; 
     501const unsigned char GEO_DB_HDR_NE_CORNER_LAT                = 35; 
    502502const unsigned char GEO_DB_HDR_NE_CORNER_LON                = 36; 
    503503const unsigned char GEO_DB_HDR_SW_CORNER_X                    = 37; 
    504504const unsigned char GEO_DB_HDR_SW_CORNER_Y                    = 38; 
    505505const unsigned char GEO_DB_HDR_OFFSET_X                        = 39; 
    506 const unsigned char GEO_DB_HDR_OFFSET_Y                        = 40;     
    507 const unsigned char GEO_DB_HDR_OFFSET_Z                        = 41;     
    508 const unsigned char GEO_DB_HDR_MAJOR_AXIS                    = 42;     
    509 const unsigned char GEO_DB_HDR_MINOR_AXIS                    = 43;                     
     506const unsigned char GEO_DB_HDR_OFFSET_Y                        = 40; 
     507const unsigned char GEO_DB_HDR_OFFSET_Z                        = 41; 
     508const unsigned char GEO_DB_HDR_MAJOR_AXIS                    = 42; 
     509const unsigned char GEO_DB_HDR_MINOR_AXIS                    = 43; 
    510510 
    511511 
     
    685685/////////////////////////////////////////////////////////////////////////////// 
    686686// 
    687 // DB_DSK_PERSPECTIVE_GRID_INFO Record  
    688 // 
    689 // DB_DSK_XY_GRID_INFO Record  
    690 // DB_DSK_XZ_GRID_INFO Record  
     687// DB_DSK_PERSPECTIVE_GRID_INFO Record 
     688// 
     689// DB_DSK_XY_GRID_INFO Record 
     690// DB_DSK_XZ_GRID_INFO Record 
    691691// DB_DSK_YZ_GRID_INFO Record - Field Ids 
    692692// 
     
    714714 
    715715// All Node Fields    + 
    716   
     716 
    717717const unsigned char GEO_DB_GRP_BBOX                            = 20;    // Group Additions 
    718718const unsigned char GEO_DB_GRP_INSTANCE_DEF                    = 21; 
    719719const unsigned char GEO_DB_GRP_FLAG_SHOW_BBOX                = 22; 
    720720const unsigned char GEO_DB_GRP_ZBUFFER                        = 23; 
    721 const unsigned char GEO_DB_GRP_MATRIX_TRANSFORM                = 24;     
    722 const unsigned char GEO_DB_GRP_TRANSLATE_TRANSFORM            = 25;     
    723 const unsigned char GEO_DB_GRP_ROTATE_TRANSFORM                = 26;     
    724 const unsigned char GEO_DB_GRP_SCALE_TRANSFORM                = 27;     
     721const unsigned char GEO_DB_GRP_MATRIX_TRANSFORM                = 24; 
     722const unsigned char GEO_DB_GRP_TRANSLATE_TRANSFORM            = 25; 
     723const unsigned char GEO_DB_GRP_ROTATE_TRANSFORM                = 26; 
     724const unsigned char GEO_DB_GRP_SCALE_TRANSFORM                = 27; 
    725725const unsigned char GEO_DB_GRP_TOD_DISPLAY                    = 28; 
    726726const unsigned char GEO_DB_GRP_NOISECT                        = 29; 
     
    831831// All Node Fields    + 
    832832// All Group Fields + 
    833                
    834 const unsigned char GEO_DB_CULL_GRP_RADIUS                    = 80;    // CullGroup Additions     
     833 
     834const unsigned char GEO_DB_CULL_GRP_RADIUS                    = 80;    // CullGroup Additions 
    835835 
    836836 
     
    846846// All Node Fields    + 
    847847// All Group Fields + 
    848                                            
     848 
    849849const unsigned char GEO_DB_Z_GRP_DEPTH_OFFSET                = 80;    // ZOffsetGroup Additions 
    850 const unsigned char GEO_DB_Z_GRP_DEPTH_OFFSET_CONSTANT        = 81;     
    851 const unsigned char GEO_DB_Z_GRP_TYPE                        = 82;     
     850const unsigned char GEO_DB_Z_GRP_DEPTH_OFFSET_CONSTANT        = 81; 
     851const unsigned char GEO_DB_Z_GRP_TYPE                        = 82; 
    852852 
    853853 
     
    863863// All Node Fields    + 
    864864// All Group Fields + 
    865                                                    
     865 
    866866const unsigned char GEO_DB_MULTI_SAMPLE_AA_GRP_NUM_SAMPLES    = 80;    // MultiSampleAAGroup Additions 
    867867const unsigned char GEO_DB_MULTI_SAMPLE_AA_GRP_JITTER_RADIUS= 81; 
     
    881881// All Node Fields    + 
    882882// All Group Fields + 
    883                                        
    884 const unsigned char GEO_DB_LINE_AA_GRP_RANGE                = 80;    // LineAAGroup Additions  
     883 
     884const unsigned char GEO_DB_LINE_AA_GRP_RANGE                = 80;    // LineAAGroup Additions 
    885885const unsigned char GEO_DB_LINE_AA_GRP_ALPHA_FACTOR            = 81; 
    886886 
     
    899899// All Node Fields    + 
    900900// All Group Fields + 
    901                                            
     901 
    902902const unsigned char GEO_DB_FADE_GRP_NEAR_RANGE                = 80;    // FadeGroup Additions 
    903903const unsigned char GEO_DB_FADE_GRP_NEAR_TRANSITION            = 81; 
     
    969969const unsigned char GEO_DB_LOD_OUT                            = 81; 
    970970const unsigned char GEO_DB_LOD_CENTER                        = 82; 
    971 const unsigned char GEO_DB_LOD_CALC                            = 83;  
     971const unsigned char GEO_DB_LOD_CALC                            = 83; 
    972972const unsigned char GEO_DB_LOD_FREEZE_CENTER                = 84; 
    973973 
     
    10221022// All Node Fields    + 
    10231023// All Group Fields + 
    1024      
     1024 
    10251025const unsigned char GEO_DB_SWITCH_CURRENT_MASK                = 80;    // switch Additions 
    1026 const unsigned char GEO_DB_SWITCH_MASK_WIDTH                = 81;     
    1027 const unsigned char GEO_DB_SWITCH_NUM_MASKS                    = 82;  
     1026const unsigned char GEO_DB_SWITCH_MASK_WIDTH                = 81; 
     1027const unsigned char GEO_DB_SWITCH_NUM_MASKS                    = 82; 
    10281028const unsigned char GEO_DB_SWITCH_MASKS                        = 83; 
    10291029 
     
    10431043// All Node Fields    + 
    10441044// All Group Fields + 
    1045      
     1045 
    10461046const unsigned char GEO_DB_PAGE_ACTIVE_CHILD                = 80;    // page Additions 
    10471047 
     
    10591059 
    10601060// It is important to note that user extended Group fields begin with a field 
    1061 // ID of 140 (GEO_DB_BASE_GROUP_START_EXTERNAL). This allows Geo to add  
    1062 // additional fields to the BaseGroup class  
     1061// ID of 140 (GEO_DB_BASE_GROUP_START_EXTERNAL). This allows Geo to add 
     1062// additional fields to the BaseGroup class 
    10631063 
    10641064// All Node Fields    + 
    10651065// All Group Fields + 
    1066      
     1066 
    10671067const unsigned char GEO_DB_BASE_GROUP_CLASSNAME                = 80;    // BaseGroup Additions 
    10681068const unsigned char GEO_DB_BASE_GROUP_EXTENDED_TYPE            = 81; 
    10691069const unsigned char GEO_DB_BASE_GROUP_PLUGIN_REQUIRED        = 82; 
    1070      
    1071 const unsigned char GEO_DB_BASE_GROUP_START_EXTERNAL        = 140;    // User Derived Node Additions     
     1070 
     1071const unsigned char GEO_DB_BASE_GROUP_START_EXTERNAL        = 140;    // User Derived Node Additions 
    10721072 
    10731073 
     
    10821082// 
    10831083// It is important to note that user extended Surface fields begin with a field 
    1084 // ID of 80 (GEO_DB_BASE_SURFACE_START_EXTERNAL). This allows Geo to add  
     1084// ID of 80 (GEO_DB_BASE_SURFACE_START_EXTERNAL). This allows Geo to add 
    10851085// additional fields which will be common to all derived groups up to this 
    10861086// number 
     
    10921092 
    10931093// All Node Fields    + 
    1094      
     1094 
    10951095const unsigned char GEO_DB_BASE_SURFACE_CLASSNAME            = 20;    // BaseSurface Additions 
    10961096const unsigned char GEO_DB_BASE_SURFACE_EXTENDED_TYPE        = 21; 
    10971097const unsigned char GEO_DB_BASE_SURFACE_PLUGIN_REQUIRED        = 22; 
    1098      
    1099 const unsigned char GEO_DB_BASE_SURFACE_START_EXTERNAL        = 80;    // User Derived Node Additions     
     1098 
     1099const unsigned char GEO_DB_BASE_SURFACE_START_EXTERNAL        = 80;    // User Derived Node Additions 
    11001100 
    11011101 
     
    11141114 
    11151115const unsigned char GEO_DB_RENDERGROUP_MAT                    = 80;    // RenderGroup Additions 
    1116 const unsigned char GEO_DB_RENDERGROUP_TERRAIN                = 81;    
    1117 const unsigned char GEO_DB_RENDERGROUP_BILLBOARD            = 82;    
    1118 const unsigned char GEO_DB_RENDERGROUP_LIGHTING                = 83;     
    1119 const unsigned char GEO_DB_RENDERGROUP_FOG                    = 84;     
    1120 const unsigned char GEO_DB_RENDERGROUP_GAIN                    = 85;    
    1121 const unsigned char GEO_DB_RENDERGROUP_TRANSPARENCY            = 86;   
    1122 const unsigned char GEO_DB_RENDERGROUP_CULLING                = 87;     
    1123 const unsigned char GEO_DB_RENDERGROUP_BLENDING                = 88;    
    1124 const unsigned char GEO_DB_RENDERGROUP_ALPHA_REF            = 89;   
    1125 const unsigned char GEO_DB_RENDERGROUP_LIGHTPTS                = 90;    
     1116const unsigned char GEO_DB_RENDERGROUP_TERRAIN                = 81; 
     1117const unsigned char GEO_DB_RENDERGROUP_BILLBOARD            = 82; 
     1118const unsigned char GEO_DB_RENDERGROUP_LIGHTING                = 83; 
     1119const unsigned char GEO_DB_RENDERGROUP_FOG                    = 84; 
     1120const unsigned char GEO_DB_RENDERGROUP_GAIN                    = 85; 
     1121const unsigned char GEO_DB_RENDERGROUP_TRANSPARENCY            = 86; 
     1122const unsigned char GEO_DB_RENDERGROUP_CULLING                = 87; 
     1123const unsigned char GEO_DB_RENDERGROUP_BLENDING                = 88; 
     1124const unsigned char GEO_DB_RENDERGROUP_ALPHA_REF            = 89; 
     1125const unsigned char GEO_DB_RENDERGROUP_LIGHTPTS                = 90; 
    11261126 
    11271127 
     
    11801180// All Node Fields    + 
    11811181 
    1182 const unsigned char GEO_DB_POLY_NORMAL                        = 20;    // Polygon Additions  
     1182const unsigned char GEO_DB_POLY_NORMAL                        = 20;    // Polygon Additions 
    11831183const unsigned char GEO_DB_POLY_CENTER                        = 21; 
    11841184const unsigned char GEO_DB_POLY_PACKED_COLOR                = 22; 
     
    12521252// Many of the possible LightPt fields do not make sense in the context of a 
    12531253// Light point - namely most of the Polygon rendering & texturing properties. 
    1254 // These will likely not be present in a Geo file - if they are they can be  
     1254// These will likely not be present in a Geo file - if they are they can be 
    12551255// ignored. 
    12561256/////////////////////////////////////////////////////////////////////////////// 
     
    13101310/////////////////////////////////////////////////////////////////////////////// 
    13111311// 
    1312 // GEO_DB_MESH Record - Field Ids             
     1312// GEO_DB_MESH Record - Field Ids 
    13131313// 
    13141314/////////////////////////////////////////////////////////////////////////////// 
     
    13441344const unsigned char GEO_DB_VRTX_COORD_INDEX                    = 20;    // Vertex Additions 
    13451345const unsigned char GEO_DB_VRTX_UV_SET_0                    = 21; 
    1346 const unsigned char GEO_DB_VRTX_UV_SET_1                    = 22;     
    1347 const unsigned char GEO_DB_VRTX_UV_SET_2                    = 23;     
    1348 const unsigned char GEO_DB_VRTX_UV_SET_3                    = 24;     
    1349 const unsigned char GEO_DB_VRTX_UV_SET_4                    = 25;     
    1350 const unsigned char GEO_DB_VRTX_UV_SET_5                    = 26;     
    1351 const unsigned char GEO_DB_VRTX_UV_SET_6                    = 27;     
    1352 const unsigned char GEO_DB_VRTX_UV_SET_7                    = 28;     
     1346const unsigned char GEO_DB_VRTX_UV_SET_1                    = 22; 
     1347const unsigned char GEO_DB_VRTX_UV_SET_2                    = 23; 
     1348const unsigned char GEO_DB_VRTX_UV_SET_3                    = 24; 
     1349const unsigned char GEO_DB_VRTX_UV_SET_4                    = 25; 
     1350const unsigned char GEO_DB_VRTX_UV_SET_5                    = 26; 
     1351const unsigned char GEO_DB_VRTX_UV_SET_6                    = 27; 
     1352const unsigned char GEO_DB_VRTX_UV_SET_7                    = 28; 
    13531353const unsigned char GEO_DB_VRTX_NORMAL                        = 29; 
    13541354const unsigned char GEO_DB_VRTX_PACKED_COLOR                = 30; 
     
    15881588//        DB_DSK_POP_ACTION 
    15891589// 
    1590 // if the first state had an optional set of actions to perform when  
     1590// if the first state had an optional set of actions to perform when 
    15911591// active it would have the following construct... 
    15921592//        DB_DSK_STATE_MACHINE_ACTION 
     
    16521652// 
    16531653const unsigned char GEO_DB_CLAMP_ACTION_INPUT_VAR           = 1; 
    1654 const unsigned char GEO_DB_CLAMP_ACTION_OUTPUT_VAR          = 2;  
     1654const unsigned char GEO_DB_CLAMP_ACTION_OUTPUT_VAR          = 2; 
    16551655const unsigned char GEO_DB_CLAMP_ACTION_MIN_VAL             = 3; 
    16561656const unsigned char GEO_DB_CLAMP_ACTION_MAX_VAL             = 4; 
     
    16621662// 
    16631663const unsigned char GEO_DB_RANGE_ACTION_INPUT_VAR           = 1; 
    1664 const unsigned char GEO_DB_RANGE_ACTION_OUTPUT_VAR          = 2;  
     1664const unsigned char GEO_DB_RANGE_ACTION_OUTPUT_VAR          = 2; 
    16651665const unsigned char GEO_DB_RANGE_ACTION_IN_MIN_VAL          = 3; 
    16661666const unsigned char GEO_DB_RANGE_ACTION_IN_MAX_VAL          = 4; 
     
    16741674// 
    16751675const unsigned char GEO_DB_ARITHMETIC_ACTION_INPUT_VAR    = 1; 
    1676 const unsigned char GEO_DB_ARITHMETIC_ACTION_OUTPUT_VAR    = 2;  
     1676const unsigned char GEO_DB_ARITHMETIC_ACTION_OUTPUT_VAR    = 2; 
    16771677const unsigned char GEO_DB_ARITHMETIC_ACTION_OP_TYPE    = 3; 
    16781678const unsigned char GEO_DB_ARITHMETIC_ACTION_OPERAND_VALUE    = 4; 
     
    16851685// 
    16861686const unsigned char GEO_DB_EQUATION_ACTION_INPUT_VAR    = 1; 
    1687 const unsigned char GEO_DB_EQUATION_ACTION_OUTPUT_VAR   = 2;  
     1687const unsigned char GEO_DB_EQUATION_ACTION_OUTPUT_VAR   = 2; 
    16881688const unsigned char GEO_DB_EQUATION_ACTION_A_VAL        = 3; 
    16891689const unsigned char GEO_DB_EQUATION_ACTION_C_VAL        = 4; 
     
    17121712// 
    17131713const unsigned char GEO_DB_CONTINUOUS_ACTION_INPUT_VAR              = 1;    // Not used 
    1714 const unsigned char GEO_DB_CONTINUOUS_ACTION_OUTPUT_VAR             = 2;  
     1714const unsigned char GEO_DB_CONTINUOUS_ACTION_OUTPUT_VAR             = 2; 
    17151715const unsigned char GEO_DB_CONTINUOUS_ACTION_UPDATE_TYPE            = 4; 
    17161716const unsigned char GEO_DB_CONTINUOUS_ACTION_UPDATE_VAL             = 5; 
     
    17281728// 
    17291729const unsigned char GEO_DB_MOMENTARY_ACTION_INPUT_VAR               = 1;    // Not used 
    1730 const unsigned char GEO_DB_MOMENTARY_ACTION_OUTPUT_VAR              = 2;  
     1730const unsigned char GEO_DB_MOMENTARY_ACTION_OUTPUT_VAR              = 2; 
    17311731const unsigned char GEO_DB_MOMENTARY_ACTION_DEFAULT_VAL             = 3; 
    17321732const unsigned char GEO_DB_MOMENTARY_ACTION_VAL                     = 4; 
     
    17371737// 
    17381738const unsigned char GEO_DB_NSTATE_ACTION_INPUT_VAR                  = 1;    // Not used 
    1739 const unsigned char GEO_DB_NSTATE_ACTION_OUTPUT_VAR                 = 2;  
     1739const unsigned char GEO_DB_NSTATE_ACTION_OUTPUT_VAR                 = 2; 
    17401740const unsigned char GEO_DB_NSTATE_ACTION_DIRECTION                  = 3; 
    17411741const unsigned char GEO_DB_NSTATE_ACTION_BEHAVIOR                   = 4; 
     
    17491749// 
    17501750const unsigned char GEO_DB_ROTARY_DRAG_ACTION_INPUT_VAR             = 1;    // Not used 
    1751 const unsigned char GEO_DB_ROTARY_DRAG_ACTION_OUTPUT_VAR            = 2;  
     1751const unsigned char GEO_DB_ROTARY_DRAG_ACTION_OUTPUT_VAR            = 2; 
    17521752const unsigned char GEO_DB_ROTARY_DRAG_ACTION_BEHAVIOR              = 3; 
    17531753const unsigned char GEO_DB_ROTARY_DRAG_ACTION_ORIGIN                = 4; 
     
    17581758// 
    17591759const unsigned char GEO_DB_TASK_ACTION_INPUT_VAR                    = 1; 
    1760 const unsigned char GEO_DB_TASK_ACTION_OUTPUT_VAR                   = 2;  
     1760const unsigned char GEO_DB_TASK_ACTION_OUTPUT_VAR                   = 2; 
    17611761 
    17621762 
     
    17881788// 
    17891789const unsigned char GEO_DB_COMPARE_ACTION_INPUT_VAR     = 1; 
    1790 const unsigned char GEO_DB_COMPARE_ACTION_OUTPUT_VAR    = 2;  
     1790const unsigned char GEO_DB_COMPARE_ACTION_OUTPUT_VAR    = 2; 
    17911791const unsigned char GEO_DB_COMPARE_ACTION_OP_TYPE       = 3; 
    17921792const unsigned char GEO_DB_COMPARE_ACTION_OPERAND_VALUE = 4; 
     
    18911891// 
    18921892const unsigned char GEO_DB_DISCRETE_ACTION_INPUT_VAR            = 1; 
    1893 const unsigned char GEO_DB_DISCRETE_ACTION_OUTPUT_VAR           = 2;  
     1893const unsigned char GEO_DB_DISCRETE_ACTION_OUTPUT_VAR           = 2; 
    18941894const unsigned char GEO_DB_DISCRETE_ACTION_NUM_ITEMS            = 3; 
    18951895const unsigned char GEO_DB_DISCRETE_ACTION_OUTPUT_VAR_TYPE      = 4; 
     
    19121912 
    19131913    /** The Node type for which this extension exists */ 
    1914     unsigned int            nodetype;                    //  4 bytes  
     1914    unsigned int            nodetype;                    //  4 bytes 
    19151915 
    19161916    /** The data type of the extension - defined in terms of GEO_DB_DATATYPE_INT 
     
    19241924     *  of many in an option menu 
    19251925     */ 
    1926     unsigned char            subdatatype;                //  1 bytes  
    1927  
    1928     /** The User ID (uid) is the optional value provided (in code) by the user  
    1929      *  to identify this particular extension. Users can search & retrieve  
     1926    unsigned char            subdatatype;                //  1 bytes 
     1927 
     1928    /** The User ID (uid) is the optional value provided (in code) by the user 
     1929     *  to identify this particular extension. Users can search & retrieve 
    19301930     *  extension values based on this user ID number. 
    19311931     */ 
     
    19431943     *     this particular option menu's label and 1 char for the terminator 
    19441944     * 2.  When the extension is a text field or boolean toggle value - it is 
    1945      *     recommended that only the 15 chars for the field label be used -  
    1946      *     setting a 23 char-length  label for a text input field will be a  
     1945     *     recommended that only the 15 chars for the field label be used - 
     1946     *     setting a 23 char-length  label for a text input field will be a 
    19471947     *     waste of time, as it will get truncated on display anyway. 
    19481948     */