0ad/source/simulation2/helpers
wraitii 35ed55cfd6 ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak
This changes ParamNode to use UTF8 values internally (XMB files are UTF8
since cb9d0733ef).
This removes the need for a lot of conversions, speeding things up and
allows cleaning up the validator interface & a few other callsites.
ConstructJSVal could be a tad slower because of UTF8->16 conversions
within Spidermonkey; but the difference is unlikely to be noticeable in
practica.

Also:
- Changes `ToXML` to `ToXMLString` for clarity.
- Add a simple "op" test & show a particular behaviour of merge nodes
that I intend to change somewhat in D3830.
- Remove Component.h from simulation2 PCH - brought in too much.

Tested by: langbart
Differential Revision: https://code.wildfiregames.com/D3834
This was SVN commit r25228.
2021-04-11 09:23:10 +00:00
..
CinemaPath.cpp Move CinemaPath class to the simulation helper directory, because it contains predominantly simulation data that is already serialized. 2017-04-14 23:20:49 +00:00
CinemaPath.h Move CinemaPath class to the simulation helper directory, because it contains predominantly simulation data that is already serialized. 2017-04-14 23:20:49 +00:00
Geometry.cpp Avoid overflow in UnitMotion. 2020-11-09 13:25:50 +00:00
Geometry.h Implements correct distance to edges for the building snapping feature. 2020-08-17 20:13:18 +00:00
Grid.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
HierarchicalPathfinder.cpp Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
HierarchicalPathfinder.h Fixes revealed missed includes after e104b41be2. 2021-03-03 22:38:59 +00:00
LongPathfinder.cpp Fix a m_JumpPointCache assertion failure in debug mode, refs fa726867f1. 2019-06-04 08:29:47 +00:00
LongPathfinder.h Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00
Los.h Decouple LOS resolution from terrain resolution 2021-03-02 16:44:40 +00:00
MapEdgeTiles.h Unify the magic number indicating the number of impassable tiles at the map edge redundant in the Pathfinder, RangeManager and MapGenerator. 2019-07-12 16:38:51 +00:00
Pathfinding.cpp ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak 2021-04-11 09:23:10 +00:00
Pathfinding.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
PathGoal.cpp Consider that the point could be inside the goal area in some PathGoal functions 2018-01-16 02:15:04 +00:00
PathGoal.h Consider that the point could be inside the goal area in some PathGoal functions 2018-01-16 02:15:04 +00:00
Player.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
Position.h Rename CELL_SIZE to TERRAIN_TILE_SIZE, to free up the term "cell" for other concepts. 2012-01-12 12:51:10 +00:00
PriorityQueue.h New long-range pathfinder. 2015-06-12 18:58:24 +00:00
Rasterize.cpp Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Rasterize.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Render.cpp Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Render.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
Selection.cpp RangeManager: Grid for 2D array, enum cleanups. 2020-06-13 09:05:40 +00:00
Selection.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
SimulationCommand.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Spatial.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
VertexPathfinder.cpp Improve UnitMotion behaviour when working around obstructions. 2020-12-19 10:45:07 +00:00
VertexPathfinder.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00