1
0
forked from 0ad/0ad
0ad/source/ps
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
..
GameSetup # Housekeeping. 2006-07-27 21:20:30 +00:00
Network # housekeeping 2006-07-20 14:37:58 +00:00
scripting Removed and #include for JSI_Entity.h. 2006-07-13 19:27:02 +00:00
tests # boatload of fixes to get self-tests to compile+mostly run 2006-06-08 19:03:43 +00:00
XML # Housekeeping and pathfinder enhancements / optimization when dealing with ranged actions. 2006-08-01 03:41:21 +00:00
CConsole.cpp # housekeeping 2006-07-20 14:37:58 +00:00
CConsole.h # housekeeping 2006-07-20 14:37:58 +00:00
CLogger.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
CLogger.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00
ConfigDB.cpp # housekeeping 2006-07-20 14:37:58 +00:00
ConfigDB.h # housekeeping 2006-07-20 14:37:58 +00:00
CStr.cpp # housekeeping 2006-07-20 14:37:58 +00:00
CStr.h # housekeeping 2006-07-20 14:37:58 +00:00
CVFSFile.cpp # housekeeping 2006-06-04 22:27:40 +00:00
CVFSFile.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
Encryption.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
Encryption.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
Errors.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
Errors.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
FilePacker.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
FilePacker.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
FileUnpacker.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
FileUnpacker.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
Font.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
Font.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
Game.cpp # Various gameplay updates. 2006-06-10 03:05:16 +00:00
Game.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00
GameAttributes.cpp # housekeeping 2006-07-20 14:37:58 +00:00
GameAttributes.h # housekeeping 2006-07-20 14:37:58 +00:00
GameRecord.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
GameRecord.h # housekeeping 2006-07-20 14:37:58 +00:00
Globals.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
Globals.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
Hotkey.cpp Fixed a crash that happened for me in release mode when pressing the shift key. In Hotkey.cpp:594, there was a line like 2006-07-14 00:14:44 +00:00
Hotkey.h # housekeeping 2006-07-20 14:37:58 +00:00
i18n.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
i18n.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
Interact.cpp - Changed actor selection sets to CStr8 rather than CStrW. 2006-07-29 22:02:11 +00:00
Interact.h # Updates to the entity bar display system by Andrew. 2006-07-16 19:32:48 +00:00
KeyName.cpp # housekeeping 2006-07-20 14:37:58 +00:00
Loader.cpp (fix: didn't see compiler error message, oops.) 2006-06-29 22:59:10 +00:00
Loader.h # housekeeping and bugfix in Loader queue 2006-06-29 22:52:50 +00:00
LoaderThunks.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00
Overlay.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
Overlay.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
Parser.cpp # boatload of fixes to get self-tests to compile+mostly run 2006-06-08 19:03:43 +00:00
Parser.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
Player.cpp # housekeeping 2006-07-20 14:37:58 +00:00
Player.h # housekeeping 2006-07-20 14:37:58 +00:00
Profile.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
Profile.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
ProfileViewer.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
ProfileViewer.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
Pyrogenesis.cpp # small fixes. 2006-06-25 15:35:28 +00:00
Pyrogenesis.h # small fixes. 2006-06-25 15:35:28 +00:00
Singleton.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
StringConvert.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
StringConvert.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
ThreadUtil.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00
UniDoubler.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
utf16string.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
Util.cpp # merge all local changes; moving over to new SVN server 2006-06-22 18:26:08 +00:00
Util.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
Vector2D.h # Some groundwork for territories. 2006-07-08 22:40:01 +00:00
VFSUtil.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
VFSUtil.h Restoring SVN repository: 2006-06-21 22:37:31 +00:00
World.cpp # Updates to the tech system, and bug fixes. 2006-07-18 04:17:46 +00:00
World.h # housekeeping + bugfix in file trace recorder 2006-07-21 01:11:23 +00:00