View Issue Details

IDProjectCategoryView StatusLast Update
0000509Spring engineGeneralpublic2007-04-04 22:05
Reportersemi Assigned Totvo  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000509: [patch] Improved build order for every kind of area build, also fixes bug with circle build with non-square buildings
DescriptionCurrently the build order for every kind of area build is far from optimal and requires lots of unnecessary walking around. My patch does the following things:

- Area build now builds every second row in the opposite direction.
- Perimeter build now builds the whole thing in clockwise or counterclockwise order.
- Circle build now builds the whole thing in clockwise or counterclockwise order.
- Circle build now works correctly when trying to use non-square buildings for circling anything (except for the other bug in spring, for which I submitted another report with patch).

Basically I totally reimplemented GetBuildPos function, and the new one is cleaner and shorter.

The patch is done against current svn trunk.
TagsNo tags attached.
Attached Files
GetBuildPos_semi.diff (Attachment missing)
Checked infolog.txt for Errors

Activities

tvo

2007-04-04 22:05

reporter   ~0000860

committed, r3541

Thanks for your contribution!

Issue History

Date Modified Username Field Change
2007-03-31 22:50 semi New Issue
2007-03-31 22:50 semi File Added: GetBuildPos_semi.diff
2007-04-04 22:04 tvo Status new => assigned
2007-04-04 22:04 tvo Assigned To => tvo
2007-04-04 22:05 tvo Status assigned => resolved
2007-04-04 22:05 tvo Resolution open => fixed
2007-04-04 22:05 tvo Note Added: 0000860