0ad/source/simulation2/components
leper 84674911cc Switch back to an unplaceable filter for templates.
This removes FindAllPlaceableTemplates, replaces the few uses of it by
FindAllTemplates,
and makes that ignore all templates starting with special/ in addition
to those starting
with template_.

Now modders can use entirely different template organization schemes
(more folders, different
folders, etc) without having to edit a file that was never well
documented.

In conjunction with a few of the template moving patches preceding this
rubble/ and other/catafalque
are now placeable. The former now does not decay anymore and users that
want that should use the
decay| filter, the latter will be taken care of in #4762.

Return to making FindAllTemplates return all placeable templates again
(switch to unplaceable filter).

To reiterate the main point: Only templates starting with special/ or
template_ will not show up as
placeable in Atlas (or show up to code querying for all (placeable)
templates. If you want to add more
of those use one of these naming schemes (and possibly subfolders in
special/).

Reviewed By: fatherbushido
Differential Revision: https://code.wildfiregames.com/D935
This was SVN commit r20246.
2017-09-30 15:22:51 +00:00
..
tests Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +00:00
CCmpAIManager.cpp Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
CCmpCinemaManager.cpp Draw paths only when cinematics isn't playing. Patch by Vladislav. 2017-05-08 04:02:33 +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 Profile Footprint calls that can easily consume 90% of the simtime on a turn ("sunken ship lag"). 2017-08-11 18:08:30 +00:00
CCmpMinimap.cpp Ignore few Ownership changes in the Selectable and RallyPointRenderer component. 2017-08-11 20:05:03 +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 Rewrite the pathfinder dirtiness information system. 2017-07-14 10:09:32 +00:00
CCmpOverlayRenderer.cpp Fix documentation of non system component. 2017-03-24 07:09:28 +00:00
CCmpOwnership.cpp Bump year number of files changed this year in the license headers. 2017-05-01 14:28:22 +00:00
CCmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
CCmpPathfinder.cpp Rewrite the pathfinder dirtiness information system. 2017-07-14 10:09:32 +00:00
CCmpPathfinder_Common.h Rewrite the pathfinder dirtiness information system. 2017-07-14 10:09:32 +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 Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +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 Fix rallypoint color after deserialization following 505a10cef6. 2017-08-27 16:05:20 +00:00
CCmpRangeManager.cpp Fix a map exploration OOS on rejoin when starting with territory at the map boundaries. 2017-06-16 19:39:30 +00:00
CCmpSelectable.cpp Ignore few Ownership changes in the Selectable and RallyPointRenderer component. 2017-08-11 20:05:03 +00:00
CCmpSoundManager.cpp Add a new function to emit a sound from a position not attached to an entity. Use it to improve the attack impact sound code and allow to emit that sound even if the attacker died meanwhile. Use the sound provided by Pureon for catapult. Fix #4779. 2017-09-28 19:26:07 +00:00
CCmpTemplateManager.cpp Switch back to an unplaceable filter for templates. 2017-09-30 15:22:51 +00:00
CCmpTerrain.cpp Recompute water graphics when changing the water level and upon deserialization to fix a graphical (non-simulation) OOS on rejoin. 2017-07-01 04:15:49 +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 Update the color of the selection ring, rallypoints and territory outline when the playercolor is changed in atlas. 2017-08-09 11:19:14 +00:00
CCmpTest.cpp Bump year number of files changed this year in the license headers. 2017-05-01 14:28:22 +00:00
CCmpUnitMotion.cpp Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +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 Recompute water graphics when changing the water level and upon deserialization to fix a graphical (non-simulation) OOS on rejoin. 2017-07-01 04:15:49 +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 Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ICmpAIManager.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ICmpCinemaManager.cpp Cinema Path GUI hiding and silhouettes fixes. 2017-06-17 14:17:30 +00:00
ICmpCinemaManager.h Draw paths only when cinematics isn't playing. Patch by Vladislav. 2017-05-08 04:02:33 +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 Fix the Mustang template. Add tests for the UnitMotionFlying component. 2017-04-03 09:58:01 +00:00
ICmpPathfinder.h Rewrite the pathfinder dirtiness information system. 2017-07-14 10:09:32 +00:00
ICmpPlayer.cpp Add a -autostart-nonvisual option. Patch by sacha_vrand. Fixes #4577. 2017-05-23 19:26:33 +00:00
ICmpPlayer.h Add a -autostart-nonvisual option. Patch by sacha_vrand. Fixes #4577. 2017-05-23 19:26:33 +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 Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +00:00
ICmpPosition.h Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +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 Bump year number of files changed this year in the license headers. 2017-05-01 14:28:22 +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 RangeVisualization component and use it to visualize Aura ranges. 2017-05-06 00:47:21 +00:00
ICmpSelectable.h RangeVisualization component and use it to visualize Aura ranges. 2017-05-06 00:47:21 +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 Add a new function to emit a sound from a position not attached to an entity. Use it to improve the attack impact sound code and allow to emit that sound even if the attacker died meanwhile. Use the sound provided by Pureon for catapult. Fix #4779. 2017-09-28 19:26:07 +00:00
ICmpSoundManager.h Add a new function to emit a sound from a position not attached to an entity. Use it to improve the attack impact sound code and allow to emit that sound even if the attacker died meanwhile. Use the sound provided by Pureon for catapult. Fix #4779. 2017-09-28 19:26:07 +00:00
ICmpTemplateManager.cpp Switch back to an unplaceable filter for templates. 2017-09-30 15:22:51 +00:00
ICmpTemplateManager.h Switch back to an unplaceable filter for templates. 2017-09-30 15:22:51 +00:00
ICmpTerrain.cpp Replace hardcoded copies of a C++ simulation constant in JS used to compute the mapsize with a call to a new getter in the C++ interface. 2017-05-31 16:43:57 +00:00
ICmpTerrain.h Replace hardcoded copies of a C++ simulation constant in JS used to compute the mapsize with a call to a new getter in the C++ interface. 2017-05-31 16:43:57 +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