broken ui system
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <psyqo/vector.hh>
|
||||
|
||||
#include "gtemath.hh"
|
||||
#include "uisystem.hh"
|
||||
|
||||
using namespace psyqo::fixed_point_literals;
|
||||
using namespace psyqo::trig_literals;
|
||||
@@ -275,8 +276,10 @@ void psxsplash::Renderer::Render(eastl::vector<GameObject*>& objects) {
|
||||
for (int i = 0; i < obj->polyCount; i++)
|
||||
processTriangle(obj->polygons[i], fogFarSZ, ot, balloc);
|
||||
}
|
||||
if (m_uiSystem) m_uiSystem->renderOT(m_gpu, ot, balloc);
|
||||
m_gpu.getNextClear(clear.primitive, m_clearcolor);
|
||||
m_gpu.chain(clear); m_gpu.chain(ot);
|
||||
if (m_uiSystem) m_uiSystem->renderText(m_gpu);
|
||||
m_frameCount++;
|
||||
}
|
||||
|
||||
@@ -307,8 +310,10 @@ void psxsplash::Renderer::RenderWithBVH(eastl::vector<GameObject*>& objects, con
|
||||
}
|
||||
processTriangle(obj->polygons[ref.triangleIndex], fogFarSZ, ot, balloc);
|
||||
}
|
||||
if (m_uiSystem) m_uiSystem->renderOT(m_gpu, ot, balloc);
|
||||
m_gpu.getNextClear(clear.primitive, m_clearcolor);
|
||||
m_gpu.chain(clear); m_gpu.chain(ot);
|
||||
if (m_uiSystem) m_uiSystem->renderText(m_gpu);
|
||||
m_frameCount++;
|
||||
}
|
||||
|
||||
@@ -750,8 +755,10 @@ void psxsplash::Renderer::RenderWithRooms(eastl::vector<GameObject*>& objects,
|
||||
}
|
||||
#endif
|
||||
|
||||
if (m_uiSystem) m_uiSystem->renderOT(m_gpu, ot, balloc);
|
||||
m_gpu.getNextClear(clear.primitive, m_clearcolor);
|
||||
m_gpu.chain(clear); m_gpu.chain(ot);
|
||||
if (m_uiSystem) m_uiSystem->renderText(m_gpu);
|
||||
m_frameCount++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user