0ad/source/simulation2/components
wraitii 0fec859267 Fix serialization test following 7350b9042e - Fix CalculateTerritories after deserialization
This fixes an issue revealed by 7350b9042e that affected deserialized
games.
Adding tests further highlighted a bug in the calculations, which is
fixed.

Reviewed By: phosit
Fixes #6883

Differential Revision: https://code.wildfiregames.com/D5181
This was SVN commit r27928.
2023-11-11 10:34:24 +00:00
..
tests Fix serialization test following 7350b9042e - Fix CalculateTerritories after deserialization 2023-11-11 10:34:24 +00:00
CCmpAIManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpCinemaManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpCommandQueue.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpDecay.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpFootprint.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpMinimap.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpMotionBall.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpObstruction.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpObstructionManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpOverlayRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpOwnership.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpParticleManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpPathfinder.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpPathfinder_Common.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpPosition.cpp Reverts 080599442f as it breaks LOS update. Fixes #6844 2023-10-20 21:44:41 +00:00
CCmpProjectileManager.cpp Provides entity ID for unit in its constructor. 2023-08-28 18:01:44 +00:00
CCmpRallyPointRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpRallyPointRenderer.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpRangeManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpRangeOverlayRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpSelectable.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpSoundManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpTemplateManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpTerrain.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpTerritoryInfluence.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpTerritoryManager.cpp Fix serialization test following 7350b9042e - Fix CalculateTerritories after deserialization 2023-11-11 10:34:24 +00:00
CCmpTest.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpUnitMotion.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpUnitMotion_System.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpUnitMotionManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpUnitRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpVision.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
CCmpVisualActor.cpp Moves model flags to ModelAbstract. 2023-10-09 18:37:56 +00:00
CCmpWaterManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpAIInterface.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpAIInterface.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpAIManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpAIManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpAttack.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpAttack.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpCinemaManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpCinemaManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpCommandQueue.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpCommandQueue.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpDecay.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpDecay.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpFogging.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpFogging.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpFootprint.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpFootprint.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpGarrisonHolder.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpGarrisonHolder.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpGuiInterface.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpGuiInterface.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpIdentity.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpIdentity.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpMinimap.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpMinimap.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpMirage.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpMirage.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpMotion.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpMotion.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpObstruction.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpObstruction.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpObstructionManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpObstructionManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpOverlayRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpOverlayRenderer.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpOwnership.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpOwnership.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpParticleManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpParticleManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPathfinder.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPathfinder.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPlayer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPlayer.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPlayerManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPlayerManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPosition.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpPosition.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpProjectileManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpProjectileManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRallyPoint.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRallyPoint.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRallyPointRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRallyPointRenderer.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRangeManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRangeManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRangeOverlayRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpRangeOverlayRenderer.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSelectable.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSelectable.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSettlement.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSettlement.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSound.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSound.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSoundManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpSoundManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTemplateManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTemplateManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerrain.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerrain.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerritoryDecayManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerritoryDecayManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerritoryInfluence.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerritoryInfluence.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerritoryManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTerritoryManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTest.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTest.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTurretHolder.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpTurretHolder.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnitMotion.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnitMotion.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnitMotionManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnitMotionManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnitRenderer.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnitRenderer.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnknownScript.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpUnknownScript.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpValueModificationManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpValueModificationManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpVisibility.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpVisibility.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpVision.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpVision.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpVisual.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpVisual.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpWaterManager.cpp Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00
ICmpWaterManager.h Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00