Replaced the old c style declaration of enum's as it was confusing Coverity

This commit is contained in:
Robert Osfield
2016-07-01 08:35:08 +01:00
parent d3362f9a23
commit eab111a5f5

View File

@@ -540,7 +540,7 @@ public:
~trpgLightAttr(void);
// Light Flags
enum
enum LightFlags
{
// Light flags
trpg_Day = 0x0001,
@@ -562,33 +562,33 @@ public:
trpg_ZBuffer = 0x4000,
trpg_FogPunch = 0x8000,
trpg_PerformerMask = 0xf000
} LightFlags;
};
// Light Type
typedef enum
enum LightType
{
trpg_Raster,
trpg_Calligraphic,
trpg_RASCAL
} LightType;
};
// Light Directionality
typedef enum
enum LightDirectionality
{
trpg_Omnidirectional,
trpg_Bidirectional,
trpg_Unidirectional
} LightDirectionality;
} ;
// Light Quality
typedef enum
enum LightQuality
{
trpg_Off,
trpg_Low,
trpg_Medium,
trpg_High,
trpg_Undefined
} LightQuality;
};
// Struct for Performer Lights
struct PerformerAttr