From: <no...@gi...> - 2011-01-20 18:11:38
|
Branch: refs/heads/master Home: https://github.com/Warzone2100/warzone2100 Commit: f952c71d6c1e535107b4ce6de128210593d5b372 https://github.com/Warzone2100/warzone2100/commit/f952c71d6c1e535107b4ce6de128210593d5b372 Author: Cyp <cy...@wz...> Date: 2011-01-20 (Thu, 20 Jan 2011) Changed paths: M src/scriptobj.cpp Log Message: ----------- Remove meaningless initialisation. Commit: 9a10bba6cb4e2487d68852c284d5dd04375596bd https://github.com/Warzone2100/warzone2100/commit/9a10bba6cb4e2487d68852c284d5dd04375596bd Author: Cyp <cy...@wz...> Date: 2011-01-20 (Thu, 20 Jan 2011) Changed paths: M src/ai.cpp Log Message: ----------- Make structure target prioritisation more precise. Prefer uncompleted non-wall structures over completed walls. Prefer nearby uncompleted structures over distant uncompleted structures. Check whether a target is allied before checking line of sight (this can make a slight performance difference between 2.5 FPS and 40 FPS on maps with many structures). |