The source files listed in the vcxproj file don't matter much. Those are just files that VS will list in the Solution Explorer. When compiling, this rule in the Makefile ...
... will compile every cpp file in the SOURCE_DIR (same directory as the Makefile if no SOURCE_DIR set in Makefile.project). Probably looks a little different in dave_uk's Makefile, but none of these project setups rely on the lists in the vcxproj. (The h files aren't compiled separately; the cpp files include them.) To make the files listed in the Solution Explorer consistent with those in the SOURCE_DIR, one can remove everything from the Solution Explorer window and then use "Add Existing Item" and select everything in the SOURCE_DIR. This change gets saved in the vcxproj file (upon exiting VS?).
CvTextScreens.cpp – Leoreth has removed that file entirely. It was, apparently, accidentally included in the DLL source released by Firaxis. CvTextScreens is not referenced anywhere else, so the compiler or linker should discard it at some point.
BetterBTSAI.cpp – Someone might have forgotten to add that in the Solution Explorer when LoR was merged with BBAI. Oh, well.
Code:
{$(SOURCE_DIR)\.}.cpp{$(TEMP_TARGET_FILES)\.}.obj:
@ECHO.>"$*.obj.@"
@$(CPP) /nologo $(CFLAGS) $(PRECOMPILE_CFLAGS1)$(PRECOMPILE_CFLAGS2) $(INCS) /Fo$*.obj /c $<
@DEL "$*.obj.@"
CvTextScreens.cpp – Leoreth has removed that file entirely. It was, apparently, accidentally included in the DLL source released by Firaxis. CvTextScreens is not referenced anywhere else, so the compiler or linker should discard it at some point.
BetterBTSAI.cpp – Someone might have forgotten to add that in the Solution Explorer when LoR was merged with BBAI. Oh, well.
You mean that you're still merging Leoreth's project files with dave_uk's? As far as I recall, there is nothing worth preserving in dave_uk's Makefile, vcxproj, sln and, let's see, what else is there ... the vcprojs are outdated, the suo and filters should be generated locally by VS. I'd just delete all that (actually have already done so in my local copy and in the files I uploaded). As for changing the actual C++ source – the cpp and h files – I assume that you want to get the debugger running before making changes there. (And, then, the first change to make will hopefully fix the crash you've been experiencing.)At this point, I'm going to just make methodical changes to dave uk source files, but not sure where to start.