From: mfranz Date: Tue, 14 Mar 2006 15:49:29 +0000 (+0000) Subject: --warnings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2cccc2654157e34c99228518e18c7c13974f77dd;p=simgear.git --warnings --- diff --git a/simgear/io/sg_binobj.cxx b/simgear/io/sg_binobj.cxx index ba4cfc60..11ac6036 100644 --- a/simgear/io/sg_binobj.cxx +++ b/simgear/io/sg_binobj.cxx @@ -46,7 +46,7 @@ SG_USING_STD( string ); SG_USING_STD( vector ); -enum { +enum sgObjectTypes { SG_BOUNDING_SPHERE = 0, SG_VERTEX_LIST = 1, @@ -59,19 +59,19 @@ enum { SG_TRIANGLE_FACES = 10, SG_TRIANGLE_STRIPS = 11, SG_TRIANGLE_FANS = 12 -} sgObjectTypes; +}; -enum { +enum sgIndexTypes { SG_IDX_VERTICES = 0x01, SG_IDX_NORMALS = 0x02, SG_IDX_COLORS = 0x04, SG_IDX_TEXCOORDS = 0x08 -} sgIndexTypes; +}; -enum { +enum sgPropertyTypes { SG_MATERIAL = 0, SG_INDEX_TYPES = 1 -} sgPropertyTypes; +}; class sgSimpleBuffer {