From e59a032fb9afac6496acf3fba51a2a329bd0f992 Mon Sep 17 00:00:00 2001 From: aura Date: Mon, 16 Mar 2026 13:35:33 +0100 Subject: more editor work --- src/game/world/map.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/world/map.h') 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, 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 { -- cgit v1.2.3