From 95497af7d4fa6b87a1fcfe16addabe315b210990 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Thu, 1 Nov 2007 19:03:22 +0000 Subject: [PATCH] 2007-11-01 20:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/sendmail.prg * harbour/contrib/directx/test/anima2.bmp * harbour/contrib/directx/test/brick1.bmp * harbour/contrib/directx/test/black.bmp * harbour/contrib/directx/test/brick2.bmp * harbour/contrib/directx/test/brick3.bmp * harbour/contrib/directx/test/shot.bmp * harbour/contrib/directx/w32_ddrw.h * harbour/contrib/directx/Makefile * harbour/samples/pe/pe.prg * updated svn attributes --- harbour/ChangeLog | 13 +++ harbour/contrib/directx/Makefile | 28 +++--- harbour/contrib/directx/w32_ddrw.h | 134 ++++++++++++++--------------- harbour/contrib/tip/sendmail.prg | 2 +- 4 files changed, 95 insertions(+), 82 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f87ed06f45..08ed0eea16 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,19 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-11-01 20:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/tip/sendmail.prg + * harbour/contrib/directx/test/anima2.bmp + * harbour/contrib/directx/test/brick1.bmp + * harbour/contrib/directx/test/black.bmp + * harbour/contrib/directx/test/brick2.bmp + * harbour/contrib/directx/test/brick3.bmp + * harbour/contrib/directx/test/shot.bmp + * harbour/contrib/directx/w32_ddrw.h + * harbour/contrib/directx/Makefile + * harbour/samples/pe/pe.prg + * updated svn attributes + 2007-11-01 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat diff --git a/harbour/contrib/directx/Makefile b/harbour/contrib/directx/Makefile index 25d5d464a0..3f6841af4f 100644 --- a/harbour/contrib/directx/Makefile +++ b/harbour/contrib/directx/Makefile @@ -1,14 +1,14 @@ -# -# $Id: Makefile 7833 2007-10-18 10:23:19Z vszakats $ -# - -ROOT = ../../ - -C_SOURCES=\ - w32_ddrw.cpp \ - -PRG_SOURCES=\ - -LIBNAME=hbwin32ddrw - -include $(TOP)$(ROOT)config/lib.cf +# +# $Id$ +# + +ROOT = ../../ + +C_SOURCES=\ + w32_ddrw.cpp \ + +PRG_SOURCES=\ + +LIBNAME=hbwin32ddrw + +include $(TOP)$(ROOT)config/lib.cf diff --git a/harbour/contrib/directx/w32_ddrw.h b/harbour/contrib/directx/w32_ddrw.h index e6359bfa9b..1ba2da7430 100644 --- a/harbour/contrib/directx/w32_ddrw.h +++ b/harbour/contrib/directx/w32_ddrw.h @@ -1,67 +1,67 @@ -/* - * $Id: do.c 6821 2006-09-01 08:27:40Z druzus $ - */ - -/* - * Copyright(C) 1999 by Jesus Salas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to: - * - * The Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * - * You can contact me at: jsalas@gruposp.com jsalas@sp-editores.es - * - */ - -#define INITGUID - -#include "windows.h" -#include "winuser.h" - -#include "hbapi.h" -#include "hbvm.h" - -#include "errno.h" -#include "objbase.h" -#include "tchar.h" -#include "stdio.h" -#include "math.h" -#include "string.h" -#include "stdlib.h" - -#include "ddraw.h" - -HB_EXTERN_BEGIN - -/* Main Message Loop */ - -long _stdcall hb_dd_DDWndProc( HWND , UINT , WPARAM , LPARAM ); - -/* DDraw initialize */ - -void hb_dd_DDrawStartup( HWND ); -void hb_dd_StartWindow( void ); -void hb_dd_CreateWindow( void ); -void hb_dd_CreateOffScreenBitmap( void ); -void hb_dd_ReleaseAllObjects( void ); -void hb_dd_RestoreAll( void ); -long hb_dd_checkError( HRESULT ); -HRESULT hb_dd_DDCopyBitmap( IDirectDrawSurface4 * pdds, HBITMAP hbm, int x, int y, int dx, int dy); -void hb_dd_RenderSprites( long ); -DWORD hb_dd_DDColorMatch( IDirectDrawSurface4 * pdds, COLORREF rgb ); -void hb_dd_WinError( void ); -void hb_dd_g_Error( char *, long , char *); - -HB_EXTERN_END +/* + * $Id$ + */ + +/* + * Copyright(C) 1999 by Jesus Salas + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to: + * + * The Free Software Foundation, Inc., + * 675 Mass Ave, Cambridge, MA 02139, USA. + * + * You can contact me at: jsalas@gruposp.com jsalas@sp-editores.es + * + */ + +#define INITGUID + +#include "windows.h" +#include "winuser.h" + +#include "hbapi.h" +#include "hbvm.h" + +#include "errno.h" +#include "objbase.h" +#include "tchar.h" +#include "stdio.h" +#include "math.h" +#include "string.h" +#include "stdlib.h" + +#include "ddraw.h" + +HB_EXTERN_BEGIN + +/* Main Message Loop */ + +long _stdcall hb_dd_DDWndProc( HWND , UINT , WPARAM , LPARAM ); + +/* DDraw initialize */ + +void hb_dd_DDrawStartup( HWND ); +void hb_dd_StartWindow( void ); +void hb_dd_CreateWindow( void ); +void hb_dd_CreateOffScreenBitmap( void ); +void hb_dd_ReleaseAllObjects( void ); +void hb_dd_RestoreAll( void ); +long hb_dd_checkError( HRESULT ); +HRESULT hb_dd_DDCopyBitmap( IDirectDrawSurface4 * pdds, HBITMAP hbm, int x, int y, int dx, int dy); +void hb_dd_RenderSprites( long ); +DWORD hb_dd_DDColorMatch( IDirectDrawSurface4 * pdds, COLORREF rgb ); +void hb_dd_WinError( void ); +void hb_dd_g_Error( char *, long , char *); + +HB_EXTERN_END diff --git a/harbour/contrib/tip/sendmail.prg b/harbour/contrib/tip/sendmail.prg index be184ea61a..f2516e5a69 100644 --- a/harbour/contrib/tip/sendmail.prg +++ b/harbour/contrib/tip/sendmail.prg @@ -1,7 +1,7 @@ //-------------------------------------------------------------// /* - * $Id: sendmail.prg,v 1.3 2007/09/17 13:40:55 lculik Exp $ + * $Id$ */ /*