/harbour/contrib/directx
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
19990728-19:35 CET Patrick Mast <harbour@PatrickMast.com> <jsalas@gruposp.com>
|
||||
+ /harbour/contrib/directX
|
||||
Added Jesus'es DirectX files.
|
||||
|
||||
Wed Jul 28 11:54:06 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl>
|
||||
|
||||
* source/rtl/dir.c:
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
..\..\bin\harbour %1 /n
|
||||
cl -Fd..\..\bin\harbour -w -Zi -TP -GZ -GA -DDEBUG -DHARBOUR_USE_GTAPI -DHARBOUR_USE_WIN_GTAPI -I..\..\include %1.c /link /subsystem:WINDOWS /NODEFAULTLIB:libcd.lib ..\..\obj\symbols.obj ..\..\libs\vc\harbour.lib ..\..\libs\vc\terminal.lib libc.lib user32.lib ..\..\Contrib\DirectX\directx\release\directx.lib ..\..\libs\win32\directx\lib\vc\ddraw.lib gdi32.lib
|
||||
Binary file not shown.
@@ -1,80 +0,0 @@
|
||||
/*
|
||||
* Copyright(C) 1999 by Jesus Salas
|
||||
*
|
||||
* This library 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
|
||||
*
|
||||
* You can contact me at: jsalas@gruposp.com jsalas@sp-editores.es
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Harbour - GAL Lib - DirectX 6.1 ( DDraw implementation for Windows )
|
||||
-------------------------------------------------------------------------------------------
|
||||
|
||||
Well, this is the first implementation of Graphics Animation Library
|
||||
for Windows/DirectX 6.1 and Harbour
|
||||
|
||||
|
||||
1)._ What do you need for make/run the samples.
|
||||
|
||||
- A Windows 95/98 ( Nt don't support DirectX 6 )
|
||||
- MSVC 6.0 ( BC coming soon )
|
||||
- DirectX 6.1 Run-Time ( you can download it from
|
||||
http://www.microsoft.com/directx )
|
||||
|
||||
- Set your resolution to 640x480 before running the sample.
|
||||
|
||||
2)._ Files in this distribution. ( HDx01.zip )
|
||||
|
||||
/DirectX/DirectX.lib -> Lib for Harbour
|
||||
|
||||
/DirectX/lib/Ddraw.lib -> Lib from MS for VC ( DirectX SDK )
|
||||
|
||||
/DirectX/BuVcDx.Bat -> Bat file for Build the sample for MSVC 6.0
|
||||
|
||||
/DirectX/Samples/TestDX.Prg -> a BreakOut like sample Game
|
||||
|
||||
/DirectX/Media -> Media files for the sample ( .bmp files )
|
||||
|
||||
3)._ Building the sample
|
||||
|
||||
copy TestDx.prg to /harbour/tests/working/
|
||||
copy BuVcDx.bat ro /harbour/tests/working/
|
||||
|
||||
1) harbour testdx
|
||||
2) BuVcDx testdx
|
||||
3) copy .exe to a directory with media files
|
||||
|
||||
Run the EXE!
|
||||
|
||||
Keys for the sample:
|
||||
|
||||
Space -> Shot.
|
||||
Cursor Left -> Bunny go to left.
|
||||
Cursor Right -> Bunny go to right.
|
||||
Shift hold down -> Bunny Turbo mode on.
|
||||
|
||||
4)._ Considerations.
|
||||
|
||||
You need to have the media files into the same directory of final .exe file
|
||||
|
||||
The source file for DirectX for harbour is not released for now, but in a short time
|
||||
it will be released. ;) ( i'm cleaning the code )
|
||||
|
||||
|
||||
Please if you test/use it... send to me feedback for continue supporting it!
|
||||
|
||||
Enjoy it!
|
||||
|
||||
Regards
|
||||
Jesús Salas
|
||||
Spain
|
||||
jsalas@gruposp.com
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user