Beginning Game Programming - Examples
======================================================
Borland C++Builder Command Line Tools 5.5


INTRO
===============
Borland C++Builder Command Line Tools are a suite of command-line tools that allow you to build Windows applications from a Windows Command Prompt. Although you can compile an application using the bcc32 compiler directly, it is much easier to take advantage of a make file to invoke the C++ compiler, resource compiler, and linker. Make files are included for each example program and game in the book, and are named Example.mak, where Example is the name of the example. In addition to make files, there are also batch files that make it very easy to invoke the make file to build each example. The batch files are all named Build.bat, and there is one in each example folder.

GETTING STARTED
===============
Following are the steps required to successfully use the Borland C++Builder Command Line Tools, which are also located on this CD-ROM. Install the tools by running the installation program found in the appropriate Borland folder on the CD-ROM. Once the tools are installed, follow these steps to begin building the examples:

1. Copy the bcc32.cfg and ilink32.cfg configuration files from this folder of the CD-ROM to the bin folder beneath the Borland tools installation.

2. Open both configuration files in Notepad, and make sure the paths to the Borland tools accurately describe your installation. In other words, make sure that \Borland\Bcc55 is where the tools were installed on your computer, or adjust the path to reflect the actual installation folder.

3. If the paths in the configuration files needed modifying, you'll need to modify the path in the Build.bat batch file for each example before building the example. If not, you're ready to begin building the examples by simply double-clicking the file Build.bat.

TESTING
===============
To test the examples, just go to the appropriate example folder and double-click the .exe file for the example. The examples are already built, so you don't have to build them in order to test them. Have fun!

WARNING
===============
As of version 5.5 of the Borland Command Line Tools, the compiler is capable of running out of memory while building some of the examples with large amounts of resources (large images, for example), in which case the link will abort with an unknown error. There isn't a workaround for this problem as of this writing, but you may be able to download a patch from Borland to resolve the problem by the time you read this.
