diff options
| author | aura <nw@moneybot.cc> | 2026-03-16 13:35:33 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-16 13:35:33 +0100 |
| commit | e59a032fb9afac6496acf3fba51a2a329bd0f992 (patch) | |
| tree | 930bc3bc05e32127153cba12ac1248bc400b860d /src/game/world/map.h | |
| parent | f1882249843caa8bd931ecb76bb489615e079b10 (diff) | |
more editor work
Diffstat (limited to 'src/game/world/map.h')
| -rw-r--r-- | src/game/world/map.h | 8 |
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 { |
