summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-09-04 20:40:33 +0000
committerrubidium <rubidium@openttd.org>2006-09-04 20:40:33 +0000
commit63687763e9680663e68754b47ee9f1511641faf8 (patch)
treeb1e52d993ce60e919358d998b36ea08adfe26cba /settings_gui.c
parenta7cfb80c40d9a4c544ece10872fd3808f9f59f8d (diff)
downloadopenttd-63687763e9680663e68754b47ee9f1511641faf8.tar.xz
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
-Cleanup: whitespace alignment of a few tables.
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c43
1 files changed, 22 insertions, 21 deletions
diff --git a/settings_gui.c b/settings_gui.c
index 50952c467..adecd7830 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -328,25 +328,25 @@ static inline bool GetBitAndShift(uint32 *b)
}
/*
- A: competitors
- B: start time in months / 3
- C: town count (2 = high, 0 = low)
- D: industry count (3 = high, 0 = none)
- E: inital loan / 1000 (in GBP)
- F: interest rate
- G: running costs (0 = low, 2 = high)
- H: construction speed of competitors (0 = very slow, 4 = very fast)
- I: intelligence (0-2)
- J: breakdowns(0 = off, 2 = normal)
- K: subsidy multiplier (0 = 1.5, 3 = 4.0)
- L: construction cost (0-2)
- M: terrain type (0 = very flat, 3 = mountainous)
- N: amount of water (0 = very low, 3 = high)
- O: economy (0 = steady, 1 = fluctuating)
- P: Train reversing (0 = end of line + stations, 1 = end of line)
- Q: disasters
- R: area restructuring (0 = permissive, 2 = hostile)
-*/
+ * A: competitors
+ * B: start time in months / 3
+ * C: town count (2 = high, 0 = low)
+ * D: industry count (3 = high, 0 = none)
+ * E: inital loan / 1000 (in GBP)
+ * F: interest rate
+ * G: running costs (0 = low, 2 = high)
+ * H: construction speed of competitors (0 = very slow, 4 = very fast)
+ * I: intelligence (0-2)
+ * J: breakdowns (0 = off, 2 = normal)
+ * K: subsidy multiplier (0 = 1.5, 3 = 4.0)
+ * L: construction cost (0-2)
+ * M: terrain type (0 = very flat, 3 = mountainous)
+ * N: amount of water (0 = very low, 3 = high)
+ * O: economy (0 = steady, 1 = fluctuating)
+ * P: Train reversing (0 = end of line + stations, 1 = end of line)
+ * Q: disasters
+ * R: area restructuring (0 = permissive, 2 = hostile)
+ */
static const int16 _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /*
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R*/
{2, 2, 1, 3, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0}, //easy
@@ -987,7 +987,7 @@ static void NewgrfWndProc(Window *w, WindowEvent *e)
break;
} break;
-/* Parameter edit box not used yet
+#if 0 /* Parameter edit box not used yet */
case WE_TIMEOUT:
WP(w,def_d).data_2 = 0;
SetWindowDirty(w);
@@ -999,7 +999,8 @@ static void NewgrfWndProc(Window *w, WindowEvent *e)
}
break;
}
-*/
+#endif
+
case WE_DESTROY:
_sel_grffile = NULL;
DeleteWindowById(WC_QUERY_STRING, 0);