X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Fq3map2.h;h=7c90baad52b80501b0df2daa8f4fa1021776f6fa;hp=e79736f54fa95c3fe214be3e8ae18a9af21db8a8;hb=cc4e44e31a89c8efed942ca26e2a341466f9a3b2;hpb=2c4c4aead76ba5d06b74ad3cfbb92ade42f6625f diff --git a/tools/quake3/q3map2/q3map2.h b/tools/quake3/q3map2/q3map2.h index e79736f5..7c90baad 100644 --- a/tools/quake3/q3map2/q3map2.h +++ b/tools/quake3/q3map2/q3map2.h @@ -169,7 +169,6 @@ constants #define C_ANTIPORTAL 0x00004000 /* like hint, but doesn't generate portals */ #define C_SKIP 0x00008000 /* like hint, but skips this face (doesn't split bsp) */ #define C_NOMARKS 0x00010000 /* no decals */ - #define C_DETAIL 0x08000000 /* THIS MUST BE THE SAME AS IN RADIANT! */ @@ -323,6 +322,7 @@ abstracted bsp file #define MAX_MAP_DRAW_VERTS 0x80000 #define MAX_MAP_DRAW_INDEXES 0x80000 +#define MAX_MAP_ADVERTISEMENTS 30 /* key / value pair sizes in the entities lump */ #define MAX_KEY 32 @@ -502,6 +502,14 @@ typedef struct bspDrawSurface_t; +/* advertisements */ +typedef struct { + int cellId; + vec3_t normal; + vec3_t rect[4]; + char model[ MAX_QPATH ]; +} bspAdvertisement_t; + /* ------------------------------------------------------------------------------- @@ -2316,6 +2324,8 @@ Q_EXTERN bspDrawSurface_t *bspDrawSurfaces Q_ASSIGN( NULL ); Q_EXTERN int numBSPFogs Q_ASSIGN( 0 ); Q_EXTERN bspFog_t bspFogs[ MAX_MAP_FOGS ]; +Q_EXTERN int numBSPAds Q_ASSIGN( 0 ); +Q_EXTERN bspAdvertisement_t bspAds[ MAX_MAP_ADVERTISEMENTS ]; /* end marker */