2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

Major scoped-enum refactor

This commit is contained in:
Jack Andersen
2015-11-20 15:16:07 -10:00
parent 4c09ded013
commit e423db32ee
83 changed files with 958 additions and 904 deletions

View File

@@ -80,20 +80,20 @@ struct MREA
struct BabeDeadLight : BigDNA
{
DECL_DNA
enum LightType : atUint32
enum class LightType : atUint32
{
LightLocalAmbient,
LightDirectional,
LightCustom,
LightSpot,
LightSpot2,
LightLocalAmbient2
LocalAmbient,
Directional,
Custom,
Spot,
Spot2,
LocalAmbient2
};
enum Falloff : atUint32
enum class Falloff : atUint32
{
FalloffConstant,
FalloffLinear,
FalloffQuadratic
Constant,
Linear,
Quadratic
};
Value<LightType> lightType;
Value<atVec4f> color;