Hello,
I'm trying to locate in the code where the singleton class GameCodeApp gets instantiated. I found the global extern pointer: GameCodeApp* g_pApp but I cant seem to find where it gets "newed up". In the text it says it points to global object that stores the game's application layer. I appreciate any assistance!
I found the lines:
g_pApp = NULL in GameCode.cpp at global scope.
g_pApp = this in the GameCodeApp constructor in GameCode.cpp
I did a string search for "new GameCodeApp()" but couldn't find anything.
I'm trying to locate in the code where the singleton class GameCodeApp gets instantiated. I found the global extern pointer: GameCodeApp* g_pApp but I cant seem to find where it gets "newed up". In the text it says it points to global object that stores the game's application layer. I appreciate any assistance!
I found the lines:
g_pApp = NULL in GameCode.cpp at global scope.
g_pApp = this in the GameCodeApp constructor in GameCode.cpp
I did a string search for "new GameCodeApp()" but couldn't find anything.
The post was edited 1 time, last by synk113 ().