diff --git a/cmclient.sublime-project b/cmclient.sublime-project index 9e4b590fa9..e61e748033 100644 --- a/cmclient.sublime-project +++ b/cmclient.sublime-project @@ -1,10 +1,22 @@ { + "build_systems": + [ + { + "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", + "name": "Anaconda Python Builder", + "selector": "source.python", + "shell_cmd": "python -u \"$file\"" + } + ], "folders": [ { + "file_exclude_patterns": + [ + "*.cod" + ], "follow_symlinks": true, - "path": ".", - "file_exclude_patterns": ["*.cod"] + "path": "." } ] } diff --git a/src/road_gui.cpp b/src/road_gui.cpp index c2b068ea76..c503153623 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -528,6 +528,7 @@ struct BuildRoadToolbarWindow : Window { virtual void OnClick(Point pt, int widget, int click_count) { + static bool fullroad_warned = false; _remove_button_clicked = false; _one_way_button_clicked = false; switch (widget) { @@ -548,7 +549,10 @@ struct BuildRoadToolbarWindow : Window { case WID_ROT_FULLROAD: HandlePlacePushButton(this, WID_ROT_FULLROAD, _road_type_infos[_cur_roadtype].cursor_autoroad, HT_RECT); - // IConsolePrintF(CC_WARNING, "WARNING! Full-tile autoroad tool is deprecated and will be removed in next release."); + if (!fullroad_warned) { + ShowGoalQuestion(0, 2 /* INFO */, 2 /* OK */, "Full-tile autoroad tool is deprecated and will be removed in next release.\n Use regular autoroad tool instead."); + fullroad_warned = true; + } this->last_started_action = widget; break;