CvGameCoreDLLUndefNew: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with "The '''CvGameCoreDLLUndefNew''' file removes definitions for new, malloc, realloc, _msize, and free if USE_MEMMANAGER is defined. This is only defined if you are compiling a Debu...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''CvGameCoreDLLUndefNew''' file removes definitions for new, malloc, realloc, _msize, and free if USE_MEMMANAGER is defined. This is only defined if you are compiling a Debug DLL. CvGameCoreDLL then overrides them with what seem to be pure virtual functions.
The '''CvGameCoreDLLUndefNew''' file removes definitions for new, malloc, realloc, _msize, and free if USE_MEMMANAGER is defined. This is only defined if you are compiling a Debug DLL. CvGameCoreDLL then overrides them with what seem to be pure virtual functions.
The SDK is written in C++ and divided between header files (.h) and source files (.cpp). The header files contain all the unique classes used for Civ4; you will probably not be adding any new classes. They also hold lists of all the functions in the corresponding .cpp files, and their parameters. These files are divided into public, private, and protected areas, with variables and functions listed in each. The source files hold all the functions and the code - the meat of the SDK. Toying around with these will change AI behavior and let you mod the 'basic' parts of the game - sliders, traits, city structure, tiles, etc.
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>
{{Civ4_SDK_Files}}

Latest revision as of 11:06, 13 March 2012

The CvGameCoreDLLUndefNew file removes definitions for new, malloc, realloc, _msize, and free if USE_MEMMANAGER is defined. This is only defined if you are compiling a Debug DLL. CvGameCoreDLL then overrides them with what seem to be pure virtual functions.

The SDK is written in C++ and divided between header files (.h) and source files (.cpp). The header files contain all the unique classes used for Civ4; you will probably not be adding any new classes. They also hold lists of all the functions in the corresponding .cpp files, and their parameters. These files are divided into public, private, and protected areas, with variables and functions listed in each. The source files hold all the functions and the code - the meat of the SDK. Toying around with these will change AI behavior and let you mod the 'basic' parts of the game - sliders, traits, city structure, tiles, etc. This page is missing information. Do not remove this notice until it is complete.


CvFiles:

CvAreaCvArtFileMgrCvCityCvCityAICvDealCvDefinesCvDiploParametersCvDLLButtonPopupCvDLLDataStreamIFaceBaseCvDLLEngineIFaceBaseCvDllEntityCvDLLEntityIFaceBaseCvDLLEventReporterIFaceBaseCvDLLFAStarIFaceBaseCvDLLFlagEntityIFaceBaseCvDLLIniParserIFaceBaseCvDLLInterfaceIFaceBaseCvDLLPlotBuilderIFaceBaseCvDLLPythonCvDLLPythonEventsCvDLLPythonIFaceBaseCvDLLSymbolIFaceBaseCvDllTranslatorCvDLLUtilityIFaceBaseCvDLLWidgetDataCvDLLXMLIFaceBaseCvEnumsCvEventReporterCvFractalCvGameCvGameAICvGameCoreDLLCvGameCoreDLLDefNewCvGameCoreDLLUndefNewCvGameCoreUtilsCvGameInterfaceCvGameTextMgrCvGlobalsCvHallOfFameInfoCvInfosCvInfoWaterCvInitCoreCvMapCvMapGeneratorCvMessageControlCvMessageDataCvPlayerCvPlayerAICvPlotCvPlotGroupCvPopupInfoCvPopupReturnCvRandomCvReplayInfoCvReplayMessageCvSelectionGroupCvSelectionGroupAICvStatisticsCvStringCvStructsCvTalkingHeadMessageCvTeamCvTeamAICvTextScreensCvUnitCvUnitAICvXMLLoadUtilityCvXMLLoadUtilityGetCvXMLLoadUtilityInitCvXMLLoadUtilitySet

CyFiles:

CyAreaCyAreaInterfaceCyArgsListCyArtFileMgrCyArtFileMgrInterfaceCyCityCyCityInterface1CyDealCyEnumsInterfaceCyGameCyGameCoreUtilsCyGameCoreUtilsInterfaceCyGameInterfaceCyGameTextMgrCyGameTextMgrInterfaceCyGlobalContextCyGlobalContextInterface1CyGlobalContextInterface2CyGlobalContextInterface3CyGlobalContextInterface4CyHallOfFameInfoCyHallOfFameInterfaceCyInfoInterface1CyInfoInterface2CyInfoInterface3CyMapCyMapGeneratorCyMapGeneratorInterfaceCyMapInterfaceCyMessageControlCyMessageControlInterfaceCyPlayerCyPlayerInterface1CyPlayerInterface2CyPlotCyPlotInterface1CyRandomInterfaceCyReplayInfoCySelectionGroupCySelectionGroupInterfaceCyStructsInterface1CyTeamCyTeamInterfaceCyUnitCyUnitInterface1

Other Files:

_precompileAI_DefinesFAssertFAStarNodeFDataStreamBaseFDialogTemplateFFreeListArrayFFreeListArrayBaseFFreeListTrashArrayFInputDeviceFProfilerFVariableSystemLinkedListresource

Note: this file list is for Beyond the Sword 3.19; other versions/patches may have slightly different files.