Implemented sky drawing and a few other routines (cloaked polygon,
rectangle, etc). Worked around a V5 DRI issue(?) by breaking up some drawing into triangles.
This commit is contained in:
parent
4e94ccc65f
commit
7460e9acd0
5 changed files with 581 additions and 231 deletions
30
src/stubs.c
30
src/stubs.c
|
@ -277,11 +277,6 @@ void InitForceField()
|
|||
fprintf(stderr, "InitForceField()\n");
|
||||
}
|
||||
|
||||
void DrawScanlinesOverlay(float level)
|
||||
{
|
||||
fprintf(stderr, "DrawScanlinesOverlay(%f)\n", level);
|
||||
}
|
||||
|
||||
void RenderString(char *stringPtr, int x, int y, int colour)
|
||||
{
|
||||
fprintf(stderr, "RenderString(%s, %d, %d, %d)\n", stringPtr, x, y, colour);
|
||||
|
@ -360,21 +355,6 @@ BOOL EndD3DScene()
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
void D3D_ZBufferedGouraudPolygon_Output(POLYHEADER *inputPolyPtr,RENDERVERTEX *renderVerticesPtr)
|
||||
{
|
||||
fprintf(stderr, "D3D_ZBufferedGouraudPolygon_Output(%p, %p)\n", inputPolyPtr, renderVerticesPtr);
|
||||
}
|
||||
|
||||
void D3D_ZBufferedCloakedPolygon_Output(POLYHEADER *inputPolyPtr,RENDERVERTEX *renderVerticesPtr)
|
||||
{
|
||||
fprintf(stderr, "D3D_ZBufferedCloakedPolygon_Output(%p, %p)\n", inputPolyPtr, renderVerticesPtr);
|
||||
}
|
||||
|
||||
void D3D_SkyPolygon_Output(POLYHEADER *inputPolyPtr,RENDERVERTEX *renderVerticesPtr)
|
||||
{
|
||||
fprintf(stderr, "D3D_SkyPolygon_Output(%p, %p)\n", inputPolyPtr, renderVerticesPtr);
|
||||
}
|
||||
|
||||
void D3D_DrawWaterTest(MODULE *testModulePtr)
|
||||
{
|
||||
fprintf(stderr, "D3D_DrawWaterTest(%p)\n", testModulePtr);
|
||||
|
@ -390,11 +370,6 @@ void D3D_DrawCable(VECTORCH *centrePtr, MATRIXCH *orientationPtr)
|
|||
fprintf(stderr, "D3D_DrawCable(%p, %p)\n", centrePtr, orientationPtr);
|
||||
}
|
||||
|
||||
void D3D_DrawBackdrop()
|
||||
{
|
||||
fprintf(stderr, "D3D_DrawBackdrop()\n");
|
||||
}
|
||||
|
||||
void D3D_BackdropPolygon_Output(POLYHEADER *inputPolyPtr,RENDERVERTEX *renderVerticesPtr)
|
||||
{
|
||||
fprintf(stderr, "D3D_BackdropPolygon_Output(%p, %p)\n", inputPolyPtr, renderVerticesPtr);
|
||||
|
@ -421,11 +396,6 @@ void BlitWin95Char(int x, int y, unsigned char toprint)
|
|||
fprintf(stderr, "BlitWin95Char(%d, %d, %d)\n", x, y, toprint);
|
||||
}
|
||||
|
||||
void ColourFillBackBuffer(int FillColour)
|
||||
{
|
||||
fprintf(stderr, "ColourFillBackBuffer(%d)\n", FillColour);
|
||||
}
|
||||
|
||||
void LockSurfaceAndGetBufferPointer()
|
||||
{
|
||||
fprintf(stderr, "LockSurfaceAndGetBufferPointer()\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue