if (!cls.qw_downloadname[0])
return;
dpsnprintf(temp, sizeof(temp), "Downloading %s ... %3i%%\n", cls.qw_downloadname, cls.qw_downloadpercent);
- len = strlen(temp);
+ len = (int)strlen(temp);
x = (vid_conwidth.integer - len*size) / 2;
y = vid_conheight.integer - size;
DrawQ_Fill(0, y, vid_conwidth.integer, size, 0, 0, 0, 0.5, 0);
frac = pdist / (pdist - ndist);
if (frontcount < outfrontmaxpoints)
{
- *outfrontpoints++ = p[0] + frac * (n[0] - p[0]);
- *outfrontpoints++ = p[1] + frac * (n[1] - p[1]);
- *outfrontpoints++ = p[2] + frac * (n[2] - p[2]);
+ *outfrontpoints++ = (float)(p[0] + frac * (n[0] - p[0]));
+ *outfrontpoints++ = (float)(p[1] + frac * (n[1] - p[1]));
+ *outfrontpoints++ = (float)(p[2] + frac * (n[2] - p[2]));
}
frontcount++;
if (backcount < outbackmaxpoints)
{
- *outbackpoints++ = p[0] + frac * (n[0] - p[0]);
- *outbackpoints++ = p[1] + frac * (n[1] - p[1]);
- *outbackpoints++ = p[2] + frac * (n[2] - p[2]);
+ *outbackpoints++ = (float)(p[0] + frac * (n[0] - p[0]));
+ *outbackpoints++ = (float)(p[1] + frac * (n[1] - p[1]));
+ *outbackpoints++ = (float)(p[2] + frac * (n[2] - p[2]));
}
backcount++;
}