Game Programming in C++ Code
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6a68c6e Oct 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Chapter01 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter02 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter03 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter04 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter05 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter06 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter07 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter08 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter09 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter10 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter11 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter12 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter13 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Chapter14 Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Exercises Explicitly set precompiled header setting in Visual Studio to "NotUsing" Apr 20, 2018
Exporter/Blender Fixed incorrect spacing Sep 24, 2018
External Updated rapidjson to fix Xcode 10 warning spam Sep 29, 2018
FMODStudio Added FMODStudio assets for Chapter 7/10 Jan 20, 2018
.gitignore Merged LoadFont/GetFont Dec 23, 2017
Errata.md Errata update for Issue #21 Oct 11, 2018
LICENSE Update LICENSE Nov 13, 2017
README.md Fixed FMOD version reference in readme Nov 15, 2017

README.md

Game Programming in C++ Code

This repository contains the source code for Game Programming in C++ by Sanjay Madhav.

The source code for the chapters is released under the BSD 3-clause license. See LICENSE for more detail. Note that this license does not apply to the code in the External directory. Each External project is licensed separately.

Building the Code

Each chapter's code is tested and works on both Microsoft Windows and Apple macOS.

To compile on Windows, install Microsoft Visual Studio 2017 Community (https://www.visualstudio.com/downloads/). During installation, select the "Game Development in C++" workflow. In each Chapter directory, there is a corresponding ChapterXX-windows.sln file to open.

To compile on macOS, install Xcode from the App Store. Each chapter has a corresponding ChapterXX-mac.xcodeproj file.

Code for Chapter 7 and beyond uses the FMOD API for audio. This requires a separate installation from (https://www.fmod.com/download). Download and install version 1.09.x of the FMOD Studio API (newer versions are untested). On Windows, install FMOD to the default directory. On Mac, copy the contents of the FMOD package into External/FMOD.