Fix compatibility of RBA's NDT_GLASSLIKE_FRAMED

This commit is contained in:
Perttu Ahola 2013-04-25 11:51:28 +03:00
parent e9a4e98cb9
commit bc3072b35e

@ -133,8 +133,6 @@ enum NodeDrawType
NDT_LIQUID, // Do not draw face towards same kind of flowing/source liquid NDT_LIQUID, // Do not draw face towards same kind of flowing/source liquid
NDT_FLOWINGLIQUID, // A very special kind of thing NDT_FLOWINGLIQUID, // A very special kind of thing
NDT_GLASSLIKE, // Glass-like, don't draw faces towards other glass NDT_GLASSLIKE, // Glass-like, don't draw faces towards other glass
NDT_GLASSLIKE_FRAMED, // Glass-like, draw connected frames and all all visible faces
// uses 2 textures, one for frames, second for faces
NDT_ALLFACES, // Leaves-like, draw all faces no matter what NDT_ALLFACES, // Leaves-like, draw all faces no matter what
NDT_ALLFACES_OPTIONAL, // Fancy -> allfaces, fast -> normal NDT_ALLFACES_OPTIONAL, // Fancy -> allfaces, fast -> normal
NDT_TORCHLIKE, NDT_TORCHLIKE,
@ -143,6 +141,9 @@ enum NodeDrawType
NDT_FENCELIKE, NDT_FENCELIKE,
NDT_RAILLIKE, NDT_RAILLIKE,
NDT_NODEBOX, NDT_NODEBOX,
NDT_GLASSLIKE_FRAMED, // Glass-like, draw connected frames and all all
// visible faces
// uses 2 textures, one for frames, second for faces
}; };
#define CF_SPECIAL_COUNT 2 #define CF_SPECIAL_COUNT 2