O'Reilly logo

Software Engineering and Computer Games by Rudy Rucker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required