diff --git a/Gameleap/code/mw4/Code/mw4print/mw4print.cpp b/Gameleap/code/mw4/Code/mw4print/mw4print.cpp index d4a54d61..50a371da 100644 --- a/Gameleap/code/mw4/Code/mw4print/mw4print.cpp +++ b/Gameleap/code/mw4/Code/mw4print/mw4print.cpp @@ -25,7 +25,13 @@ END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CMW4PrintApp construction + +// Defined in mw4dummy.cpp, which is compiled into ChildView.cpp rather than on its own. +// Declared here instead of including mw4dummy.h: that header is a game-source shim that +// redefines MString, Scalar and Verify, and must not reach the MFC application code. extern char AssetsDirectory1[MAX_PATH]; +extern bool g_bDebugLog; +void DbgLog(const char* fmt, ...); CMW4PrintApp::CMW4PrintApp() {