diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-11 03:36:48 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | 9dadcb80240ed2e8df118d92940a954f0e7e669e (patch) | |
| tree | 5feefeb5d8a7d1c56678750110afecc84cbc7b7f /src/stubs.c | |
| parent | efc384b7b35943fa96249f747bfa08d22f96242a (diff) | |
Threw in texture loading/drawing.
Blending modes (color/texture) are problematic and texture coordinates
aren't yet perfect.
Diffstat (limited to 'src/stubs.c')
| -rw-r--r-- | src/stubs.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/src/stubs.c b/src/stubs.c index ce16084..b895b0c 100644 --- a/src/stubs.c +++ b/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"); } |
