diff options
Diffstat (limited to 'src/engine/world.h')
| -rw-r--r-- | src/engine/world.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/engine/world.h b/src/engine/world.h index 43ec470..91812b4 100644 --- a/src/engine/world.h +++ b/src/engine/world.h @@ -1,12 +1,10 @@ -enum // hardcoded texture numbers -{ +enum { // hardcoded texture numbers { DEFAULT_GEOM }; #define MAPVERSION 34 // bump if map format changes, see worldio.cpp -struct octaheader -{ +struct octaheader { char magic[4]; // "OCTA" int version; // any >8bit quantity is little endian int headersize; // sizeof(header) @@ -18,8 +16,7 @@ struct octaheader int numvslots; }; -enum -{ +enum { MATSURF_NOT_VISIBLE = 0, MATSURF_VISIBLE, MATSURF_EDIT_ONLY @@ -28,4 +25,3 @@ enum #define TEX_SCALE 8.0f struct vertex { vec pos; bvec4 norm; vec2 tc; svec2 lm; bvec4 tangent; }; - |
