git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5045
d7cf8633-e32d-0410-b094-
e92efae38249
// fill out all slots with notexture
for (i = 0, tx = loadmodel->brushq1.textures;i < loadmodel->brushq1.numtextures;i++, tx++)
{
// fill out all slots with notexture
for (i = 0, tx = loadmodel->brushq1.textures;i < loadmodel->brushq1.numtextures;i++, tx++)
{
strcpy(tx->name, "NO TEXTURE FOUND");
tx->width = 16;
tx->height = 16;
strcpy(tx->name, "NO TEXTURE FOUND");
tx->width = 16;
tx->height = 16;
for (i = 0;i < count;i++, in++, out++)
{
for (i = 0;i < count;i++, in++, out++)
{
strlcpy (out->name, in->name, sizeof (out->name));
out->surfaceflags = LittleLong(in->surfaceflags);
out->supercontents = Mod_Q3BSP_SuperContentsFromNativeContents(loadmodel, LittleLong(in->contents));
strlcpy (out->name, in->name, sizeof (out->name));
out->surfaceflags = LittleLong(in->surfaceflags);
out->supercontents = Mod_Q3BSP_SuperContentsFromNativeContents(loadmodel, LittleLong(in->contents));
// SURF_ flags
unsigned int flags;
// SURF_ flags
unsigned int flags;
- // position in the model's textures array
- int number;
-
// type of rendering (SURFRENDER_ value)
int rendertype;
// type of rendering (SURFRENDER_ value)
int rendertype;
int surfaceparms;
int textureflags;
int surfaceparms;
int textureflags;
-
- int numfaces;
- struct q3msurface_s **facelist;
- int *facenumlist;