mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
remove UTIL and JA2 preprocessor definitions (#66)
UTIL is never used, and JA2 is always used. assumption being we'll never make 1.13 for Wizardry 8. video2.h doesn't exist, which prevented me from deleting it.
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
#include "DirectDraw Calls.h"
|
||||
#include <stdio.h>
|
||||
#include "debug.h"
|
||||
#if defined( JA2 ) || defined( UTIL )
|
||||
#include "video.h"
|
||||
#else
|
||||
#include "video2.h"
|
||||
#endif
|
||||
#include "himage.h"
|
||||
#include "vobject.h"
|
||||
#include "wcheck.h"
|
||||
@@ -968,17 +964,6 @@ BOOLEAN BltVideoObjectToBuffer( UINT16 *pBuffer, UINT32 uiDestPitchBYTES, HVOBJE
|
||||
{
|
||||
if(gbPixelDepth==16)
|
||||
{
|
||||
#ifndef JA2
|
||||
if ( fBltFlags & VO_BLT_MIRROR_Y)
|
||||
{
|
||||
if(!BltIsClipped(hSrcVObject, iDestX, iDestY, usIndex, &ClippingRect))
|
||||
Blt8BPPDataTo16BPPBufferTransMirror( pBuffer, uiDestPitchBYTES, hSrcVObject, iDestX, iDestY, usIndex );
|
||||
// CLipping version not done -- DB
|
||||
// Blt8BPPDataTo16BPPBufferTransMirrorClip( pBuffer, uiDestPitchBYTES, hSrcVObject, iDestX, iDestY, usIndex, &ClippingRect);
|
||||
break;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if ( fBltFlags & VO_BLT_SRCTRANSPARENCY )
|
||||
{
|
||||
if(BltIsClipped(hSrcVObject, iDestX, iDestY, usIndex, &ClippingRect))
|
||||
|
||||
Reference in New Issue
Block a user