0ad/source/simulation2
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
..
components Switch back to an unplaceable filter for templates. 2017-09-30 15:22:51 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers fix typo in LongPathfinder 2017-08-30 16:41:10 +00:00
scripting Move Simulation GUI ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 01:53:46 +00:00
serialization Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
system Fix an issue with tests. Allow to mock several components for the system entity. Reviewed by leper. 2017-09-17 07:06:09 +00:00
tests Always delete CMapReader. Patch by Sandarac. Fixes #4154. 2017-08-25 00:37:48 +00:00
MessageTypes.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Simulation2.cpp Always delete CMapReader. Patch by Sandarac. Fixes #4154. 2017-08-25 00:37:48 +00:00
Simulation2.h An awesome Rejoin-test tool by wraitii and Itms, fixes #4242, refs #3460. 2016-11-15 13:26:58 +00:00
TypeList.h 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