Revision: 7555
          http://warzone2100.svn.sourceforge.net/warzone2100/?rev=7555&view=rev
Author:   sendai
Date:     2009-05-26 18:55:12 +0000 (Tue, 26 May 2009)

Log Message:
-----------
Make AI ignore hostile structures for path-finding when using armed droids. 
This avoids a problem
getting to the enemy when the nearest point to the target is an impassable 
terrain obstacle. It
also avoids a pathological path-finding case that makes us search the entire 
map for a nearest 
point whenever we cannot go somewhere due to enemy structures (eg walls), which 
wastes a lot of 
CPU. Human players are unaffected by this change.

Modified Paths:
--------------
    trunk/src/ai.c
    trunk/src/astar.c
    trunk/src/fpath.c
    trunk/src/fpath.h


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to