Update to ZDoom r2448:

- addition of and changes for new polyobject code.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@846 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2010-07-23 14:32:07 +00:00
parent 0dcbdf347b
commit 76780fd5b1
25 changed files with 1347 additions and 889 deletions

View file

@ -50,6 +50,7 @@
#include "r_bsp.h"
#include "r_plane.h"
#include "v_palette.h"
#include "po_man.h"
//#include "gl/data/gl_data.h"
#include "gl/gl_functions.h"
@ -1496,6 +1497,8 @@ void R_RenderActorView (AActor *actor, bool dontmaplines)
{
camera->renderflags |= RF_INVISIBLE;
}
// Link the polyobjects right before drawing the scene to reduce the amounts of calls to this function
PO_LinkToSubsectors();
if (r_polymost < 2)
{
R_RenderBSPNode (nodes + numnodes - 1); // The head node is the last node output.