1
0
forked from 0ad/0ad
0ad/source/graphics
Matei 44fe226dd2 # Housekeeping and pathfinder enhancements / optimization when dealing with ranged actions.
- Modified Xeromyces to no longer automatically convert element and
attribute names to lowercase, so that we can have camelCase names. We
should now be able to convert all the multi-word entity properties, like
pass_through_allies, to camelCase, like passThroughAllies, which is more
consistent with the rest of our JavaScript naming conventions. To
support the existing code that assumes lowercase element names, I made
the getElementID and getAttributeID methods (used in the EL and AT
macros) ignore case, and I changed any code that directly accessed
element names to use the right case. CEntityTemplate now converts
Names_LikeThis to names_likeThis (changing each separate "word" in the
name to camelCase). Changed the version letter in XMB filenames from A
to B to support this without requiring people to delete old XMBs.

- Enhanced the pathfinder's handling of contact paths, resulting in a
very large speedup for actions like attacking, construction, etc. The
problem was that the pathfinder used to not count a given state as the
goal unless it was exactly coincident with the target location. This is
fine when you order a unit to go exactly to a certain spot, but if
you're ordering a unit to build, gather or attack something, then the
target tile is impassable (because your target is there) and therefore
the pathfinder never declares a state final. As a result, the pathfinder
tries hundreds of extra tiles in case there is a long path that gets to
the goal, and after failing to find any path that reaches the goal, it
gives you one to the closest point it got to. To fix it, I made the
pathfinder take into account a radius around the goal in which it's OK
to be, which depends on the size of the target unit and the range of
your action.

This was SVN commit r4186.
2006-08-01 03:41:21 +00:00
..
scripting # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
Camera.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Camera.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
CinemaTrack.cpp # housekeeping 2006-07-20 14:37:58 +00:00
CinemaTrack.h # housekeeping 2006-07-20 14:37:58 +00:00
Color_asm.asm # improvements to build system for asm files 2006-06-25 20:58:03 +00:00
Color.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Color.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
DefaultEmitter.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
DefaultEmitter.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Frustum.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Frustum.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
GameView.cpp Added code for placement of socketted buildings. 2006-07-09 23:12:37 +00:00
GameView.h Upgraded console (text wrap, help text), cinematic stuff 2006-07-06 03:17:44 +00:00
HFTracer.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
HFTracer.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
LightEnv.cpp # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
LightEnv.h # MacOS X compat (part 1) 2006-07-26 14:04:52 +00:00
MapIO.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
MapReader.cpp # Housekeeping and pathfinder enhancements / optimization when dealing with ranged actions. 2006-08-01 03:41:21 +00:00
MapReader.h Restoring SVN repository: 2006-06-21 22:37:31 +00:00
MapWriter.cpp Some cleanup - renamed CBaseEntity to CEntityTemplate, and removed JSInterface_BaseEntity.h and JSInterface_Entity.h (which were unused). 2006-07-13 03:29:33 +00:00
MapWriter.h Restoring SVN repository: 2006-06-21 22:37:31 +00:00
Material.cpp # housekeeping 2006-07-20 14:37:58 +00:00
Material.h # housekeeping 2006-07-20 14:37:58 +00:00
MaterialManager.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MaterialManager.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MeshManager.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MeshManager.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MiniPatch.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
MiniPatch.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Model.cpp Added code for placement of socketted buildings. 2006-07-09 23:12:37 +00:00
Model.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
ModelDef.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
ModelDef.h # housekeeping 2006-07-20 14:37:58 +00:00
ObjectBase.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectBase.h - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectEntry.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectEntry.h - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectManager.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ObjectManager.h - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
ParticleEmitter.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ParticleEmitter.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ParticleEngine.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
ParticleEngine.h Premake: include precompiled.h in the project; set up dependencies for Atlas projects. 2006-06-09 16:44:16 +00:00
Patch.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
Patch.h Premake: include precompiled.h in the project; set up dependencies for Atlas projects. 2006-06-09 16:44:16 +00:00
RenderableObject.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnim.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimDef.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimDef.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimManager.cpp Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
SkeletonAnimManager.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Sprite.cpp # Updates to the entity bar display system by Andrew. 2006-07-16 19:32:48 +00:00
Sprite.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
Terrain.cpp Premake: include precompiled.h in the project; set up dependencies for Atlas projects. 2006-06-09 16:44:16 +00:00
Terrain.h Premake: include precompiled.h in the project; set up dependencies for Atlas projects. 2006-06-09 16:44:16 +00:00
TerrainProperties.cpp # Housekeeping and pathfinder enhancements / optimization when dealing with ranged actions. 2006-08-01 03:41:21 +00:00
TerrainProperties.h # housekeeping 2006-07-20 14:37:58 +00:00
Texture.h Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/. 2006-06-02 02:10:27 +00:00
TextureEntry.cpp # housekeeping 2006-07-20 14:37:58 +00:00
TextureEntry.h # housekeeping 2006-07-20 14:37:58 +00:00
TextureManager.cpp # housekeeping 2006-07-20 14:37:58 +00:00
TextureManager.h # housekeeping 2006-07-20 14:37:58 +00:00
Unit.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
Unit.h - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
UnitManager.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
UnitManager.h - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00