X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Fq3map2.h;h=7d6cb9a47fd45fc2692985aa0233f57267b54c83;hb=131c36f6be58bba507a42f767533b061b721dfec;hp=f38d567943a9cb5a99f43af8cf08d26601fd75a9;hpb=7833fbdebf8b07f921c1bbcc657c9bad553c3cd6;p=xonotic%2Fnetradiant.git diff --git a/tools/quake3/q3map2/q3map2.h b/tools/quake3/q3map2/q3map2.h index f38d5679..7d6cb9a4 100644 --- a/tools/quake3/q3map2/q3map2.h +++ b/tools/quake3/q3map2/q3map2.h @@ -41,8 +41,6 @@ #define Q3MAP_MOTD "Your map saw the pretty lights from q3map2's BFG" - - /* ------------------------------------------------------------------------------- dependencies @@ -200,7 +198,7 @@ #define HINT_PRIORITY 1000 /* ydnar: force hint splits first and antiportal/areaportal splits last */ #define ANTIPORTAL_PRIORITY -1000 #define AREAPORTAL_PRIORITY -1000 -#define DETAIL_PRIORITY -3000 +#define DETAIL_PRIORITY -3000 #define PSIDE_FRONT 1 #define PSIDE_BACK 2 @@ -273,7 +271,7 @@ #define RAD_LUXEL_SIZE 3 #define SUPER_LUXEL_SIZE 4 #define SUPER_FLAG_SIZE 4 -#define FLAG_FORCE_SUBSAMPLING 1 +#define FLAG_FORCE_SUBSAMPLING 1 #define FLAG_ALREADY_SUBSAMPLED 2 #define SUPER_ORIGIN_SIZE 3 #define SUPER_NORMAL_SIZE 4 @@ -826,7 +824,7 @@ typedef struct face_s struct face_s *next; int planenum; int priority; - //qboolean checked; + //qboolean checked; int compileFlags; winding_t *w; } @@ -958,8 +956,9 @@ typedef struct parseMesh_s shaderInfo_t *shaderInfo; shaderInfo_t *celShader; /* :) */ + /* jal : entity based _lightmapsamplesize */ + int lightmapSampleSize; /* ydnar: gs mods */ - int lightmapSampleSize; /* jal : entity based _lightmapsamplesize */ float lightmapScale; vec3_t eMins, eMaxs; indexMap_t *im; @@ -1467,7 +1466,7 @@ typedef struct rawLightmap_s float *bspLuxels[ MAX_LIGHTMAPS ]; float *radLuxels[ MAX_LIGHTMAPS ]; float *superLuxels[ MAX_LIGHTMAPS ]; - unsigned char *superFlags; + unsigned char *superFlags; float *superOrigins; float *superNormals; int *superClusters; @@ -1523,15 +1522,19 @@ void HelpMain(const char* arg); game_t *GetGame( char *arg ); void InitPaths( int *argc, char **argv ); + /* fixaas.c */ int FixAASMain( int argc, char **argv ); + /* bsp.c */ int BSPMain( int argc, char **argv ); + /* bsp_analyze.c */ int AnalyzeBSPMain( int argc, char **argv ); + /* bsp_info.c */ int BSPInfoMain( int count, char **fileNames ); @@ -1544,6 +1547,7 @@ int MiniMapBSPMain( int argc, char **argv ); /* convert_bsp.c */ int ConvertBSPMain( int argc, char **argv ); + /* convert_map.c */ int ConvertBSPToMap( char *bspName ); int ConvertBSPToMap_BP( char *bspName );