- Moved the pixel shaders' color information out of the constant registers

and into the vertex data.
- Added functions for doing line drawing with Direct3D, including a new pair
  of functions to do batched line drawing so that the map can actually be
  drawn faster in hardware than in software (instead of an order of magnitude
  slower).


SVN r663 (trunk)
This commit is contained in:
Randy Heit 2008-01-04 05:22:30 +00:00
commit 5cbb2bd472
9 changed files with 401 additions and 263 deletions

View file

@ -1802,6 +1802,8 @@ void AM_Drawer ()
}
AM_activateNewScale();
screen->BeginLineDrawing();
if (grid)
AM_drawGrid(GridColor);
@ -1809,6 +1811,9 @@ void AM_Drawer ()
AM_drawPlayers();
if (am_cheat >= 2 || allthings)
AM_drawThings();
screen->EndLineDrawing();
AM_drawAuthorMarkers();
if (!viewactive)