3.3. The Pop source code

Pop is a program built using the files listed below. In the first group we have C++ files for each of which there is a *.h header file and a *.cpp implementation file. To save space, we simply list each of these file names once, with the understanding that each name represents two files, the *.h and the *.cpp.

We can roughly group these files according to their purpose. The MFC Class files control things having to do with the program’s standard Windows appearance. The Game files describe the different game modes that the Pop program allows. The Critter files specify the moving objects in the game programs and the Sprite files describe the appearances of these objects. The Physics files implement classes used to define ...

Get Software Engineering and Computer Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.