mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 20:30:34 +00:00
neo pipelines; postfx fix
This commit is contained in:
parent
5ac83e4b4c
commit
827ba62671
61 changed files with 3717 additions and 7 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "NodeName.h"
|
||||
#include "VisibilityPlugins.h"
|
||||
#include "ModelInfo.h"
|
||||
#include "custompipes.h"
|
||||
|
||||
//--MIAMI: file done
|
||||
|
||||
|
@ -39,6 +40,9 @@ RwObjectNameIdAssocation CPedModelInfo::m_pPedIds[PED_NODE_MAX] = {
|
|||
void
|
||||
CPedModelInfo::SetClump(RpClump *clump)
|
||||
{
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::AttachRimPipe(clump);
|
||||
#endif
|
||||
CClumpModelInfo::SetClump(clump);
|
||||
SetFrameIds(m_pPedIds); // not needed in VC actually
|
||||
if(m_hitColModel == nil)
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "Camera.h"
|
||||
#include "ModelInfo.h"
|
||||
#include "AnimManager.h"
|
||||
#include "custompipes.h"
|
||||
|
||||
//--MIAMI: file done
|
||||
|
||||
|
@ -88,6 +89,13 @@ CSimpleModelInfo::SetAtomic(int n, RpAtomic *atomic)
|
|||
if(RpGeometryGetFlags(geo) & rpGEOMETRYNORMALS &&
|
||||
RpGeometryGetNumTriangles(geo) > 200)
|
||||
debug("%s has %d polys\n", m_name, RpGeometryGetNumTriangles(geo));
|
||||
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
if(m_wetRoadReflection)
|
||||
CustomPipes::AttachGlossPipe(atomic);
|
||||
else
|
||||
CustomPipes::AttachWorldPipe(atomic);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "Bike.h"
|
||||
#include "ModelIndices.h"
|
||||
#include "ModelInfo.h"
|
||||
#include "custompipes.h"
|
||||
|
||||
//--MIAMI: done
|
||||
|
||||
|
@ -1124,6 +1125,10 @@ CVehicleModelInfo::SetEnvironmentMap(void)
|
|||
for(i = 0; i < wheelmi->m_numAtomics; i++)
|
||||
SetEnvironmentMapCB(wheelmi->m_atomics[i], nil);
|
||||
}
|
||||
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::AttachVehiclePipe(m_clump);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue