TexFace to Material Settings big patch
[blender.git] / source / gameengine / Ketsji / BL_Material.h
index c0440e665018b9f445e10a9cfc063177bb6f091f..2c6316ea32b2e1042b8cb4b9e11d5ca29c29478e 100644 (file)
@@ -68,7 +68,7 @@ public:
 
        float matcolor[4];
        float speccolor[3];
-       short transp, pad;
+       short alphablend, pad;
 
        float hard, spec_f;
        float alpha, emit, color_blend[MAXTEX], ref;
@@ -76,7 +76,6 @@ public:
 
        int blend_mode[MAXTEX];
 
-       int      mode;
        int num_enabled;
        
        BL_Mapping      mapping[MAXTEX];
@@ -151,14 +150,16 @@ enum BL_flag
 // BL_Material::ras_mode
 enum BL_ras_mode
 {
-       POLY_VIS=1,
+       // POLY_VIS=1,
        COLLIDER=2,
        ZSORT=4,
        ALPHA=8,
        // TRIANGLE=16,
        USE_LIGHT=32,
        WIRE=64,
-       CAST_SHADOW=128
+       CAST_SHADOW=128,
+       TEX=256,
+       TWOSIDED=512
 };
 
 // -------------------------------------