Source

所属分类:DirextX编程
开发工具:Visual C++
文件大小:17221KB
下载次数:28
上传日期:2008-06-19 17:43:03
上 传 者luke900
说明:   这个包内是一批经典的Directx游戏,写的很好,推荐参考!
(This package is a group of classic Directx games, write a good, recommended reference!)

文件列表:
Source\T3DCHAP01\blackbox.cpp (12653, 1998-07-24)
Source\T3DCHAP01\blackbox.h (3329, 1998-07-24)
Source\T3DCHAP01\freakout.cpp (15916, 1999-07-07)
Source\T3DCHAP01\freakout.exe (32768, 1998-07-25)
Source\T3DCHAP01 (0, 2008-04-10)
Source\T3DCHAP02\demo2_1.cpp (200, 1998-07-24)
Source\T3DCHAP02\demo2_2.cpp (614, 1998-07-24)
Source\T3DCHAP02\demo2_2.exe (20480, 1998-07-25)
Source\T3DCHAP02\demo2_3.cpp (3446, 1999-07-07)
Source\T3DCHAP02\demo2_3.exe (21504, 1998-07-30)
Source\T3DCHAP02\demo2_4.cpp (3894, 1999-07-07)
Source\T3DCHAP02\demo2_4.exe (21504, 1998-07-30)
Source\T3DCHAP02\demo2_5.cpp (4373, 1999-07-07)
Source\T3DCHAP02\demo2_5.exe (21504, 1998-08-01)
Source\T3DCHAP02 (0, 2008-04-10)
Source\T3DCHAP03\beam.wav (60151, 1993-11-09)
Source\T3DCHAP03\bluearrow.cur (766, 1998-08-05)
Source\T3DCHAP03\create.wav (13858, 1998-08-06)
Source\T3DCHAP03\crosshair.cur (766, 1998-08-05)
Source\T3DCHAP03\demo3_1.cpp (4028, 1999-07-07)
Source\T3DCHAP03\demo3_1.exe (85504, 1998-08-13)
Source\T3DCHAP03\demo3_1.rc (157, 1998-08-13)
Source\T3DCHAP03\demo3_10.cpp (4967, 1999-07-07)
Source\T3DCHAP03\demo3_10.exe (82432, 1998-08-13)
Source\T3DCHAP03\demo3_11.cpp (5077, 1999-07-07)
Source\T3DCHAP03\demo3_11.exe (82432, 1998-08-13)
Source\T3DCHAP03\demo3_12.cpp (5423, 1999-07-07)
Source\T3DCHAP03\demo3_12.exe (82432, 1998-08-13)
Source\T3DCHAP03\demo3_13.cpp (5355, 1999-07-07)
Source\T3DCHAP03\demo3_13.exe (82432, 1998-08-14)
Source\T3DCHAP03\demo3_14.cpp (4598, 1999-07-07)
Source\T3DCHAP03\demo3_14.exe (81920, 1998-08-13)
Source\T3DCHAP03\demo3_1res.h (78, 1998-08-13)
Source\T3DCHAP03\demo3_2.cpp (4630, 1999-07-07)
Source\T3DCHAP03\demo3_2.exe (646144, 1998-08-13)
Source\T3DCHAP03\demo3_2.rc (237, 1998-08-06)
Source\T3DCHAP03\demo3_2res.h (214, 1998-08-06)
Source\T3DCHAP03\demo3_3.cpp (4365, 1999-07-07)
Source\T3DCHAP03\demo3_3.exe (82944, 1998-08-13)
... ...

README.TXT for SOURCE files All of the source code for this book has been written and tested under Microsoft VC++ 5.0, 6.0 along with DirectX 6.0+. Some basic things to remember when compiling are to set the search paths to the DirectX SDK files AND additionally, include the DirectX .LIB files in your project itself along with the .CPP files. I. INSTALLING THE SOURCE To install the source, simply drag the entire directory into the desired place on your hard drive and make a copy. II. BORLAND/WATCOM Users Although, I didn't test the code on these compilers, there is nothing VC++ specific about the code. In fact, any Win32 compliant compiler must work. However, there are little things that you must take into consideration: 1. If you get linker errors when compiling then it's probably a simple syntax error. For example, many functions in VC++ have a leading underscore, but the BORLAND versions do not -- hence, remove the underscore on the function that is causing the problem. In addition, look at your compiliers help for the function itself (try wildcard spellings) and make sure that you have included the proper header file. For example, malloc.h has most of the memory management functions for VC++, but memory.h is needed additionally for BORLAND in some cases. 2. DirectX for other compilers may not link correctly since the OBJECT formats may be incompatible with the .LIB files, hence, most compilers come with convertors to convert MS VC++ .LIB files, OR the DirectX SDK itself has additional object versions of the .LIB files usually located in a directory named after the compiler. Hence, for BORLAND for example, there is a directory called BORLAND that has the .LIB import files that you must use rather than the standard ones in the DirectX LIB directory. 3. Finally, go to the website of the compiler manufacturer and read the Q&A about using and compiling DirectX programs for your particular compiler. III. BONUS CHAPTER 15 Make sure to check out Bonus Chapter 15 (which is only on the CD). There is both a MS Word version of the chapter and an Adobe Acrobat version of the text.

近期下载者

相关文件


收藏者