summaryrefslogtreecommitdiff
path: root/src/game/world/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/world/map.h')
-rw-r--r--src/game/world/map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/world/map.h b/src/game/world/map.h
index 89c467c..8e6444e 100644
--- a/src/game/world/map.h
+++ b/src/game/world/map.h
@@ -39,22 +39,22 @@ struct MAP_PROPREF {
};
struct MAP_POLYGON : public EOBJECT {
+ EPROP( MAP_PROPREF, propid, {}, "prop id" );
EPROP( LIST<MAP_VERTEX>, vertices, {}, "vertices" );
VEC3 mins;
VEC3 maxs;
U8 type;
- EPROP( MAP_PROPREF, propid, {}, "prop id" );
};
struct MAP_WALL : public EOBJECT {
+ EPROP( MAP_PROPREF, propid, {}, "prop id" );
+
EPROP( VEC3, start, {}, "start pos" );
EPROP( VEC3, end, {}, "end pos" );
EPROP( VEC2, uvstart, {}, "uv start offset" );
EPROP( VEC2, uvend, {}, "uv end offset" );
-
- EPROP( MAP_PROPREF, propid, {}, "prop id" );
};
struct MAP_TEXTURE_ENTRY {
@@ -64,10 +64,10 @@ struct MAP_TEXTURE_ENTRY {
};
struct MAP_SPRITE : public EOBJECT {
+ EPROP( GL_TEX2D*, tex, {}, "texture" );
EPROP( VEC3, pos, {}, "position" );
EPROP( VEC2, size, {}, "size" );
EPROP( CLR, clr, {}, "color" );
- EPROP( GL_TEX2D*, tex, {}, "texture" );
};
struct MAP_ENTITY : public EOBJECT {