mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
bump version
This commit is contained in:
parent
2d1ab88f85
commit
88faf16fd9
2
ddraw.rc
2
ddraw.rc
@ -2,7 +2,7 @@
|
||||
#define vxstr(a,b,c,d) str(a##.##b##.##c##.##d)
|
||||
#define str(s) #s
|
||||
|
||||
#define VERSION 1,2,2,3
|
||||
#define VERSION 1,2,2,4
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION
|
||||
|
@ -184,13 +184,19 @@ HRESULT __stdcall ddraw_surface_BltFast(IDirectDrawSurfaceImpl *This, DWORD dst_
|
||||
#endif
|
||||
|
||||
if (flags & DDBLTFAST_NOCOLORKEY)
|
||||
{
|
||||
printf("IDirectDrawSurface::BltFast(This=%p, ...) ??? DDBLTFAST_NOCOLORKEY\n", This);
|
||||
}
|
||||
|
||||
if (flags & DDBLTFAST_SRCCOLORKEY)
|
||||
{
|
||||
printf("IDirectDrawSurface::BltFast(This=%p, ...) ??? DDBLTFAST_SRCCOLORKEY\n", This);
|
||||
}
|
||||
|
||||
if (flags & DDBLTFAST_DESTCOLORKEY)
|
||||
{
|
||||
printf("IDirectDrawSurface::BltFast(This=%p, ...) ??? DDBLTFAST_DESTCOLORKEY\n", This);
|
||||
}
|
||||
|
||||
if (Source)
|
||||
{
|
||||
@ -204,12 +210,13 @@ HRESULT __stdcall ddraw_surface_BltFast(IDirectDrawSurfaceImpl *This, DWORD dst_
|
||||
unsigned char* dstSurface = (unsigned char *)This->surface;
|
||||
unsigned char* srcSurface = (unsigned char *)Source->surface;
|
||||
|
||||
for (int y1 = 0; y1 < src_h; y1++)
|
||||
int y1, x1;
|
||||
for (y1 = 0; y1 < src_h; y1++)
|
||||
{
|
||||
int ydst = This->width * (y1 + dst_y);
|
||||
int ysrc = Source->width * (y1 + src_y);
|
||||
|
||||
for (int x1 = 0; x1 < src_w; x1++)
|
||||
for (x1 = 0; x1 < src_w; x1++)
|
||||
{
|
||||
unsigned char index = srcSurface[x1 + src_x + ysrc];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user