mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
cl_visedict re-write. lerping works MUCH better now, and lerping of torches
should be possible. client should also be microscopicly faster.
This commit is contained in:
parent
3669d78d1b
commit
dd3ea544ce
13 changed files with 202 additions and 194 deletions
|
@ -901,27 +901,27 @@ R_DrawEntitiesOnList (void)
|
|||
|
||||
// LordHavoc: split into 3 loops to simplify state changes
|
||||
for (i = 0; i < cl_numvisedicts; i++) {
|
||||
if (cl_visedicts[i].model->type != mod_brush)
|
||||
if (cl_visedicts[i]->model->type != mod_brush)
|
||||
continue;
|
||||
currententity = &cl_visedicts[i];
|
||||
currententity = cl_visedicts[i];
|
||||
modelalpha = currententity->alpha;
|
||||
|
||||
R_DrawBrushModel (currententity);
|
||||
}
|
||||
|
||||
for (i = 0; i < cl_numvisedicts; i++) {
|
||||
if (cl_visedicts[i].model->type != mod_alias)
|
||||
if (cl_visedicts[i]->model->type != mod_alias)
|
||||
continue;
|
||||
currententity = &cl_visedicts[i];
|
||||
currententity = cl_visedicts[i];
|
||||
modelalpha = currententity->alpha;
|
||||
|
||||
R_DrawAliasModel (currententity);
|
||||
}
|
||||
|
||||
for (i = 0; i < cl_numvisedicts; i++) {
|
||||
if (cl_visedicts[i].model->type != mod_sprite)
|
||||
if (cl_visedicts[i]->model->type != mod_sprite)
|
||||
continue;
|
||||
currententity = &cl_visedicts[i];
|
||||
currententity = cl_visedicts[i];
|
||||
modelalpha = currententity->alpha;
|
||||
|
||||
R_DrawSpriteModel (currententity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue