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
commit377ce6c5bf1bc98087a83cd906dd14223668acef (patch)
tree5b7c7c6ed12ff58167007d93a309a4a340ebdf6b /src/rail_gui.cpp
parent27105127f6f9161e42f9e329e2db8ea417558c9f (diff)
downloadopenttd-377ce6c5bf1bc98087a83cd906dd14223668acef.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)
{