/* -------------------------------------------------------------------------------
-Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
/* version */
-#define Q3MAP_VERSION "2.5.16"
-#define Q3MAP_MOTD "Voter turnout"
+#define Q3MAP_VERSION "2.5.17"
+#define Q3MAP_MOTD "Last one turns the lights off"
#include "cmdlib.h"
#include "mathlib.h"
+#include "md5lib.h"
#include "ddslib.h"
#include "picomodel.h"
#include "inout.h"
#include "vfs.h"
#include "png.h"
-#include "radiant_jpeglib.h"
+
+/* mhash library must be installed locally or system wide - http://mhash.sourceforge.net/ */
#include "mhash.h"
#include <stdlib.h>
#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! */
#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
bspDrawSurface_t;
+/* advertisements */
+typedef struct {
+ int cellId;
+ vec3_t normal;
+ vec3_t rect[4];
+ char model[ MAX_QPATH ];
+} bspAdvertisement_t;
+
/* -------------------------------------------------------------------------------
{
#include "game_quake3.h"
,
+ #include "game_quakelive.h"/* most be after game_quake3.h as they share defines! */
+ ,
+ #include "game_nexuiz.h"/* most be after game_quake3.h as they share defines! */
+ ,
#include "game_tremulous.h" /*LinuxManMikeC: must be after game_quake3.h, depends on #define's set in it */
,
#include "game_tenebrae.h"
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 */