Updates
The multiple features on the same plot functionality is not tested properly yet. The DLL is compiled with it deactivated (all are in #ifdef MULTI_FEATURE_MOD).
GetFeatureType and SetFeatureType are still possible to be used with it activated and by far not all of its uses have been reviewed yet. So some code parts will ignore any additional feature on the plot.
The functions to access features on plots with that change are:
getHasFeature (returns if a specified feature is on the plot)
setHasFeature (adds the feature to the plot or removes it)
getNumFeatures (number of features on the plot)
getFeatureByIndex (returns the xth feature type on the plot)
They are also exposed to Python.
- Added multi feature capability (not yet active or complete)
- Added property change from sources like population and decay to property mouseover on the city screen
- Exposed property change functions to Python
- Feature types in a save game that are not present in the XML any more are ignored (fixes the savegame incompatibility due to the missing barrel cactus)
The multiple features on the same plot functionality is not tested properly yet. The DLL is compiled with it deactivated (all are in #ifdef MULTI_FEATURE_MOD).
GetFeatureType and SetFeatureType are still possible to be used with it activated and by far not all of its uses have been reviewed yet. So some code parts will ignore any additional feature on the plot.
The functions to access features on plots with that change are:
getHasFeature (returns if a specified feature is on the plot)
setHasFeature (adds the feature to the plot or removes it)
getNumFeatures (number of features on the plot)
getFeatureByIndex (returns the xth feature type on the plot)
They are also exposed to Python.