Threw in texture loading/drawing.
Blending modes (color/texture) are problematic and texture coordinates aren't yet perfect.
This commit is contained in:
parent
efc384b7b3
commit
9dadcb8024
6 changed files with 184 additions and 82 deletions
22
src/stubs.c
22
src/stubs.c
|
@ -441,7 +441,9 @@ void SetFogDistance(int fogDistance)
|
|||
|
||||
void CheckWireFrameMode(int shouldBeOn)
|
||||
{
|
||||
fprintf(stderr, "CheckWireFrameMode(%d)\n", shouldBeOn);
|
||||
// fprintf(stderr, "CheckWireFrameMode(%d)\n", shouldBeOn);
|
||||
if (shouldBeOn)
|
||||
fprintf(stderr, "CheckWireFrameMode(%d)\n", shouldBeOn);
|
||||
}
|
||||
|
||||
void WriteEndCodeToExecuteBuffer()
|
||||
|
@ -456,11 +458,6 @@ BOOL UnlockExecuteBufferAndPrepareForUse()
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
void SecondFlushD3DZBuffer()
|
||||
{
|
||||
fprintf(stderr, "SecondFlushD3DZBuffer()\n");
|
||||
}
|
||||
|
||||
void ReloadImageIntoD3DImmediateSurface(IMAGEHEADER* iheader)
|
||||
{
|
||||
fprintf(stderr, "ReloadImageIntoD3DImmediateSurface(%p)\n", iheader);
|
||||
|
@ -486,14 +483,9 @@ void ReleaseD3DTexture(void* D3DTexture)
|
|||
fprintf(stderr, "ReleaseD3DTexture(%p)\n", D3DTexture);
|
||||
}
|
||||
|
||||
void FlushD3DZBuffer()
|
||||
{
|
||||
fprintf(stderr, "FlushD3DZBuffer()\n");
|
||||
}
|
||||
|
||||
BOOL ExecuteBuffer()
|
||||
{
|
||||
fprintf(stderr, "ExecuteBuffer()\n");
|
||||
// fprintf(stderr, "ExecuteBuffer()\n");
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -671,17 +663,17 @@ int MouseVelY;
|
|||
|
||||
void DirectReadKeyboard()
|
||||
{
|
||||
fprintf(stderr, "DirectReadKeyboard()\n");
|
||||
// fprintf(stderr, "DirectReadKeyboard()\n");
|
||||
}
|
||||
|
||||
void DirectReadMouse()
|
||||
{
|
||||
fprintf(stderr, "DirectReadMouse()\n");
|
||||
// fprintf(stderr, "DirectReadMouse()\n");
|
||||
}
|
||||
|
||||
void ReadJoysticks()
|
||||
{
|
||||
fprintf(stderr, "ReadJoysticks()\n");
|
||||
// fprintf(stderr, "ReadJoysticks()\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue