My c++ is really rusty. I've been messing around with the Bloody Massacre demo.
I added a Game Over screen by creating a GameOver.h and GameOver.cpp an used the Intro source files as a base to work from.
Since all of the engine includes are in Main.h, I tried the standard
But, VC++ 2010 express says it can't load the file because it can't find it. My CPP and H files are in the Source directory along with Main and all of the other files. The only way I could get my addition to work was the following:
Code:
#include "Source\Main.h"
If this were C#, I would say that my addition was in a different namespace. Any ideas what might be wrong/set up wrong?
Side Note: My game over addition does work with the "Source\Main.h" include
Nevermind: The files were NOT in my source directory. I thought the directory was selected when I right-clicked on it in the project panel :(