0ad/source/simulation2/components
elexis 27f37ccd21 Cleanup the rest of the mess introduced with the NonGaiaEntities functions in 8c7b6dceaa.
Add a test for the GetNonGaiaEntities function of the RangeManager
broken by that commit that was fixed by f3e4e619bc.
Don't call one script function from another, but directly call into the
Selection helper like the others.
Don't make a loop around that RangeManager function for all players but
call the function once for all players.
The pointless virtual keywords were removed by 8827db201a.

Differential Revision: https://code.wildfiregames.com/D166
Reviewed By: leper
This was SVN commit r19344.
2017-03-25 02:42:51 +00:00
..
tests Cleanup the rest of the mess introduced with the NonGaiaEntities functions in 8c7b6dceaa. 2017-03-25 02:42:51 +00:00
CCmpAIManager.cpp Remove the "quit" simulation command and restrict the "set-shading-color" simulation command to AIs, 2017-01-19 14:45:32 +00:00
CCmpCinemaManager.cpp Cleanup cinema code. Fix some issues with resetting of times. Patch by Vladislav. Refs #3814 2016-04-17 15:43:29 +00:00
CCmpCommandQueue.cpp Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
CCmpDecay.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
CCmpFootprint.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpMinimap.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpMotionBall.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpObstruction.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpObstructionManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpOverlayRenderer.cpp Fix documentation of non system component. 2017-03-24 07:09:28 +00:00
CCmpOwnership.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
CCmpPathfinder.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpPathfinder_Common.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpPathfinder_Vertex.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpPosition.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpProjectileManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpRallyPointRenderer.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpRangeManager.cpp Small RangeManager cleanup. 2017-03-25 00:11:08 +00:00
CCmpSelectable.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpSoundManager.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
CCmpTemplateManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpTerrain.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpTerritoryInfluence.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpTerritoryManager.cpp Ensure m_Territory in cmpTerriotryManager.IsTerritoryBlinking. Fixes #4466. 2017-03-25 01:43:14 +00:00
CCmpTest.cpp Header cleanup: profile.h is no longer unnecessarily included in scriptinterface.h but rather in the required .cpp files 2016-06-21 10:33:11 +00:00
CCmpUnitMotion.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpUnitRenderer.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpVision.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
CCmpVisualActor.cpp Mark GetAnimationName as const 2017-03-22 23:07:01 +00:00
CCmpWaterManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpAIInterface.cpp Employ some variadic macros to make some of the C++ -> JS function calling code nicer. 2017-01-28 23:37:15 +00:00
ICmpAIInterface.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpAIManager.cpp SpiderMonkey 38 upgrade: 10/35 2016-09-02 16:24:46 +00:00
ICmpAIManager.h Use const T& for parameters of some types in script-exposed native functions 2016-01-23 15:17:56 +00:00
ICmpCinemaManager.cpp Cinematic camera core functionality. Patch by Vladislav Belov. 2016-01-03 12:41:04 +00:00
ICmpCinemaManager.h End source files with a newline. 2016-11-23 11:27:54 +00:00
ICmpCommandQueue.cpp SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpCommandQueue.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpDataTemplateManager.cpp Employ some variadic macros to make some of the C++ -> JS function calling code nicer. 2017-01-28 23:37:15 +00:00
ICmpDataTemplateManager.h Rename TechnologyTemplateManager to DataTemplateManager in order to reflect its new function. Fixes #3909. Disable serialisation of technology templates. Refs #3834 2016-04-27 08:25:47 +00:00
ICmpDecay.cpp # Add corpse decay and building collapse. 2010-08-01 17:38:01 +00:00
ICmpDecay.h # Add corpse decay and building collapse. 2010-08-01 17:38:01 +00:00
ICmpFogging.cpp Reduce drastically the number of mirages by making fogging conditional: entities will be miraged only if their health/resource amount is modified, or if they have a non-gaia owner. 2015-02-07 15:48:32 +00:00
ICmpFogging.h Reduce drastically the number of mirages by making fogging conditional: entities will be miraged only if their health/resource amount is modified, or if they have a non-gaia owner. 2015-02-07 15:48:32 +00:00
ICmpFootprint.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpFootprint.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpGuiInterface.cpp Employ some variadic macros to make some of the C++ -> JS function calling code nicer. 2017-01-28 23:37:15 +00:00
ICmpGuiInterface.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +00:00
ICmpIdentity.cpp Missing files 2011-05-05 20:07:51 +00:00
ICmpIdentity.h Missing files 2011-05-05 20:07:51 +00:00
ICmpMinimap.cpp # Display units on the minimap 2010-04-23 18:36:48 +00:00
ICmpMinimap.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpMirage.cpp Hide changes to buildings in the fog-of-war. 2014-08-04 22:49:19 +00:00
ICmpMirage.h Hide changes to buildings in the fog-of-war. 2014-08-04 22:49:19 +00:00
ICmpMotion.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpMotion.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpObstruction.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpObstruction.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpObstructionManager.cpp Stop units walking outside the edges of circular maps. 2010-10-30 18:25:34 +00:00
ICmpObstructionManager.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpOverlayRenderer.cpp End source files with a newline. 2016-11-23 11:27:54 +00:00
ICmpOverlayRenderer.h Use const T& for parameters of some types in script-exposed native functions 2016-01-23 15:17:56 +00:00
ICmpOwnership.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpOwnership.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
ICmpParticleManager.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
ICmpPathfinder.cpp New long-range pathfinder. 2015-06-12 18:58:24 +00:00
ICmpPathfinder.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpPlayer.cpp Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029. 2015-03-15 23:59:48 +00:00
ICmpPlayer.h Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029. 2015-03-15 23:59:48 +00:00
ICmpPlayerManager.cpp # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ICmpPlayerManager.h # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ICmpPosition.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpPosition.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpProjectileManager.cpp Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18. 2012-05-19 23:07:41 +00:00
ICmpProjectileManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
ICmpRallyPointRenderer.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpRallyPointRenderer.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpRangeManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpRangeManager.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpSelectable.cpp Cinematic camera core functionality. Patch by Vladislav Belov. 2016-01-03 12:41:04 +00:00
ICmpSelectable.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpSettlement.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpSettlement.h # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpSoundManager.cpp Stop music when resetting the simulation test mode in Atlas. 2014-09-12 21:38:10 +00:00
ICmpSoundManager.h Use const T& for parameters of some types in script-exposed native functions 2016-01-23 15:17:56 +00:00
ICmpTemplateManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpTemplateManager.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpTerrain.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpTerrain.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpTerritoryInfluence.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpTerritoryInfluence.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpTerritoryManager.cpp Fix territory not being updated when diplomacy changes. Fixes #3891 2016-04-09 19:57:34 +00:00
ICmpTerritoryManager.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpTest.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpTest.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpUnitMotion.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpUnitMotion.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpUnitRenderer.cpp New unit renderer. 2014-06-01 18:24:50 +00:00
ICmpUnitRenderer.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpUnknownScript.cpp # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
ICmpUnknownScript.h # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
ICmpValueModificationManager.cpp Make the actor tech-modifiable. Fixes #2243 2014-04-14 15:00:49 +00:00
ICmpValueModificationManager.h Make the actor tech-modifiable. Fixes #2243 2014-04-14 15:00:49 +00:00
ICmpVisibility.cpp Fix c229b46ac2. 2015-02-16 14:38:13 +00:00
ICmpVisibility.h Fix c229b46ac2. 2015-02-16 14:38:13 +00:00
ICmpVision.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpVision.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpVisual.cpp Mark GetAnimationName as const 2017-03-22 23:07:01 +00:00
ICmpVisual.h Mark GetAnimationName as const 2017-03-22 23:07:01 +00:00
ICmpWaterManager.cpp Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
ICmpWaterManager.h Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00