0ad/source/ps
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
..
GameSetup Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
scripting Move Main ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 03:11:33 +00:00
tests Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
XML Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ArchiveBuilder.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
ArchiveBuilder.h Handle mods specified on the command line when using the archive builder. 2014-06-15 16:43:08 +00:00
CacheLoader.cpp add file notification to Mac ticket 514, also change name of class FileInfo to CFileInfo to ease Mac development 2013-09-10 14:17:04 +00:00
CacheLoader.h Improves CColladaManager caching behavior: skeletons.xml changes now invalidate cached .pmd/psa files, CCacheLoader is used for consistency, adds support for archived files. Fixes #1167. 2012-02-19 03:30:59 +00:00
CConsole.cpp Use direct gui.scale instead of reciprocal gui.scale 2017-06-14 17:13:44 +00:00
CConsole.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
CLogger.cpp Command line option for pid+timestamp in OOS dump, mainlog and interestinglog 2017-09-09 13:16:05 +00:00
CLogger.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Compress.cpp More build fixes for FreeBSD. 2012-01-31 00:06:56 +00:00
Compress.h More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
ConfigDB.cpp Save the config file even it does not exist, patch by Vladislav Belov, fixes #4146 2016-11-18 18:06:01 +00:00
ConfigDB.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
CStr.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
CStr.h Remove duplicated layers of unescaping which required multiple escapes in some places. 2014-12-13 01:08:29 +00:00
CStrIntern.cpp Revert emplace for associative containers. Fixes #3366. 2015-08-19 03:32:47 +00:00
CStrIntern.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
CStrInternStatic.h Allow multiple special sprites, to facilitate cases where we want to add an overlay to a sprite. 2015-12-13 16:03:17 +00:00
DllLoader.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
DllLoader.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Errors.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
Errors.h Catch exceptions by reference (by convention), based on patch from Markus, refs #1852 2013-05-22 22:27:53 +00:00
FileIo.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
FileIo.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Filesystem.cpp Use in-place construction. 2015-07-29 23:44:17 +00:00
Filesystem.h Move GUI schemas to the mod mod. Fix some validation related errors in the mod mod. 2015-06-15 16:00:26 +00:00
Game.cpp Fix the replay menu for people with non-latin characters in their username. 2017-06-25 14:54:00 +00:00
Game.h Fix the replay menu for people with non-latin characters in their username. 2017-06-25 14:54:00 +00:00
Globals.cpp Fix out of bounds access in Hotkey.cpp. Patch by echotangoecho. 2017-05-19 18:01:22 +00:00
Globals.h Fix out of bounds access in Hotkey.cpp. Patch by echotangoecho. 2017-05-19 18:01:22 +00:00
GUID.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
GUID.h Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
Hotkey.cpp Try to recognise unknown hotkey mappings using SDL2. 2017-05-21 08:05:52 +00:00
Hotkey.h Unload hotkeys on shutdown. 2014-09-15 01:27:06 +00:00
Joystick.cpp Remove disabled by default SDL1 support. 2015-12-14 10:52:21 +00:00
Joystick.h Renames our sdl.h to libsdl.h, to avoid case sensitivity errors when it includes SDL.h. 2012-01-12 23:32:27 +00:00
KeyName.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
KeyName.h Fix out of bounds access in Hotkey.cpp. Patch by echotangoecho. 2017-05-19 18:01:22 +00:00
Loader.cpp Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
Loader.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
LoaderThunks.h warning fixes: mostly size_t vs. specialized API type and other type conversion. 2010-09-05 09:38:30 +00:00
Mod.cpp Add engine support to load mods from config and restart into mods. 2014-08-25 16:02:40 +00:00
Mod.h Add engine support to load mods from config and restart into mods. 2014-08-25 16:02:40 +00:00
Preprocessor.cpp Add FALLTHROUGH, which in the best case is just [[fallthrough]]. 2017-09-01 20:04:53 +00:00
Preprocessor.h Fix CPreprocessor uninitialised data causing error messages on "#endif" followed by EOF with no newline. Warn about unrecognised "#elif". 2012-04-02 16:12:46 +00:00
PreprocessorWrapper.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
PreprocessorWrapper.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
Profile.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
Profile.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Profiler2.cpp Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
Profiler2.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
Profiler2GPU.cpp Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
Profiler2GPU.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
ProfileViewer.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ProfileViewer.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Pyrogenesis.cpp Bump version number to Alpha 23. 2017-07-29 16:36:55 +00:00
Pyrogenesis.h Move engine version to common file. Patch by elexis. Fixes #3359. 2015-08-01 23:03:13 +00:00
Replay.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Replay.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
SavedGame.cpp Deepfreeze Aura, Technology and Resource Templates, Simulation states, GameAttributes and few other JS objects. 2017-09-03 16:37:09 +00:00
SavedGame.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Shapes.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
Shapes.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
Singleton.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TemplateLoader.cpp Switch back to an unplaceable filter for templates. 2017-09-30 15:22:51 +00:00
TemplateLoader.h Switch back to an unplaceable filter for templates. 2017-09-30 15:22:51 +00:00
ThreadUtil.cpp Add a list of statically-constructed CStrIntern strings 2013-09-29 13:19:52 +00:00
ThreadUtil.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
TouchInput.cpp Remove disabled by default SDL1 support. 2015-12-14 10:52:21 +00:00
TouchInput.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
UniDoubler.h per discussion with Philip, remove STL_HASH_MAP etc. because they're ugly, rarely used and superseded by boost::unordered* 2011-03-23 16:56:27 +00:00
UserReport.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
UserReport.h # Add opt-in automatic feedback system. 2011-02-16 20:40:15 +00:00
utf16string.h Fix -Wconversion warnings in simulation code. 2011-08-16 11:18:32 +00:00
Util.cpp Stop using WMI for detecting the sound card, and use OpenAL instead. Delete WMI code altogether now it is unused. 2017-07-06 17:29:49 +00:00
Util.h Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
VideoMode.cpp Add an icon to pyrogenesis' application window 2017-08-28 21:56:54 +00:00
VideoMode.h Add an icon to pyrogenesis' application window 2017-08-28 21:56:54 +00:00
VisualReplay.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
VisualReplay.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
World.cpp Always delete CMapReader. Patch by Sandarac. Fixes #4154. 2017-08-25 00:37:48 +00:00
World.h Always delete CMapReader. Patch by Sandarac. Fixes #4154. 2017-08-25 00:37:48 +00:00