From 377ce6c5bf1bc98087a83cd906dd14223668acef Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 8 Feb 2009 12:25:13 +0000 Subject: (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. --- src/rail_gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rail_gui.cpp') diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 6ebb9fc7e..036995b20 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -39,7 +39,7 @@ static bool _convert_signal_button; ///< convert signal button in the s static SignalVariant _cur_signal_variant; ///< set the signal variant (for signal GUI) static SignalType _cur_signal_type; ///< set the signal type (for signal GUI) -/* Map _patches.default_signal_type to the corresponding signal type */ +/* Map the setting: default_signal_type to the corresponding signal type */ static const SignalType _default_signal_type[] = {SIGTYPE_NORMAL, SIGTYPE_PBS, SIGTYPE_PBS_ONEWAY}; struct RailStationGUISettings { @@ -211,7 +211,7 @@ static void GenericPlaceSignals(TileIndex tile) } else { const Window *w = FindWindowById(WC_BUILD_SIGNAL, 0); - /* Map _patches.cycle_signal_types to the lower and upper allowed signal type. */ + /* Map the setting cycle_signal_types to the lower and upper allowed signal type. */ static const uint cycle_bounds[] = {SIGTYPE_NORMAL | (SIGTYPE_LAST_NOPBS << 3), SIGTYPE_PBS | (SIGTYPE_LAST << 3), SIGTYPE_NORMAL | (SIGTYPE_LAST << 3)}; /* various bitstuffed elements for CmdBuildSingleSignal() */ @@ -1776,8 +1776,8 @@ static void SetDefaultRailGui() /** * Updates the current signal variant used in the signal GUI * to the one adequate to current year. - * @param 0 needed to be called when a patch setting changes - * @return success, needed for patch settings + * @param 0 needed to be called when a setting changes + * @return success, needed for settings */ bool ResetSignalVariant(int32 = 0) { -- cgit v1.2.3-70-g09d2