summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-08 12:25:13 +0000
committerrubidium <rubidium@openttd.org>2009-02-08 12:25:13 +0000
commit283b3d16abc76f722f96d74ca92423a85ebdbf23 (patch)
tree5b7c7c6ed12ff58167007d93a309a4a340ebdf6b /src/rail_gui.cpp
parent9eee0a6a81fa4c7ff9c442c3f72c509d96d725c9 (diff)
downloadopenttd-283b3d16abc76f722f96d74ca92423a85ebdbf23.tar.xz
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp8
1 files changed, 4 insertions, 4 deletions
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)
{