X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_shared.h;h=7bf5e0207a972c4d37b23c5c3bfa031d2920b71b;hb=3a75d24a80005cec4f7e915f802ccb19274da279;hp=9fcfff2512c982351a8432760c2a94ac45dbc177;hpb=67c10745fba28abed52da11e01a82ae02a8e31b8;p=xonotic%2Fdarkplaces.git diff --git a/model_shared.h b/model_shared.h index 9fcfff25..7bf5e020 100644 --- a/model_shared.h +++ b/model_shared.h @@ -70,6 +70,8 @@ typedef struct skinframe_s int loadsequence; // on 32bit systems this makes the struct 128 bytes long int padding; + // average texture color, if applicable + float avgcolor[4]; } skinframe_t; @@ -287,6 +289,7 @@ typedef enum q3tcmod_e Q3TCMOD_STRETCH, Q3TCMOD_TRANSFORM, Q3TCMOD_TURBULENT, + Q3TCMOD_PAGE, Q3TCMOD_COUNT } q3tcmod_t; @@ -775,6 +778,9 @@ typedef struct model_brushq3_s // true if the detected deluxemaps are the modelspace kind, rather than // the faster tangentspace kind qboolean deluxemapping_modelspace; + // size of lightmaps (128 by default, but may be another poweroftwo if + // external lightmaps are used (q3map2 -lightmapsize) + int lightmapsize; } model_brushq3_t;