JavaScript EditorFree JavaScript Editor     Ajax Editor 

Main Page
  Previous Section Next Section

Compiling Outpost

Compiling Outpost is no different than compiling any other demo you have created so far. Figure 15.17 illustrates the components needed to compile and run the project.

Figure 15.17. The software archi-tecture of Outpost.


Take a look in the next sections to see these components in more detail.

Compilation Files

Source Files:
OUTPOST.CPP The main game file.
T3DLIB1.CPP|H The first part of the game engine.
T3DLIB2.CPP|H The second part of the game engine.


The third part of the game engine.

Library Files:
DDRAW.LIB MS DirectDraw.
DSOUND.LIB MS DirectSound.
WINMM.LIB The Win32 Multimedia library extensions.


You must include the DirectX library files in your project. Setting the search path is not enough. In addition, you must set the search path to find the DirectX .H header files in the DirectX SDK installation directory.

Runtime Files

Main .EXE:
OUTPOST.EXE This is the main .EXE of the game. It can exist anywhere as long as the media directories are under it.

Runtime Media Directories:
OUTART\ The art directory for the game. You need all of it.
OUTSOUND\ The sound directory for the game. You need all of it.

And of course, you need the DirectX run-time files on your system. Finally, all the 3D models are in OUTMODELS\, so feel free to do what you want with them. But if I see them in a Star Trek movie, I want royalties!

      Previous Section Next Section

    JavaScript EditorAjax Editor     JavaScript Editor