Data.Structures.for.Game.Programmers
所属分类:Windows编程
开发工具:Visual C++
文件大小:1009KB
下载次数:47
上传日期:2007-01-23 10:13:09
上 传 者:
wzhrh
说明: Data.Structures.for.Game.Programmers一书的源代码。
(Data.Structures.for.Game.Programmers The book's source code.)
文件列表:
Data.Structures.for.Game.Programmers (0, 2007-01-23)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers (0, 2005-03-25)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples (0, 2002-10-06)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02 (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\01 - Template Functions (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\01 - Template Functions\e02-01.cpp (2837, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\01 - Template Functions\e02-01.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\01 - Template Functions\e02-01.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\01 - Template Functions\e02-01.exe (45056, 2002-10-06)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\02 - Template Classes (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\02 - Template Classes\e02-02.cpp (2538, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\02 - Template Classes\e02-02.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\02 - Template Classes\e02-02.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\02 - Template Classes\e02-02.exe (45056, 2002-10-06)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\03 - Multiple Parameters (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\03 - Multiple Parameters\e02-03.cpp (1006, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\03 - Multiple Parameters\e02-03.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\03 - Multiple Parameters\e02-03.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\03 - Multiple Parameters\e02-03.exe (45056, 2002-10-06)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\04 - Values as Parameters (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\04 - Values as Parameters\e02-04.cpp (1546, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\04 - Values as Parameters\e02-04.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\04 - Values as Parameters\e02-04.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\04 - Values as Parameters\e02-04.exe (45056, 2002-10-06)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\05 - Values as Parameters continued (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\05 - Values as Parameters continued\e02-05.cpp (1277, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\05 - Values as Parameters continued\e02-05.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\05 - Values as Parameters continued\e02-05.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\05 - Values as Parameters continued\e02-05.exe (45056, 2002-10-06)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\06 - Problems with Templates (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\06 - Problems with Templates\e02-06.cpp (987, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\06 - Problems with Templates\e02-06.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\06 - Problems with Templates\e02-06.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch02\06 - Problems with Templates\THIS WILL NOT COMPILE ON PURPOSE (0, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch03 (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch03\01 - Static Arrays (0, 2004-12-11)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch03\01 - Static Arrays\e03-01.cpp (1490, 2002-03-27)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch03\01 - Static Arrays\e03-01.dsp (3403, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch03\01 - Static Arrays\e03-01.dsw (537, 2002-05-29)
Data.Structures.for.Game.Programmers\Data Structures for Game Programmers\examples\ch03\01 - Static Arrays\e03-01.exe (24576, 2002-10-06)
... ...
===============================================================================
Data Structures For Game Programmers
Ron Penton
===============================================================================
Welcome to the CD for the book! This is quite a huge CD, as you will soon no
doubt discover. Here is the layout for the CD:
\Demonstrations\
\ch01\
...
\ch24\
\Examples\
\ch02\
...
\ch22\
\Goodies\
\articles\
\freetype\
\SDL\
\SDL_TTF\
\STLPort\
\Structures\
\SDLGUI\
\SDLHelpers\
Demonstrations:
There are two different types of demonstrations in this directory, all sorted
into the directories \ch01\ through \ch24\, by chapter.
The two types of demonstrations are:
Graphical Demonstrations - These are demonstrations that show you how a data
structure, algorithm, or concept works visually.
These demonstrations are located in directories
entitled \demoXX - NAME\, where XX is the demo number,
and NAME is the name of the demo. All of the source
code for these demos is included in files named
GDYY-XX.cpp, where YY is the chapter number, and XX is
the number of the demo. While all of the code is
provided for you, you should only look at the code
if you are interested, it is really not essential
to the books' material.
Game Demonstrations - These are demonstrations that show you how to actually
use a data structure, algorithm, or concept in a small
game-like environment. These are located in directories
entitled \gameXX - NAME\ where XX is the game number,
and NAME is the name of the game demo. All of the source
code for these demos is included in files named GYY-XX.cpp,
where YY is the chapter number, and XX is the number of
the game demo. The game source code is what you should look
at, the game demonstrations (as opposed to the graphical
demonstrations) show you how the strucures, algorithms,
and concepts are used within a game.
Examples:
The examples are all small text-mode programs that demonstrate a small example.
They are located on the CD, sorted by chapter, into directories entitled
\XX - NAME\, where XX is the example number, and NAME is the name of the
example. The code for the examples is located in files entitled eYY-XX.cpp,
where YY is the chapter name, and XX is the number of the example. In operating
systems like WindowsXP or NT, you may need to open up a console to use these
examples, because WindowsXP/NT automatically closes console windows when they are
complete, so you don't get to see what they printed out. A file named
WindowsNTConsole.bat has been provided in the \examples\ directory, which
automatically opens up a console window. Once you have done that, you need to
follow these instructions:
- type "cd examples" to switch to the examples directory
- type "cd chXX", where XX is the number of the chapter you want to go to
- type "eXX-YY", where XX is the chapter number, and YY is the example number, to
execute an example.
- you may type "dir" at any time to get a listing of the files in any directory.
Goodies:
The Goodies Directory contains all sorts of stuff. For example, there are the four
3rd-Party libraries used in the book, SDL, SDL_TTF, FreeType (which SDL_TTF uses),
and STLPort, which is one implementation of the Standard Template Library.
Also, there are four articles on trees and SDL in the articles directory. These
supplement the material in the book.
Structures:
The structures directory contains all of the structures and SDL Helper and GUI
libraries that I've made for the book. This is here so you have easy access to
the structures and algorithms, without needing to hunt them down all over the
rest of the CD. These same files also appear in the directories of the demos
and examples that use them, but they are all the same exact files. You may use
the structures and algorithms for your own projects, but beware; the code has
been created with teaching in mind, not optimization. A lot of places in the
code can be optimized better. But, you are free to do with them as you wish.
近期下载者:
相关文件:
收藏者: