(svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards.

This commit is contained in:
maedhros
2007-05-23 12:45:56 +00:00
parent c35b459d02
commit 1a9d43ff40
11 changed files with 133 additions and 114 deletions

View File

@@ -382,12 +382,12 @@ static void BuildTreesWndProc(Window *w, WindowEvent *e)
} break;
case WE_PLACE_OBJ:
VpStartPlaceSizing(e->we.place.tile, VPM_X_AND_Y_LIMITED);
VpStartPlaceSizing(e->we.place.tile, VPM_X_AND_Y_LIMITED, GUI_PlaceProc_None);
VpSetPlaceSizingLimit(20);
break;
case WE_PLACE_DRAG:
VpSelectTilesWithMethod(e->we.place.pt.x, e->we.place.pt.y, e->we.place.userdata);
VpSelectTilesWithMethod(e->we.place.pt.x, e->we.place.pt.y, e->we.place.select_method);
return;
case WE_PLACE_MOUSEUP: