Project:
OpenTTD
Code Location:
svn://svn.openttd.org/trunk/trunk
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
1.3.0 (2013-04-01) ------------------------------------------------------------------------ - Fix: Station rebuilding could leave reserved tiles which caused crashes later on [FS#5510, FS#5516] (r25132) - Fix: When the count for a scrollbar was 0, the inter distance was subtracted too much causing a scrollbar with a negative size (r25123) 1.3.0-RC3 (2013-03-18) ------------------------------------------------------------------------ - Fix: Limit aircraft property 0D to 19, since the conversion result to km-ish/h needs to fit into a byte [FS#5492] (r25099) - Fix: Clicking the statusbar crashed, when news were pending but no news were shown yet [FS#5486] (r25093) - Fix: Make editbox character filters also apply to pasted content from clipboard (r25090, r25089) - Fix: Catch exception anonymously, if the exception content is not of interest [FS#5500] (r25081) 1.3.0-RC2 (2013-03-05) ------------------------------------------------------------------------ - Fix: Make sizes of the station preview list and direction selection identical in the station build window [FS#5472] (r25064) - Fix: When allocation of the sprite cache fails, try to allocate less memory and display an error message later on (r25061) - Fix: Refactor Script Debug GUI to only set widget states in OnInvalidateData [FS#5490] (r25052) - Fix: Do not let gcc include files from the "standard C" include directories to avoid inclusion of header files at the top of the preprocessed nfo files, which cause NFOrenum/GRFcodec to make invalid assumptions about the NFO version (r25050) - Fix: Minimise gaps feature caused removal to only happen at the signal build interval instead of the implicit interval of 1 [FS#5479] (r25038) - Fix: Green path signals would be shown when building them 'under' a train, and they would keep showing green until they were passed again [FS#5480] (r25037) 1.3.0-RC1 (2013-02-19) ------------------------------------------------------------------------ - Feature: Searching of (missing) content via GrfCrawler (r25024, r25023) - Change: Cleanup goals and cargo monitors of companies when they go bankrupt or are taken over (r24986) - Change: Apply the same name sorting rules to content and NewGRF list as for the server list (r24983) - Fix: [SDL] Crash after bootstrap download of 32bits base set due to referencing a deleted mutex [FS#5466] (r25017) - Fix: [SDL] Improve 8bpp hardware palette support. Instead of always requesting SDL_HWPALETTE, it is now only done for 8bp blitters in fullscreen mode (r25003, r25002, r24993) - Fix: Set vehicle's service interval is percent flag appropriately on creation [FS#5137] (r24998) - Fix: When choosing a train in a depot to attach a newly purchased wagon to, do not consider trains currently moving in and out of the depot (r24987) - Fix: [Script] Crash when passing too many parameters [FS#5465] (r24982, r24981, r24980) 1.3.0-beta2 (2013-02-07) ------------------------------------------------------------------------ - Feature: [NewGRF] Station randomisation triggers (r24906, r24905) - Feature: Settings type filter included in the advanced settings GUI (r24862, r24863) - Change: Revert to opening the vehicle GUI again when cloning vehicles using the clone-button from the depot GUI [FS#4458] (r24955) - Fix: Additional zoom in levels could glitch by a few pixels due to incorrect rounding [FS#5463] (r24975) - Fix: Honour pause_on_newgame setting when running as a dedicated server [FS#5279] (r24974) - Fix: [NewGRF] Prevent access to tile-based variables when tile is invalid [FS#5462] (r24973) - Fix: Do not make overbuilding rivers with canals insanely expensive [FS#5258] (r24972) - Fix: Crash when an infinite loop occurred during loading of a script [FS#5346] (r24970) - Fix: company window was not updated when shares were enabled/disabled [FS#5379] (r24968) - Fix: Trams would get stuck on water [FS#5228] (r24966) - Fix: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached [FS#5416] (r24964) - Fix: Do not stop loading if there are reservations left [FS#5435] (r24963) - Fix: Reserve all capacity while unloading to avoid 'stealing' cargo, i.e. loading cargo onto a second vehicle when the first cannot be fully filled yet [FS#5438] (r24962) - Fix: If a platform is enlarged and there is a reservation, reserve the whole platform [FS#5362] (r24961) - Fix: Inconsistencies in the 'thanks to' lists [FS#5423] (r24960) - Fix: Set 'replace when old' flag when replacing an autoreplace (r24950) - Fix: Deleting implicit orders was not able to deal with the various side-effects of DeleteOrder [FS#5452] (r24944) - Fix: Redraw autoreplace window properly in network games (r24939) - Fix: Never put a space between cargo name and subtype [FS#5447] (r24938) - Fix: Do not allow order refit to be set for no-load orders [FS#5446] (r24936) - Fix: Make group names unique per company and vehicle type [FS#3473] (r24933) - Fix: Prevent more NewGRFs being selected than is possible to load [FS#5158] (r24932) - Fix: [GS] Do not try to pause or unpause crashed scripts [FS#5415] (r24929) - Fix: [Squirrel] Update line information before processing 'while' token of 'do'-'while' statement [FS#5408] (r24928) - Fix: Add a tooltip to the mapsize selection mentioning possible deviations [FS#5395] (r24925) - Fix: When an object built on a river is removed, restore the river [FS#5441] (r24923) - Fix: Upgrading bridges could steal road types [FS#5389] (r24912) - Fix: [GS] Allow GSs to pass negative integer string parameters (r24908) - Fix: 'Train loads/unloads cargo' station animation triggers on individual platform (r24904) - Fix: Cached station animation triggers were only set when removing parts of a station (r24903) - Fix: The station build window did not update when the station spread changed [FS#5434] (r24899) - Fix: Do not unpause the game when closing the highscore window if it was already paused before the highscore screen was shown (r24898) - Fix: Improvements and fixes for the base translation [FS#5411, FS#5420, FS#5421, FS#5422, FS#5427] (r24896, r24875, r24872, r24869) - Fix: Allow downgrade of road bridges in the scenario editor [FS#5436] (r24895) - Fix: Invalidate station selection window when station spread changes [FS#5434] (r24894) - Fix: Distribute GS compat_<version>.nut with OpenTTD (r24890) - Fix: Pass proper UTF-16 strings instead of UCS-2 to ICU in order to preserve characters outside the BMP (r24885) - Fix: A completely emptied vehicle could trigger an assert (r24883) - Fix: Desync when NewGRF changes the stats related to acceleration (power, weight, tractive effort, etc) during service or 32 day triggers (r24882) - Fix: Incorrect Romanian own name (r24874) - Fix: Make invalid sprite references to mapgen sprites behave the same as invalid references between recolour and real sprites [FS#5404] (r24858) - Fix: Do not let UFOs and coal mines clear water (r24857) - Fix: Do not let UFOs and coal mines destroy depots [FS#5406] (r24856) - Fix: Do not send aircraft to depots that are out of range of the next destination [FS#5405] (r24855) - Fix: Only consider vehicles available in the climate for purchase/depot cell size (r24854) - Fix: Extend widget data member to 32 bits so that sprite IDs >= 2^16 can be used (r24853) 1.3.0-beta1 (2012-12-24) ------------------------------------------------------------------------ - Feature: Advanced settings to disable certain sound effects (r24846) - Feature: [NewGRF] Support oversized purchase list sprites [FS#5271] (r24839) - Feature: Improve pylon placement around station tiles that display neither pylons nor catenary (r24836) - Feature: When using a non-release version of OpenTTD and the basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics (r24821) - Feature: Consider engine preview windows always sticky, so non-shift mass-closure does not affect them [FS#2632] (r24809) - Feature: When share-cloning vehicles do not open the vehicle window of the new vehicle [FS#4458] (r24808) - Feature: Enable usage of 'companies' console command also in singleplayer [FS#2820] (r24807) - Feature: Ask for confirmation before creating giant screenshots [FS#3148] (r24806) - Feature: Separate subdirectory for screenshots (r24804) - Feature: Unify the difficulty settings window with the advanced settings window (r24791, r24792) - Feature: Various methods to open the OSK (r24785) - Feature: Add a string filter to the server list [FS#3852] (r24769) - Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window (r24763) - Feature: Introduce GUI icons for deleting to the left/right (r24749) - Feature: Add clear button to all editboxes (r24748) - Feature: Reset the vehicle engine pool when starting a scenario (r24716) - Feature: Add basic/advanced/expert filters to the advanced settings GUI [FS#5355] (r24671) - Feature: Draw cargo labels in the station list black or white depending on the background colour [FS#5311] (r24668) - Feature: Do not display the preview window for disabled vehicle types (r24660) - Feature: Add new filter option to the advanced settings window to show only changed settings (r24647) - Feature: Add text filtering to advanced settings (r24632) - Feature: Add buttons to expand/collapse all to advanced settings GUI (r24631) - Feature: [GS] Allow GameScripts to construct and prospect industries without having a sponsor (r24623) - Feature: Pay interest also on a negative cash value (r24618) - Feature: Sort cargo filter by cargo name/label at the company stations window [FS#5311] (r24615) - Feature: More options for the auto-scroll setting (r24590) - Feature: Allow AI/GS script developers to break the execution of their scripts and pause the game using ScriptController::Break() (r24542, r24575) - Feature: Scripts can be suspended even if the game is still progressing, thus break-on-log now works also for Game Scripts (r24537) - Feature: Highlight industries on the smallmap when the mouse is over an entry in the legend (r24534) - Feature: [NewGRF] Allow resolving var 5F via vehicle var 61 (r24527) - Feature: [OSX] Additional high-resolution icons for the app bundle [FS#4539] (r24525) - Feature: Ctrl+Backspace/Delete to remove characters up to next word beginning in text edit boxes [FS#5203] (r24521) - Feature: Ctrl+Arrow keys to move entire words in text edit boxes [FS#5203] (r24520) - Feature: When using autorefit only load/refit vehicles if other wagons cannot already take all cargo without refitting [FS#5106] (r24497) - Feature: [GS] Useful behaviour for GSEngine::IsValidEngine and GSEngine::IsBuildable when outside GSCompanyMode scope (r24492) - Feature: Display GS dead state in AI debug window [FS#5230] (r24489) - Feature: Add buttons to view textfiles from the online content window [FS#5236] (r24488) - Feature: Make the pathfinder decide whether ships shall leave depots towards north or south [FS#5127] (r24481) - Feature: [GS] API compatibility scripts for Goal Scripts [FS#5219] (r24468) - Feature: Display in the advanced settings description a setting type which explains the scope of changes to a particular setting [FS#5244] (r24411) - Feature: [GS] Allow game scripts to monitor cargo pickups and deliveries done by companies (r24406) - Feature: [NewGRF] Allow vehicle variable 61 for callback 2D (recolour) and re-randomisation (r24371) - Feature: [NewGRF] Customisable signals for rail types (r24367) - Feature: Allow filtering for multiple words (separated by whitespace resp. quoted) in script breakpoints, the sign list, content and NewGRF-GUIs (r24337, r24342) - Feature: Add dropdowns to NewGRF configurations, if all values have labels (r24318) - Feature: Add dropdowns to AI configurations, if all values have labels (r24317) - Feature: Allow to select advanced settings with limited range with a dropdown list (r24316) - Feature: Display default values for advanced settings in the settings description (r24298) - Feature: News item for exclusive transport rights [FS#2688] (r24287) - Feature: [GS] Additional GSNews::NewsItem::NewsTypes (r24286) - Feature: [NewGRF] Variable with the current max speed for vehicles [FS#5052] (r24246) - Feature: Descriptions explaining the meaning of advanced settings (r24237) - Feature: Split the renew-months setting text in two string values (one before life time and one after) (r24210) - Feature: Show a hint in the supplies tab of station windows, if the station is affected by exclusive transport rights [FS#5178] (r24205) - Feature: [NewGRF] Callback to set industry production level on construction (r24186) - Feature: South Korean and South African currencies [FS#4907] (r24148) - Feature: Randomise count of passengers killed in a crash [FS#3576] (r24142) - Feature: Display rating in the town directory window (r24141) - Feature: Show group name in the replace vehicle window caption [FS#1117] (r24140) - Feature: Allow to create a new vehicle group by drag and drop (r24139) - Feature: Ctrl+Drag to add all vehicles with a shared order list to a group (r24138) - Feature: Draw indicator icon in the replace vehicle window for vehicles which have a replacement set (r24137) - Feature: Autoreplace vehicles only when they get old [FS#4465] (r24136) - Feature: Add configurable limits for tree planting, and remove tree drag size limit (r24134, r24135) - Feature: Lithuanian currency [FS#4984] (r24133) - Feature: Ctrl+Clicking to change colour of all colour schemes at once [FS#1952] (r24131) - Feature: Deselect 'remove' button when changing signal types in the GUI [FS#2314] (r24130) - Feature: Option to minimise signal distance when dragging over obstacles [FS#3660] (r24129) - Feature: Allow closing airports for incoming aircraft [FS#1497] (r24127) - Feature: Drag and drop support for the NewGRF list window [FS#3854] (r24126) - Feature: Drag destination highlighting to the group GUI [FS#3705] (r24125) - Feature: [NewGRF] Misc engine flag to disable breakdown smoke [FS#4658] (r24124) - Feature: Be more careful with the population of a small town while placing a statue (r24105) - Feature: Debug option for showing the redrawn dirty blocks/rectangles [FS#5101] (r24065) - Change: News display options are now shown in the advanced settings window (r24842, r24843, r24844, r24845) - Change: Drop 'signal density' from the advanced settings GUI. It is more suited to be only changed via the signal GUI (r24670) - Change: Check for bankruptcy on a monthly basis (r24619) - Change: Only bankrupt, if you have negative money considering you took max loan (r24617) - Change: When building long roads or tramways, only build the roadbits at the beginning and the end if they can connect to something [FS#5228] (r24503) - Change: Disallow original and better road layouts to build roads under bridges along the bridge direction [FS#5229] (r24391) - Change: Allow cloning of orders which are unreachable for the destination vehicle if they were already unreachable for the source vehicle [FS#5213] (r24390) - Change: Allow building/modifying/removing signals even if a train is on the belonging track (r24356) - Change: [NewGRF] Make bounding boxes of road vehicles change according to the vehicle length to make alignment easier [FS#5204] (r24331) - Fix: [NewGRF] Consider regearing-like cargos as no-cargo in cargo filters [FS#5386] (r24848) - Fix: [NewGRF] Draw NewGRF railtypes in NewGRF station previews (r24840) - Fix: Do not consider blocked rail station tiles that display wires as non-reachable for masking out unnecessary catenary wires (r24837) - Fix: The autorefit dropdown in the order GUI was not always updated when modifying vehicle consists [FS#5396] (r24834) - Fix: [NewGRF] Incorrect values are better than a crash when a NewGRF queries vehicle variable 4C before vehicle initialisation is completed [FS#5398] (r24831) - Fix: determineversion.vbs could hang in a git checkout (r24826) - Fix: Close pending preview windows when the engine is introduced to everyone (r24812) - Fix: Close engine preview window when another client accepts it (r24811) - Fix: Make engine preview offers more robust with regard to changes in the company ranking (r24810) - Fix: When displaying the previous news message, do not consider news which are turned off [FS#4224] (r24802) - Fix: Glitch in timetable GUI [FS#5327] (r24800) - Fix: Unify checks for editability of settings (r24787) - Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus (r24774) - Fix: Shift in the OSK behaved like capslock (r24773) - Fix: [Win32] Do not crash when switching to an unsupported fullscreen display mode (like 8bpp modes in Windows 8) [FS#5359] (r24762) - Fix: Crash on corrupted savegame [FS#5367] (r24754) - Fix: Some editboxes had a different colour than the rest of the window (r24747) - Fix: In various windows the OSK looked shiny but using it had no effect whatsoever (r24727) - Fix: AI debug GUI crashed when using disabled buttons via hotkeys (r24723) - Fix: When starting a scenario apply the local company settings to the new company [FS#5139] (r24717) - Fix: [NewGRF] Allow stations to draw snow/desert aware ground sprites with railtype overlays [FS#5335] (r24715) - Fix: [NewGRF] Draw default foundations if resolving of custom station foundation sprites fails [FS#5337] (r24714) - Fix: [NewGRF] Tolerate old NewGRFs returning invalid values via CB 11 [FS#5262] (r24713) - Fix: [NewGRF] Station variables 61 and 62 returned incorrect values, if no vehicle ever tried loading [FS#5303] (r24712) - Fix: Check whether to not display a ^ loading indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks (r24711) - Fix: [NewGRF] Station var 48 should report acceptance, not supply (r24706) - Fix: Station rating might consider very old vehicles very young (r24705) - Fix: Disallow closing oilrig airports in the scenario editor (r24703) - Fix: Workaround for an overoptimisation done by GCC 4.5 [FS#5246] (r24701) - Fix: Get packing right on MinGW GCC 4.7 (r24573) - Fix: Make sure all template functions are instantiated by at least one compilation unit [FS#5276] (r24496) - Fix: Do not load order backups when loading a server-saved game in single player (r24445) - Fix: Allow overbuilding bridges with the same type when adding a roadtype [FS#5221] (r24413) - Fix: Cargo lists cannot have genders (mostly because it is very unclear what gender it would have) (r24374) - Fix: Off by one errors with regard to clicking on setting buttons (r24313) - Fix: STRING1 probably means STRING1 (r24295) - Fix: squirrel_export should match key words like 'virtual', 'static' and 'const' only as whole words (r24288) - Fix: Hide object specs/classes from the GUI, if they will never be available to the user [FS#4967, FS#5120] (r24171) - Fix: Unify the spacing in 'AI/Game Script' and never just say 'Game' when 'Game Script' is meant [FS#4898] (r24020) 1.2.3 (2012-11-01) ------------------------------------------------------------------------ (None) 1.2.3-RC1 (2012-10-17) ------------------------------------------------------------------------ - Change: [NewGRF] Set the reference brightness of 32bpp mask recolouring to 128 (r24610) - Fix: Configure script did not properly handle _BUILD flags during reconfigure (r24601) - Fix: Configure script failed to detect libfontconfig 2.10 as newer than 2.3 (r24598) - Fix: When fontconfig is not available, the bootstrap download crashed [FS#5336] (r24597) - Fix: Crash when a gamescript provided too many parameters to a GSText object [FS#5333] (r24593) - Fix: [Script] API documentation mistakes/omissions (r24584) - Fix: Do not add duplicates to the ban list [FS#5308] (r24580) - Fix: Draw the window resize sprite bottom-aligned [FS#5324] (r24577) - Fix: Vehicle list at buoys did no longer work [FS#5319] (r24576) - Fix: [Windows] Do not cast away const in OS specific code (r24572, r24571) - Fix: Naming of bundles was somewhat broken (r24569) - Fix: Non-train vehicle lists were not resorted when vehicles were renamed [FS#5261] (r24567) - Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION (r24565) - Fix: Limiting the inflation did not quite work [FS#5312] (r24564) - Fix: Do not show profit from refits as cost in the refit window [FS#5297] (r24544) - Fix: Do not limit to reading one UDP packet per game loop (r24532) - Fix: Max script chance was too big (r24531) - Fix: [NewGRF] RandomAction 84 should interpret register 100 as signed (r24528) - Fix: [OSX] Some compile problems in mac-only code [FS#5296] (r24524) - Fix: The gender of an industry name is defined by the industry-type part of the name, not by the town-name part, even if it comes first (r24523, r24522) - Fix: GStexts were compiled incompletely when containing certain string codes (r24516, r24515) - Fix: The mousewheel did not work in the build waypoint window [FS#5285] (r24507) - Fix: [NewGRF] Airport variables 60 to 65 and 69 used the wrong cargo translation table for translations (r24506) - Fix: Do not show the global goals as company goals for spectators (r24500) - Fix: Clarify description of command line option -n (r24485) - Fix: Do not call RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished [FS#5232] (r24482) - Fix: Trains were unable to reverse in stations when using NPF (r24479) - Fix: The --xxx yyy format (instead of --xxx=yyy) for configure did not work (r24471) - Fix: --prefix was not accepted by configure (r24470) - Fix: Changing auto-refit for a 'goto station' order was inadvertently modifying the full load state [FS#5264] (r24457) 1.2.2 (2012-08-16) ------------------------------------------------------------------------ (None) 1.2.2-RC1 (2012-08-01) ------------------------------------------------------------------------ - Fix: In some cases ships could be covered with land [CVE-2012-3436] [FS#5254] (r24449, r24439) - Fix: Copy constructor and assignment operator cannot be implicit template specialisations [FS#5255] (r24448) - Fix: Make (non-refittable) vehicles with invalid default cargo unavailable [FS#5256] (r24438) - Fix: CFLAGS/CXXFLAGS ignored for helper binaries (r24432, r24429, r24427, r24365) - Fix: [Windows] Unbreak NewGRF MD5 sum calculation. Macros and side effects do not mix, especially if there is some obscure '#define min' in a windows header that nobody thinks of [FS#5231] (r24416) - Fix: Disallow removing roadtypes from bridges when not dragging in bridge direction [FS#5221] (r24414) - Fix: Draw wires under low bridges if the bridge is transparent, not if the wire is transparent (r24403) - Fix: Station properties 11 and 14 were combined incorrectly [FS#5243] (r24402) - Fix: [Windows] Changing resolution did not resize the window (r24394) - Fix: Use the 'all vehicles' group for the autoreplace window from the vehicle list [FS#5239] (r24392) - Fix: Do not consider not finding a particular base set critical; just load a different one and display an in-game error later on [FS#5233] (r24388) - Fix: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked [FS#5188] (r24384) - Fix: Call Vehicle::IsStoppedInDepot only for the first vehicle in a chain (i.e. primary vehicle or free wagon) (r24382) - Fix: Do not resize the object GUI when selecting objects. Rather clip the object name (r24379) - Fix: ReInit could crash for windows with NWidgetMatrix widgets [FS#5218] (r24378) - Fix: [NewGRF] Extended action A1 did not work correctly [FS#5227] (r24369, r24361) - Fix: [NewGRF] Ship-specific 80+x variables were missing for unknown reason [FS#5224] (r24360) - Fix: When airport construction was denied due to noise, the error message named the wrong town (r24354) - Fix: [NoAI] A TileIndex is not a station id, so do not use it as one [FS#5215] (r24353) - Fix: When highlighting the drop position for vehicles in depots, make space for all articulated parts (r24352) - Fix: Short vehicles were not properly positioned at the cursor when dragging for RTL languages (r24351) - Fix: EQUALSIZE widget containers within EQUALSIZE containers were initialised with wrong sizes (r24346) - Fix: The cursor in the company password window was not blinking due to wrong magic constants (r24335) - Fix: [NewGRF] Change the length of 8/8 roadvehicles in vehicle lists to 32 pixels; this is in fact the correct length as can be seen in corners for short articulated parts following each other [FS#2553] (r24332) - Fix: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides [FS#4254] (r24330, r24321) - Fix: Make the AI settings window behave more like the other settings window by closing the query window whenever selecting a different row (r24315) - Fix: Editing NewGRF parameters using the query window showed wrong values, if there was no direct relation between parameter index and parameter register (r24314) - Fix: Center object previews in 1- and 2-view selectors based on the 4-view selector layout [FS#5057] (r24299) - Fix: Increase the left and right margins of the text in the yes/no query window (r24293) - Fix: [NewGRF] GetReverseCargoTranslation() was unnecessary complicated and also returned the wrong thing for cargos not present in the translation table (r24273) - Fix: [NewGRF] Load cargo- and railtype-translation during both reservation and activation stage. That way they can be selected using Action7 depending on present cargo- or railtypes (r24272) - Fix: Use the same colour scheme for the script selection window as in other comparable windows (r24268) - Fix: Make the oilrig-vehicle list accessible to spectators and colour its caption neutrally grey [FS#5126] (r24260) 1.2.1 (2012-06-01) ------------------------------------------------------------------------ - Fix: [Script] ScriptTown::GetGrowthRate() returned wrong values after usage of SetGrowthRate() (r24302) 1.2.1-RC1 (2012-05-16) ------------------------------------------------------------------------ - Fix: Change the unit of the sprite-cache size setting from megabytes to megapixels, so it depends on the blitter being used. Also increase it from 64 to 128, and change the name in the cfg file, so everyone gets the new default [FS#5162] (r24252) - Fix: Do not immediately display error messages from parsing the cfg file, but schedule them for displaying after the GUI is prepared for it [FS#5154] (r24250, r24249, r24248, r24247) - Fix: Dereferencing uninitialised pointer causing a crash [FS#5159] (r24224) - Fix: Lag counters were not properly reset when switching states making it possible to get disconnected for lagging when you were not lagging [FS#5166] (r24221) - Fix: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49 [FS#5182] (r24220) - Fix: Immediately do the cargo payment on vehicle crashes instead of when they are cleared [FS#5152] (r24219) - Fix: The confirmation window to abort world generation was hidden during world generation, so actually you could not abort it [FS#5159] (r24214) - Fix: If a company is taken over or bankrupts, transfer exclusive transport rights to the new owner respectively cancel them (r24204) - Fix: Make the engine name not overdraw the engine count in the autoreplace GUI (r24203) - Fix: Make the size of the details in the autoreplace GUI match more the size of the details in the purchase list (r24202) - Fix: Mark group list dirty when setting/clearing autoreplace for an engine type [FS#5170] (r24201) - Fix: Invalidate build vehicle windows every month, in case they need resorting due to changed reliabilities [FS#5149] (r24200) - Fix: If you consider a settings to potentially cause desyncs via NewGRFs and thus disallow changing it in network games, you should probably also sync it to clients (r24193, r24191) - Fix: Use default value when reading an invalid setting value [FS#5153] (r24192, r24146) - Fix: [Windows] When going to fullscreen and back, restore to the resolution you were, not to the fullscreen resolution (r24189) - Fix: [Windows] When changing the basics of a window (fullscreen, 8bpp/32bpp), and a window already exists, it was forced out of maximize mode, and its resolution/position was reset, often causing unwanted side-effects [FS#5151] (r24188) - Fix: Town radii were not updated immediatelly after construction/destruction of houses, resulting in desyncs [FS#5169] (r24183) - Fix: The population of a town was computed incorrectly for overridden houses when loading a game (r24182, r24181, r24179) - Fix: The object name from property A was not displayed in the object GUI [FS#5110] (r24178) - Fix: The arctic 'shops and offices' used the 'church' sprite in one of its four views [FS#5148] (r24177) - Fix: The object GUI did not draw objects when all objects of a class are disabled (r24176) - Fix: If you spent hard work on finding an available object ID, you should probably also use it instead of always 0 (r24159) - Fix: Town producing no cargo at all could spawn passenger subsidies (r24158) - Fix: The music volume was set too early during startup causing it to be not set correctly (r24155) - Fix: [Squirrel] Crash when trying to create an array with negative size [FS#5160] (r24153) - Fix: [NoAI] Do not return the last 'cached' speed of vehicles when they are stopped/crashed [FS#5157] (r24152) - Fix: [Script] Typo in script documentation (r24151) - Fix: Glass-sprite of bubble-generator was not drawn anymore for completely constructed tiles [FS#5143] (r24107) - Fix: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window [FS#5136] (r24089) - Fix: Significantly reduce the area that is redrawn for text effects [FS#5103] (r24068) - Fix: Do not redraw up to 25% of the map when making a new vehicle visible for the first time (r24067) - Fix: Do not redraw the text effect when nothing changed (r24066) 1.2.0 (2012-04-15) ------------------------------------------------------------------------ - Fix: When starting GS or AI, always use the settings of the game, not the new-game settings [FS#5142] (r24108) - Fix: Provide translated comments in the desktop file without language name postfix (r24100) - Fix: Cloning orders of aircraft with limited range failed [FS#5131] (r24086) 1.2.0-RC4 (2012-04-01) ------------------------------------------------------------------------ - Fix: Reversing trains while they were entering or leaving a depot could lead to stuck trains [FS#5093] (r24078, r24071) - Fix: The 'last joined' server was not properly selected anymore [FS#5098] (r24070) - Fix: Immediately start querying the last joined server instead of waiting for the requery loop [FS#5097] (r24069, r24062) - Fix: Make the full snowedness level of houses the same as roads and rails [FS#5121] (r24064) - Fix: With certain versions of GCC and compiler flags the compiler could reorder some code badly causing the 32bpp depot flag not working [FS#5125] (r24063) - Fix: Do not freeze aircraft mid-flight when skipping to an out-of-range destination [FS#5123] (r24060) - Fix: Wrong numbering of string parameters causing wrong capacities to be shown [FS#5124] (r24058) - Fix: Crash when timetabling a maximum travel speed of 0 [FS#5111] (r24053) - Fix: [NewGRF] Imported GRF sounds were inserted into the wrong slots [FS#5107] (r24052) - Fix: [NewGRF] Realsprites inside the action 11 block were not skipped correctly (r24050) - Fix: Improve error messages for the placement restrictions of banks, water towers and toy shops [FS#5095] (r24040) 1.2.0-RC3 (2012-03-18) ------------------------------------------------------------------------ - Feature: Allow display of baseset textfiles (r24037) - Feature: Increase the station class limit from 32 to 256 (r24031) - Fix: After opening a text window with the monospaced font, all other text started glitching (r24038) - Fix: [NoAI] Reset 'is random' status of temporary variable during saveload as it is not always written to when loading an AI which means it wouldd be taking the 'is random' setting of another AI (r24033) - Fix: [NoAI] Make AIEngine::IsArticulated return true if the articulated callback flag is set, do not try to run the callback (r24029) - Fix: Pass cases down into the list of cargos [FS#5090] (r24024, r24023, r24022) 1.2.0-RC2 (2012-03-04) ------------------------------------------------------------------------ - Fix: [Script] AI used in names in API for GSOrder [FS#5088] (r24006) - Fix: Improve rounding when converting display speeds to internal speeds [FS#5079] (r23995) - Fix: Also reset the font glyph cache when switching blitters (r23992, r23987) - Fix: [NewGRF] Also display the cargo subtype for vehicles which have no capacity, but a subtype [FS#5076] (r23991) - Fix: Zero the offsets of disabled zoomlevels, so they do not influence offset calculations (r23989) - Fix: Invalid reads when scaling an odd-sized sprite smaller (r23986) - Fix: Inconsistent quit/abandon/exit game/scenario/editor strings [FS#5074] (r23985) - Fix: Fix the order of lights on the helipad [FS#5082] (r23984) - Fix: Tarred heightmaps would not be found [FS#5083] (r23983) - Fix: Do not load a game during UpdateWindows as that might trigger changing the blitter which triggers re-entrant locking (r23980, r23977) - Fix: [SDL] Palette update was done too late making switching from 8bpp -> 32bpp look ugly (r23978) - Fix: Sprites of different zoom levels were not always padded correctly to a common size (r23976) - Fix: Also save the maximum travel speed for the current vehicle order (r23973) 1.2.0-RC1 (2012-02-19) ------------------------------------------------------------------------ - Feature: [NewGRF] Customisable tunnel portals for rail types (r23952) - Feature: Timetabled maximum travel speeds for non-flying vehicles (r23947) - Feature: Readme/licence/changelog viewer for AI and game scripts [FS#5047] (r23936) - Feature: [NewGRF] 32bpp sprites in GRFs (r23897) - Feature: [NewGRF] Support for RealSprites with multiple zoom levels (r23890) - Feature: [NewGRF] Support for container version 2 (r23887) - Fix: Refittability should never depend on the current capacity of a vehicle [FS#5070] (r23965) - Fix: Do not look for missing sprites twice during startup [FS#5072] (r23963) - Fix: [Script] Infinite recursion within a script was not caught properly, so they could cause crashes of OpenTTD instead of the AI [FS#5068] (r23962) - Fix: [NewGRF] Make the properties for always/never refittable cargo types not behave incremental, but reset them on reassignment (r23960) - Fix: [Network] Do not allow chat messages from pre-active clients. As they have not got the savegame yet, they will not have the interface to send them either (r23958) - Fix: [Network] Allow sending chat to pre-active clients as the clients start accepting once they send 'map ok' to the server, which is the same moment we change their status to pre-active [FS#4990] (r23957) - Fix: When the population of a town changes the town view might even have to change size due to different cargo requirements [FS#5062] (r23953) - Fix: [NoGo] Never show GSGoal::Question() to spectators [FS#5063] (r23950) - Fix: Better rounding when converting internal speed to displayed speed (r23945) - Fix: Also list DEITY signs in the signlist in the scenario editor [FS#5061] (r23943) - Fix: Infrastructure cache of standard road stops would get messed up when buying a company with them (r23942) - Fix: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type (r23931) - Fix: [Script] Do not close the parameter window when a script starts [FS#4944] (r23930) - Fix: Do not accelerate, for smoke purposes, when you reached the track's maximum speed [FS#5053] - Fix: 32bpp animated blitter was optimised a bit too far regarding not needing to update the colour mapping when (re)initialising the palette [FS#5056] (r23927) - Fix: [NoGo] Some news messages would cause an assertion to be triggered due to a missing proper location for the viewport of the news message, so only allow building when valid data for the viewport is provided or no viewport is used [FS#5054] (r23924) - Fix: Consider only the middle tile of a lock for lock-infrastructure costs. The other two tiles may be owned by other companies. Also do not count the middle tile of a lock as canal, independent of whether it is build on ground or river slope (r23920) - Fix: [NewGRF] When determining the first refittable cargotype according to CTT order, do not rely on the GRF assigning the refit_mask property. Also check for GRFs setting the default_cargo or refittable-cargo-classes or -types properties (r23916) - Fix: [NewGRF] Do not test validity of cargobits using a mask of cargoslots (r23914) - Fix: [NewGRF] When testing whether a engine shall only carry the default cargo, check ctt_include_mask for being empty before applying cargo translation (r23912) - Fix: [SDL] Handle the SDL_VIDEOEXPOSE event to solve issues with SDL 1.3 (r23910) - Fix: [SDL] Fix keyboard-related segfault when compiling against SDL 1.3 (r23909) - Fix: [Makefile] Make sure bin/baseset/openttd.32.bmp is removed on make clean (r23908) - Fix: [Makefile] Let 'make clean --dry-run' not delete Makefiles (r23907) - Fix: [Windows installer] OpenMSX got downloaded to and extracted in the wrong (non-existent) folder [FS#5045] (r23905) - Fix: Memory leak everytime one clicked a savegame in the load GUI (r23901) - Fix: [NewGRF] It was not possible to import sounds from a NewGRF later in the load order (r23883) - Remove: PNG sprite loader; use 32bpp sprites in a NewGRF (r23898) 1.2.0-beta4 (2012-02-04) ------------------------------------------------------------------------ - Feature: [NewGRF] Give NewGRF defined level crossings and rail depots access to the townzone (r23866) - Feature: [NewGRF] New algorithm (activated via an engine flag) to determine the capacity of vehicles. This allows vehicles to better control the capacity for cargotypes which they know; and let cargo NewGRFs influence the capacity for cargos the vehicle NewGRF does not know, but which the vehicle is refittable to due to cargo classes (r23861) - Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15 (r23860) - Feature: Allow command line options -e and -g to be combined to load saves/scenarios directly into SE (r23839) - Feature: [NoGo] Allow querying orders of vehicles [FS#4994] (r23837) - Change: Do not let towns (ever) remove objects [FS#5001, FS#5002] (r23842) - Change: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable [FS#4999] (r23835) - Fix: Generate industry subsidies again [FS#5039] (r23876) - Fix: [NoGo/NoAI] Scripts with a bad comparator could lock up OpenTTD [FS#5004] (r23870) - Fix: Make the colour of the dropdown items for opening the vehicle list for which the company has no vehicles looking less horrid [FS#5020] (r23867) - Fix: Railtype overlays were drawn 'only transparent' on invisible bridges (r23864) - Fix: Inserting conditional orders for ships checked the wrong orders wrt. maximum distance (r23859) - Fix: Out of bounds read for slowdown parameter caused desync when railtype >= 4, vehicles were fast, and the original acceleration model was used [FS#5007] (r23855) - Fix: Infrastructure cache could get out of sync when overbuilding a drive through road stop (r23851) - Fix: When the network is lagging, you try to copy a vehicle's order but accidentally create a station order and then copy the vehicle's order (before the first command is executed) one could trigger an assertion from the pool [FS#5008] (r23849) - Fix: When removing road or tram from a tram+road stop, the owner of the road stop's cache was updated instead of the owner of the removed infrastructure (r23847) - Fix: Infrastructure count for stations was not updated properly on company takeover. And do not count buoys while loading a game either (r23844) - Fix: Clear NewGRF vehicle cache when their owner changes (r23841) - Fix: Assertion got hit when destroing a dock when a ship was loading [FS#5000] (r23838) - Fix: If a vehicle is not refittable to any cargo in the CTT, then pick the first refittable cargoslot (r23836) 1.2.0-beta3 (2012-01-21) ------------------------------------------------------------------------ - Feature: [NoGo] Allow to chose the goal question window's title from a (small) set of options [FS#4992] (r23827) - Feature: [NewGRF] Enhance some fatal NewGRF errors with the spritenumber that caused the problem (r23809) - Fix: Loading empty GS strings/translations failed [FS#4996] (r23829) - Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything. (r23828) - Fix: The detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says [FS#4972] (r23826) - Fix: Removal of towns with 0 population failed during map generation [FS#4951] (r23819) - Fix: [Network] Desync due to different NewGRF version at client and server [FS#4962] (r23817) - Fix: [NewGRF] Textstack was not properly used when storing parameters for the error message window [FS#4969] (r23803) - Fix: Game lobby gui not updated when new company information becomes available [FS#4968] (r23802) - Fix: Reading the UTF-8 BOM from AI/GS files on big-endian machines failed (r23801) - Fix: Move 'refitable to' text above custom newgrf text in build vehicle gui [FS#4958] (r23792) - Fix: [NewGRF] Resize text panel for parameter description if it does not fit in 4 lines [FS#4960] (r23791) - Fix: [NewGRF] While we can only show one error per NewGRF, fatal errors should always disable the GRF. Also give those errors precedence over other information (r23789) - Fix: [NewGRF] Failure to load newgrf files that use action 0 general prop 15 with a missing language file (r23788) - Fix: Crash due to genders used for station name in hangar string of Italian translation [FS#4965] (r23782) - Fix: Under certain circumstances, e.g. a single invalid order, trying to determine the next order state could end up in an infinite loop [FS#4964] (r23781) - Fix: [Network] Missing naming of some errors[FS#4963] (r23780) - Fix: Trim all control codes and the likes from strings being passed into the AI. If the AI would be displaying them later we would be showing those control codes as question marks [FS#4957] (r23778) - Fix: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used (r23775) - Fix: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype (r23773) 1.2.0-beta2 (2012-01-07) ------------------------------------------------------------------------ - Feature: [NewGRF] Allow read-only display of NewGRF parameters, if GRF list may not be edited (r23760) - Feature: [NewGRF] Alternate rail type label list (r23758) - Feature: Make the default secondary sort method for the server list the number of clients instead of the name (r23710) - Feature: Try harder to sort text instead of fancy characters in the server names (r23709) - Feature: Make a distinction between fully zoomed in and default zoomed in screenshots [FS#4916] (r23695) - Feature: Add ability to adjust brightness of colour after remapping for 32bpp sprites (r23670) - Feature: [GS] GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17 (r23731) - Feature: Australian translation (r23730) - Fix: Make default timeouts for certain network states lower and configurable [CVE-2012-0049] [FS#4955] (r23764) - Fix: Check whether a water tile is really empty when overbuilding it with an object [FS#4956] (r23763) - Fix: The check for duplicate town names was not really working [FS#4951] (r23759) - Fix: Missing locking causing crash is extreme case when being in the MP lobby [FS#4938] (r23752) - Fix: [Win32] Work around a possible deadlock when initialising threaded drawing (r23749) - Fix: Make vehicle variables A8 and A9 always return 0. Returning cur_image is a potential desyncer due to Action1 in static NewGRFs (r23748) - Fix: Also set 'info' to NULL if 'instance' dies (for both AI and GS); avoids invalid memory reads (r23746) - Fix: If autorefit fails, count the vehicle capacity nevertheless, if it is already carrying the right thing (r23745) - Fix: [NewGRF] Check the version of the right GRF [FS#4923] (r23744) - Fix: [NewGRF] Call CB 15E for all vehicles before actually executing any refit [FS#4906] (r23743) - Fix: Cheating to different climates messes things even more up than changing NewGRFs in-game so it was removed [FS#4939] (r23733) - Fix: When cheating into another company, the SignList was not updated [FS#4942] (r23728) - Fix: Reading memory of a temporary (already deconstructed) object is invalid (r23721) - Fix: [Script] Show the script debug window also when the game script crashes [FS#4935] (r23720) - Fix: Extraction of music packs failed [FS#4930] (r23719) - Fix: [AI] Rescanai caused crash when the AI settings of an AI was opened [FS#4936] (r23718) - Fix: Ships going to wrong dock location when moving the dock while the game is paused [FS#4927] (r23717) - Fix: The amount of goals was too low [FS#4928] (r23699) - Fix: Hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour [FS#4859] (r23693) - Fix: Infrastructure count of canals/locks/ship depots was not updated properly when a company went into bankruptcy or was taken over [FS#4921] (r23686) - Fix: When fitting another engine the cargo capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing [FS#4912] (r23683) - Fix: Vehicle numbers got misaccounted when autoreplacing failed due to length checks [FS#4914] (r23681) - Fix: [AI] Prevent removal of the (AI) company the local player is in [FS#4915] (r23680) - Fix: [Script] Close the editbox of settings when changing an AI, to avoid invalid memory read/write (r23678) - Fix: [Script] Invalidate AI Parameters window when changing AI [FS#4909] (r23677) - Fix: When removing road stops the wrong tile was checked for updating the infrastructure cache [FS#4913] (r23676) - Fix: [Script] The 'Configure' button in the 'AI / Game Configuration' window did not get enabled when activating a GameScript (r23668) 1.2.0-beta1 (2011-12-24) ------------------------------------------------------------------------ - Feature: Ability to run a game script; a script that controls some of the logic of the game, e.g. to implement goals or tutorials (r23637) - Feature: Allow to place locks also on river rapids and restore rivers, if locks are deleted [FS#4872] (r23512) - Feature: Aircraft ranges (r23504) - Feature: Configurable linewidth in plots (r23497, r22292) - Feature: Add 'view website' button to the online content and NewGRF windows (r23495, r23492) - Feature: [NewGRF] Action14 node INFO->URL_ to add an url (r23494) - Feature: When looking for missing content, automatically select it so you can easily start the download [FS#4827] (r23468) - Feature: Automatically close the online content window after confirming the download with 'ok' [FS#4827] (r23467) - Feature: Add 'find missing content online' button to 'load savegame' and 'find network game' windows [FS#4827] (r23465) - Feature: [NoAI] AIStation.GetStationCoverageRadius(StationID) (r23453) - Feature: Infrastructure maintenance costs (r23415) - Feature: Allow to create subsidies for any combination of source and destination types (r23408) - Feature: Diagonal dragging the rail conversion tool when pressing CTRL [FS#4841] (r23338) - Feature: Add ability to zoom in to 2x and 4x level (r23316) - Feature: Settings to restrict viewport zoom levels (r23314) - Feature: An economy.fund_buildingssetting, to disallow funding buildings (r23303) - Feature: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to query statistics about a town regarding its growing (r23302) - Feature: Show on the GUI when a town grows and what the requirements for growing are (r23300) - Feature: [NewGRF] Properties to always include/exclude cargo types from the refit mask (r23291) - Feature: A monospaced sprite font for the readme reader (r23288, r23274) - Feature: Attempt to show a window for downloading the base graphics set if it is missing (r23244) - Feature: In-game (translatable) readme.txt reader [FS#4780] (r23182, r23178) - Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (r23169) - Feature: Always draw fences around field tiles [FS#1824] (r23168) - Feature: Support for NewGRF version 8 (r23159) - Feature: [NewGRF] Patch/setting variable 14: get the maximum height of the map (r23158) - Feature: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage (r23149) - Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60 (r23138) - Feature: [NoAI] AICargoList_StationAccepting [FS#3799] (r23134) - Feature: [NewGRF] Property for the rail type name (r23129) - Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick (r23118) - Feature: [NewGRF] Ambient sound effect callback (r23114) - Feature: Auto-refitting of vehicles during loading at a station when the vehicle allows it (r23089, r23087) - Feature: [NewGRF] Callback to change refit cost depending on old and new cargo type (r23086) - Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs (r23080) - Feature: [NewGRF] House callback 0x148 (r23072) - Feature: [NewGRF] House variable 0x64 (r23070) - Feature: [NewGRF] Long date of last service for vehicles, also available in the purchase list (r23068) - Feature: A -q command line option to read a savegame, write some general info and exit (r23065) - Feature: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short volume' and 'short weight' respectively (r23063) - Feature: [NewGRF] Allow use of NewGRF text stack during callback 23 (r23040) - Feature: Support company colour for the airports' runways [FS#4797] (r23010) - Feature: [NewGRF] Allow to use offsets for all types of action5 except sea shores [FS#4795] (r23004) - Feature: [NewGRF] Action2 variable 0x62 to get curvature/position difference to the n-th vehicle in vehicle chain [FS#2521] (r22998) - Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2 (r22997) - Feature: Display autoreplace status in group GUI (r22985) - Feature: Display profit icons for groups in the group GUI (r22984) - Feature: Display the number of vehicles in the group GUI also for the ALL and DEFAULT groups (r22983) - Feature: Allow road corners on steep slopes (r22968) - Feature: Allow depots, standard road stops and airports on steep slopes (r22960) - Feature: [NewGRF] Allow Action4 to change text IDs 0x00D1 to 0x00E0 for feature 48 (r22954) - Feature: [NewGRF] Extended Action1 format to define arbitrary spriteset IDs (r22926) - Feature: [NewGRF] Allow referencing spritesets from different Action1 in a single Action2 (r22925) - Feature: Allow towns to build bridges over canals and rivers (r22899) - Feature: Resize the tree build gui to according to tree size (r22862) - Feature: Conditional order depending on remaining lifetime of a vehicle (r22858) - Feature: [NewGRF] Allow replacing depot sprites without having to provide rail overlays (r22854) - Feature: Display separate ocean and canal speeds in the ship purchase list, if they differ (r22850) - Feature: [NewGRF] Bits 8-31 in station variable 43 (r22848) - Feature: [NewGRF] Also age wagons and articulated parts (r22816) - Feature: [YAPF] Take canal/ocean speed fraction of ships into account (r22801) - Feature: Progress bar for scanning NewGRFs (r22797) - Feature: [NewGRF] Stringcodes for printing 0-based dates, unsigned words in power units (r22779, r22778) - Feature: River generation (r22767) - Feature: [NoAI] AITile::GetTownAuthority() (r22764) - Feature: [NewGRF] Implement feature 04 property 18 bit 5 (r22746) - Feature: [NewGRF] Per vehicle custom cargo ageing period (r22713) - Feature: Display option to hide competitors' signs and station names [FS#4701] (r22708) - Feature: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the NewGRF developer tools (r22675) - Feature: [NewGRF] Provide random bits in var 0x10 for callback 0x3B in all cases [FS#4690] (r22673) - Feature: Do not spawn explosion effects when bulldozing in paused mode. They block the view (r22670) - Feature: [NewGRF] Support for the land slope check callback for stations (r22659) - Feature: [NewGRF] Custom error messages for object callback 0x157 (r22658) - Feature: [NewGRF] More default error messages for the industry shape and location callbacks (r22657) - Feature: [NewGRF] Add water class to the 'land info of nearby tiles' vars (r22655) - Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction) (r22639) - Feature: [NoAI] Add several functions to AICompany to find out performance information (r22584) - Feature: [NewGRF] Persistent storage for towns (r22569) - Feature: [NewGRF] Support for station variable 0x69 (r22543) - Feature: [NewGRF] Advanced sprite layouts with register modifiers (r22518) - Feature: Save heightmap in scenario editor (r22514) - Feature: Make the transparency options for industries also affect the effect vehicles created by industries [FS#4625] (r22506) - Feature: [NewGRF] Implement variable 18 for custom station foundations (r22453) - Feature: [NewGRF] When NewGRFs are disabled via Action E or due to GRM failure, also display an error in the GUI (r22444) - Feature: [NewGRF] Allow to filter by town of the current industry when using industry variable 0x68 [FS#4591] (r22434) - Feature: An advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics (r22417) - Feature: Sort the items in the currency dropdown; separate the 'Custom' item with a horizontal line from the rest (r22312) - Feature: Separate default and NewGRF-supplied townnames with a horizontal line and only sort them within these groups (r22312) - Feature: [NewGRF] Allow docks to feature company colour (r22293) - Feature: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years (r22253) - Feature: [NewGRF] Make var 0x48 available in CB 0x15C (r22231) - Change: [Win32] Move painting the window and doing palette animation into a separate thread (r23482) - Change: [SDL] Move 32bpp-anim palette animation to the draw thread instead of the single threaded bit of the game loop. This causes a speedup of up to 15% when animation is turned on with the 32bpp-anim blitter (r23451) - Change: Make the company GUI somewhat smaller if there are no shareholders (r23424) - Change: [NewGRF v8] Allow translating multiple languages with Action 13 (r23391) - Change: Bring Squirrel to 2.2.5; besides some nice bug fixes, it mostly solves the sort() issues (r23383) - Change: Move the 'default' overrides out of the base set in order to ensure they all use the same values (r23232) - Change: Different directories for base sets and newgrfs. So data to base set or newgrf, and gm to base set (r23219) - Change: [NewGRF v8] Do not override rail type prop 1B with prop 09 (r23166) - Change: [NewGRF v8] Format of extra callback info for callback 144 (r23157) - Change: [NewGRF v8] Use height level units in var 8A of callback 28 (r23155) - Change: [NewGRF v8] Use height level units in nearby tile info variables (r23154) - Change: [NewGRF v8] Use height level units in variable 20/A0 (r23153) - Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels (r23152) - Change: [NewGRF v8] Deprecate callback 11 and 12, and use callback 36 instead (r23151, r23150) - Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity (r23147) - Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18 (r23146) - Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table (r23145) - Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table (r23144) - Change: [NewGRF v8] Return the translated cargobit in vehicle var 42 (r23143) - Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts (r23142) - Change: [NewGRF v8] Invert result bit 10 of callbacks 149 and 157 to make them consistent with other slope check callbacks (r23141) - Change: [NewGRF v8] Do no longer apply base cost fallbacks (r23139) - Change: [NewGRF v8] New result format for callback 16 (r23137) - Change: [NewGRF v8] Deprecate old-style callback results 0xFF?? (r23136) - Change: Open the query string window centered as it (almost) always requires your attention [FS#4825] (r23130) - Change: [NewGRF] Enforce that the default cargo type of a vehicle is one of the refittable cargos in case of refittable engines (r23077) - Change: Use the currency -> euro conversion rate for currencies that have been replaced with the euro, so when the switch happens the conversion rate at that point is roughly that of the real world conversion rate (r23056) - Change: Disable palette animation for pixels with alpha, as the alpha and previous colour information will be lost when the palette is animated (r23016) - Change: More suitable default news settings instead of everything on 'full' (r22897) - Change: Always use the DOS palette for drawing, remove the '-i' option for palette selection (r22419) - Change: Make YAPF the default pathfinder for ships, do not discourage players from using it anymore (r22352) - Change: Remove pixel limiter for query strings (r22343) - Fix: Dates cut off in the message history [FS#4896] (r23643) - Fix: Fix transparency for steel mill, colour translations in some arctic buildings and a wrongly replaced sprites [FS#4892] (r23639) - Fix: Draw PBS reservations also for bridges and tunnels with railtype overlays (r23586, r23584) - Fix: Add missing characters for certain languages and the large font [FS#4870] (r23582) - Fix: Extending a path reservation starting at a partially reserved rail station could fail [FS#4888] (r23564) - Fix: [NoAI] ScriptSign::BuildSign() returned wrong result if the sign name was too long [FS#4886] (r23516) - Fix: Drawing of newspaper headlines used different padding than the initial sizing of the window [FS#4884] (r23509) - Fix: [Squirrel] Provide a proper error message when the _cmp meta-function does not return an integer (r23496) - Fix: Make autoreplace, autorenew, cloning and autorefit check all articulated parts of a vehicle to find a shared cargo subtype (r23487) - Fix: In case you already have orders, ignore the vehicles when adding an extra order [FS#4770] (r23484) - Fix: Replace OS error messages with internal error messages when that is possible [FS#4594] (r23480) - Fix: Clear the backed up orders of a removed station as well, otherwise one could create orders to a station that was never in the original backupped orders. For example a road vehicle trying to go to a buoy [FS#4876] (r23464) - Fix: Do not assume all industries that cut trees have tile (0,0) and wait until all tiles of an industry are completed before starting to cut trees (r23458) - Fix: Mark company window dirty when moving a rail engine creates or deletes a train (r23454) - Fix: Some airport functions did not take the layout into account resulting in wrong noise levels or nearests towns [FS#4764] (r23441) - Fix: Perform checks for NFORenum/GRFCodec in configure, including a version check so a proper error can be given when a too old GRFCodec or NFORenum is used [FS#4867] (r23438) - Fix: Recolouring of some animated colours from the Windows (=least consistent) palette went wrong [FS#4868] (r23433) - Fix: Prevent windows to be resized beyond the bounds of the (main) window [FS#4842] (r23429) - Fix: [NoAI] The AIEvent.ET_COMPANY_NEW was only triggered if a company named itself, which seems like a very odd place to do so. Trigger it when the company is created instead (r23398) - Fix: Bring some more order in the ordering of the windows, e.g. do not let a save or load dialog get hidden by a news message [FS#4709] (r23336) - Fix: Road vehicle purchase info failed to display vehicles carrying no cargo [FS#4820] (r23334) - Fix: Abort building/moving HQ when clicking on the button again, just like when building rail, stations, etc [FS#4851] (r23331) - Fix: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles do not block tiles they should not block [FS#2379,FS#3569] (r23290) 1.1.5 (2012-01-14) ------------------------------------------------------------------------ - Fix: Make default timeouts for certain network states lower and configurable [CVE-2012-0049] [FS#4955] (r23764) - Fix: Check whether a water tile is really empty when overbuilding it with an object [FS#4956] (r23763) - Fix: Missing locking causing crash in extreme case when being in the MP lobby [FS#4938] (r23752) - Fix: Clear the backed up orders of a removed station as well, otherwise one could create orders to a station that was never in the original backupped orders. For example a road vehicle trying to go to a buoy [FS#4876] (r23464) - Fix: Do not assume all industries that cut trees have tile (0,0) and wait until all tiles of an industry are completed before starting to cut trees (r23458) 1.1.4 (2011-12-05) ------------------------------------------------------------------------ - Fix: Savegames made with the Catalan town name generator would trigger a 'savegame corrupt' exception [FS#4866] (r23418) - Fix: [Network] Do not send chat messages to clients that have not joined yet [FS#4826] (r23337) - Fix: Assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it [FS#4849] (r23312) - Fix: Pathfinders go haywire when you build a lock over a ship going perpendicular to the axis of the new lock [FS#4845] (r23284) - Fix: [NewGRF] Prevent against writing data for unknown fonts (r23283) 1.1.4-RC1 (2011-11-20) ------------------------------------------------------------------------ - Fix: 3-column view of NewGRF GUI had too much space for certain font sizes (r23251) - Fix: Ignore special characters, such as the train 'character', when determining a fallback font (r23237) - Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch (r23231) - Fix: Invalidate build vehicle window when changing the setting for wagon speed limits (r23211) - Fix: [NoAI] Hide AIObject from the documentation as it cannot be used (r23204, r23201) - Fix: [Network] Unstable sorting in the network list when two servers had the exact same name [FS#4829] (r23202) - Fix: Oil rigs that 'expired' did not get removed from the station list [FS#4822] (r23199) - Fix: [Squirrel] replace custom qsort by std::sort to fix stack overflow [FS#4830] (r23190, r23187, r23186) - Fix: Do not display railway fences between track and waypoints [FS#4627] (r23163) - Fix: [NoAI] AIOrder did not handle implicit orders correctly in all cases [FS#4823] (r23135, r23133) - Fix: When any keys on the on-screen keyboard were pressed the text cursor disappeared (r23132) - Fix: [NoAI] AIOrder::IsCurrentOrderPartOfOrderList return false for valid vehicles and crashed for invalid ones (r23131) - Fix: [NoAI] calling require() to include a file gave you 100.000 opcodes for free (r23117) - Fix: Allow accessing the server's client info as well in the admin network [FS#4813] (r23115) - Fix: [NewGRF] Run StartupEngines() if NewGRFs changed during loading a savegame, just like it is running when NewGRFs are changed during a game (r23083) - Fix: Account for snow line table when determining the snow line for building houses (r23082) - Fix: [NewGRF] If a NewGRF overrides a default house the minimum start year for that house was set to 1930 [FS#4794] (r23059) - Fix: [NoAI] AIOrder::GetOrderCount() did not hide implicit orders (r23057) - Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state (r23050) - Fix: Use the same forest-check for the vegetation-map colour as for nearby station names [FS#4810] (r23049) - Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work (r23038) - Fix: [NewGRF] Strip newlines from NewGRF strings that should not have newlines, e.g. the NewGRF's name [FS#4769] (r23036, r22970) - Fix: The last custom playlist items went lost when the files in the .obm are not contiguous [FS#4776] (r23035, r23034, r23033) - Fix: Palette conversion windows to DOS for light house / stadium animated colour was mixed up (r23032) - Fix: For the admin 'bots' there was no distinction between bankruptcy and manual removal of companies even though the API suggested that [FS#4804] (r23031) - Fix: Always show a chat message and send an admin packet when a new company is made [FS#4796] (r23030) - Fix: Pass bottom of dropdown item rather than bottom of dropdown window, so the dropdown gets drawn better with different font sizes (r23018) - Fix: AI backlog was to short to fully display the backtrace of some AI crashes [FS#4798] (r23012) - Fix: When the last used server is deleted from the list also clear the last used server if it is the same [FS#4791] (r23011) - Fix: [NewGRF] Make sure temporary storage is cleared before test and exec runs for DoCommands so NewGRF callbacks cannot change the result between the runs (r22996) - Fix: [NewGRF] Tile was cleared before the object-placement callback was run, resulting in possible differences in test and exec run [FS#4775] (r22994) - Fix: [NoAI] Do not return ERR_UNKNOWN when the vehicle would become too long (r22988) - Fix: Draw buoy sprite without outline on the map, fix minor issues with original graphics (r22974, r22973, r22971, r22962) - Fix: The savegame description and loading of savegames would crash with savegames from a patched stable (which did not bump the savegame version) [FS#4778] (r22958, r22957) - Fix: Guard from reading outside the silly name list (r22955) - Fix: [NewGRF] Properly limit the length of strings in a choice list (r22952) - Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors (r22947) - Fix: [NewGRF] Crash when accessing vehicle var 44 for a non-front aircraft [FS#4781] (r22946) - Fix: Calculate the size of the start/stop vehicle button correctly (r22941) - Fix: [OSX] Various MacOSX 10.7 issues causing OpenTTD to not work [FS#4751] (r22921, r22895, r22893, r22889) - Fix: [NewGRF] Properties for feature 0x05 were not zeroed for each NewGRF, thus waterfeatures could glitch when the properties were set by a previous NewGRF and the NewGRF assumed the properties to be unmodified (r22918) - Fix: Old TTO/TTD savegames could get non-stop via orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames [FS#4716] (r22914) - Fix: The icon would (almost) never be shown for SDL builds [FS#4617] (r22910) - Fix: The name of the heightmap glitches in the 'play heightmap' window (r22902) - Fix: Locks would be incorrectly assembled (r22108) 1.1.3 (2011-09-15) ------------------------------------------------------------------------ - Fix: Prevent authentication bypass for the admin port when a new game is started [FS#4771] (r22934) - Fix: TTO savegames with any aircraft not in an hangar caused crashes during load (r22915) - Fix: Windows 2000 and XP without service pack 3 must use the win9x binary/installer; the newer MSVC compiler of the compile farm does not support those versions of Windows anymore [FS#4749] (r22909) 1.1.3-RC1 (2011-09-04) ------------------------------------------------------------------------ - Add: River graphics for the original base set (r22766) - Fix: [NewGRF] DCxx text references via the text stack are not allowed, but caused crash [FS#4758] (r22882) - Fix: Harden memory allocation (r22881, r22880, r22875) - Fix: Miscalculation of train curve speed limits (r22879) - Fix: Validate image dimensions before loading [CVE-2011-3343] [FS#4747] (r22878, r22877, r22874, r22873) - Fix: Report an error in the news if autoreplace/renew fails due to the engine type being no longer available [FS#4712] (r22876) - Fix: Perform stricter checks on RLE compressed BMP images [CVE-2011-3343] [FS#4746] (r22872, r22871) - Fix: [NewGRF] Variables 40 and 81 of callback 18 are not the same as 80 (r22867) - Fix: [NewGRF] Generic callbacks shall chain to the next GRF when the callback fails (r22866, r22865) - Fix: Perform stricter checks on some commands [CVE-2011-3341] [FS#4745] (r22845) - Fix: Harden savegame load against too many AI config settings [CVE-2011-3342] [FS#4748] (r22843) - Fix: Compilation with GCC 4.7 (r22832, r22728, r22719) - Fix: Allow to demolish aqueducts built in the scenario editor [FS#4741] (r22821) - Fix: Towns expanding from the 'wrong' side of a tunnel or bridge [FS#4731] (r22810, r22809) - Fix: [NewGRF] String codes for dates should use unsigned words, like old OpenTTD did before it learned dates before 1920 (r22774) - Fix: [NoAI] Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence() [FS#4702] (r22763) - Fix: [NewGRF] Also free allocated depot tables of NewGRF airports (r22760) - Fix: [NewGRF] Invalid memory access when querying the grfID of the default objects [FS#4730] (r22757) - Fix: When marking tile selections dirty, use the height information of the corners instead of the surface slope. This is more accurate when the foundation is kind of undefined [FS#4727] (r22755) - Fix: Make aircraft point to the exit when leaving the hangar [FS#4696] (r22743, r22742, r22741) - Fix: Display the size of the leveled platform in the measurement tooltip of terraforming operations [FS#4708] (r22740, r22739) - Fix: Setting company passwords via the GUI on servers (including starting a company with the default password) failed, so no client could join that company [FS#4722] (r22738) - Fix: [NewGRF] The construction stage sprites were incorrectly selected in cases other than 1 or 4 sprites per set (r22731) - Fix: [NoAI] AITile::GetCargoAcceptance, AITile::GetCargoProduction and AIRail::BuildNewGRFRailStation did not check the cargo argument for validity (r22726) - Fix: [NewGRF] Always draw NewGRF supplied texts with a default colour (r22725) - Fix: [NewGRF] Do not restrict AdvVarAct2 to 255 operations (r22723) - Fix: If there is no point in opening the rail/air toolbar, do not open it for people who use hotkeys either rather than only for those using GUI elements (r22716, r22715, r22714) - Fix: [NoAI] Allow AIAirport::GetNoiseLevelIncrease() also for expired airports [FS#4704] (r22710) 1.1.2 (2011-08-14) ------------------------------------------------------------------------ - Fix: Some corrupted savegames could crash OpenTTD instead of showing the 'savegame corrupted' message [CVE-2011-3342] [FS#4717] (r22737, r22736) - Fix: [NewGRF] Triggering NOT_REACHED when playing with a NewGRF that supplies genders/cases for a language that was not installed [FS#4718] (r22735) 1.1.2-RC2 (2011-07-30) ------------------------------------------------------------------------ - Fix: Cost of adding an extra road type to a bridge or tunnel was undercalculated [FS#4680, FS#4681] (r22700, r22699) - Fix: Only insert cleared object tiles into _cleared_object_areas if clearing actually succeeds, else subsequential tests of the same tile will be skipped and considered successful [FS#4694] (r22698) - Fix: When building a house it could be built at the wrong place if multitile houses failed some tests (r22697) - Fix: [Network] Failed network address resolving could trigger temporary freezes [FS#4697] (r22696, r22695) - Fix: [NewGRF] The override managers were not reset in some cases like creating a new scenario [FS#4691] (r22693) - Fix: [NewGRF] Aircrafts defined with IDs above the default aircrafts always defaulted to passenger cargo (r22690) 1.1.2-RC1 (2011-07-24) ------------------------------------------------------------------------ - Change: [NewGRF] Only allow access (via hotkey and menu) to the bounding box visualisation when NewGRF developer tools are enabled (r22675) - Fix: [NewGRF] Disallow accessing variable 1B in network games due to desync reasons (r22682) - Fix: Switching from a red to a white highlight (by switching to another tool) without switching the highlight mode (HT_RECT etc.) did not mark the selection dirty [FS#4670] (r22649) - Fix: [NewGRF] Parameters from NewGRFs were not properly parsed in all cases [FS#4599] (r22648, r22630, r22629, r22628, r22627) - Fix: GetSection() does not return a LockPart [FS#4678] (r22645) - Fix: [NewGRF] Disallow building NewObjects on water tiles owned by another company (r22643) - Fix: [NewGRF] Disable the 'set parameters' button in the NewGRF GUI, if the GRF specifies to have no parameters and one would not be able to set any parameters anyway (r22642) - Fix: Keep the previous owner of the upper and lower lock parts if they are built on existing water (r22638) - Fix: [NewGRF] Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those (r22636) - Fix: [NewGRF] Correctly reseed random bits of industries and industry tiles (r22635, r22634) - Fix: [NewGRF] Implement variables 25 and 7F for railtypes (r22633) - Fix: [NewGRF] Additional text in fund industry window is NewGRF supplied and thus should have a default colour (r22631) - Fix: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings [FS#4622] (r22626) - Fix: Do not zero the orders of disaster vehicles when converting savegames [FS#4642] (r22625) - Fix: When closing an AI company the local player cheated to, we need to cheat him to another company [FS#4654] (r22624, r22623) - Fix: When closing down companies their shares in other companies must be sold even if share trading is disabled at that point of time (r22622) - Fix: When asking the user to confirm an unsafe unpausing, there is no need to execute a command if 'no' is choosed. This also prevents crashing when clicking unpause while the confirm window is shown (r22621) - Fix: Enforce refit orders to be 'always go to depot' orders; service-only and stop-in-depot orders make no sense with refitting [FS#4651] (r22620) - Fix: Consider the size of the vehicle sprite for the lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing [FS#4662] (r22619) - Fix: When changing difficulty settings over the network, do not just reopen the difficulty window if any game options window is opened; instead invalidate them properly [FS#4653] (r22618, r22617) - Fix: [NewGRF] If callback 33 returns a value out of range, no sound effect shall be played [FS#4656] (r22614) - Fix: Use rotated heightmap sizes for reporting scaling problems [FS#4663] (r22608) - Fix: Do not show cargo accepted/produced in the new station window when no tiles are selected (mouse hovering a window or toolbar) [FS#4647] (r22595, r22593) - Fix: Add active NewGRFs to the list of available ones when selecting the empty preset [FS#4644] (r22594) - Fix: Reading of heightmaps with uncommon BMP formats failed due to uninitialised variables [FS#4645] (r22592) - Fix: PBS order forecasting modified the current order index in case of a goto-nearest-depot order and no depot could be found [FS#4641] (r22589) - Fix: Remove BaseStorageArrays from _changed_storage_arrays on destruction (r22583, r22551) - Fix: Do not increment STL iterators after they have been invalidated (r22582) - Fix: Do not lower the arrow buttons in the NewGRF/AI parameter windows if they are clicked when disabled (r22553, r22499) - Fix: Clear airport persistent storage on construction/removal of airports (r22552) - Fix: Possible crash when opening the airport build window for the first time [FS#4619] (r22538) - Fix: Replace the half small airport structure on the intercontinental airport with some grass [FS#3494] (r22537) - Fix: Documentation omission regarding admin protocol [FS#4632] (r22536) - Fix: [NoAI] Doing rescan_ai in a game with running AIs caused a crash [FS#4631] (r22534) - Fix: Do not create an implicit order if the current order is the first order in the order list and we visit the station of the last entry of the order list (r22532) - Fix: MinGW 64 related compilation issues [FS#4623] (r22522, r22491, r22490, r22489) - Fix: The layout selectors of the airport build GUI did not latch properly (r22497, r22495) - Fix: Callback result for airport layout name was incorrectly used (r22496) - Fix: Airport preview sprite can depend on the layout, so update the cached SpriteID when the layout changes (r22494) - Fix: Engine IDs for coal and mail wagons were swapped in the TTO savegame conversion [FS#4622] (r22487) - Fix: The caption of centered windows could be moved out of the main window and thus become inaccessible when resizing the main window (r22485, r22484) - Fix: No client error packet was sent to the admin bots [FS#4585] (r22384) 1.1.1 (2011-06-01) ------------------------------------------------------------------------ - Change: Automatic orders are better called implicit orders as no real order influencing path finding is added (r22474, r22473) - Fix: Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skipping orders [FS#4624] (r22492) 1.1.1-RC1 (2011-05-15) ------------------------------------------------------------------------ - Feature: [NewGRF] Allow to filter by town of the current industry when using industry variable 0x68 [FS#4591] (r22434) - Change: Improve the speed of YAPF by tweaking hash tables size (r22351, r22350, r22348) - Change: Show one digit of the fractional train length in the depot (r22336, r22305, r22304, r22303) - Fix: When determining the executable path failed, the working directory was used instead, circumventing the not-home-directory check [FS#4613] (r22465) - Fix: [Windows] Prevent a crash when launching OpenTTD with -d from a MSYS console [FS#4587] (r22464) - Fix: Update the saveload window immediatelly after scanning a new directory, so queued events reach the window when already updated [FS#4615] (r22463) - Fix: [NewGRF] The c and p parts of station vars 40, 41 and 49 were incorrect for large stations (r22455, r22286) - Fix: [NewGRF] Zero register 0x100 as specified before resolving custom station foundations (r22452) - Fix: Do not 'log' the NewGRFs in the screenshot when in the menu [FS#4610] (r22450) - Fix: [NewGRF] When GRFs are disabled via Action E or due to GRM failure, also display an error in the GUI (r22444, r22443) - Fix: [NewGRF] Do not popup fatal NewGRF error messages in the intro screen. The GRFs are not going to be activated there anyway and the GRF settings GUI will not display the errors either (r22442) - Fix: Catenary was drawn incorrectly next to level crossings with foundations (r22437) - Fix: [NewGRF] Apply railtype property 12 (station graphics) also to station groundsprites from action 1 (r22436) - Fix: Git revision detection would return too much when tags are involved (r22435) - Fix: [NewGRF] When action14 specified different values for the palette, the values were OR-ed. Use the last set value instead (r22416) - Fix: [Network] Kicking yourself via remote console crashes the server [FS#4606] (r22414) - Fix: [NewGRF] Make sure the action2 ID of a generic feature callback is valid (r22409) - Fix: Check the availability year of all houses, not just the NewGRF houses, when making sure that at least one is available onwards from year 0 [FS#4581] (r22389, r22300, r22299) - Fix: When a game uses a lot of NewGRFs the buffer for storing that information in the PNG is too small (r22388) - Fix: Windows' recv seems to return 'graceful closed' before having passed the remaining buffer which causes OpenTTD to think all connections are 'incorrectly' terminated, i.e. without the 'I am leaving' packet from the client. So let the client wait a tiny bit after sending the 'I am leaving' packet and before gracefully closing the connection [FS#4601] (r22387) - Fix: When the last AI company gets removed, the 'dead' state was not reset in the AI debug window [FS#4602] (r22386) - Fix: Recolouring of silicon bridge was done incorrectly (r22380, r22379, r22378) - Fix: Crash when clicking a removed company in the vehicle list dropdowns [FS#4592] (r22373) - Fix: Keep better accounting of the order in which clients joined; client cannot be starved from joining and they get shown the amount of clients waiting in front of them (r22372, r22370, r22369, r22368, r22367, r22366, r22365, r22364, r22363, r22362, r22361) - Fix: Make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock [FS#4596] (r22371) - Fix: Delete the client list popup when the client got removed (instead of previously selecting some other client) (r22360, r22359, r22358) - Fix: When inserting automatic orders, do not create consecutive duplicate orders (r22333, r22332, r22331, r22330, r22329, r22328, r22327) - Fix: Destinations of conditional orders were update incorrectly when deleting orders in front of the conditional orders, if the target order was the order just before of the conditional order (r22326) - Fix: Vehicles skipped orders when inserting automatic orders failed (r22324) - Fix: [NewGRF] When determining refittability use the cargo translation table of the GRF setting the refitmask instead of the GRF defining the action 3 (r22316) - Fix: Make road vehicles, ships and aircraft skip orders if they are leaving a depot and heading to the same one again; just like trains (r22309) - Fix: Waiting on a server could kick the client, or rather the client would kick itself due to an unexpected packet [FS#4574] (r22308) - Fix: When drawing the town authority window, check whether the availability of the actions changed, and force a complete redraw in that case (r22307) - Fix: The 'freeform edges' setting could be enabled when there were buoys on the northern border [FS#4580] (r22297) - Fix: Reset Window::scrolling_scrollbar when raising scrollbar buttons [FS#4571] (r22294) 1.1.0 (2011-04-01) ------------------------------------------------------------------------ - Fix: In the scenario editor you could build a ship depot using the appropriate hotkey. Removing that depot causes an assertion to trigger [FS#4558] (r22266) 1.1.0-RC3 (2011-03-18) ------------------------------------------------------------------------ - Fix: New game settings were applied too early when starting a game via a heightmap [FS#4557] (r22259) - Fix: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting [FS#4546] (r22249, r22248, r22247, r22246, r22245, r22244, r22243, r22242, r22241, r22236, r22228, r22227, r22226) - Fix: [NewGRF] Object variable 0x48 was not available in callback 0x15C (r22231) - Fix: Compilation when compiling with --disable-ai (r22222) - Fix: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice [FS#4543] (r22208) - Fix: The 'center' (for movement) of vehicles is (currently still) always at 4/8th original vehicle length from the front, so trains should stop at the same location regardless of the length of the front engine [FS#4545] (r22206) - Fix: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs (r22204) - Fix: Removing a station order could stop when removing first automatic order (r22200) - Fix: Invalidate the object build window when using the date cheat (r22193) 1.1.0-RC2 (2011-03-04) ------------------------------------------------------------------------ - Fix: Following a vehicle with a very high VehicleID was impossible (r22181) - Fix: [NewGRF] Memory leak if an industry NewGRF had more than one prop A or 15, or a station NewGRF had more than one prop 09 (r22175, r22165) - Fix: [NewGRF] Disable a station NewGRF when it contains an unterminated spritelayout in action0 prop 08 instead of crashing (r22164) - Fix: Building a station part adjacent to both an existing station and a rail waypoint failed [FS#4541] (r22163) - Fix: No update of NewGRF window when unknown GRF name becomes available [FS#4533] (r22162) - Fix: [NewGRF] Industry prop 0x11 is 4-bytes long, not 3 bytes (r22157) - Fix: Stations/infrastructure were not properly sold on some clients during bankruptcy [FS#4529] (r22154) - Fix: The Greek translation did not work as it breached the 200.000 bytes 'limit' for loading language files [FS#4536] (r22153) - Fix: Windows video driver crashed when it could not go to full screen at the resolution of the configuration file when starting OpenTTD [FS#4521] (r22149) - Fix: Do not run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point (r22146) - Fix: Some valid keycodes were ignored along with the invalid ones (r22142) - Fix: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command [FS#4523] (r22141, r22140, r22135, r22134) - Fix: [NewGRF] Skipping only the invalid part of an action14 failed, the rest of the action was skipped instead (r22138) - Fix: Spectators had crashes when closing buoy windows (r22131) - Fix: Build-station-window showed wrong selection when reopening [FS#4530] (r22128) - Fix: Canals would get drawn as land in the smallmap when using the owner window (r22127) - Fix: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite [FS#4528] (r22125) - Fix: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item [FS#4522] (r22123) - Fix: When a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead. In other words, do not crash but show an error message (r22122) - Fix: In case of high frame_freq one could get commands executed after a new network game was started (r22121) - Fix: [NoAI] Prevent AIs from getting consistently over their allowed amount of operations by subtracting the amount they went over 'budget' from the budget for the next 'tick' (r22120) - Fix: The refit window was not correctly updated after selecting with Ctrl+Click [FS#4525] (r22118) - Fix: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road (r22117) 1.1.0-RC1 (2011-02-18) ------------------------------------------------------------------------ - Feature: [NewGRF] Test all possible industry layouts during construction and prospecting [FS#4131] (r22012, r22010) - Feature: Wheel scrolling in the console (r21982) - Feature: Console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though (r21975) - Feature: Add a setting to enable/disable funding local road reconstruction (r21974) - Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the new game window (r21969) - Change: When loading old savegames with long trains set the maximum train length to the length of the longest train (r22061) - Change: Always report mammoth trains are disabled to NewGRFs, and allow the maximum train length to be modified in multiplayer as well [FS#4471] (r22004) - Fix: Remove invalid keycodes when reading hotkeys.cfg [FS#4510] (r22094) - Fix: The server list did not get sorted with one item in it, so the 'position in the list' variable was never updated causing problems when using the keyboard shortcuts for scrolling [FS#4514] (r22093) - Fix: When deleting towns, only relocate objects during DC_EXEC (r22087) - Fix: [Windows] If fullscreen fails with current resolution, use desktop resolution [FS#4489] (r22081) - Fix: The owner view of the smallmap was not updated after a company colour change (r22079) - Fix: Maximum train length interfered with wagon replacement when wagon removal was turned on [FS#4499] (r22078) - Fix: NewGRFs with invalid multi-tile houses could cause a valid 1x1 house following it to be seen as multi-tile, causing crashes [FS#4501] (r22075) - Fix: Immediately update the train weight when you change the multiplier for train cargo weight (r22073) - Fix: Some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus (r22071) - Fix: Crashes when disconnecting after requesting the map [FS#4503] (r22070) - Fix: Delete all savegame packets, not just the first one (r22069) - Fix: Return 'connection lost' instead of 'okay' when SendPackets closed the connection, so we do not try to do anything else with the closed socket (r22068) - Fix: Do not hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again (r22067) - Fix: Verify we can allocate an Order, OrderList, CargoPacket, CargoPayment, and others before we actually try to do so (all corner cases) [FS#4468] (r22066, r22057, r22047, r22042, r22040, r22033, r22031, r22026, r22025, r22024, r22023, r22022) - Fix: Crash when disconnecting and reconnecting while the server is still saving the savegame [FS#4497] (r22064) - Fix: Memory leak when saving with LZMA or zlib fails mid-way (r22062) - Fix: Make the send chat message window follow the position of the status bar (r22059) - Fix: Metric and imperial HP are not the same. As imperial HP are used internally, set a conversion rate for metric HP [FS#4408] (r22056) - Fix: [Squirrel] Some invalid squirrel code caused the squirrel compiler to crash [FS#4490] (r22055) - Fix: The land area information window was not updated after a language change (r22053) - Fix: Roads under road stops would get a wrong owner after overbuilding (r22051) - Fix: In ancient savegames, e.g. TTO savegames, non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has [FS#4496] (r22050) - Fix: [NewGRF] Company 0 does not always exist, so put temporary vehicles in a valid company (r22048) - Fix: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders [FS#4487] (r22046) - Fix: Update the consist cache when a part of a train is flipped in the depot [FS#4493] (r22044) - Fix: Invalidate the right windows when a part of a train is flipped in the depot (r22043) - Fix: Tab completion in chat did not cycle through all possible options (r22038) - Fix: Crash when watching the vehicle view of a vehicle that has multiple sequential nearest depot orders (or consists of a single nearest depot order) when there is no depot with index 0 [FS#4488] (r22034) - Fix: The server list got not resorted/redrawn after NewGRFs were downloaded [FS#4482] (r22029) - Fix: When paused and having the allowed actions while paused setting on 'no actions' cheating money would fail [FS#4479] (r22016) - Fix: Only show one AI per unique ID instead of all versions in the output of 'openttd -h' (r22007) - Fix: Smoke/sparks of trains would be shown under bridges, or rather through bridges [FS#4480] (r22006) - Fix: When the difference between force and resistance is smaller than the mass(*4) there would be no acceleration anymore, even when at higher (or lower) speed the force and resistance balance out better [FS#4473] (r21997) - Fix: [YAPF] Under some circumstances vehicles could be lost [FS#4472] (r21996) - Fix: [NewGRF] Make computations of closest-land/water-distances handle waterish tiles more correctly (r21994) - Fix: When building a lock on dry land costs for clearing water were deducted rather than for building canals (r21993) - Fix: AIs trying to change the AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags [FS#4467] (r21992) - Fix: The share/copy-orders-cursor was not updated to refer to the new vehicle when it got autoreplaced/-renewed [FS#4466] (r21991) - Fix: Vehicle status bar glitches on speed changes (r21989) - Fix: Scrolling of the console in pages used wrong line height and scrolled too much (r21979) - Fix: Redraw the town authority window after modifying town authority settings (r21973) - Fix: Crash when a multiplayer company goes bankrupt with 'you' in it [FS#4464] (r21970) 1.1.0-beta5 (2011-02-04) ------------------------------------------------------------------------ - Feature: GUI setting to disable reversing at signals (r21962) - Feature: Not loading and not unloading is now possible (r21961) - Change: [NewGRF] Disable the flipping of train engines/wagons in the depot by default for NewGRFs [FS#4462] (r21966) - Change: Show the length of vehicles in tiles, instead of half tiles in the depot (r21960) - Change: Replace longbridges settings with custom maximum bridge and tunnel length setting (r21959) - Change: Randomize the vehicle a small UFO targets, do not use the one with lowest index (r21949) - Fix: Do not count the number of vehicles but the length of vehicles to (configurably) limit train length [FS#4461] (r21960) - Fix: [NewGRF] Reset the carry flag every 4 bytes in Action 6 when adding more than one variable (r21951) - Fix: Road vehicle was moved under the bridge when it was destroyed by an UFO while on a bridge (r21948) - Fix: Crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there (r21947) - Fix: Funny behaviour when a road vehicle reverses while overtaking, so abort the overtake attempt when reversing the road vehicle [FS#4447] (r21946) - Fix: Not all vehicles should be tested to be inside a tunnel upon savegame load [FS#4460] (r21940) - Fix: Do not remove existing road/tram bits when overbuilding stops of the opposite road type [FS#4457] (r21936) - Fix: Allow to overbuild road stops which are built over trams (r21935) - Fix: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing [FS#4440] (r21933) - Fix: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth [FS#4554] (r21929) - Fix: Converting an expensive rail type to a cheap one could give more money than removing and rebuilding cost (r21919) - Fix: Languages improperly sorted in the 'start server' window [FS#4443] (r21918) - Fix: The minimum speed needed for (realistic) acceleration to work properly can sometimes be more than the (temporary) maximum speed causing Clamp to 'fail'. Make sure that the minimum speed always overrules the maximum speed [FS#4442] (r21916) - Fix: Include the capacity of non-refittable vehicles in the refitted-capacity, if their cargo matches (r21904) - Fix: Do not count articulated parts when passing the number of vehicles to refit to the command. That may exceed 8 bits (r21902) - Fix: [NoAI] Hide automatic orders from AIs as they have no way of dealing with them (r21900) - Fix: Do not show a vehicle selection in the RefitWindow for refit orders. You cannot select anything anyway (r21899) - Fix: Using a pointer-iterator and adding things (thus reallocating) to the iterated array caused OpenTTD to crash on invalid pointers [FS#4438] (r21898) - Fix: Only some scenarios from the main scenario folder and no heightmaps could be started in the 'start server' window [FS#4421] (r21892) - Fix: Crash when scrolling outside of the main window (with some video backends) [FS#4434] (r21889) - Fix: [NewGRF] String codes 0x80 and 0x81 were broken since the typechecking of string parameters [FS#4422] (r21885) - Fix: When a train after reversing ended at the last bit of a bridge ramp and directed outside the bridge, it could still have track set to TRACK_BIT_WORMHOLE (r21880) - Fix: When a single-vehicle train was reversed while on a slope, its GOINGUP/DOWN were not swapped (r21874) - Remove: Settings for vehicle speed in the vehicle view, long date in status bar, drawing of bridge pillars, support for depot orders, time tabling and joining of stations upon building (r21958, r21957, r21956, r21955, r21954) - Remove: The non-uniform stations setting; it has been broken for over a year, and thus not used [FS#4456] (r21953) 1.1.0-beta4 (2011-01-21) ------------------------------------------------------------------------ - Feature: [NewGRF] Rail type property to influence sorting of rail types in the drop down list [FS#4394] (r21866) - Feature: [Network] Console command to change the password of other companies for servers [FS#4368] (r21855) - Feature: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available [FS#4393] (r21842) - Feature: Limit vehicle lateness to the length of a full timetable cycle, e.g. when a cycle takes 50 days and the vehicle is 65 days later reduce the lateness to 15 days (r21832) - Feature: After building a road or tram bridge/tunnel, connect it to any existing road or tram (r21778, r21777) - Feature: Display NewGRF object sprites during object picking (r21772) - Feature: Display NewGRF station sprites during station picking (r21755) - Change: Allow LMB scrolling with the mouse outside of the extra viewport instead of canceling scrolling when going slightly over the edge (r21838) - Change: Only show rail/road types that will eventually be available in-game. For example do not show trams when there is no tram NewGRF loaded (r21817) - Change: Keep aqueducts and road/tram tunnels and bridges after removing a company (r21780) - Fix: Distant-join station would build at the wrong location when having persistent building turned on and selecting a 'second' location for the station tile [FS#4430] (r21864) - Fix: Slowing down of trains was done by reducing the speed by 10%, but also when you are just 1% too fast, so limit the slowdown till the new maximum speed [FS#4423] (r21847) - Fix: Left-mouse-button dragging would switch over to other viewports instead of staying locked to the viewport you started on [FS#4419] (r21837) - Fix: When a train was reversed while inside a tunnel/bridge, it would not have (re)set the GOINGUP/DOWN bits after leaving the tunnel/bridge (r21836) - Fix: Desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default [FS#4427] (r21833) - Fix: Service orders for trains/aircraft would (sometimes) not get a time when autofilling [FS#4414] (r21831) - Fix: Crash with the small map window on big endian platforms [FS#4417] (r21830) - Fix: The expectations from the 'always build infrastructure' setting name/description did not match the behaviour [FS#4007] (r21826) - Fix: Allow dragging of combo signals (again) [FS#4378] (r21816) - Fix: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those arenot preferred over other possibilities [FS#3908] (r21815) - Fix: Check GRF version from action 8, and disallow usage of GRFs with versions above 7 (r21814) - Fix: Crash when displaying the owner view [FS#4411] (r21813) - Fix: Do not create automatic orders when there are no manual orders, and remove unreached automatic orders when reaching an ordered waypoint or depot [FS#4404] (r21809, r21808) - Fix: Loading a TTO savegame failed after loading a TTDP savegame (r21799, r21798) - Fix: The size (in characters) of the string inputs was too small for loading some TTD savegames (r21797) - Fix: Drive through road stop state was not properly converted from TTDPatch savegames [FS#4398] (r21796) - Fix: Broken usage of GetTileOwner() caused wrong conversion of old savegames (r21793) - Fix: Terraforming limit was off-by-one when terraforming a single tile height [FS#4407] (r21791) - Fix: TTDPatch savegames can have train waypoints encoded as buoys [FS#4398] (r21790) - Fix: When the font misses the fallback character '?', use the sprite font's '?' instead [FS#4405] (r21789) - Fix: Crash due to invalid rail station width and height data stored in TTDPatch savegames [FS#4398] (r21786) - Fix: Crash when converting savegame with custom waypoint name (r21784) - Fix: Diagonal tile iterator failed for A * 0 selections [FS#4396] (r21768) - Fix: Do not limit tile clearing during bankruptcy [FS#4397] (r21767) - Fix: PBS reservation was not shown on road crossings with NewGRF railtypes [FS#4369] (r21765) - Remove: The 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead [FS#4409] (r21804) 1.1.0-beta3 (2011-01-09) ------------------------------------------------------------------------ - Feature: Configurable limit amount of tiles that can be cleared/terraformed by a company [FS#4331] (r21728) - Feature: Show a list of companies in the owner legend and allow them to be toggled for visibility (r21720, r21718) - Feature: Console command 'list_ai_libs' to get a list of recognized AI libraries [FS#4372] (r21703) - Feature: Allow changing the AI configuration in the scenario editor / in game [FS#4362] (r21696) - Change: Tune 'realistic' acceleration even more to make more trains reach their top speed, and make it behave more like TTDPatch (r21712) - Change: Display the minimum height of the tile in the LandInfo window instead of the height of the northern corner. So it is more useful for NewGRF and AI developers, and maybe more transparent for players (r21711) - Fix: The diagonal iterator would iterate twice over some tiles [FS#4395] (r21747) - Fix: [NewGRF] Canal variable 83 accessed water random bits also for non-water tiles (e.g. watery industries or objects) (r21746) - Fix: [NewGRF] Canal variable 80 shall return consistent heights within a lock (r21745) - Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination (r21744) - Fix: Coast tiles were not drawn under bridges [FS#4386] (r21743) - Fix: Make clearing refit orders work again [FS#4388] (r21739) - Fix: Start loading when cur_order_index points to the destination station, i.e. after deleting not-reached automatic orders [FS#4384] (r21738) - Fix: A loading order was also marked as 'not part of orders' when the order before the current order was deleted (r21737) - Fix: Admin bots were not always notified of password changes [FS#4377] (r21727) - Fix: Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed (r21709) - Fix: [NewGRF] Report TTDPatch flag 4A (newobjects) as set (r21708) - Fix: The old ship pathfinder is too stupid to provide 'lost' notices; it would even get lost while following its own path [FS#4370] (r21706) - Fix: Do not perform any more checks after the connection is closed [FS#4374] (r21704) - Fix: Changing AI settings ingame was impossible when the difficulty level was other than custom (r21694) - Fix: Due to an error in the Debian changelog building of Debian/Ubuntu packages failed (r21682) 1.1.0-beta2 (2010-12-31) ------------------------------------------------------------------------ - Feature: Command logging using the admin interface (r21668) - Feature: Concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations (r21642) - Add: [NoAI] AIEventTownFounded (r21664) - Add: [NoAI] AIRail::GetName() to get the name of a railtype (r21663) - Add: [NoAI] AITown::IsCity() so AIs can find out which towns grow faster than others (r21654) - Change: Do not show price to build a bridge in the scenario editor as they are free to build there [FS#4358] (r21673) - Change: Do not highlight tile when selecting a vehicle to clone or an order to skip to (r21616) - Fix: Estonia introduced the Euro in 2011 (r21670) - Fix: Autofill timetable had side effects in test mode, possibly causing desyncs in MP [FS#4354] (r21660) - Fix: Cargo payment graph was not properly invalidated when payment rate changed [FS#4351] (r21658) - Fix: Use a bool instead of uint8 to store a bool and use the dedicated accessor function when reading boolean settings [FS#4345] (r21656) - Fix: Infinite loop in the road pathfinder due to bouncing around in an 'one way' trap; two one ways pointing towards eachother making it impossible to leave [FS#4338] (r21651) - Fix: Make '[centre|main] view' consistent, and make '[main|global] view' consistent [FS#4339] (r21650) - Fix: Newly created skip-to order was created at wrong place (r21633) - Fix: Ships with the old pathfinder would easily show up as lost, even when it would eventually find a path. Now also the distance from the 'end' of the pathfinding run to the destination is compared to the current distance to the destination; if the distance to the destination at the end of the pathfinder run is less than the current distance from the destination the ship will not be marked as lost. This means that the ships with the old pathfinder will less likely get marked as lost, but due to the design of the old ship pathfinder there 'lostness' is merely a best guess. When you still get a lost message you need to build buoys to guide the ship pathfinder [FS#4325] (r21631) - Fix: Version detection of subversion branches and tags got broken (r21630) - Fix: Crash under certain circumstances when using autorail [FS#4327] (r21619) 1.1.0-beta1 (2010-12-24) ------------------------------------------------------------------------ - Feature: [NewGRF] Variable 7B for accessing 60+x variables while taking the parameter from the accumulator (r21604) - Feature: Allow to refit only the selected part of a train consist (r21567) - Feature: Store the used OpenTTD version, base graphics set, NewGRFs and AIs in the PNG screenshots (r21558, r21553) - Feature: Make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. do not stop aging chat messages when the server is paused, and make the timeout user configurable [FS#532] (r21513, r21512) - Feature: Vehicle lost messages for ships and road vehicles [FS#1956] (r21511, r21510) - Feature: Diagonal tile clearing and terraforming by pressing Ctrl [FS#730] (r21500) - Feature: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites [FS#4279] (r21473) - Feature: Add explicit make 'shared orders' an option in the orders menu (r21464) - Feature: Make it more clear that you are stopping a shared order, and make it possible retain the order list upon unsharing [FS#3711] (r21461) - Feature: Hotkey Ctrl+W for returning to the main menu [FS#3217] (r21459) - Feature: Scroll to the inserted order [FS#4215] (r21457) - Feature: Building while paused always works in the scenario editor [FS#1521] (r21430) - Feature: Perform the compression of savegames to send to the client asynchronously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression) [FS#4284] (r21399) - Feature: Do not store savegames to disk when transferring it from the server to a client (r21398, r21397) - Feature: Use alphabetical order when sorting industries by type at the industry directory window (r21389) - Feature: Allow entering of the new year in a text box when cheating the year [FS#4289] (r21388) - Feature: Support for limiting the amount of (accepted) incoming data for a server (r21363) - Feature: Natural sorting of strings using ICU [FS#4214] (r21344) - Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (r21240) - Feature: [NewGRF] Support callback 0x10 for RVs and ships (r21238) - Feature: [NewGRF] Make positioning of diesel fumes and electric sparks actually work (r21230) - Feature: [NewGRF] Support OpenTTD's genders, cases and plurals (r21216, r21211, r21209) - Feature: Display mail capacity when refitting an aircraft to passengers (r21214) - Feature: Make the statusbar's location configurable [FS#4201] (r21179) - Feature: Forced construction of missing industries (r21175) - Feature: Do not build industries during economic recession (r21169) - Feature: Use desired industry counts rather than relative probability to decide which industry to build (r21168) - Feature: Allow to sort purchase lists for trains and road vehicles by tractive effort (r21105) - Feature: [NewGRF] Add CB36 support for road vehicle property 0x15 (Speed) (r21100) - Feature: [NewGRF] Implement stringcode 9A 0C (station name), 9A 0D (weight) (r21086, r21085) - Feature: [NewGRF] Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort) (r21058) - Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less (r21044) - Feature: Chat directly to the server or a bot/admin/IRC channel monitoring the server (r21000) - Feature: Remote administration (r20975-r20963) - Feature: [NewGRF] The concept of minimum loadable version to NewGRFs when choosing compatible NewGRFs (r20960, r20958) - Feature: Center new extra viewports on the tile below the mouse. Only center on center of main viewport if mouse is not in any viewport (r20956) - Feature: [NewGRF] Make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks (r20942) - Feature: Highlight all destination tiles when building a lock [FS#4153] (r20932) - Feature: Transfer orders imply 'leave empty' by default [FS#3905] (r20927) - Feature: Allow to select a custom percentage of water in the map generation window (r20832) - Feature: Make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window [FS#3999] (r20753) - Feature: Separate GUI icons for vehicle/company profit, exclusive rights and unread news (r20720) - Feature: [NewGRF] Support for newobjects (r20670) - Feature: Make the (flat) area around an industry configurable (r20659) - Feature: [Network] Allow rate limiting of incoming commands (r20553) - Feature: Filter signs at the sign list window [FS#3472] (r20516) - Feature: Ignore _ in console command names so there is no 'inconsistent' behaviour w.r.t. underscores anymore without breaking backward compatibility greatly (r20515) - Feature: A new screenshot type that makes a zoomed-in screenshot of the visible viewport [FS#3973] (r20508) - Feature: Setting for none/original/more smoke [FS#3093] (r20376) - Feature: Airport previews (r20381, r20369) - Feature: [NewGRF] Support for callback 0x147 ('add sprite offset') for canals (r20353) - Feature: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout (r20352) - Feature: Add rescan_newgrf console command (r20344) - Feature: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR (r20332) - Feature: [NewGRF] Air drag property support for trains and road vehicles. Air drag for vehicles with air drag not set or set to zero will use a default value depending on their max speed (r20303, r20302, r20301, r20300, r20299) - Feature: More user-friendly gui to change NewGRF parameters (r20258) - Feature: [NewGRF] Add support for static NewGRF information, i.e. Action 14 (r20250) - Feature: Display suppliers and customers of an industry or cargo (r20206) - Feature: Allow horizontal resizing for all vehicle lists [FS#3955] (r20174) - Feature: [NewGRF] Information (var 4A) about the current railtype a train is on (r20165) - Feature: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it [FS#3913] - Feature: Customizable hotkeys (r20055) - Feature: Wrap console lines when they are too long [FS#3816] (r20046) - Feature: [NewGRF] Variable 43 depot build date for railtypes [FS#3886] (r20003) - Feature: Show some savegame details when selecting items in saveload GUIs (r19984) - Feature: Open vehicle view when clicking on the caption of vehicle news (r19944) - Feature: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F (r19901) - Feature: Add highlighting of drag destination in depot and order GUI gui [FS#3705] (r19889, r19888) - Feature: Configure NewGRFs from a single window (r19841) - Feature: Give depots an unique name in the same manner buoys and waypoints are named. Also allow them to be custom named [FS#3691] (r19801, r19799) - Feature: Hide all other industries when Ctrl+clicking an industry type in smallmap legend (r19770) - Feature: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The random bits the house/industry will start with, if construction succeeds [FS#3477] (r19744) - Feature: A simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets (r19723) - Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks (r19720) - Feature: Ctrl+click on a vehicle to start/stop it (r19714) - Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables (r19709) - Feature: Graphs with negative values are no longer forced to have the zero axis in the middle, resizeable graphs (r19662, r19631) - Feature: [NewGRF] Support callback 36 for aircraft speed also in the build menu (r19660) - Feature: Add an input box to the AI Debug window where you can input a break string [FS#3496] (r19544) - Feature: Add buttons to enable/disable all cargos at the cargo payment rates graph (r19542) - Feature: Sort industries alphabetically at the smallmap legend, fund industry list; sort cargos alphabetically at cargo payment graph, build vehicles cargo filter dropdown, station ratings and refit options (r19541, r19540, r19436, r19535, r19522, r19503) - Feature: Console command 'reload_newgrfs'; only available when NewGRF developer tools are enabled (r19515) - Feature: Enter the starting year in the scenario editor by clicking at the date panel (r19397) - Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7% (r19346) - Feature: Realistic acceleration for road vehicles (r19345) - Feature: Allow to (over)build and remove multiple road stops using drag and drop (r19231, r19230, r19229) - Feature: Show warnings and errors in console as well, not only in a message box (r19225) - Feature: [NewGRF] Action 0/1/2/3 support for NewGRF airporttiles (r19194) - Add: [NoAI] AIOrder::IsVoidOrder to find void '(Invalid Order)' orders (r20389) - Add: Support for MSVC 2010 (r20032) - Add: [NoAI] AIIndustry::GetIndustryID(TileIndex) (r19773) - Change: Make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you will get an error message explaining the command cannot be executed because the game is paused instead of seemingly nothing happening when you click. Additional side effect of this is that you can make use of the measurement tooltip while paused [FS#4292] (r21480) - Change: Make building aqueducts behave more like building tunnels. They cannot be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels [FS#4153] (r21471) - Change: Place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order [FS#3975] (r21460) - Change: Make sure the client is listening, or rather receiving, our frames (r21361) - Change: Read some metadata from (official) source tarballs so you will more likely get the right version/revision out-of-the-box (r21351) - Change: Be more explicit that the game state can get broken by changing NewGRFs (r21335) - Change: Use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations) (r21271) - Change: Do not receive money for removing the rail of non-rail rail station tiles, i.e. rail station tiles for which the NewGRF has prevented trains to be routed through (r21266) - Change: Show a different 'lag' message when a client is lagging because of connection trouble or lagging because the client is just slow (r21254) - Change: Mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version (r21253) - Change: Filter stations by cargo they have a rating for instead of having cargo waiting [FS#4206] (r21144) - Change: Limit the number of exceptions in the refittable cargo list to 7 (r21083) - Change: Reduce the chances to accidentally break savegames with NewGRFs by limiting loading of savegames that miss NewGRFs or change NewGRF settings in-game [FS#3012] (r21116) - Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration 'slower', which highlights the differences between vehicle types more (r21106) - Change: Do not make client reconnect waiting time depend on the company; in coop games that does not spread clients at all, and most companies have a low number causing it not to be spread out either. Use the ClientID instead (r21008) - Change: Add installing options or rather options to not install certain documentation, in a similar way to GRFCodec/catcodec (r20999) - Change: Only display liveries in the livery window if they are used by some vehicle somewhen (r20849) - Change: [NoAI] Rename AIAbstractList to AIList (r20563) - Change: [NoAI] AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders (r20389) - Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes (r20175) - Change: [NewGRF] Call callbacks 14A, 14B and 14C after all industry variables have been assigned, so more variables are valid during the callbacks (r19907) - Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead (r19294) - Change: Add the default installation directory of lzo/zlib for Mac OS X/MinGW to the paths where (the headers of) those libraries are searched [FS#3638] (r19285) - Fix: Crash due to cargo payments belonging to a non-existing company [FS#4324] (r21605) - Fix: Company league table used stats from two quarters ago instead of last quarter [FS#4323] (r21601) - Fix: The default visual effect only depends on properties of the Engine (wagon or not, tractiontype, ...), not whether it is used as articulated part, front engine or whatever in a specific consist [FS#4275] (r21598) - Fix: [OSX] A double mouse cursor was shown under certain circumstances [FS#2585] (r21578) - Fix: Show 'plant trees' button lowered on the terraform toolbar, like how other buttons are lowered when you selected a 'build' action [FS#4315] (r21539) - Fix: 2CC recolour sprites were the same for DOS and WIN palette, thus 'dark green', 'brown', 'grey' and 'white' were wrong for DOS [FS#4312] (r21535) - Fix: Do not apply the last signal red pathfinder penalty when the signal is a path signal [FS#4302] (r21524) - Fix: Tooltips were not removed when their related window got closed [FS#4300] (r21477) - Fix: Make sure the query window is only opened once per parent window/callback [FS#4298] (r21472) - Fix: Crash when news item gets removed at just the wrong moment [FS#4180] (r21458) - Fix: [NewGRF] Ensure the parameter for house variable 60 is the id of an original house (r21456) - Fix: [NewGRF] A NewGRF with incomplete string codes at the end of a string could cause invalid memory reads (r21433) - Fix: The server did not check for the paused state when allowing to execute commands [FS#3771] (r21429) - Fix: Vehicles could be built while the game is paused. Now you can enable or disable that with a setting, which replaces the build-while-paused cheat [FS#4021] (r21428) - Fix: Purchase lists were not invalidated when using 'resetengines' (r21374) - Fix: Fields were not cleared under snow though they were intended to be [FS#4283] (r21367) - Fix: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore) [FS#4277] (r21353) - Fix: Buffer overflow in strgen for strings with very large arguments (r21346) - Fix: Bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset [FS#4272] (r21338) - Fix: Make it more likely that the savegame and transferred file are the same file and not different ones [FS#4271] (r21334) - Fix: Use the correct font sizes when checking for missing glyphs (r21321) - Fix: [Content] Crash when creating file download by the content download system failed (r21319) - Fix: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond [FS#4260] (r21311) - Fix: [Content] Do not add HTTP connection to list of connections when it fails in the beginning (r21302) - Fix: Fonts set in openttd.cfg were not properly checked for missing glyphs on language change [FS#4261] (r21298) - Fix: FreeBSD introduced strndup as well [FS#4259] (r21295) - Fix: [Windows installer] Check for existence of save/scenario dirs before asking for deletion confirmation [FS#4251] (r21294) - Fix: Under some circumstances two vehicles could leave a non drive-through road stop at once [FS#3935] (r21263) - Fix: [NewGRF] Custom station foundations using the 'simple foundations'-method did not draw any sprite for WSE-slopes when there are foundations on both neighboured tiles in the north. As there must be at least one sprite to provide the correct offset for the groundsprite draw the (empty) default foundation sprite in that case [FS#4246] (r21262) - Fix: The main menu error messages would not show when you had an error message open in the game while whatever triggered you to go back to the main menu (r21255) - Fix: Rescanning AIs did not 'forget' removed AIs [FS#3952] (r21250) - Fix: Upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all (r21246) - Fix: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases [FS#4130] (r21229) - Fix: [NewGRF] The specs' cargo strings and OpenTTD's use of the clashed. Provide properties so NewGRFs can provide cargo strings tailored for OpenTTD while retaining (some) backward compatibility [FS#4172] (r21224) - Fix: Use proper plural for the short cargo unit names (r21223) - Fix: Under some conditions, group count would be wrong after moving train engines in the depot window [FS#4207] (r21205) - Fix: [OSX] Do not let the mouse cursor jump when switching to full screen mode (r21200) - Fix: [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters [FS#4001] (r21197) - Fix: Use non-interactive randomness for townnames on map generation, so they are controlled by the generation seed as well [FS#4226] (r21192) - Fix: [OSX] Unify compiler flags with other OS and work around a compiler bug in gcc-4.0.1 which breaks graphics display in x86_64 binaries [FS#4210] (r21149) - Fix: Station list was not updated when a new cargo got a rating (r21145) - Fix: Station ratings were not updated (anymore) after an aircraft crashed (r21137) - Fix: Bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle [FS#4213] (r21136) - Fix: Helicopter flight altitude was determined inconsistently in different places (r21119) - Fix: Do not use the maximum track speed where the maximum vehicle speed is meant (r21107) - Fix: Display the real maximum speed for aircraft instead of always using the engine value (r21096) - Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed (r21094) - Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen (r21037) - Fix: [OSX] Properly set the palette when using the 8bpp blitter during start-up (r21036) - Fix: Center industry gui and waypoint gui after resize [FS#4171] (r21021) - Fix: Draw bridge pillars with correct length on all tile corners by drawing only half of the pillar sprite if required (r20950, r20947) - Fix: Accidentally moving the mouse of the scrollbar arrows while pressing it clicks the button next to the arrow [FS#4071] (r20922) - Fix: Refit costs were not shown for long cargo names [FS#4160] (r20921) - Fix: When using non-smooth or NewGRF-economy changing production rates does not work, so allow changing the production multiplier instead (r20901) - Fix: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less all-or-nothing [FS#3637] (r20857) - Fix: Make sure (gradual) loading is properly terminated for consists with multiple cargo types. Do not stop loading if the timetabled wait is not over yet [FS#2534] (r20843) - Fix: Place less trees at once when planting random trees at the scenario editor [FS#4094] (r20829) - Fix: Do not use new game settings when creating many random towns/industries at the scenario editor [FS#4094] (r20712, r20711) - Fix: Keep _current_company and _local_company in sync during GUI operation [FS#3804] (r19933) - Fix: When building a lock, do not add the cost of building canals if they are already built, pay for clearing the other tiles and do not add the first bridge type's cost to aqueducts (r19719, r19718, r19717) 1.0.5 (2010-11-20) ------------------------------------------------------------------------ (None) 1.0.5-RC2 (2010-11-14) ------------------------------------------------------------------------ - Fix: Reading (very) recently freed memory [CVE-2010-4168] (r21182) - Fix: Default service interval for ships/aircraft got switched [FS#4222] (r21155) - Fix: Size of sort buttons for save/load and build vehicle list gui could be too small [FS#4221] (r21151) - Fix: [Windows] Make sure to be upgraded openttd is not running when installing [FS#4212] (r21146) - Fix: [NewGRF] Crash when disabling static NewGRFs (when joining/starting a server) [FS#4208] (r21130, r21129, r21128) - Fix: Upper limit for snowline was too low [FS#4203] (r21078) - Fix: Wrong (maximum) value shown for generation seed in the in-game console [FS#4192] (r21075) - Fix: Under some circumstances the file handle of the downloaded savegame would not be closed, and validity of the handled was not checked in all cases (r21027) - Fix: [NewGRF] Crash when getting an industry ID at an offset that uses some 'old' style industry tile [FS#4157] (r20912) 1.0.5-RC1 (2010-10-31) ------------------------------------------------------------------------ - Change: Make OpenTTD aware of XZ/LZMA compressed savegames so loading those gives a proper error message (r21047) - Change: Make it possible to make .tar.xz bundles (r21042) - Fix: Missing default values for the custom town number in the world generation options (r21034) - Fix: Dropdown menu glitched in small screenshots, when issueing them from the menu (r21031) - Fix: Do not let the resize button go past the bottom of the screen [FS#4176] (r21015) - Fix: The detailed performance rating window could be too narrow [FS#4102] (r21010) - Fix: For the compact notation 1.000.000k and 1.000M would be shown depending on the initial (and later rounded) value. Make everything that would round to 1.000.000k be drawn as 1.000M as well (r21009) - Fix: Do not consider the text direction character when searching for missing glyphs (r21007) - Fix: Chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa [FS#3746] (r21006, r21004) - Fix: Size of sort buttons for order and vehicle list gui could be too small (r20997) - Fix: [NewGRF] The X and Y offsets in the parameter for industry vars 60, 61, 62, 63 are unsigned instead of signed (r20996) - Fix: When removing a rail station, do not leave track under non-station tiles (r20990) - Fix: [NewGRF] Ignore the variable for Action7/9 condition type 0x0D and 0x0E as documented (r20979) - Fix: Crash when, while the 'go to' cursor is active, you open the order list of a vehicle of another company and then select a 'go to' destination [FS#4159] (r20916) - Fix: Helicopters fired a bit too late [FS#4155] (r20910) - Fix: Road/water toolbars did not get updated when the first vehicle of their type becomes available [FS#4141] (r20856) - Fix: Smallmap legend buttons must all be equal in size, even if their contents is not (r20851) - Fix: Deadlock when aborting map generation on Windows [FS#3707] (r20822) - Fix: Be a bit more lenient with invalid savegames; do not crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted [FS#3714] (r20819) - Fix: Make the crash-on-saveload message clearer and more correct [FS#3791] (r20818) - Fix: [NewGRF] Clamp/convert some vehicle variables so NewGRFs get their specified range (r20800, r20799, r20792) - Fix: [NoAI] Document that AITile::HasTransportType does not work for TRANSPORT_AIR [FS#4117] (r20798) - Fix: [NewGRF] Disable houses without a size that are available according to their building flags (r20797) - Fix: [NewGRF] Make sure all houses in the house spec array are valid. It was possible that part of a multitile house was not copied because the array was full (r20796) - Fix: Building 2x2 houses did not work for 2x2 road layouts on all map sizes (r20791) - Fix: [NewGRF] Remove a check which is wrong for NewGRF houses and serves no use for original houses [FS#4118] (r20790) - Fix: Spelling mistake in Slovak real town names (r20787) - Fix: Do autosave-on-exit as well when using kill/CTRL-C to terminate a dedicated OpenTTD (r20783) - Fix: [NoAI] AIEventCompanyAskMerger was disguised as AIEventCompanyMerger (r20765) - Fix: [NewGRF] Assert when an industry previously build on water was flooded because its NewGRF changed/is missing [FS#4112] (r20754) - Fix: Do not use new game settings when creating many random towns/industries in the scenario editor [FS#4094] (r20712, r20711) - Fix: Graphics glitch when switching to a different-sized font while the chat message box was visible (r20705) - Fix: Vehicle lists of non-trains could not resize horizontally causing truncation of texts [FS#4123, FS#3955] (r20174) 1.0.4 (2010-09-14) ------------------------------------------------------------------------ - Change: Move removal of bin/data/opentt[dw].grf from distclean to maintainer-clean (r20752) - Fix: Recent NFORenum does not know '-?' (r20715) 1.0.4-RC1 (2010-08-30) ------------------------------------------------------------------------ - Change: Merge the extra GRF's sources and make it possible to rebuild them easily (r20490) - Fix: Empty NewGRF presets were not selectable [FS#4087] (r20694) - Fix: Desync checker checked the wrong variable (r20677) - Fix: Drawing the 'OpenTTD' text in the intro game caused crashes with very low resolutions [FS#4081] (r20618) - Fix: Crash when a NewGRF defined an invalid substitute type for a house and the NewGRF was removed during the game, disable houses with different size than their substitute [FS#3702] (r20611, r20610, r20609) - Fix: Retain information about all base sets that are found and not only the latest version to stop confusing people that use newer versions of the base sets than those available via BaNaNaS (r20607) - Fix: Let NewGRFs var43 var (information about liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not [FS#4063] (r20605) - Fix: 'Downscale' a full load order to a load if possible order when removing the order while the vehicle is loading. This to prevent the vehicle from (possibly) staying forever in the station [FS#4075] (r20600) - Fix: Crash when the tooltip is wider than the window is [FS#4066] (r20596) - Fix: No (proper) savegame conversion was done when _date_fract got a new value range (r20592) - Fix: Autoreplace failed while attaching non-replaced wagons to the new chain, if to-be-sold-engines would become front-engines and the unitnumber limit would be exceeded (r20583) - Fix: Autoreplace can trigger an assertion when at the vehicle limit [FS#4044] (r20582) - Fix: Go via station and go via waypoint behaved differently when a train went back to the same (unordered) station again [FS#4039] (r20580) - Fix: Draw bounding boxes using white instead of pure white, so they are recoloured to grey in coloured newspaper instead of blue [FS#4051] (r20578) - Fix: Scroll button flickering when pressed [FS#4043] (r20577) - Fix: Warn OpenGFX users when they are using a base set that misses sprites (r20566) - Fix: Wrong tooltip for the company select button in the AI debug and performance rating windows [FS#4053] (r20556, r20555) - Fix: In old savegames aircraft can have an invalid state (r20528) - Fix: Crash when the content download tried to get a MD5 checksum of an 'originally' loaded NewGRF [FS#4038] (r20519) - Fix: Draw error messages in white by default, they may not have a colour set when coming from a NewGRF (r20514) - Fix: Entering half the 'generation seeds' in the console's 'newgame' command failed to set the correct seed [FS#4036] (r20512) - Fix: Desync when vehicles change NewGRF properties such as visual effect when changing railtype [FS#3978] (r20505, r20504, r20503, r20502) - Fix: Desync when converting rail all as trains with a part on the converted rails need updating and not only the engines (r20500) - Fix: Ignore the non-stop state when comparing one order type to another order type, otherwise non-stop nearest depot orders fail [FS#4030] (r20498) - Fix: Non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join [FS#3960] (r20497) - Fix: [NoAI] checking whether water tiles are connected failed in some cases [FS#4031] (r20489) - Fix: Statues were not removed when towns would be removed (r20481) - Fix: Do not spend cash when building a statue fails [FS#3985] (r20469, r20227) - Fix: Adding 'goto nearest depot and stop' orders in one go was denied. This caused both AI adding those orders and backed up order restoration to fail [FS#4024] (r20441) - Fix: For docks 'facing' north, i.e. having the watery part a the northern side, the station joiner had an off-by-one to the north w.r.t. the station spread against the actual other (correct) building tools [FS#4022] (r20438) - Fix: Make snow on bridges depend on bridgeheight and make snowiness of bridgeheads depend on the tileheight at the entry [FS#3947] (r20424, r20423, r20422, r20421, r20420) - Fix: During world generation the snow-mapbits are not yet available, so test the snowline variable directly (as they were before) [FS#4017] (r20418) - Fix: PBS reservations were always displayed on halftile foundations if the railtype uses overlays [FS#4013] (r20408) - Fix: Make the default minimum width for editboxes 10 pixels to prevent crashes [FS#4010] (r20394) - Fix: Prevent buying more vehicles than allowed or buying companies when you'd get too many vehicles [FS#3993] (r20393, r20392, r20391, r20390) - Fix: Initialize fund-industry buttons when opening window (r20386) - Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger (r20384) - Fix: Stop vehicle following after zooming out [FS#3989] (r20361) - Fix: [NoAI] Ship depots were constructed along the wrong axis [FS#4004] (r20348) - Fix: Fallback font selection due to missing glyphs did not work as intended (r20296) - Fix: When it is known the loading an old savegame is going to fail, bail out immediately (using an exception) instead of going on until e.g. the expected number of byte is read (r20247) - Fix: The caption of the 'Available vehicle' lists was black, whereas for building those vehicles, which uses the exact same window, it was white (r20244) - Fix: [NoAI] Clarify the documentation for AIBaseStation::GetLocation (r20238) - Fix: Refit costs from refit orders are subtracted from the vehicle yearly income [FS#3988] (r20234) - Fix: Road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump [FS#3961] (r20230) - Fix: 'Service at nearest depot' behaved the same as 'Go to nearest depot' [FS#3986] (r20229) - Fix: Depot did not become unsnowy, when snowline rises [FS#3976] (r20224) - Fix: Strip non-printable characters before showing it in an edit box, so when renaming a vehicle type you will not get the 'SETX stuff' that some NewGRFs use [FS#3974] (r20220) - Fix: NewGRFs that defined a vehicle without either loaded or loading groups could crash OpenTTD [FS#3964] (r20199) - Fix: [NewGRF] GetNearbyTileInformation can be used to get the terrain type of a MP_VOID tile [FS#3963] (r20197) - Fix: [NewGRF] Vehicle var FE bit 6 did return incorrect values for new railtypes (r20175) - Fix: Inconsistencies w.r.t. to km/h vs km-ish/h as 'base' unit for aircraft speeds [FS#3870] (r20164) 1.0.3 (2010-08-01) ------------------------------------------------------------------------ - Fix: Make it possible to properly assess the length of the rail toolbar caption, do not require '{WHITE}' control codes (r20242) - Fix: Check for disallowed level crossings also when converting rail (r20237) - Fix: Haiku uses a 'special' location for headers (r20219) - Fix: Desync due to (temporary) wrong railtype; when loading a savegame the railtype of some (high ID) trains could be wrong [FS#3945] (r20137) 1.0.3-RC1 (2010-07-17) ------------------------------------------------------------------------ - Feature: [NewGRF] Textstack support for CB 38 (r20086) - Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype (r20049) - Change: Improve desync debugging, crash log data and the Debian packaging (by making a debug symbols package) (r20138, r20136, r20129) - Fix: Do not scan /data and ~/data (if they happen to be your working directory). If it is the directory where your binary is located it will still scan them [FS#3949] (r20166) - Fix: Integer comparison failed in case the difference was more than 'MAX_UINT'/2 [FS#3954] (r20162) - Fix: [YAPP] Converting a one-way block to a path signal with trains on both sides could lead to a train crash [FS#3937] (r20156) - Fix: [NewGRF] Improve handling of snowing of railtypes and (infra)structures on foundations [FS#3883] (r20153, r20132, r20126, r20125) - Fix: Ships were not marked as dirty when stopping inside a depot [FS#3880] (r20142) - Fix: Some windows ignored all hotkeys [FS#3902] (r20141, r20140, r20139) - Fix: Do not allow building a rail track to the water using a tree-tile [FS#3695] (r20110) - Fix: [NoAI] AITown::GetRating() returned wrong values [FS#3934] (r20103) - Fix: Reading deleted memory when selecting a NewGRF in the content download window of which the data has not been acquired from the content server. The crash would occur after the content server's reply was processed and the ContentInfo object was replaced with another [FS#3899] (r20089, r20082) - Fix: If after loading a savegame (including intro game) one tried to save a game (including autosave) and that failed (very) early on because it could not open the file for writing all pointers would be converted to NULLs which then causes corrupted game states [FS#3786, FS#3887, FS#3920, FS#3923] (r20087) - Fix: gitignore and hgignore had more missing/wrong entries (r20078, r20033, r20031) - Fix: Remove the space between 'open' and 'ttd' in the title screen (r20077) - Fix: Road vehicles could get crashed twice in a tick [FS#3896] (r20053, r20034) - Fix: Coloured_news_year was stored in savegames while it should be a client setting [FS#3916] (r20051) - Fix: Crash when spectator tried to open a vehicle list without selecting any company [FS#3892] (r20041) - Fix: Instead of loading the intro game when loading a savegame fails on the dedicated server, generate a new game [FS#3907] (r20039) - Fix: Tram tracks did not show at level crossing with the new railtypes [FS#3911] (r20036) - Fix: Under some circumstances you could get into an infinite loop [CVE-2010-2534] [FS#3909] (r20035) - Fix: The 64 bits TortoiseSVN was not always properly detected (r20029) - Fix: Do not close the sort dropdown in the (original) vehicle list when there are no vehicles. That code is meant for the 'actions' dropdown [FS#3881] (r20014) - Fix: When joining a company with a password you could only enter 20 characters of the password (r20012) - Fix: Sign sorting was unstable [FS#3893] (r20009) - Fix: Trains should also have running cost while slowing down for stop (r20006) - Fix: [NewGRF] Stringcodes 82, 83 and 84 were not properly converted to openttd codes so they did not work (r20004) - Fix: Clear force_proceed when entering depots and when loading, resetting of force_proceed on manual stopping did not work [FS#3878] (r19992) - Fix: Do not show an error message when trying to start/stop a crashed plane [FS#3874] (r19953) - Fix: Allow turning of roadvehicles while waiting in a queue (r19945) - Fix: Disallow moving of vehicle news window [FS#3865] (r19943) - Fix: Under some (unlucky) circumstances the wrong company would be 'current company' when changing company colour or orders [FS#3903] 1.0.2 (2010-06-19) ------------------------------------------------------------------------ - Fix: Owner of the Waypoint View window was not properly set (r19990) - Fix: Close list of vehicles with given oil rig in orders when the oil rig is deleted (r19956) - Fix: Close list of vehicles with given buoy/oil rig in orders when switching company (r19955) - Fix: Do not close list of waypoint's trains when the waypoint view is closed when it is sticky (r19952) - Fix: Close buoy's vehicle list when the buoy is deleted [FS#3869] (r19951) 1.0.2-RC1 (2010-06-05) ------------------------------------------------------------------------ - Feature: Translated desktop shortcut comments (r19884) - Change: Name invalid engines, cargos and industries 'invalid', if the player removed the supplying NewGRFs, hide invalid engines from the purchase list (r19879, r19877) - Fix: When 'pause on new game' is set, pause the game before CleanupGeneration() to avoid conflicts with concurrent GUI code [FS#3857] (r19934) - Fix: Pay for the rail/road when constructing tunnels, bridges, depots and stations [FS#3859, FS#3827] (r19925, r19887, r19881) - Fix: Closing chatbox could cause glitches when news message was shown [FS#3865] (r19921) - Fix: [YAPP] Inform the pathfinder as well about the fact that the backside of an one-way path signal can be a safe waiting point [FS#3803] (r19896) - Fix: Allow loading savegames from the console without specifying the '.sav' extension, i.e. make it consistent with saving savegames from the console [FS#3761] (r19885) - Fix: Dropdowns did affect positioning of new windows because they were not yet removed when the new windows were positioned [FS#3812] (r19883) - Fix: [NoAI] AIEngine::IsValidEngine() and AIEngine::IsBuildable() returned false positives. Especially wagons of unavailable railtypes were reported available (r19880) - Fix: Default vehicle group texts were drawn one pixel too low [FS#3851] (r19878) - Fix: It was not possible to send all trains with common waypoint order to depot (r19876) - Fix: Compilation for NetBSD [FS#3809, FS#3840, FS#3845] (r19874, r19859, r19853, r19781) - Fix: If the (guessed initial) destination tile of a road vehicle was not a road stop but was a T-junction or turn, the road vehicles would jump around in circles [FS#3817] (r19873) - Fix: When a network connection gets lost and a game with AIs was loaded the client might crash due to the AIs not being loaded while the game loop is executed [FS#3819] (r19869) - Fix: Use non-breaking spaces for currency pre-/postfixes (r19867) - Fix: Crash when changing/viewing locale settings in the console [FS#3830] (r19865, r19864, r19863, r19862) - Fix: Drawing fallback sprites for unavailable NewGRF waypoints failed (r19852) - Fix: Ensure that both texts of the NewGRF gui download button fit (r19823) - Fix: Kicking clients by IP did not work [FS#3784] (r19818) - Fix: Compilation with MinGW GCC 4.5.0 and UNICODE (r19787) - Fix: If a waypoint is immediately followed by a path signal a reservation would be made from that path signal before the waypoint is marked passed. As a result the order to go to the waypoint is used to reserve the path after the waypoint and as such trains get lost [FS#3770] (r19784) - Fix: NULL pointer deference when testing relative scope *action2 on an unbuilt engine [FS#3828] (r19782) - Fix: Crash on too long paths [FS#3807] (r19780, r19779, r19778, r19777, r19776) - Fix: MP_VOID tiles shall have no tropic zone [FS#3820] (r19769) - Fix: Half-desert tiles would never revert back to clear tiles (r19768) - Fix: Height in smallmap was different from measured heights [FS#3808] (r19767) - Fix: [NewGRF] Vehicle var 43 missed AI information in purchase list (r19761) - Fix: Blocked roadvehicles should first check whether they are still blocked before accelerating again, instead of continuous starting/stopping (r19755) - Fix: Try harder to find a suitable font that can be loaded, i.e. while searching for a suitable font test whether you can open it [FS#3740] (r19753) - Fix: Make sure the chat area fits in the default window size; if you want it larger, you can always change/override it in the config file [FS#3798] (r19751) - Fix: [NewGRF] Industry var 0x43 is not 'safe' during callbacks 22 and 38 either (r19750) - Fix: [NewGRF] Possible divide-by-zero if a NewGRF checked industry var 42 while the production level was 0 (r19749) - Fix: Do not recenter usually centered windows when resizing main window or changing language, if they have been moved/resized before [FS#3675] (r19746) - Fix: The GUI is controlled by _local_company, not _current_company (r19745) - Fix: NewGRFs could access map bits of not yet constructed industries and houses during construction callbacks (r19748, r19743) - Fix: [NewGRF] Passing some invalid data to industry variable 67/68 could cause a crash (r19713) - Fix: Check for industry availability more thoroughly and cancel object placement when selecting not available industries [FS#3787] (r19701) - Fix: Avoid showing building toolbars behind the main toolbar when the 'Link landscape toolbar' setting is active [FS#3781] (r19696) - Fix: Under some circumstances the player's name could be empty (r19693) - Fix: Do not show an error message when trying to give another client an amount of 0 money [FS#3779] (r19684) - Fix: Do not display an error message when double clicking on a vehicle in the 'available vehicles'-window (r19669) 1.0.1 (2010-05-01) ------------------------------------------------------------------------ - Fix: Crash when using restart via rcon (r19722) - Fix: Leaking a file descriptor [CVE-2010-0406] [FS#3785] (r19695) - Fix: Crash when the music/graphics metadata files were unreadable [FS#3774] (r19674) 1.0.1-RC2 (2010-04-22) ------------------------------------------------------------------------ - Fix: Desync when joining the game because of using the wrong variable (r19687) - Fix: Truncated archives were not detected when using zlib 1.2.3. This also fixes zlib 1.2.4 compatibility, zlib 1.2.5 is bugfree (r19686) - Fix: Towns with 3x3 and 2x2 road layouts could not expand (r19683) - Fix: When joining a MP game all clients with company ID > 0 would be shown as if they were a spectator [FS#3775] (r19680) - Fix: Client status was shown incorrect in the console (r19678) 1.0.1-RC1 (2010-04-17) ------------------------------------------------------------------------ - Feature: [NewGRF] Support for extended text code 0x9A 11, print qword (r19570) - Feature: Give more detailed error message when trying to build a too long bridge (r19561) - Feature: Add rail speed limit to land area information window (r19556, r19434) - Add: [NoAI] AIRail::GetMaxSpeed(RailType) to get the speed limit of railtypes (r19591) - Change: Sync Debian packaging updates from Debian, but keep building a single package (r19572) - Fix: Crash of a dedicated server if the null blitter is overridden and (after a while) there is no company 0 on new year anymore [FS#3749] (r19664) - Fix: In rare cases, update of signals could be missed (r19663) - Fix: Various improvements of command handling, missing error messages, improper validation causing crashes [CVE-2010-0402] [FS#3748] (r19658, r19657, r19656, r19655, r19654, r19637, r19633, r19621, r19616, r19605, r19604) - Fix: Industry generation failed for large maps and lots of industry types (r19652, r19643) - Fix: When a company is sold, move connected clients to spectators [FS#3745] (r19651) - Fix: A client would not be properly moved when moved while joining, e.g. when entering a company's password. This caused the client to be in the wrong company (according to the rest of the clients) and the client being kicked on the first command [FS#3760] (r19648) - Fix: Trains loaded above the original IDs did not have a default railtypelabel assigned to them, causing them to be unavailable. Could cause desyncs if the multiplayer game was not started from a savegame [FS#3768] (r19647) - Fix: Do not allow building cacti outside of the desert or rain forest trees outside of the rain forest area. This to prevent people from thinking planting rain forest trees makes the rain forest bigger and thus adds more place to build a lumber mill [FS#3728] (r19644, r19635, r19634) - Fix: Desync when taking over companies (r19636) - Fix: Chat message caused glitch when rejoining a network game [FS#3757] (r19629) - Fix: Desync when a command is received and in the queue while a client starts joining, i.e. save the game state. This can happen in two ways: with frame_freq > 1 a command received in a previous frame might not be executed yet or when a command is received in the same frame as the join but before the savegame is made. In both cases the joining client would not get all commands to get in-sync with the server (and the other clients) (r19620) - Fix: Company related graphs were not updated correctly after changing the company colour [FS#3763] (r19615) - Fix: Possible invalid read when server moves client to spectators before he finishes joining [FS#3755] (r19613) - Fix: Crash when opening a savegame with a waypoint from around 0.4.0 [FS#3756] (r19612) - Fix: Improve joining behaviour; kicking clients when entering passwords that was just cleared, 'connection lost' for people failing the password, access restriction circumvention [CVE-2010-0401] [FS#3754] (r19610, r19609, r19608, r19607, r19606) - Fix: Desync debugging; false positives in the cache validity checks and saving/loading the command stream (r19619, r19617, r19602, r19601, r19600, r19596, r19593, r19592, r19589, r19587, r19586) - Fix: Presence of online content was not properly updated after download due to duplicate slashes in the path (r19600) - Fix: [NewGRF] Setting industry prop 0x24 to 0 caused empty station names (r19590) - Fix: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft [FS#3744] (r19584) - Fix: Graphs were not properly updated when going toggling keys (i.e. companies) (r19574) - Fix: The timetable button was not automatically raised [FS#3739] (r19571) - Fix: [NewGRF] Possible buffer underflow in NewGRF string code (r19569) - Fix: [NewGRF] Do not return a random colour for unowned industries in var 45; TTDPatch does not seem to set the colour data in that case either and it could lead to desyncs (r19566) - Fix: Window::OnResize() was not always called while resizing a window causing incorrect windows [FS#3730] (r19563, r19558) - Fix: Bridge build error message should not show the same message twice (r19560, r19559) - Fix: [NewGRF] During NewGRF loading, store rail type labels in temporary data and process after loading has finished. This avoids deactivated rail vehicles being reactivated if the climate property is set after the rail type property (r19557, r19502) - Fix: Improperly scaled cargo payment graph when having lots of cargo (r19550, 19543) - Fix: [NewGRF] Properties set before property 08 (house, industry, industry tiles) should be ignored, not trigger the NewGRF to be disabled [FS#3725] (r19547) - Fix: Sorting industries by production was broken for NewGRF industries (r19538) - Fix: Vehicle details window did not resize correctly after refitting a road vehicle to a longer variant [FS#3720] (r19533) - Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water (r19523) - Fix: Tunnels, bridges and road stops are build with only one roadtype (r19506) - Fix: Remove same_industry_close setting did not do what it said and caused NewGRF trouble (r19499) - Fix: Keep number padding intact when cloning vehicle names [FS#3710] (r19498) - Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage (r19497) - Fix: Stop reducing the size of the vehicle list after selecting a vehicle with a long description (r19480) - Fix: Implement custom sound effect for helicopter take-off [FS#3668] (r19364) - Update: Plural type of Slovak (r19452) 1.0.0 (2010-04-01) ------------------------------------------------------------------------ - Fix: Network clients would crash while connecting to a server with AIs (r19526) - Fix: [NPF] Crash when finding a waypoint before finding the closest depot [FS#3703] (r19460) 1.0.0-RC3 (2010-03-18) ------------------------------------------------------------------------ - Feature: Append rail type speed limit (if set) to rail type selection list, and toolbar title (r19431) - Feature: [NewGRF] Smallmap colours for railtypes (r19307) - Change: Make the drive through and cargo list consistency checks only run when 'desync' debugging is enabled (r19403, r19398) - Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help (r19374) - Change: [NewGRF] Increase railtype cost range (r19306) - Fix: Mark industry windows dirty more often [FS#3701] (r19443) - Fix: Custom group names are misaligned with default ones when using rtl languages [FS#3700] (r19438) - Fix: With certain game settings one could clear tiles for free when building long roads (r19436) - Fix: When loading a savegame created with a house NewGRF without that NewGRF available all houses became tall office blocks (r19435) - Fix: Limit rail clearance earnings to 3/4s of rail build cost, to avoid money making loophole when rail build cost is less than rail removal earnings (r19433) - Fix: Crash when the error message 'owned by <town>' was shown [FS#3696] (r19432) - Fix: [NoAI] When the title game contains an AIPL block the AI settings where overwritten by those from the title game (r19429) - Fix: Gracefully handle the case where we cannot open a .tar file (r19427) - Fix: [YAPP] A train on a bridge/tunnel was not always found when checking for trains on a reserved path (r19425) - Fix: [NoAI] The AI Debug window did not open if an AI or library fails to compile when loading a savegame [FS#3669] (r19395) - Fix: One could not level the whole map anymore at once (r19392) - Fix: Only show the 'No AIs available' error message when explicitly changing the number of AI opponents [FS3676] (r19389) - Fix: [NoAI] When reloading a savegame, an AI failing to compile could trigger (trying) to read the not yet loaded information of another AI via the AI Debug window and its 'open with the most recently used AI' feature [FS#3666] (r19388) - Fix: Close all orders windows when switching companies [FS#3671] (r19387) - Fix: [IPv6] Netmask calculations were wrong if cidr >= 32 [FS#3684] (r19385) - Fix: Overbuilding bridges, rail stations did not properly update PBS reservation [FS#3680] (r19384, r19383) - Fix: [NoAI] List valuator could cause invalid iterators [FS#3665] (r19367) - Fix: Close error messages about missing ownership when the company closes or is taken over [FS#3663] (r19358, r19357) 1.0.0-RC2 (2010-03-04) ------------------------------------------------------------------------ - Feature: [YAPF] Consider the railtype imposed speed limit for pathfinding (r19301) - Feature: BaNaNaS support for music sets (r19262) - Feature: [NewGRF] Add 2 bits of pseudo-random data for rail types, based on tile location (r19235) - Feature: [Windows] Add OpenMSX to the installer (r19220, r19219) - Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11 (r19218) - Feature: Scroll to current order destination when ctrl+clicking the start/stop bar (r19216, r19215) - Feature: Concept of fallback base sets, i.e. do not automatically load the NoMusic/NoSound sets when there is another set; make NoSound part of base installations (r19214, r19213, r19212, r19211, r19206) - Feature: Support for genders for cargos, industries, vehicles, stations (r19180, r19179, r19178, r19177) - Change: Increase the default small font size for freetype fonts as 6 point fonts are usually unreadable [FS#3655] (r19308) - Change: [NewGRF] Railtype cost factor from byte to word value (r19306) - Change: Improve error message with track building when signals are in the way (r19190, r19189) - Change: Do not print the absolute path to AI script files in the AI debug window, use the relative path from /ai/ instead (r19166) - Change: The Debian packaging; bring it in sync with the packaging used at Debian excluding package splitting (r19162) - Fix: [Windows] Disable sound when a sound error happens instead of crashing [FS#3652] (r19304) - Fix: [NewGRF] Return the TTD airport type in station var 0xF1 (r19299) - Fix: [NewGRF] Segfault when station vars 0xF2/0xF3 is accessed when there is no truck/bus stop (r19298) - Fix: [NoAI] Some methods of AIAbstractList left invalid iterators [FS#3566] (r19293) - Fix: [YAPP] If reversing at path signals was disabled, a train would not reverse when hitting the back of an one-way signal (r19286) - Fix: [NewGRF] Ensure prices cannot be set to zero. Zero prices break a lot of the internal logic to determine whether something has been done [FS#3646] (r19277) - Fix: 'Cannot build <industry> here... <industry> in the way' showed the to-be-built industry twice, instead of the to-be-built industry and the industry that is in the way [FS#3618] (r19265) - Fix: Writing (console) output to a file failed on Windows if the date would not be logged [FS#3639] (r19252) - Fix: [NewGRF] Some GRF error messages did not free the previous error messages, creating a memory leak (r19251) - Fix: With RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash [FS#3643] (r19250) - Fix: Start and end tiles were swapped in CMD_REMOVE_LONG_ROAD causing too much road to be removed [FS#3642] (r19249) - Fix: DOS 'port' did not compile anymore (r19248) - Fix: The -M command line option did not work (r19233) - Fix: GetDestination() is invalid for nearest-depot orders (r19210) - Fix: Compilation was broken for gcc 3.3 (r19207) - Fix: The vehicle info in the autoreplace gui was drawn even when the window was shaded [FS#3634] (r19187) - Fix: When selecting 'build many industries' in the scenario editor the 'build' button was not enabled [FS#3632] (r19176) - Fix: Buoys are no Stations, only BaseStations (r19174) - Fix: Under some circumstances timidity (via extmidi) would not shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order (r19168) - Fix: Industry 0 could be choosen even if not available [FS#3631] (r19167) - Fix: Vehicle running costs should not be changed in a running game [FS#3629] (r19165) 1.0.0-RC1 (2010-02-18) ------------------------------------------------------------------------ - Feature: Allow to select different land colours for the smallmap (r19064) - Feature: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types (r19056) - Feature: Add zoom-out to smallmap (r19039) - Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop location of trains in a rail station (r19014) - Change: Move home directory to a better place in Haiku [FS#3625] (r19151) - Change: Do not load the 'new game' NewGRFs when you are certain the savegame would not have been saved with them, i.e. do not load the 'new game' NewGRFs for TTO savegames (r19044) - Fix: Invisible depots draw the track, so also draw the overlays (r19154) - Fix: [v]seprintf should return the number of added characters excluding '\0' on truncation [FS#3627] (r19149, r19148) - Fix: [YAPF] Look-ahead for multitile waypoints 'made up' data that should not go into the cache, causing desyncs in MP [FS#3619] (r19141) - Fix: Report a more useful error when failing to build a bubble generator (r19137) - Fix: Resize station cargo widget when needed to display all accepted cargo types [FS#3617] (r19123) - Fix: [NewGRF] Industry property 0x17 was interpreted incorrectly and in some cases circumvented the density difficulty setting (r19120) - Fix: Removing towns (in the scenario editor) that had stations/depots refer to them or vehicles were on the town's road could cause a crash [FS#3616] (r19119) - Fix: In the order window the Non-stop dropdown was not enabled for depot and waypoint orders and some buttons were raised too soon [FS#3593] (r19118, r19117) - Fix: Do not crash on broken lng file and prevent it from happening again [FS#3611] (r19113, r19112) - Fix: Not all news data was properly freed when starting a new game [FS#3614] (r19105) - Fix: The BeMidi driver was broken [FS#3610] (r19097) - Fix: Crash when one of the items in the news_display group in the config file has no value (r19096) - Fix: Crash when a base set has an empty metadata field (r19095) - Fix: Possible read/write after free when the client triggered the server to close the connection [FS#3599] (r19072) - Fix: Remove Bidi control characters from the reordered text so they are not drawn [FS#3604] (r19067) - Fix: [NewGRF] Settings that are part of the 'TTDPatch flags' can cause desyncs if they are changed in network games (r19066) - Fix: When banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated [FS#3598] (r19054) - Fix: Mass stopping/starting/autoreplacing gave empty errors when there were no vehicles [FS#3577] (r19024) - Fix: City airport introduction date had become 5 years later (r19023) - Fix: Loading old (0.1-ish) savegames failed (r19022) - Fix: Do not NULL the pointers when saving the savegame on an error during saving; the savegame is still valid, so do not make it invalid [FS#3570] (r19021) - Fix: When removing roads, the player was also charged for removing the foundations [FS#3591] (r19016) 1.0.0-beta4 (2010-02-04) ------------------------------------------------------------------------ - Feature: Content mirroring support (r18994) - Feature: Show empty query after creating new group (instead of 'Group nnn') (r18981) - Feature: [NewGRF] NewGRF-settable rail type properties, increase number of possible rail types, per rail type speed limits (r18970, r18969) - Feature: [NewGRF] Allow layering of multiple groundsprites in spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble (r18959) - Feature: [NoAI] Introduce GetBuildCost functions in several classes to get easier cost estimations before you start building (r18955) - Feature: [NoAI] Allow editing AI settings while an AI is running (r18953) - Feature: Make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting) [FS#2885] (r18943) - Feature: Add a setting to reduce/disable aircraft crashes [FS#2678] (r18942) - Feature: Make the crash position of aircraft a bit random by giving aircraft a chance to crash every tick they are breaking (r18940) - Change: [NoAI] Use the highest version of an AI that can load the AI data from a savegame instead of the exact same version [FS#3232] (r18944) - Fix: Off-by-one in the music playlist (song missing) [FS#3588] (r18997) - Fix: [NewGRF] industry var A5 (=high 8 bits of var A4) returned the high 8 bits of var A2. Same problem for 9B/9A/98 (r18988) - Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way (r18987) - Fix: Possible invalid memory access when merging companies [FS#3584] (r18978) - Fix: Estimating the cost of removing statues could clear the presence flag in the town (r18976) - Fix: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run [FS#3578] (r18974) - Fix: Train acceleration for original acceleration model was not updated if the train's power changed (r18971) - Fix: Make sure the values of settings loaded from a savegame are valid (r18950) - Fix: After clicking move up/move down in the NewGRF/AI the selected item could be out of range [FS#1510] (r18948, r18947) - Fix: It was possible to change AI settings without changing to the custom difficulty level by using the query text window (r18946) - Fix: Remove the loading indicators as soon as a train crashes [FS#3575] (r18941) - Fix: [NewGRF] Industrylayout's special water tile check did not properly check for crossing north border of map (r18938) - Fix: [NewGRF] Value of variables 90 and 91 were not what NARS expects [FS#3551] (r18935) - Fix: [Windows] In some rare case a deadlock could happen when stopping sound driver (r18934, r18913, r18892) - Fix: [NoAI] Autoreplace is also valid for the default group (r18930) - Fix: Preserve some timetable related vehicle flags during autorenew/-replace [FS#3568] (r18929) - Fix: AIOrder::GetOrderDestination could return a non-waypoint tile when the waypoint was a multitile waypoint [NoAI] (r18924) - Fix: On bankruptcy the company value did include the loan and as such the value at which you bought the company was too low [FS#3561] (r18908) - Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory (r18904) - Fix: [Windows] File locations for Windows were not documented correctly for all versions of Windows [FS#3562] (r18903) - Fix: Pressing cancel for the query windows of the world generation window caused the default to be set instead of no changes to the value [FS#3558] (r18896) - Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups (r18891) - Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code (r18884) - Fix: Aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal (r18880) - Fix: [NewGRF] Crash when a NewGRF used var62 in an industry tile chain when the industry tile was part of an original industry (r18878) 1.0.0-beta3 (2010-01-21) ------------------------------------------------------------------------ - Feature: Make building (long) roads work like building rail; build upon the first obstruction instead of failing totally [FS#3318] (r18803) - Feature: Allow user customisable compression levels for the zlib compression (r18772) - Feature: [NoAI] Rerandomise AIs on reloading (via the debug window) when they were randomly chosen [FS#3095] (r18763) - Feature: [NewGRF] Implement VarAction2Houses variables 66 and 67 (r18736) - Change: [SDL/Allegro] Make the number of samples/frequency runtime configurable (r18821, r18820) - Change: Be consistent with airport naming [FS#3493] (r18819) - Change: [NewGRF] Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15 (r18774) - Change: Replace MiniLZO with the real library (r18769) - Fix: Town noise population settings could not be changed in-game [FS#3532] (r18864) - Fix: Do not pass AI strings through iconv [FS#3544] (r18862) - Fix: Do not do screen redraw when the landscape contains broken slopes [FS#3540] (r18850) - Fix: Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker (r18841) - Fix: In some cases error messages were not properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different (r18801) - Fix: In some cases with invalid packets one can crash OpenTTD (r18800) - Fix: [SDL] Possible deadlock when killing OpenTTD while starting it [FS#3521] (r18796) - Fix: When copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back [FS#3504] (r18791) - Fix: Viewport could jump under high CPU load [FS#3515] (r18790) - Fix: Crash when getting the tooltip of the industry amount in the world generation window [FS#3516] (r18787) - Fix: [NoAI] NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead [FS#3507] (r18786) - Fix: [NoAI] AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase (r18781) - Fix: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them [FS#3483] (r18778) - Fix: Assertions because the unloading and signal wait counter got into eachother's way [FS#3422] (r18764) - Fix: [NewGRF] Spritelayouts do not need an Action 1 if only using default sprites [FS#3497] (r18761) - Fix: [NewGRF] Action 9 did not properly detect whether an Action 8 was encountered already [FS#3500] (r18760) - Fix: [NewGRF] Do not segfault when a NewGRF contains an Action 2 and Action 3 but no Action 0 (r18759) - Fix: [NewGRF] CircularTileSearch skipped a few tiles close to the starting tile, as a result some NewGRF houses could be placed too close together [FS#3495] (r18755) - Fix: The cargo payment button states were not properly set on opening the window [FS#3492] (r18750) - Fix: [NoAI] The AI's name and version in the debug panel was not properly centered [FS#3491] (r18749) - Fix: Clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing [FS#3489] (r18746) - Fix: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast [FS#3487] (r18744) - Fix: [NewGRF] House prop 1D was trashed when a NewGRF contains prop 14 after prop 1D (r18742) - Fix: Building trees on snow with rocks underneed caused an assert [FS#3501] (r18739) - Fix: When a tree died while there was snow the amount of snow on the tile changed (r18738) - Fix: [NewGRF] VarAction2Station variable 67 was not swapped properly for orientation (r18737) 1.0.0-beta2 (2010-01-05) ------------------------------------------------------------------------ - Feature: Do not delete the rough/rocky status of a tile when it is covered by snow, this allows rocky tiles under snow if you have a variable snowline (r18719) - Feature: [NewGRF] Add support for custom station foundation graphics (r18708) - Feature: Allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without 'losses' (r18703) - Feature: Configurable slope steepness for trains from 0% to 10%, default is 3% as before [FS#3459] (r18674) - Feature: Allow contour-map to be shown with coloured industries in smallmap [FS#567] (r18665) - Add: [NoAI] AIEngine::IsBuildable to check if you can build a certain engine (r18687) - Change: [NoAI] Merge buoy and waypoint functions (r18725) - Change: [NoAI] AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you cannot build it anymore (r18687) - Change: Update Squirrel from 2.2.3 to 2.2.4 (r18639) - Fix: New viewports did not center on the correct position [FS#3414] (r18730) - Fix: The lock in the company window was only drawn for your own company [FS#3427] (r18729) - Fix: Some invalid gender/plural indices in strings, which could eventually cause crashes [FS#3480] (r18727) - Fix: With non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo) [FS#3463] (r18726) - Fix: Refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs [FS#3475] (r18724) - Fix: The join station window did not account for scrolling, so if you did scroll the station was not joined with the selected station [FS#3476] (r18713) - Fix: The wrong town is mentioned in the error when trying to make one way roads of town owned roads [FS#3478] (r18710) - Fix: Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations did not check it. Initial startup and window resize could therefore lead to crash [FS#3464] (r18709) - Fix: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences [FS#3467] (r18702) - Fix: When deleting an industry on water (oil rigs) the tiles on water were not marked dirty (r18700) - Fix: [NewGRF] GRF parameters were not properly initialised to zero, and not always checked for valid range (r18699) - Fix: Crash when scrolling to an item removed by filtering in the 'add NewGRF window' [FS#3471] (r18697) - Fix: [NoAI] AITile::IsCoastTile returned false for coast tiles with trees on them [FS#3404] (r18696) - Fix: After a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone (r18692) - Fix: Some keys that open windows that want to be located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens [FS#3469] (r18690) - Fix: In some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table [FS#3470] (r18686) - Fix: [NewGRF] Tile area of waypoints was not correctly given to NewGRFs in case of multi tile waypoints (r18679) - Fix: [NewGRF] If an action B did not have a 'data' string but would print it OpenTTD would segfault [FS#3452] (r18671) - Fix: Update all tiles when snowline height changes in larger steps than one tile [FS#3455] (r18670) - Fix: [NoAI] Crash when trying to get the order destination of a 'nearest depot' order [FS#3454] (r18667) - Fix: Aircraft on the metropolitan airport took a long route to the closest loading pad [FS#3169] (r18661) - Fix: [NewGRF] Wrong strings drawn for cargo subtype in vehicle details [FS#3443] (r18658) - Fix: When trying to attach a wagon to an existing free wagon chain, do not attach it to itself [FS#3442] (r18653) - Fix: [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead [FS#3438] (r18651) - Fix: [YAPP] Treat the backside of an one-way path signals as a safe waiting point [FS#3430] (r18648) - Fix: [YAPP] A train inside a station was not always found when checking for trains on a reserved path (r18647) - Fix: [YAPP] Do not extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal [FS#3418] (r18646) - Fix: Company league window was too narrow [FS#3434] (r18644) - Fix: Rotation could not be changed for heightmaps [FS#3436] (r18643) - Fix: When a company goes bankrupt and has vehicles on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted [FS#3432] (r18642) - Fix: Downloading music sets would fail (r18638) - Fix: Crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame [FS#3421] (r18634) - Fix: When making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message and the console command would be shown twice [FS#3419] (r18631, r18630) - Fix: (un)loading counter being reset while loading a train and changing the (path) signal setup around the station [FS#3422] (r18628) - Fix: {CARGO} takes 2 parameters, not 1. This made {N:XYZ} commands after CARGO mess up their indices and that then triggered an assertion [FS#3425] (r18626) 1.0.0-beta1 (2009-12-24) ------------------------------------------------------------------------ - Feature: Music replacement sets, like graphics and sound replacement sets (r18608) - Feature: Add shading and unshading of windows [FS#2943] (r18588) - Feature: Initially select the last joined server when going to the server list [FS#3311] (r18578) - Feature: Additional map variety option for TGP landscape generator (r18541) - Feature: Add the possibility to not make new tree tiles in-game (r18522) - Feature: Moving of AIs in the AI configuration window [FS#3359] (r18516) - Feature: Make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties (r18481) - Feature: [Strgen] Allow G and P to 'select' substrings of STRINGn for getting their gender (r18444) - Feature: Make penalty for road stop occupancy user configurable (r18404) - Feature: Fully scalable, by font size and content, GUI and improved right-to-left language support [FS#1905] (r15800-r18350) - Feature: Set the start time of a timetable (r18294) - Feature: Show the expected arrival/departure dates in the timetable window (r18285) - Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns (r18283) - Feature: Founding towns in-game (r18281) - Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself (r18268) - Feature: [NewGRF] CB 36 for roadvehicle property 09 'running cost factor' (r18011) - Feature: Non-automatic screenshot name can be entered in console (r17938) - Feature: Make it possible to disable background saving, only via the config file/in game console though [FS#2633] (r17893) - Feature: Automatically select the railtype with the most engines for the autoreplace window/try to avoid showing an empty autoreplace list [FS#1760] (r17892) - Feature: Show maximum tractive effort in the 'exclusive test'/'early offer'/'engine preview' window [FS#1619] (r17891) - Feature: Double clicking on a NewGRF opens the parameters window (r17890) - Feature: Double click on a item in the refit list refits without the need to click on the refit button (r17889) - Feature: [NewGRF] Textstack support for CB 37 [FS#1862] (r17802) - Feature: [OSX] Implement automatic fallback font selection for OSX (r17794) - Feature: Translatable base sound/graphics set descriptions (r17790) - Feature: Show the nickname of the person you are PMing [FS#3116] (r17741) - Feature: [OSX] Add a MIDI driver using Cocoa/CoreAudio [FS#3223] (r17710) - Feature: [OSX] Implement clipboard support for OS X [FS#2053] (r17708) - Feature: Possibility to choose (randomise or enter custom) town name before its creation (r17612) - Feature: [NewGRF] Callbacks for houses to disable drawing foundations and to disable slope changes, like industry tile callbacks 30 and 3C (r17558) - Feature: [NewGRF] Implement callback 145 (custom station rating) (r17547) - Feature: Filtering in Add-NewGRF dialog (r17541) - Feature: Add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off' [FS#2339] (r17488) - Feature: Reconnect console command (r17466) - Feature: Allow building rail stations over existing rail without signals but will upgrade normal rail to electrified rail if necessary (r17460) - Feature: Crash logger for all Unixy OSes in a similar way as the Windows crash logger (r17453) - Feature: Open the 'Rename group' dialog after creating new group (r17281) - Feature: [NoAI] Older API compatibility wrappers, so one can get the 0.7 API in later versions while keeping the real API clean (r17214) - Feature: The Windows installer can now optionnaly download OpenGFX and OpenSFX (r17191) - Feature: Sort vehicle lists on (timetable) delay [FS#2945] (r17182) - Feature: Localised decimal separator (r17157) - Feature: Improved the sample rate conversion a bit (r17146) - Feature: Allow higher sample rate and higher quality samples (r17140) - Feature: Sound replacement sets, like graphics replacement sets (r17139) - Feature: Multi tile waypoints (r17002, r17000, r16993) - Feature: [NewGRF] Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables (r16867) - Feature: Highlight whole articulated vehicles in traindepot instead of only the first part (r16818) - Feature: Ability to enter server and company password via command line when joining a server [FS#570] (r16555) - Feature: Give the town generator a slight tendency to build towns near water by not discarding watery random tiles but by searching for near land [FS#2635] (r16147) - Feature: Configurable digit group separator per language with user override (r16129) - Feature: Make the first 4 rail building tools behave more like autorail (r16095) - Feature: Allow sorting stations by the lowest cargo rating instead of only by the highest cargo rating [FS#597] (r16045) - Feature: Allow filtering of vehicle purchase lists by cargo [FS#1941] (r16042) - Feature: Allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station (r16037) - Feature: Listen on multiple IPs/sockets and register all IPs to the master server (r16014, r15975, r15973, r15971) - Feature: Full IPv6 support (r16000) - Feature: Allow train vehicles to be shorten to 1/8 length, even if not at the end of the train (r15793) - Add: [NoAI] AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest depot orders (r18518) - Add: [NoAI] Enable the squirrel standard math library (r17498) - Add: [NoAI] A vehicle list for all vehicle that are ordered to a specific depot (r17486) - Add: [NoAI] AISubsidy::SubsidyParticipantType, AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management (r17115) - Change: Forbid industries to clear sea/river when leveling land (r18554) - Change: Make it visible when you are to pass the next signal on danger and possible to cancel it (r18515) - Change: Move the 'check online content' button from the AI list window to the AI configuration window. This makes it consistent with the NewGRF windows [FS#3340] (r18507) - Change: Use zł instead of zl for the Polish Zloty [FS#565] (r18434) - Change: Show different texts in town GUI when the town does not need food the whole year to grow (r18433) - Change: Make road vehicles behave more like trains 'around' stations and use pathfinder penalties to determine to which 'part' to go (r18382) - Change: Do not split up articulated vehicles in the train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too [FS#2923] (r18344) - Change: Make pause on join pause during the whole joining (including download) phase [FS#3287] (r18054) - Change: Prefer extmidi over allegro midi and allegro over null driver [FS#3272] (r17875) - Change: Several improvements to the performance of CargoPackets/CargoLists; time spent in those functions reduces by 55-85% (r17840, r17836, r17818, r17814, r17812, r17801, r17736, r17735, r17733, r17731, r17730) - Change: [SDL] Make 'update the video card'-process asynchronious. Improvements of 2%-25% (real time) during fast forward on dual core/hyperthreading-enabled CPUs (r17776) - Change: [NoAI] Make AIEngine:CanRefitCargo() not report refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API (r17719) - Change: [OSX] Do not use deprecated methods/undocumented functions [FS#1411] (r17712, r17711) - Change: Make SDL's video driver more likely to be loaded than Allegro's video driver; SDL seems to perform better (r17583) - Change: Do not assume that there is always 'another' industry tile after two '0x18' industry tiles (r17521) - Change: Make the performance ratings harder to exploit; only count profitable vehicles and recently serviced stations [FS2459] (r17485) - Change: When removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two (r17471) - Change: Show the client id in join messages at the server (r17467) - Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart (r17433) - Change: Make a distinction between missing and corrupted data files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files (r17241) - Change: Update MiniLZO to 2.0.3 (r17215) - Change: Update Squirrel to 2.2.3 (r17195) - Change: Remove UNICODE notice in windows installer (r17186) - Change: Apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source [FS#265,FS#2094,FS#2589] (r17113) - Change: Subsidies are not bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost [FS#1134] (r17113) - Change: [NoAI] Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation (r17011) - Fix: Conditional orders were seen as 'valid' and as such aircraft with only conditional orders did not crash (r18615) - Fix: Pressing default for the starting year/snow line height edit boxes of the world generation windows did not work [FS#3398] (r18586) - Fix: [OSX] Try to get a generic RGB colour space if getting the system colour profile failed [FS#3198] (r18573) - Fix: [NewGRF] House property 15 did not work [FS#2613] (r18567) - Fix: Do not try to overtake a vehicle in a road station as overtaking in a station is not allowed [FS#3390] (r18561) - Fix: Make aircraft behave the same on autoreplace/autorenew as other vehicle types (r18553) - Fix: First do the time-since-last-service check and only then determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout. Also check some minimal requirements (engine availability, refittability) and a heuristic for the needed money when sending vehicles for autoreplace [FS#1762] (r18551, r18549) - Fix: Do not account for path reservation costs when entering a signal block via a 'block' signal. This way you will not get double penalties, both red signals and reservation costs, for the block signalled tracks [FS#2722] (r18535) - Fix: [NewGRF] An industry NewGRF that defined a too small size for action0 prop 0A could cause a crash (r18527) - Fix: Allegro does not like to work with extmidi, so warn the user about that [FS#3272] (r18520) - Fix: When you pass a signal at danger, in a PBS controlled area, do not try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually [FS#2891] (r18515) - Fix: No error message was created for the first fatal NewGRF error [FS#3368] (r18506) - Fix: Improve airport movement on several airports [FS#3169] (r18505) - Fix: Autoreplace and autorenew always reset their cargo sub type to 0. Now find a sub cargo type with the exact same name and use that, otherwise fallback to 0. So cargo sub types can be maintained via autoreplace *if* the new vehicle supports the same cargo sub type [FS#3159] (r18499) - Fix: Cloning of vehicles could create vehicles with invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0 [FS#2616] (r18498) - Fix: [NewGRF] Direction is accounted for long before motion counter is updated (r18479) - Fix: Moving vehicles around/selling vehicle in the train depot could create states that are not allowed by the NewGRF attach callback [FS#3146] (r18472, r18470) - Fix: Unselect an AI in the AI Settings window when it falls out of the range of active AIs [FS#3357] (r18436) - Fix: Road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty [FS#1944] (r18404) - Fix: Long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it [FS#1495] (r18404) - Fix: The tree 'which one to draw' hash was not anywhere near random and thus showed a very visible repeated pattern when only one tree type was used [FS#3343] (r18398) - Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return -1, if the industry is neither buildable nor prospectable (r18276) - Fix: Use free type ascender/descender metrics to position font offset correctly (r18096) - Fix: Make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state does not change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are (r18052) - Fix: [NoAI] Improve behaviour of (AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles (r17898) - Fix: [NewGRF] CB15 and CB36 (capacity) were not always called when they should [FS#3255] (r17897) - Fix: Invalidate cache of vehicle vars 40-43 after testruns of certain commands, that change them temporarily (r17894) - Fix: [OSX] The splash image was not displayed if the Quartz video driver was used (r17793) - Fix: Do not let aircraft drive a while over the grass when landing at high altitude airports [FS#3259] (r17762 - Fix: Make the -c <config file> location relative to the current directory instead of the directory of the binary [FS#3247] (r17686) - Fix: Some semaphore signals fell outside of the signal GUI. Now the signals are properly centered which should make that problem go away [FS#3242] (r17657) - Fix: Some inconsistencies with the difficulty settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor [FS#3219] (r17644) - Fix: Do not accept cargo produced in the same industry; generalise and improve the check used only for valuables (r17437) - Fix: Pay only for cargo actually delivered, not for all cargo unloaded at station; can differ with 'stockpiling' industries (r17436) - Fix: Improve movement of aircraft; do not make turns bigger than 45 degrees while in flight, do not move while turning on the ground (r17415, r17405) - Fix: Crash in order GUI when changing some orders with both the mouse and keyboard at the exact same time [FS#2859] (r17384) - Fix: Trains would not show smoke if the load/unload counter was not 0, though there does not seem to be a reason to check that variable anyhow anymore [FS#3162] (r17352) - Fix: One was not offered to take over bankrupt companies anymore; caused by the introduction NoAI, although NewAI had the same problem too [FS#2769] (r17345) - Fix: Minor improvements of the airport state machines (r17338, r17337, r17334) - Fix: Road vehicles forgetting their servicing order when the path takes them away (in bird distance) from their destination first [FS#3057] (r17333) - Fix: Mention of Ctrl modifier was missing from some tooltips [FS#3120] (r17300, r17297) - Fix: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them [FS#3048] (r17147) - Fix: Inconsistency between signs of stations and waypoints [FS#3081] (r17040) - Fix: NewGRF stations would be triggering assertions for waypoints all over the place when using the more advanced station types [FS#2996] (r16909) - Fix: Skipping a 'nearest depot order' because none could be found could cause multiple orders to get skipped [FS#2925] (r16457) - Fix: Makedepend cannot handle the amount of files we have and it also miss some dependencies. So use our custom implementation of makedepend (r16307) - Fix: Autopause and manual pausing conflict with eachother, new game + pause on new game + autopause make the game not unpause on the first join [FS#2864] (r16242) - Remove: [NoAI] AIVehicle::SkipToVehicleOrder as it was a duplicate of AIOrder.SkipToOrder (r18504) - Remove: OPF for RVs and NTP for trains; both the oldest path finders (r18362) - Remove: Support for gcc2. It has not been able to compile OpenTTD for months. All attempts to do another workaround failed (r16492) 0.7.5 (2009-12-23) ------------------------------------------------------------------------ (None) 0.7.5-RC1 (2009-12-14) ------------------------------------------------------------------------ - Add: Some missing latin-ish characters from the OpenGFX set (r18431) - Change: Recolour the bubble generator just like any other industry [FS#3349] (r18409) - Fix: Read after free in case no network connection could be made with the content server (r18493) - Fix: [NewGRF] Initialisation of cargo payment was broken for NewGRF cargos [FS#3344] (r18475) - Fix: [NoAI] AIOrder::SkipToOrder did not properly resolve ORDER_CURRENT (r18471) - Fix: When moving a wagon and only the last part of a dual headed engine you could split the dual headed engine over two vehicles. This could be used to crash servers [CVE-2009-4007] (r18462) - Fix: [Windows] Forgot to load the symbol from SDL.dll (r18439) - Fix: Do not run the 'jam protection' for vehicles in a depot [FS#3360] (r18428) - Fix: [Windows] The help window would be too large in some cases [FS#3327] (r18424) - Fix: Under some circumstances a pointer could be left untouched and then freed. Make sure this does not happen by ensuring it starts out as NULL instead of 'garbage' [FS#3298] (r18418) - Fix: On slopes the original and better road layouts did not check their minimum distance requirements [FS#3332] (r18415) - Fix: Aqueducts were not influenced by the 'long bridges' setting [FS#3338] (r18407) - Fix: Drive through road stops did not get flooded (r18401) - Fix: [YAPP] Trains on bridges were not found, when searching for the origin of a reservation [FS#3345] (r18392) - Fix: (Invalid) GRFs could trigger invalid reads (r18391) - Fix: One could not share orders between buses carrying different cargos (r18380) - Fix: Off-by-one in the preconfigured music lists [FS#3339] (r18369) 0.7.4 (2009-12-01) ------------------------------------------------------------------------ - Fix: Endianness issue with saving the zoom level [FS#3333] (r18351) - Fix: [NewGRF] When starting a new game the values of action D variable 13 were incorrect [FS#3324] (r18207) 0.7.4-RC1 (2009-11-15) ------------------------------------------------------------------------ - Change: Prefer extmidi over allegro midi and allegro over null driver [FS#3272] (r17875) - Change: [NewGRF] Apply default refitmasks only when the NewGRF did not set any of the three refittability properties (xor mask, positive classes, negative classes) (r17663) - Fix: Crash when an articulated RV is turning on a drive through road station that gets forcefully (bankrupt) removed [FS#3310] (r18049) - Fix: GCC 4.5 compiling (r18045) - Fix: AIs failed to load their data from savegames by crashing them when they tried [FS#3290] (r18038) - Fix: Screen jumped a bit for at least SDL and Allegro when right-click-dragging (r18030) - Fix: [NewGRF] Improve parsing of RIFF data. Skip unknown chunks and check chunk sizes (r17999) - Fix: When you start giving money (input window for amount), then get moved to spectators and you click 'Ok' a crash would occur (r17953) - Fix: Use 24bpp BMP format instead of 32bpp for screenshots. Saves space and is supported by more image viewers (r17943) - Fix: Close BMP file when making screenshot fails (r17941) - Fix: Deadlock when trying to create screenshot with too long name (including path) (r17936) - Fix: Crash when closing NewGRF parameter window with no NewGRF selected [FS#3291] (r17922) - Fix: 32bpp BMP screenshots were in wrong colours on big endian machines and broken when screen width was not a multiple of 4 (r17910, r17909) - Fix: Uninitialised values in some paths of loading TTO savegames [FS#3288] (r17908) - Fix: Make the plane speed setting unchangeable in network games because it can be read by NewGRFs on game load and thus if it changes cause desyncs (r17902) - Fix: [NewGRF] 'subtract-in' is also signed for production callback version 0 (r17857) - Fix: [NewGRF] _date_fract runs from 0 to 73 since r2041. Variable 0x09 should not (r17824) - Fix: Do not fail hard when no soundcard could be detected; just fall back on the null-driver [FS#3268] (r17788) - Fix: CJK languages do not have spaces, so for adding newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string [FS#3264] (r17772) - Fix: Powernaut Helicopter got wrong 'load amount' (r17758) - Fix: [NewGRF] 'last_value' and 'reseed' are shared between procedure and main chain, 'scope' and 'count' are not (r17672) - Fix: Count only active clients (not those waiting for map download) when checking min_active_clients limit (r16506) 0.7.3 (2009-10-01) ------------------------------------------------------------------------ - Fix: [NewGRF] Crash when trying to build an industry that has no industry layout defined [FS#3233] (r17638, r17633) 0.7.3-RC2 (2009-09-24) ------------------------------------------------------------------------ - Update: Documentation about bug reporting and known bugs (r17554) - Fix: When a command did not fail in test run and failed in execution run, error message was not set. Affects only few commands (r17607) - Fix: [NewGRF] Crash when defining the same tile in a tile layout twice [FS#3218] (r17605) - Fix: Vehicle image was not always updated when needed (r17594) - Fix: [NoAI] Could not query the size of small airports when they could not be build anymore [FS#3212] (r17591) - Fix: Erroneous message about changing the difficulty level [FS#3220] (r17588) - Fix: Assertion triggered when the second vehicle in a 101+ (or 11+ if mammoth trains is disabled) vehicle free wagon chain is an engine and the first vehicle is moved to another chain [FS#3208] (r17576) - Fix: [NewGRF] Memory leak when viewing the NewGRF settings of a server (r17563) - Fix: [NewGRF] The NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data [FS#2972] (r17562) - Fix: [NewGRF] Close the 'Add NewGRF' window when you close the 'NewGRF Settings' window. The add window has a pointer to the settings which means that not deleting it would cause dereferencing an already freed pointer [FS#3206] (r17559) - Fix: Vehicles waiting for their time table did not load anymore after their initial load was completed [FS#3201] (r17551) - Fix: Aircraft were given an unfair advantage in station rating calculations (r17550) - Fix: [NewGRF] Sign extending of profit calculation did not work (r17546) - Fix: [NoAI] AIs had 'infinite' time when running code from the global scope [FS#3202] (r17545) - Fix: [NoAI] Crash when doing commands in the 'global' scope [FS#3202] (r17544) 0.7.3-RC1 (2009-09-13) ------------------------------------------------------------------------ - Add: [NoAI] AITown::GetLastMonthTransportedPercentage and AIIndustry::GetLastMonthTransportedPercentage (r17294) - Add: [NoAI] AICompany::Get/Set PresidentGender (r17016) - Add: [NoAI] AIEngine::GetDesignDate (r17014) - Add: [NoAI] AIStation::GetConstructionDate (r17012) - Add: [NoAI] AIAbstractList::SORT_ASCENDING/SORT_DESCENDING (r17005) - Change: [NoAI] AITown::GetLastMonthProduction now returns the same value as AITown::GetMaxProduction (r17293) - Change: Mention the MD5 checksum of the original NewGRF in the 'saveload failed horribly'-error message and make it more clear that the filename is of the current NewGRF [FS#3139] (r17267) - Change: Make overbuilding the front tile of a road station/depot with road consistent with overbuilding the front tile of tunnels/bridges [FS#2802] (r17239) - Change: Improve error output on missing or corrupt files (r17238) - Change: [Unix] Only use colourized error output on interactive terminals (r17227) - Change: [NoAI] Crash an AI when it uses a DoCommand/Sleep instead of just printing an error message in the AI Debug Window [FS#2980] (r17223) - Change: [NoAI] When the API requests a string as parameter allow every squirrel type and convert to a string [FS#3101] (r17221) - Change: Make strgen warn if the translation uses STRINGn or RAW_STRING instead of STRING (r17137, r17129) - Change: [NoAI] Load the API before compiling an AI script so AIs can subclass API classes and use API constants as part of their own constants (r17043) - Change: Add notion of Ctrl+Click in the tooltip for Loan borrow/repay buttons [FS#3066] (r16979) - Change: [MSVC] Make all language files depend on english.txt (r16975) - Change: There is no point in not randomising engine introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine (r16929) - Fix: [Squirrel] In some cases the call stack would not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes [FS#3189] (r17515) - Fix: When loading GRFConfigs from ini file, validate them wrt. duplicate GRF IDs [FS#3197] (r17510) - Fix: When building a part fails during cloning, sell what was already cloned instead of leaving it 'for free'. Also make cloning multiheaded trains possible with with 'max - 1' vehicles existing [FS#3196] (r17509) - Fix: [NoAI] The wrong value was restored to SetAllowDoCommand possible resulting in an AI that was not allowed to do any actions (r17500) - Fix: Road vehicles could get lost when the prelimiary destination (for the pathfinder heuristics) is unreachable [FS#3188] (r17491) - Fix: When building roads is not allowed for town, then do not build the initial piece either [FS#3173] (r17444) - Fix: Destruction of depots did not remove any vehicle lists related to the depot, causing windows pointing to deleted depots and (thus) crashes [FS#3180] (r17442) - Fix: Economy recession would never end when economy is set to Steady while in recession (r17426) - Fix: The index of orders loaded from old savegames was owerwritten with an unitialized value (r17419) - Fix: Incomplete check on validity of industry type when building industries (r17413) - Fix: [Squirrel] Guard against Squirrel stack overflows (r17403) - Fix: [NoAI] During every save a few slots on the Squirrel stack were leaked (r17402) - Fix: [NoAI] Several AITile::* functions did not check whether their parameters were valid (r17378) - Fix: Memory leak when trying to bankrupt the local company, other minor improvements of bankruptcy (r17342, r17341, r17340) - Fix: Not all non-ASCII characters were entered with escapes in the About window (r17309) - Fix: [NoAI] AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings (r17307) - Fix: [NoAI] Reloading an AI started a new AI in the first available company slot causing other AIs to be started [FS#3153] (r17298) - Fix: [NoAI] AITown::GetLastMonthTransported did not work as documented at all, make it return what AITown::GetLastMonthProduction did (r17293) - Fix: Crash after upgrading base graphics set when opening the game options menu and you were using the upgraded set [FS#3147] (r17291) - Fix: [Squirrel] Stack was not always cleared properly with tail recursion (r17284) - Fix: [Squirrel] Calling a function that has default parameters with not enough parameters can cause a crash (r17273) - Fix: Other tunnel end not shown if building rail tunnels and the first railtype is not available yet [FS#3141] (r17251) - Fix: [NoAI] AIs that crashed during Save() were not killed as they should [FS#3134] (r17231) - Fix: [NoAI] Do not assert when an AI uses AI*Mode objects incorrectly but crash the AI instead (r17230) - Fix: Remove the (deprecated since 2006) Encoding entry from the openttd.desktop file (r17226) - Fix: With time tables vehicles would stay in the 'loading' state after they have finished loading [FS#3129, FS#3130] (r17222) - Fix: Do not ignore white space changes (e.g. alignment fixes) in the exporter (r17220) - Fix: [NoAI] IsRoadTypeAvailable(GetCurrentRoadType()) was not a precondition for several AIRoad::* functions (r17203) - Fix: [NoAI] Do not say you are building a depot when you are actually building a station (API docs typo) (r17201) - Fix: Accept monthly production values in the scenario editor [FS#2406] (r17198) - Fix: [Squirrel] FPE when an AI tried to do '% 0' (r17195) - Fix: [NoAI] Guard the valuator against 'external' modifications of the valuated list which could cause it to go into an infinite loop [FS#3124] (r17193) - Fix: Do not return exit value of rm, but of the actual configure run (r17163) - Fix: A stuck train could free the reservation of another train if it was reversed or did crash (r17152) - Fix: A train entering a PBS section through a block signal could cause a train crash if another reservation ending at a safe tile was already present in the section [FS#3104] (r17151) - Fix: Update vehicle position cache when the vehicle sprite changes [FS#3060] (r17121) - Fix: Mark industry tiles dirty when trigger are triggered (r17118) - Fix: Squirrel_export.sh failed for some locales (r17109) - Fix: Make restart command work again and make the help show how it works and how it does not work [FS#3092] (r17097) - Fix: News message about ordered refits failing was not very clear [FS#3091] (r17096) - Fix: Crash when renaming some stations [FS#3082] (r17078) - Fix: RPM spec file failed for CentOS; apparantly their rpmbuild is pickier or so [FS#3024] (r17077) - Fix: [NewGRF] Mark house tiles dirty when triggers were triggered (r17047) - Fix: [NewGRF] Trigger house trigger 02 only for the north tile [FS#3085] (r17046) - Fix: Graphical glitch with graph key [FS#3083] (r17041) - Fix: '[bd]ash'-ism in configure [FS#3076] (r17026) - Fix: Infinite recursion in content dependency checking [FS#3075] (r17015) - Fix: Concatenating strings in Squirrel when non-ASCII strings were received from OpenTTD failed [FS#3074] (r17013) - Fix: [NoAI] Documentation of AITile::LevelTiles was wrong (r17049) - Fix: [NoAI] AIBridge::GetPrice returned incorrect values (r16986) - Fix: Make it so that failing to generate many random towns in scenario editor returns a failing message [FS#3059] (r16977) - Fix: The last manually added server would not be saved [FS#3062] (r16981) 0.7.2 (2009-08-01) ------------------------------------------------------------------------ - Fix: Vehicles would wait 'very long' when they had nothing to unload and gradual loading was disabled [FS#3054] (r16933) 0.7.2-RC2 (2009-07-21) ------------------------------------------------------------------------ - Fix: When marking trains stuck do not reset the unload/stuck counter when the vehicle is unloading. It will be automatically reset once the vehicle wants to leave the station [FS#3038] (r16901) - Fix: [NoAI] Small errors in the API documentation [FS#3037] (r16865) - Fix: Savegames from before 0.4 would get their waypoint 'index' messed up (r16854) - Fix: Cargo payments were not destroyed when a vehicle was destructed. This only happened when you crashed a vehicle while it was unloading [FS#3032, FS#3046] (r16801) 0.7.2-RC1 (2009-07-15) ------------------------------------------------------------------------ - Add: Plural 'rule' for Korean (r16811) - Add: [NoAI] AIVehicle::GetReliability to get the current reliability of vehicles (r16790) - Fix: Call the AI Save() function only once so AIs can not crash OpenTTD [FS#3034] (r16834) - Fix: Use the palette of the vehicle being drawn instead of the one of the front vehicle (r16819) - Fix: Automatic resizing of SelectCompanyLiveryWindow was not working as expected [FS#3021] (r16809) - Fix: Service orders did not behave like conditional orders; if a train does not need service it did not completely skip the order, but still go in the direction of the depot [FS#3031] (r16802) - Fix: Houses would not get build on the map edge [FS#3025] (r16795) - Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality (r16784) - Fix: Do not use the same error message for turning around road vehicles and flipping parts of trains in the depot [FS#3019] (r16772) - Fix: [Windows] The binary packages would not get their readme converted to DOS line endings (r16769) - Fix: [NoAI] AITile::GetCargoProduction/Acceptance did not accept a radius of 0 anymore (r16767) - Fix: In the refit window the 'Select cargo type to carry' line always showed the ship refit tooltip [FS#3018] (r16757) - Fix: When loading a savegame Engine::grffile might be left NULL in certain cases (dynamic_engines enabled, articulated vehicle with only wagon-override action3s) (r16737) - Fix: Show Close instead of Cancel when there is nothing to canel in the content downloading window [FS#2991] (r16732) - Fix: [NoAI] AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile (r16731) - Fix: The Join station window did not show all stations nearby in some cases (r16728) - Fix: Invalidate subsidies with invalid source or destination when converting older savegames (r16710) - Fix: The list of animated tiles could have duplicates (only for old savegames) and tiles that were not animated [FS#2994] (r16709) - Fix: When SDL/Allegro fail to initialise, fall back on another video driver but not to the null driver (r16702, r16700, r16699) - Fix: Limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer [FS#3001] (r16701) - Fix: Only pay for whatever has been actually unloaded and perform the payment when unloading has finished [FS#2995] (r16694) - Fix: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper [FS#3002] (r16690) - Fix: When there is no AI version that can load data from the savegame, load the latest version of the same AI instead of a random AI (r16651, r16650, r16649) - Fix: Loading of some town data from old savegames was broken (r16631) - Fix: [NewGRF] Some of the var action 2 80+ variables contained wrong results from NewGRF perspective (r16615, r16613) - Fix: Antialiased fonts broken; check pixel_mode instead of palette_mode (r16602) - Fix: Give a more meaningful error message when console commands expect an integer but do not get one (r16600) - Fix: Mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible [FS#2969] (r16594) - Fix: Do not crash when tars/NewGRFs are removed, just tell the file could not be opened/found [FS#2967] (r16590) - Fix: Set default stack size to 1MB to prevent _chstk crash (MSVC) [FS#2978] (r16589, r16588) - Fix: [Network] Always send the starting date from the game you are currently playing instead the starting date from the config file (r16573) - Fix: Also catch FPEs in saveload and the warning about missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing (r16572) - Fix: In some cases, train could be stuck in depot [FS#2974] (r16571) - Fix: [NoAI] AIMarine::AreWaterTilesConnected did not return true for bridge head<>neighbouring water tile (r16563) - Fix: Removing of duplicates of base graphics set could behave randomly (r16548) 0.7.1 (2009-06-09) ------------------------------------------------------------------------ - Fix: When finding duplicate graphics sets favour the more complete one (r16538) - Fix: [Squirrel] Crash that occured when an AI was halted while one or more generators were still in a 'running' state [FS#2942] (r16534) - Fix: [Squirrel] Do not copy an object when we just checked that the pointer to it is NULL (r16532) - Fix: Notify small UFOs on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost (r16525) - Fix: [NoAI] StationIDs from oilrigs were not considered valid by the API (r16529) - Fix: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead [FS#2959] (r16528) - Fix: Missing guards in the NoAI API making it possible to hit an assert in OpenTTD [FS#2963] (r16524) - Fix: [NoAI] Possible assert in AI debug window when an AI was stopped and a human company took its CompanyID [FS#2962] (r16522) - Fix: [NoAI] Make sure AIBridge::BuildBridge returns what the documentation says it does (r16520) 0.7.1-RC3 (2009-06-03) ------------------------------------------------------------------------ - Add: [NoAI] AISignList that can be used to get a list of valid signs (r16400) - Change: [NoAI] Stop an AI when it takes too long to initialize or load [FS#2869] (r16425) - Fix: Base graphics names must be unique, so do not add duplicates (r16503) - Fix: [NoAI] When an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall [FS#2935] (r16502) - Fix: [NewGRF] Invalidate NewGRF variable caches of more vehicles in more places. Esp. they were only invalidated for trains (r16480) - Fix: [NewGRF] Call callbacks after initialisation of vehicle variables (r16479) - Fix: [NewGRF] Determining most common (sub-)cargo-type was broken due to someone confusing similiary named variables (r16478) - Fix: Loading indicator when 'unload' in and 'no loading' is off was pointing in the wrong direction [FS#2936] (r16477) - Fix: Track reservation was drawn at bridge heads in the menu (r16470) - Fix: [NoAI] Another try/catch related bug (r16454) - Fix: Road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy [FS#2909] (r16448) - Fix: [NoAI] AIRail::GetRailStationDirection returned incorrect information (r16440) - Fix: Crash when a company is deleted while a dropdown with company names is open (r16430) - Fix: Do not allow content download via the console when there is no zlib as it is done for the GUI already [FS#2919] (r16420) - Fix: Some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock (r16415) - Fix: [NewGRF] Disable multitile houses with non-zero population on additional tiles as they cause desyncs and because the specs do not allow that either (r16383) - Fix: [NewGRF] Valid UTF-8 sequences between 0x20 and 0xFF should be allowed as is instead of being treated as control codes (r16374) - Fix: [NewGRF] Use a valid StringID as fall-back when undefined generic NewGRF strings of vehicles are requested (r16366) 0.7.1-RC2 (2009-05-21) ------------------------------------------------------------------------ - Fix: The previously selected NewGRF station type was still remembered after switching to a different game without newstations enabled, preventing stations from being built (r16363) - Fix: Pointer incremented with wrong count (r16361) - Fix: Delete invalid depots in TTD savegames caused by improper SVXConverter conversions (r16357) - Fix: Invalid read when OpenTTD savegame contains VEH_INVALID (r16353) - Fix: Signal handler could end in endless loop (r16351) - Fix: [NewGRF] When overriding 'original sounds', only allow overriding of the 'original sounds' and not any other that is already loaded (r16339) - Fix: Desyncs when removing lots of stations/towns (r16329, r16328) - Fix: Desyncs due to the fact that depot searching with a maximum search depth simply does not work with YAPF's caches [FS#2900] (r16323) - Fix: Trains could get stuck in a depot when they wanted to go to the same depot again [FS#2873] (r16322) - Fix: In the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios (r16321) - Fix: Loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash (r16320) - Fix: [NoAI] Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings (r16316) - Fix: [NewGRF] Allow accessing the house age when the house is not yet built (r16314) - Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS (r16311) - Fix: Parameter is invalid when it is equal to length of an array (r16308) - Fix: Close all windows before unloading the AI system as closing the content-download window will rescan for AIs [FS#2901] (r16306) - Fix: ICC (Intel C++ Compiler) defined __GNUC__ but does not define __builtin_bswap32, so fall back to the default swap method for ICC (r16295) - Fix: Road vehicles were unable to find a depot when turning around (in some cases), causing 'nearest depot' orders to be occasionally lost [FS#2893] (r16291 - Fix: Unable to (re)set the desert state for watery tiles [FS#2888] (r16290) - Fix: Possible (in theory) desync related to autorenew settings (r16287) - Fix: Crash after using the 'Reset landscape' function and remove all waypoint signs and buoys after resetting landscape (r16280) - Fix: [NewGRF] Disable multitile houses for which the NewGRF does not define proper additional tiles (r16274) 0.7.1-RC1 (2009-05-11) ------------------------------------------------------------------------ - Add: [NoAI] AIController::GetVersion, this returns the version of OpenTTD in the same way as for NewGRFs (r16253) - Add: [NoAI] AIAirport::GetPrice, returning the building cost of an airport (r16252) - Add: [NoAI] Two new error codes to AITile: ERR_AREA_ALREADY_FLAT and ERR_EXCAVATION_WOULD_DAMAGE (r16171) - Add: [NoAI] AITile::Get(Min|Max|Corner)Height (r16166) - Add: [NoAI] Several functions to AIOrder to check the what kind of order an order is and AIVehicle.SendVehicleToDepotForServicing [FS#2801] (r16165) - Add: [NoAI] UseAsRandomAI as function in info.nut. When an AI returns false, it will never be chosen as random AI (r16113) - Add: [NoAI] AIOF_STOP_IN_DEPOT to the orderflags in AIOrder to allow stop-in-depot orders (r16107) - Add: [NoAI] GetURL() as possible function to info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window [FS#2808] (r16093) - Change: [NoAI] Reverse the order of the lines in the AI debug window [FS#2778] (r16091) - Change: Harden string copying on places where it is possible (r16024) - Change: Use recent Czech language for plural form (r15965) - Fix: Wrong number of parameters or wrong parameter types sent to printf-like functions at several places (r16269) - Fix: [NewGRF] When callback 2E returns an amount of 0, do not transport 1 unit to the station (r16268) - Fix: [NoAI] Various documentation omissions with respect to IDs of various objects and corners for AITile::(Raise|Lower)Tile (r16267, r16266) - Fix: [NoAI] Check slopes passed to the API better for validity (r16264, r16262) - Fix: [NewGRF] Interpret setting bridge property 08 to 0 as always available (r16263) - Fix: [NoAI] Enable parameter checking for AIController::* functions again (r16249) - Fix: [NoAI] Make sure AITunnel::BuildTunnel returns what the documentation says it does (r16244) - Fix: [NoAI] CmdBuildTunnel could be called with invalid parameters from the API code, causing crashes later [FS#2875] (r16243) - Fix: Improve corner case order handling: mark order as done only when actually done, obey non-stop orders, do only stop/refit at the depot in the order (r16240, r16228, r16199, r16198, r16187) - Fix: [NoAI] Use the stop/non-stop intermediate orderflags AIs can give for goto-depot orders (r16239) - Fix: [NewGRF] ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown (r16223) - Fix: Possible crashes when quiting OpenTTD or forcing resizes/redraws of the screen during map generation [FS#2862] (r16220) - Fix: Shared orders without orders were not properly converted causing corrupt/invalid orders when loading pre 0.7 savegames [FS#2878] (r16214) - Fix: Hardcoded (old sized) MAX_COMPANIES constant (r16182) - Fix: [Squirrel] The traps variable was not restored, causing try/catch blocks to be 'forgotten' during a suspend (r16181) - Fix: Do not try to reserve path for trains crashed in station [FS#2866] (r16178) - Fix: Forbid joining AI companies via the 'move' and 'join' console commands/multiplayer lobby (r16176, r16175) - Fix: [NoAI] AIOrder::GetOrderDestination and AIOrder::GetOrderFlags did not work on ORDER_CURRENT when the vehicle was loading/leaving in a station (r16165) - Fix: [NoAI] Change WAYPOINT_INVALID to 0xFFFF from -1 as that is the value the AIs got (due to casting) (r16150) - Fix: The overflowsafe type did not like dividing by int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs [FS#2855] (r16130) - Fix: Road was removed when both the Remove button was active and Ctrl was pressed [FS#2582] (r16119) - Fix: [NoAI] Make sure AIOrder::GetDestination always returns a tile belonging to the station (16109) - Fix: [NoAI] When giving an aircraft a goto-hangar order do not let it be a normal goto-station order (r16108) - Fix: [NoAI] AIOrder::SetOrderFlags always removed 'Service if needed' from goto-depot orders (r16106) - Fix: Connect tried to validate too much of the company ID with too little information on hand [FS#2849] (r16096) - Fix: [NoAI] AIDebug window profiled the blitters by invalidating itself unconditionally on repaint. On the other hand it was not invalidated in other cases when needed (r16094) - Fix: The language is called Slovak, not Slovakish (r16090) - Fix: Insanely fast trains would not stop in time for stations/'jump' over waypoints/via stations within a tick, which would cause the order not to be processed causing the train to go in loops until (with luck) it 'hit' the tile [FS#2824] (r16079) - Fix: Content download progress bar 'resetting' due to mathematical overflow [FS#2845] (r16071) - Fix: Memory leak when querying a server multiple times (r16064) - Fix: [NoAI] MOF_COND_DESTINATION was not accepted by CmdModifyOrder() (r16063) - Fix: Non advanced vehicle list did not handle company switching correctly (r16054) - Fix: Do not warn that crashed vehicles are getting old; upgrading them is impossible [FS#2740] (r16048) - Fix: The currency abbreviation for the Romanian Leu is now RON [FS#774] (r16041) - Fix: Dash was not able to run iconv detection (r16035) - Fix: [NewGRF] Do not give '... Mines' as name to the station of oil rigs, or more general: do not add '... Mines' when the all of the cargos are part of the liquid, passenger or mail classes [FS#2785] (r16029) - Fix: Storing/loading some currencies failed due to inconsistent settings 'tables' [FS#2826] (r16028) - Fix: Usage of uninitialised memory when trying to build a random new industry, but there are no industrytypes to choose from (i.e. all appearance probabilities are zero) (r16027) - Fix: 'Build separate station' in the station picker would reuse deleted stations [FS#2818] (r16025) - Fix: 32 bpp sprites in tars would also be shown in the list of heightmaps [FS#2817] (r16023) - Fix: Sometimes the unregister 'query' thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary (r16022) - Fix: Chance16() did not work for b = 1. Also transform the formula to not use divisions (r16006) - Fix: Inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names (r15988) - Fix: [NewGRF] Abort production callback after 0x10000 iterations and show a messagebox blaming the NewGRF [FS#2787] (r15958) - Fix: [NewGRF] Set callback_param1 (var 10) to 1 only when requested (r15957) - Fix: Tooltip of detailed ratings window button showed wrong message (r15943) 0.7.0 (2009-04-01) ------------------------------------------------------------------------ - Feature: Watermark crash.sav and do not generate crash information if a loaded crash.sav causes a crash so the real crash report does not get overwritten (r15893) - Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehicles-months (r15848) - Add: [NoAI] AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry (r15901) - Add: [NoAI] AIBridge::GetBridgeID() so AIs can get the type of bridge that are already build (r15875) - Add: [NoAI] AIRoad::GetRoadVehicleTypeForCargo() to tell whether a certain cargo needs a bus- or a truckstop (r15860) - Fix: Chat completion got called twice causing tab completion to seemingly fail (r15905) - Fix: YAPF did not apply the platform length (too long/too short) penalties (r15900) - Fix: Fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow (r15895) - Fix: YAPF used different penalties for aqueducts than for other water tiles (r15891) - Fix: Round the production rate up, so e.g. oilrigs always produce some passengers on lowest production level [FS#2772] (r15888) - Fix: Libtimidity cannot handle frees of NULL (in contrast of most other frees) [FS#2770] (r15886) - Fix: Make sure house class/ID counters do not overflow (r15831) 0.7.0-RC2 (2009-03-23) ------------------------------------------------------------------------ - Change: [NewGRF] Expose GRF ID of engines in var action property 0x25 (r15739) - Fix: Some (newer) GCCs have trouble compiling the Windows specific part of fontcache.cpp; jumps across variable declarations [FS#2752] (r15818) - Fix: When sorting on cost do not sort on the running cost [FS#2749] (r15778) - Fix: Do not show the message about reporting an AI crash for the dummy AI (r15774) - Fix: Number of active clients was not always properly updated [FS#2475] (r15773) - Fix: Settings from the [gameopt] section (from old 0.6 config files) were overwritten with default values (r15771) - Fix: Infinite loop when skipping sprites when a GRF is invalid (or truncated) (r15767) - Fix: Crash when opening the content list window twice; inconsistencies when clicking download twice [FS#2744] (r15766) - Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere (r15763) - Fix: [Windows] Inlined UTF-8 characters (in the source code) are not handled properly on Eastern versions of Windows so escape them (r15762) - Fix: [Windows] On some system searching a font using its English name fails. So now we search the font using the localised name and use the English name for the final 'validation' only (r15757) - Fix: Number of houses in house variables 0x44, 0x60 and 0x61 were incorrect after 0xFF had been reached and could desync clients joining afterwards (r15755) - Fix: Crash when clicking the small area between the savegame list and the save button in the save game window [FS#2742] (r15753) - Fix: Do not try to (un)draw the cursor when the screen is not ready (r15752) - Fix: The big UFO sometimes landed just outside the map. Instead of landing, just disappear (fly away) in those cases (r15750) - Fix: Crash because submarines would sometimes start far outside of the map [FS#2739] (r15748) - Fix: Road ownership getting lost when removing a road stop [FS#2736] (r15747) - Fix: Update threading code for OS/2, add mutex support, fix compilation (r15746, r15745) - Fix: When town generator failed to create requested number of towns, there were too many cities (r15744) 0.7.0-RC1 (2009-03-16) ------------------------------------------------------------------------ - Feature: Pop up the AI Debug Window if one of the AIs crashed and show a message that the user should report the crash [FS#2728] (r15708) - Feature: Allow the number of towns that will be generated in the generate world window to be customized [FS#2672] (r15695) - Fix: Enabling freeform edges could cause submarines to get stuck on land tiles (r15733) - Fix: Centering on a vehicle did not respect its z coordinate (r15725) - Fix: Do not show passenger-/mail-capacity if the aircraft carries only cargo (r15705) - Fix: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing [FS#2595] (r15701) - Fix: Just sell the old engines after autorenew/replace. Do not bother about trains exceeding the trainlimit, which will be sold anyway [FS#2721] (r15692) - Fix: Do not crash when the generate map does not contain a suitable location for a town [FS#2720] (r15689) - Fix: Do not crash when someone substitutes the 'map generation' sprites with garbage [FS#2720] (r15685) - Fix: Vehicle images would be determined during the process of moving the vehicle which means that only the (orientation) data for the vehicles in front of it is valid. Now the data for the vehicles behind the vehicle are valid too [FS#2546] (r15677) - Fix: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies [FS#2718] (r15667) - Fix: Sorting of engines in the purchase list did not use the same numbers as the GUI showed, e.g. articulated parts were not taken into accound when ordering by capacity [FS#2689] (r15666) - Fix: Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1 (r15665) - Fix: Growing of vsize as (some) threads were not properly released (r15663) - Fix: Do not mark a company as having ratings in a town when querying the cost of a command (r15662) 0.7.0-beta2 (2009-03-10) ------------------------------------------------------------------------ - Feature: Allow downloading scenarios and heightmaps via the in game content download (r15632) - Feature: When cloning a vehicle with a custom name, add and/or increment a number at the end of name and assign it to the new vehicle (r15621) - Feature: Show scenarios/heightmaps from both your home directory and installation directory (r15615) - Feature: Allow building road stops on road/tram tracks of competitors (r15601) - Feature: Show required/already-delivered cargo needed for town-growth in town-view-window and only if it is really needed (r15559) - Feature: [NewGRF] Support vehicle vars 0x47 and 0xF2 in purchase list (r15542) - Feature: [NewGRF] Show the cargo subtype in the vehicle details window (r15480) - Change: The background of the the waypoint sign is now in the company colour (r15593) - Change: Allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D) (r15543) - Change: [NewGRF] To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property' (r15541) - Fix: [Squirrel] Almost infinite loop in garbage collection (r15659) - Fix: Undeterministic file sorting when the date is equal for all files [FS#2716] (r15657) - Fix: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes (r15656, r15586) - Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built (except 0x16) (r15654) - Fix: C++'s new (this) is seldom a good idea as destructors of member variables are not run causing memory leaks [FS#2706] (r15652) - Fix: [OSX] Hack around an OSX stupidity in < 10.4 w.r.t. signals by not having any signal handling support for OSX < 10.4 (r15648) - Fix: Add an EngineOverrideManager to give the term 'compatible NewGRF' again some sense and to not crash because of trivial changes [FS#2612] (r15645) - Fix: Closing a network connection twice in the case that sending packets starts failing while disconnecting [FS#2710] (r15644) - Fix: Game crashes when network pools are empty, so always allocate at least one pool block [FS#2712] (r15641) - Fix: Do not allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the road stop would be able to handle within the slot timeout time [FS#2707] (r15635) - Fix: Kicking/banning a client from the Client list window crashed the server [FS#2705] (r15628) - Fix: UTF8 string handling could cause buffer overruns [FS#2698] (r15626) - Fix: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely [FS#2701] (r15619) - Fix: Towns would only build houses where the grid would not be, even when they are not allowed to build roads and the user 'implements' another layout [FS#2661] (r15604) - Fix: Crash when using an extraordinarily large sprite as cursor [FS#2696] (r15601) - Fix: Crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport [FS#2695] (r15598) - Fix: [NewGRF] Refit-info in purchase list did only check the first articulated part (r15592) - Fix: Change owner of waypoints and deleted stations when merging companies or when a company bankrupts (r15588) - Fix: Last activity time not properly updated causing downloads to be aborted after a minute [FS#2684] (r15580) - Fix: Force unload not working when trying to force unload at the station where you received the cargo [FS#2680] (r15574) - Fix: Theoretical buffer overflow when a company with too long name funded a road reconstruction (r15572) - Fix: When building signals by dragging from a pre/entry/combo block signal, the signal you started at became a normal block signal [FS#2674] (r15567) - Fix: Dependency information was not requested after the content state was reset causing the dependencies not always being selected (and thus downloaded) automatically [FS#2675] (r15565) - Fix: Crash when saving a preset with unknown NewGRFs [FS#2646] (r15561) - Fix: The font width cache was not updated when changing fonts causing the font spacing to be off when changing fonts in-game (auto font detection) (r15557) - Fix: -v null crashing in 2051 due to trying to show the high score of the spectator (r15554) - Fix: [NoAI] Crash when setting a depot order to the southern part of a ship depot [FS#2656] (r15551) - Fix: The keep_all_autosave setting was ignored for dedicated servers/spectators [FS#2651] (r15546) - Fix: If a buoy was placed directly in front of a dock, that dock was seen as a buoy and thus skipped once within 3 tiles [FS#2653] (r15545) - Fix: Extracting downloaded content did not work for Windows if one uses a non-ASCII path [FS#2650] (r15544) - Fix: [NewGRF] When articulated parts have no available default cargo, use the cargo type of the first part for livery selection [FS#2617] (r15541) - Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue' (r15540) - Fix: [NewGRF] If an aircraft cannot carry any available cargo, it should not be available either instead of falling back to passenger/mail. Just like the other vehicle types also do (r15539) - Fix: Do not allow special sprite characters (e.g. the ship sprite) as characters in input like filenames or text that is sent over the network (r15537) - Fix: The local command queue did not get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game [FS#2644] (r15529) - Fix: Do not try to find the AIs the server runs when joining a multiplayer server (r15525) - Fix: Use distance to closest station tile as estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations [FS#2631] (r15518) - Fix: [NewGRF] Wagonoverrides and articulated engine parts use the colour scheme of the engine, but not its recolour callback, nor its 2CC flag. Same applies to roadvehicles [FS#2642] (r15517) - Fix: [NewGRF] Livery overrides for articulated parts of roadvehicles were not applied (r15516) - Fix: Make the join/spectate command require to be connected to a network game; in SP it could lead to crashes (r15514) - Fix: Generating a map with the original map generator with freeform edges on resulted in a crash [FS#2641] (r15511) - Fix: Pre-0.5 OpenTTD stored new_nonstop and full_load_any in
