Files
@ r23882:d683a0787bc9
Branch filter:
Location: cpp/openttd-patchpack/source/src/newgrf.cpp - annotation
r23882:d683a0787bc9
319.0 KiB
text/x-c
Codechange: Don't use SDL_CreateRGBSurfaceWithFormat()
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.
Closes #7785
Note: this code path is activated by using an 8-bit blitter, like:
./bin/openttd -b 8bpp-simple
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.
Closes #7785
Note: this code path is activated by using an 8-bit blitter, like:
./bin/openttd -b 8bpp-simple
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 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 | r5584:545d748cc681 r5584:545d748cc681 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r9111:983de9c5a848 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r22757:59be1e5ea50d r5584:545d748cc681 r5584:545d748cc681 r10039:727fb45b0424 r8786:f24a6d1fba34 r9070:e059c65164f3 r5584:545d748cc681 r6332:7393965b5322 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6343:4d2d12eee7b9 r13456:7f9200df57a3 r6332:7393965b5322 r5584:545d748cc681 r8787:4e60a460f8ef r15934:789c54d0000d r6583:63b4cb964287 r6956:6398843f1341 r7233:d578434a488b r14606:2cf1bcd611f7 r14725:026b6e13b803 r15949:1632bafb6884 r9085:bfc6f61fcf0c r7805:7b5af263f275 r8114:866ed489ed98 r8140:9424f012f6a2 r8214:9a3935f9ef4e r9556:414819be4c58 r9070:e059c65164f3 r14481:d4666a76d6a1 r15521:545d58d62089 r18617:524f2e0f54dc r16142:e91bfb8299b5 r16474:f9eb86a38244 r16503:62111b73accf r23698:1872cc5b7dd7 r5584:545d748cc681 r8264:d493cb51fe8a r8264:d493cb51fe8a r8264:d493cb51fe8a r21383:942c32fb8b0e r21383:942c32fb8b0e r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r19604:b2796fd9d433 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r23538:8df50944b27a r13718:936583604dd1 r17962:3a07a3d70cea r18844:a10105b3df75 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r6914:0e1dfc32f04f r5584:545d748cc681 r17965:9f3dbe788a7e r17965:9f3dbe788a7e r17962:3a07a3d70cea r17962:3a07a3d70cea r18091:8a67b7ad4bc9 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r19020:24d71054fe13 r17962:3a07a3d70cea r17962:3a07a3d70cea r23838:bfeaabaa7b1d r17963:5f234f99c9c7 r17965:9f3dbe788a7e r17965:9f3dbe788a7e r17965:9f3dbe788a7e r17963:5f234f99c9c7 r17963:5f234f99c9c7 r17963:5f234f99c9c7 r17983:d528d674a063 r17983:d528d674a063 r17983:d528d674a063 r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r17983:d528d674a063 r17983:d528d674a063 r17963:5f234f99c9c7 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18095:8686faa72eaa r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18095:8686faa72eaa r18091:8a67b7ad4bc9 r18094:841ae1060357 r18094:841ae1060357 r18095:8686faa72eaa r18094:841ae1060357 r18094:841ae1060357 r18094:841ae1060357 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18094:841ae1060357 r18094:841ae1060357 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18094:841ae1060357 r18094:841ae1060357 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18094:841ae1060357 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18094:841ae1060357 r18091:8a67b7ad4bc9 r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r5584:545d748cc681 r21050:ac153d7f94aa r21050:ac153d7f94aa r23023:7b8669afd1db r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r14321:743d30abf8c3 r14321:743d30abf8c3 r18088:ce674bbf03ad r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r18782:6453522c2154 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14779:1a7f11f70a60 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r18782:6453522c2154 r14321:743d30abf8c3 r14323:952b118bac97 r14321:743d30abf8c3 r14321:743d30abf8c3 r18782:6453522c2154 r14321:743d30abf8c3 r17686:ab0df5877159 r14321:743d30abf8c3 r14321:743d30abf8c3 r18782:6453522c2154 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r18782:6453522c2154 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r5584:545d748cc681 r20798:50972fe67d68 r5584:545d748cc681 r18088:ce674bbf03ad r9025:fd4943ee9bd5 r19604:b2796fd9d433 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r9025:fd4943ee9bd5 r9025:fd4943ee9bd5 r14895:fb237f7e7f5b r23698:1872cc5b7dd7 r19048:792758351412 r19045:572d60e6204d r17322:781008301adf r10595:21bce3389b06 r22867:9bff1c966805 r22867:9bff1c966805 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r19044:6e3067275e68 r9025:fd4943ee9bd5 r9025:fd4943ee9bd5 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r5584:545d748cc681 r18088:ce674bbf03ad r18668:b656d614c4fd r6781:a8a53e90148b r9113:d4c7819bf520 r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r9113:d4c7819bf520 r9113:d4c7819bf520 r9113:d4c7819bf520 r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r9947:90dc092550a5 r12398:30c6728e7835 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9098:7e731ca86dde r9098:7e731ca86dde r9113:d4c7819bf520 r9947:90dc092550a5 r13498:598a539466dc r9098:7e731ca86dde r15610:623a23fb6560 r15610:623a23fb6560 r15594:ba7e42fbae24 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15613:193c12018337 r15613:193c12018337 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21407:7c26f4904e46 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r5584:545d748cc681 r5584:545d748cc681 r23536:ce42deb0b32d r23536:ce42deb0b32d r13718:936583604dd1 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r5584:545d748cc681 r5584:545d748cc681 r23536:ce42deb0b32d r23536:ce42deb0b32d r13718:936583604dd1 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r9619:b2cb16c3e35e r10484:93e54cd54b5b r9619:b2cb16c3e35e r9619:b2cb16c3e35e r23607:36c15679007d r9619:b2cb16c3e35e r9619:b2cb16c3e35e r9619:b2cb16c3e35e r9619:b2cb16c3e35e r23607:36c15679007d r9619:b2cb16c3e35e r9619:b2cb16c3e35e r17661:7d47f66c9c28 r17661:7d47f66c9c28 r18088:ce674bbf03ad r23607:36c15679007d r18088:ce674bbf03ad r17661:7d47f66c9c28 r23607:36c15679007d r17661:7d47f66c9c28 r17661:7d47f66c9c28 r23607:36c15679007d r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17962:3a07a3d70cea r17962:3a07a3d70cea r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r23607:36c15679007d r17962:3a07a3d70cea r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r18945:92861bb10006 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r17661:7d47f66c9c28 r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r23538:8df50944b27a r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r23532:dc91fcd293f5 r21159:a4ff2d8a45fe r8959:484dbfc31293 r15610:623a23fb6560 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r21157:dde07ca6be09 r15610:623a23fb6560 r6332:7393965b5322 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r6332:7393965b5322 r7615:164dc03983a9 r6332:7393965b5322 r22562:9c9754af7ec0 r22561:6610b42ed471 r23838:bfeaabaa7b1d r22562:9c9754af7ec0 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r6332:7393965b5322 r6332:7393965b5322 r9070:e059c65164f3 r9070:e059c65164f3 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r11292:ff6e049359f2 r11292:ff6e049359f2 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r23607:36c15679007d r18088:ce674bbf03ad r11292:ff6e049359f2 r11292:ff6e049359f2 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r11291:64ad346852e6 r9413:fcf267325763 r11291:64ad346852e6 r11291:64ad346852e6 r9070:e059c65164f3 r9070:e059c65164f3 r11291:64ad346852e6 r11291:64ad346852e6 r23607:36c15679007d r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r11291:64ad346852e6 r11291:64ad346852e6 r11291:64ad346852e6 r12310:3a70fe9f1279 r12310:3a70fe9f1279 r23607:36c15679007d r12310:3a70fe9f1279 r12310:3a70fe9f1279 r11291:64ad346852e6 r11291:64ad346852e6 r11291:64ad346852e6 r11291:64ad346852e6 r11291:64ad346852e6 r11917:612c11f7ab47 r9070:e059c65164f3 r23607:36c15679007d r15753:7a5fae91288a r9070:e059c65164f3 r9070:e059c65164f3 r11291:64ad346852e6 r11291:64ad346852e6 r11292:ff6e049359f2 r23529:c3623e1b8808 r11292:ff6e049359f2 r11292:ff6e049359f2 r11291:64ad346852e6 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r23607:36c15679007d r11292:ff6e049359f2 r17290:e67ef8f37686 r17290:e67ef8f37686 r23607:36c15679007d r17290:e67ef8f37686 r17290:e67ef8f37686 r11967:df0600d2c7e7 r9070:e059c65164f3 r9070:e059c65164f3 r11291:64ad346852e6 r15753:7a5fae91288a r9070:e059c65164f3 r11291:64ad346852e6 r23520:20bbc807b0eb r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23661:3655a2df3316 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r11291:64ad346852e6 r11918:5a296c52d1a8 r9070:e059c65164f3 r11918:5a296c52d1a8 r9070:e059c65164f3 r9070:e059c65164f3 r11918:5a296c52d1a8 r9070:e059c65164f3 r9070:e059c65164f3 r15021:719a2ed6366f r15021:719a2ed6366f r15021:719a2ed6366f r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r9073:d7dbfc1998b4 r9073:d7dbfc1998b4 r11291:64ad346852e6 r9413:fcf267325763 r11291:64ad346852e6 r9073:d7dbfc1998b4 r11291:64ad346852e6 r11291:64ad346852e6 r11291:64ad346852e6 r11291:64ad346852e6 r9073:d7dbfc1998b4 r9073:d7dbfc1998b4 r15610:623a23fb6560 r15610:623a23fb6560 r18088:ce674bbf03ad r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r8577:3dd04211bf33 r11085:c87a330fb4c2 r8577:3dd04211bf33 r8577:3dd04211bf33 r6332:7393965b5322 r13475:f4a9ed49f3b4 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17728:6a6e98f25cac r17686:ab0df5877159 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r23023:7b8669afd1db r23023:7b8669afd1db r23023:7b8669afd1db r18088:ce674bbf03ad r17686:ab0df5877159 r23607:36c15679007d r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17728:6a6e98f25cac r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r18091:8a67b7ad4bc9 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r18091:8a67b7ad4bc9 r23607:36c15679007d r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r18091:8a67b7ad4bc9 r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r18091:8a67b7ad4bc9 r23607:36c15679007d r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r23607:36c15679007d r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r23838:bfeaabaa7b1d r17728:6a6e98f25cac r17728:6a6e98f25cac r18088:ce674bbf03ad r17728:6a6e98f25cac r18091:8a67b7ad4bc9 r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r17728:6a6e98f25cac r18093:bb567a02767f r17962:3a07a3d70cea r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17962:3a07a3d70cea r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r18093:bb567a02767f r17962:3a07a3d70cea r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17962:3a07a3d70cea r17728:6a6e98f25cac r17728:6a6e98f25cac r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r23607:36c15679007d r18093:bb567a02767f r23607:36c15679007d r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r18093:bb567a02767f r17728:6a6e98f25cac r17686:ab0df5877159 r17686:ab0df5877159 r17686:ab0df5877159 r22867:9bff1c966805 r19047:93552f45f7dc r22867:9bff1c966805 r22867:9bff1c966805 r22867:9bff1c966805 r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r13476:add6db25d711 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r19478:8cc1ec86658e r13475:f4a9ed49f3b4 r13476:add6db25d711 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13476:add6db25d711 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13479:b39a51084392 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r13476:add6db25d711 r13475:f4a9ed49f3b4 r13475:f4a9ed49f3b4 r18088:ce674bbf03ad r10043:3171bda306ad r10043:3171bda306ad r17728:6a6e98f25cac r10043:3171bda306ad r10043:3171bda306ad r10043:3171bda306ad r10043:3171bda306ad r10043:3171bda306ad r14321:743d30abf8c3 r14321:743d30abf8c3 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r10038:e1604b256132 r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r10038:e1604b256132 r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r10038:e1604b256132 r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r10038:e1604b256132 r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r10038:e1604b256132 r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r18305:67cf0d348b39 r10038:e1604b256132 r14330:2d8f05e92659 r10038:e1604b256132 r10038:e1604b256132 r10038:e1604b256132 r10043:3171bda306ad r10043:3171bda306ad r10043:3171bda306ad r10043:3171bda306ad r10038:e1604b256132 r10038:e1604b256132 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r7159:8fc683b4db29 r17962:3a07a3d70cea r23607:36c15679007d r17290:e67ef8f37686 r9070:e059c65164f3 r9070:e059c65164f3 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r5584:545d748cc681 r23520:20bbc807b0eb r17962:3a07a3d70cea r11076:462de50d5ea7 r11076:462de50d5ea7 r11076:462de50d5ea7 r5584:545d748cc681 r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r8449:74cdbc7d9967 r7162:659c29addc6f r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r7159:8fc683b4db29 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9468:a092e2eb1209 r9208:9de1b88a8a4f r9208:9de1b88a8a4f r13104:9e66a110a842 r14330:2d8f05e92659 r9208:9de1b88a8a4f r7159:8fc683b4db29 r13475:f4a9ed49f3b4 r14330:2d8f05e92659 r13475:f4a9ed49f3b4 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r21050:ac153d7f94aa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r7159:8fc683b4db29 r5584:545d748cc681 r7159:8fc683b4db29 r5875:94b2cd92a8da r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r19048:792758351412 r14330:2d8f05e92659 r5584:545d748cc681 r18298:cb654ae49373 r10029:a57758026d6d r12733:799714c0c280 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r19513:78ecb1cac672 r18298:cb654ae49373 r18298:cb654ae49373 r5584:545d748cc681 r12733:799714c0c280 r6142:f2a14973cf31 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r12735:cc05191c7e57 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r6581:a8eefbbc67b2 r5584:545d748cc681 r5584:545d748cc681 r6581:a8eefbbc67b2 r5584:545d748cc681 r6581:a8eefbbc67b2 r5584:545d748cc681 r6581:a8eefbbc67b2 r6585:6745a616d010 r6585:6745a616d010 r5584:545d748cc681 r6585:6745a616d010 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r11076:462de50d5ea7 r23520:20bbc807b0eb r11076:462de50d5ea7 r11076:462de50d5ea7 r14940:f8682536f135 r14940:f8682536f135 r11076:462de50d5ea7 r7159:8fc683b4db29 r7159:8fc683b4db29 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r9070:e059c65164f3 r14779:1a7f11f70a60 r9070:e059c65164f3 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19048:792758351412 r7159:8fc683b4db29 r19047:93552f45f7dc r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7791:96ff5911fe26 r15627:cde7228c26d6 r7791:96ff5911fe26 r7791:96ff5911fe26 r18304:4a661ee8ffe5 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r16503:62111b73accf r16503:62111b73accf r16503:62111b73accf r16503:62111b73accf r16503:62111b73accf r16503:62111b73accf r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7159:8fc683b4db29 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7928:a80e7e05d6c5 r17322:781008301adf r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r19048:792758351412 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19044:6e3067275e68 r19048:792758351412 r22867:9bff1c966805 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r7159:8fc683b4db29 r17962:3a07a3d70cea r23607:36c15679007d r17290:e67ef8f37686 r9070:e059c65164f3 r9070:e059c65164f3 r7159:8fc683b4db29 r7159:8fc683b4db29 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13482:56711f143646 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13475:f4a9ed49f3b4 r14330:2d8f05e92659 r13475:f4a9ed49f3b4 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r21050:ac153d7f94aa r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r19048:792758351412 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r12733:799714c0c280 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r19513:78ecb1cac672 r18298:cb654ae49373 r18298:cb654ae49373 r5584:545d748cc681 r12733:799714c0c280 r18298:cb654ae49373 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r22317:3ed40f22eff9 r7159:8fc683b4db29 r7159:8fc683b4db29 r16337:318cee923059 r14330:2d8f05e92659 r10982:d76e5db67170 r10982:d76e5db67170 r16337:318cee923059 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r16374:2d8508274da9 r14330:2d8f05e92659 r10595:21bce3389b06 r10595:21bce3389b06 r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19048:792758351412 r7159:8fc683b4db29 r19047:93552f45f7dc r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r16337:318cee923059 r14330:2d8f05e92659 r10982:d76e5db67170 r10982:d76e5db67170 r7791:96ff5911fe26 r14330:2d8f05e92659 r7791:96ff5911fe26 r7791:96ff5911fe26 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7928:a80e7e05d6c5 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r19048:792758351412 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r9674:da731ed192f1 r14779:1a7f11f70a60 r9674:da731ed192f1 r9674:da731ed192f1 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r18304:4a661ee8ffe5 r18303:3e17bd9b946b r18303:3e17bd9b946b r18303:3e17bd9b946b r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19044:6e3067275e68 r19048:792758351412 r22867:9bff1c966805 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r7159:8fc683b4db29 r17962:3a07a3d70cea r23607:36c15679007d r17290:e67ef8f37686 r9070:e059c65164f3 r9070:e059c65164f3 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r21050:ac153d7f94aa r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r19048:792758351412 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r12733:799714c0c280 r18298:cb654ae49373 r18298:cb654ae49373 r18298:cb654ae49373 r19513:78ecb1cac672 r18298:cb654ae49373 r18298:cb654ae49373 r5584:545d748cc681 r12733:799714c0c280 r18298:cb654ae49373 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r22317:3ed40f22eff9 r7159:8fc683b4db29 r7159:8fc683b4db29 r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19048:792758351412 r7159:8fc683b4db29 r19047:93552f45f7dc r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7791:96ff5911fe26 r17838:9b7a4cc981f2 r17838:9b7a4cc981f2 r17838:9b7a4cc981f2 r7791:96ff5911fe26 r17838:9b7a4cc981f2 r7791:96ff5911fe26 r7791:96ff5911fe26 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7928:a80e7e05d6c5 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r19048:792758351412 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r9674:da731ed192f1 r14779:1a7f11f70a60 r9674:da731ed192f1 r9674:da731ed192f1 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r16504:0f05656995b0 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19044:6e3067275e68 r19048:792758351412 r22867:9bff1c966805 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r7159:8fc683b4db29 r17962:3a07a3d70cea r23607:36c15679007d r17290:e67ef8f37686 r9070:e059c65164f3 r9070:e059c65164f3 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r21050:ac153d7f94aa r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r21050:ac153d7f94aa r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r5584:545d748cc681 r7159:8fc683b4db29 r5584:545d748cc681 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r15501:b757ecfada08 r15501:b757ecfada08 r7159:8fc683b4db29 r7159:8fc683b4db29 r20142:5508447246ff r20142:5508447246ff r20142:5508447246ff r7159:8fc683b4db29 r13104:9e66a110a842 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r14631:5e82747104db r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r14631:5e82747104db r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r22317:3ed40f22eff9 r7159:8fc683b4db29 r7159:8fc683b4db29 r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19047:93552f45f7dc r19048:792758351412 r7159:8fc683b4db29 r19047:93552f45f7dc r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7928:a80e7e05d6c5 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r19048:792758351412 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r19044:6e3067275e68 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r9674:da731ed192f1 r14779:1a7f11f70a60 r9674:da731ed192f1 r9674:da731ed192f1 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r17899:92aaab03ad72 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19044:6e3067275e68 r19048:792758351412 r22867:9bff1c966805 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r19092:7cf78bed35e8 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r18646:67fc6c803d34 r18646:67fc6c803d34 r18646:67fc6c803d34 r18646:67fc6c803d34 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r23023:7b8669afd1db r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r20798:50972fe67d68 r20798:50972fe67d68 r10043:3171bda306ad r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r7159:8fc683b4db29 r17962:3a07a3d70cea r7159:8fc683b4db29 r7159:8fc683b4db29 r23607:36c15679007d r7159:8fc683b4db29 r10043:3171bda306ad r5584:545d748cc681 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r17962:3a07a3d70cea r7159:8fc683b4db29 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r15729:fa8bb219ec5a r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r17727:ae71ad34e6a0 r17682:2934b24b55d1 r17671:6321f2c5c4f2 r5584:545d748cc681 r6281:ebcf7c502f91 r17671:6321f2c5c4f2 r18093:bb567a02767f r17671:6321f2c5c4f2 r17686:ab0df5877159 r17686:ab0df5877159 r17415:1b91cbc411f9 r17671:6321f2c5c4f2 r17415:1b91cbc411f9 r17415:1b91cbc411f9 r17686:ab0df5877159 r18091:8a67b7ad4bc9 r17728:6a6e98f25cac r17962:3a07a3d70cea r5584:545d748cc681 r23538:8df50944b27a r23517:1a32c3c14728 r17405:5aed91173c9b r6348:a905c3e6d8fa r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r17728:6a6e98f25cac r17962:3a07a3d70cea r5584:545d748cc681 r23536:ce42deb0b32d r5584:545d748cc681 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r17962:3a07a3d70cea r5584:545d748cc681 r23607:36c15679007d r14356:e0950e50bb94 r14356:e0950e50bb94 r14356:e0950e50bb94 r14356:e0950e50bb94 r17682:2934b24b55d1 r17682:2934b24b55d1 r5584:545d748cc681 r17671:6321f2c5c4f2 r17415:1b91cbc411f9 r17671:6321f2c5c4f2 r17415:1b91cbc411f9 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r22814:b13f5a85a0d9 r5609:a56ae00a9125 r22814:b13f5a85a0d9 r5584:545d748cc681 r5609:a56ae00a9125 r22814:b13f5a85a0d9 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5609:a56ae00a9125 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5609:a56ae00a9125 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14330:2d8f05e92659 r14321:743d30abf8c3 r5584:545d748cc681 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r17962:3a07a3d70cea r5584:545d748cc681 r23607:36c15679007d r14356:e0950e50bb94 r14356:e0950e50bb94 r14356:e0950e50bb94 r14356:e0950e50bb94 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r19949:26fad1c62a1b r22867:9bff1c966805 r22867:9bff1c966805 r22867:9bff1c966805 r19949:26fad1c62a1b r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r9003:0b0148ae8377 r15925:9a7fe46227a0 r15925:9a7fe46227a0 r9003:0b0148ae8377 r9003:0b0148ae8377 r9003:0b0148ae8377 r15925:9a7fe46227a0 r9003:0b0148ae8377 r9003:0b0148ae8377 r9003:0b0148ae8377 r15925:9a7fe46227a0 r7159:8fc683b4db29 r7159:8fc683b4db29 r17805:a16be7c95347 r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r18091:8a67b7ad4bc9 r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r8372:59d73d58fc53 r10043:3171bda306ad r8372:59d73d58fc53 r8372:59d73d58fc53 r23491:8cf669b90689 r10043:3171bda306ad r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r18087:1bd0e337907f r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r18087:1bd0e337907f r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r18087:1bd0e337907f r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r10043:3171bda306ad r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r8372:59d73d58fc53 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r7159:8fc683b4db29 r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r8535:947bf8a72211 r7159:8fc683b4db29 r7159:8fc683b4db29 r11864:de6cc5ca8e7b r11864:de6cc5ca8e7b r14330:2d8f05e92659 r11864:de6cc5ca8e7b r11864:de6cc5ca8e7b r11864:de6cc5ca8e7b r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r17210:893afe086e22 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5609:a56ae00a9125 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5609:a56ae00a9125 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r14330:2d8f05e92659 r14330:2d8f05e92659 r5668:e62c2fbafb7b r5668:e62c2fbafb7b r5668:e62c2fbafb7b r8577:3dd04211bf33 r8577:3dd04211bf33 r5668:e62c2fbafb7b r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r8494:43034152a07f r17962:3a07a3d70cea r8494:43034152a07f r15608:7b580ec7448a r15608:7b580ec7448a r8494:43034152a07f r8540:c11aa4dc7a68 r8540:c11aa4dc7a68 r17962:3a07a3d70cea r8540:c11aa4dc7a68 r15608:7b580ec7448a r15608:7b580ec7448a r8494:43034152a07f r10013:befbb5dbaa37 r14330:2d8f05e92659 r10013:befbb5dbaa37 r10013:befbb5dbaa37 r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r15608:7b580ec7448a r15608:7b580ec7448a r14934:7308a73a3c54 r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r6332:7393965b5322 r10043:3171bda306ad r6332:7393965b5322 r20795:183b78f738d1 r20795:183b78f738d1 r10043:3171bda306ad r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r23607:36c15679007d r20795:183b78f738d1 r6332:7393965b5322 r6332:7393965b5322 r7159:8fc683b4db29 r17962:3a07a3d70cea r7159:8fc683b4db29 r23607:36c15679007d r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r6332:7393965b5322 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r17962:3a07a3d70cea r14330:2d8f05e92659 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r12241:f31db06a63d4 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r10041:700b7c5a043f r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r23607:36c15679007d r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r12241:f31db06a63d4 r7159:8fc683b4db29 r7159:8fc683b4db29 r15724:6a590b922d6c r15724:6a590b922d6c r17962:3a07a3d70cea r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r6332:7393965b5322 r7431:7b41fe36df7d r7431:7b41fe36df7d r7431:7b41fe36df7d r7431:7b41fe36df7d r12405:ba094e765533 r7431:7b41fe36df7d r7431:7b41fe36df7d r7431:7b41fe36df7d r7159:8fc683b4db29 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r9450:4c97b7e77fa9 r9450:4c97b7e77fa9 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r6341:f853035e3da4 r6341:f853035e3da4 r6341:f853035e3da4 r9413:fcf267325763 r9413:fcf267325763 r6341:f853035e3da4 r7431:7b41fe36df7d r12405:ba094e765533 r7431:7b41fe36df7d r7431:7b41fe36df7d r7159:8fc683b4db29 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r21159:a4ff2d8a45fe r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r13026:0c3f00ec0a74 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r7160:0eb7e96b46df r7159:8fc683b4db29 r6332:7393965b5322 r6332:7393965b5322 r17962:3a07a3d70cea r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r15923:6550af31238a r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r15925:9a7fe46227a0 r15925:9a7fe46227a0 r15925:9a7fe46227a0 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r15925:9a7fe46227a0 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r17962:3a07a3d70cea r7159:8fc683b4db29 r7159:8fc683b4db29 r13026:0c3f00ec0a74 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r17962:3a07a3d70cea r6461:3e9610ad49a9 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r7159:8fc683b4db29 r6461:3e9610ad49a9 r7159:8fc683b4db29 r6461:3e9610ad49a9 r6461:3e9610ad49a9 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r18226:c04963816211 r14330:2d8f05e92659 r18226:c04963816211 r18226:c04963816211 r18226:c04963816211 r18226:c04963816211 r15608:7b580ec7448a r15608:7b580ec7448a r7791:96ff5911fe26 r9483:faf01c4a046b r14330:2d8f05e92659 r9483:faf01c4a046b r9483:faf01c4a046b r9483:faf01c4a046b r14330:2d8f05e92659 r9483:faf01c4a046b r9483:faf01c4a046b r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r23187:bba8b5b3c78d r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r16475:65a52dcc7b07 r16475:65a52dcc7b07 r16475:65a52dcc7b07 r16475:65a52dcc7b07 r23607:36c15679007d r16475:65a52dcc7b07 r16475:65a52dcc7b07 r16475:65a52dcc7b07 r16475:65a52dcc7b07 r16475:65a52dcc7b07 r23607:36c15679007d r16475:65a52dcc7b07 r16475:65a52dcc7b07 r18088:ce674bbf03ad r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r23023:7b8669afd1db r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r23517:1a32c3c14728 r19363:be3c944bcee2 r19363:be3c944bcee2 r23532:dc91fcd293f5 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r7162:659c29addc6f r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r13479:b39a51084392 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r20104:fbf35626b02a r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r20104:fbf35626b02a r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r20104:fbf35626b02a r11749:b89fea00a2de r11749:b89fea00a2de r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r20104:fbf35626b02a r7162:659c29addc6f r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r20104:fbf35626b02a r6491:6b6c19f090e1 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r20104:fbf35626b02a r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7162:659c29addc6f r7159:8fc683b4db29 r7159:8fc683b4db29 r14321:743d30abf8c3 r14321:743d30abf8c3 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r18306:f8da04233eaf r21741:9b4a5dc5a0dd r18306:f8da04233eaf r18306:f8da04233eaf r18306:f8da04233eaf r18306:f8da04233eaf r18306:f8da04233eaf r21741:9b4a5dc5a0dd r18306:f8da04233eaf r18306:f8da04233eaf r7159:8fc683b4db29 r6343:4d2d12eee7b9 r7159:8fc683b4db29 r6343:4d2d12eee7b9 r7159:8fc683b4db29 r7159:8fc683b4db29 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r14321:743d30abf8c3 r9070:e059c65164f3 r9070:e059c65164f3 r16474:f9eb86a38244 r16481:61e8cb639444 r16481:61e8cb639444 r16474:f9eb86a38244 r23607:36c15679007d r23607:36c15679007d r16474:f9eb86a38244 r16474:f9eb86a38244 r18928:2a6be3a990f1 r18928:2a6be3a990f1 r18928:2a6be3a990f1 r18928:2a6be3a990f1 r18928:2a6be3a990f1 r18928:2a6be3a990f1 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r23607:36c15679007d r16474:f9eb86a38244 r16481:61e8cb639444 r16481:61e8cb639444 r16481:61e8cb639444 r16481:61e8cb639444 r16481:61e8cb639444 r17962:3a07a3d70cea r16481:61e8cb639444 r16481:61e8cb639444 r16481:61e8cb639444 r16481:61e8cb639444 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r23532:dc91fcd293f5 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r23532:dc91fcd293f5 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r10639:6792a4ba2b30 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r19363:be3c944bcee2 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r16481:61e8cb639444 r14330:2d8f05e92659 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r14330:2d8f05e92659 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r14330:2d8f05e92659 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r14321:743d30abf8c3 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r14330:2d8f05e92659 r14330:2d8f05e92659 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r16474:f9eb86a38244 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r18088:ce674bbf03ad r18668:b656d614c4fd r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r6359:99cac4de410b r10043:3171bda306ad r7159:8fc683b4db29 r6359:99cac4de410b r6359:99cac4de410b r10043:3171bda306ad r6359:99cac4de410b r6359:99cac4de410b r7159:8fc683b4db29 r12405:ba094e765533 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r6359:99cac4de410b r17962:3a07a3d70cea r7931:4c17a74c399e r6359:99cac4de410b r7929:67846e70abf8 r6359:99cac4de410b r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r21159:a4ff2d8a45fe r7276:fc0f2c97b3b7 r7276:fc0f2c97b3b7 r11363:6906c490a00e r21159:a4ff2d8a45fe r7159:8fc683b4db29 r7159:8fc683b4db29 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r21159:a4ff2d8a45fe r7159:8fc683b4db29 r7159:8fc683b4db29 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r16488:f6b7c44cf573 r21159:a4ff2d8a45fe r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r21159:a4ff2d8a45fe r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r17637:0d7e49507a12 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r17637:0d7e49507a12 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r6359:99cac4de410b r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r6359:99cac4de410b r6359:99cac4de410b r22672:3473f7daf422 r7159:8fc683b4db29 r6359:99cac4de410b r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r11363:6906c490a00e r14330:2d8f05e92659 r7159:8fc683b4db29 r7159:8fc683b4db29 r18994:b2513f4fbc6f r18994:b2513f4fbc6f r18994:b2513f4fbc6f r18994:b2513f4fbc6f r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r6359:99cac4de410b r6359:99cac4de410b r6359:99cac4de410b r6359:99cac4de410b r6359:99cac4de410b r6359:99cac4de410b r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r10043:3171bda306ad r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r22365:2aa1b8fc47cd r15047:549cfe65e8b5 r15047:549cfe65e8b5 r15047:549cfe65e8b5 r7159:8fc683b4db29 r17962:3a07a3d70cea r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r15047:549cfe65e8b5 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r15047:549cfe65e8b5 r7159:8fc683b4db29 r7159:8fc683b4db29 r7159:8fc683b4db29 r14330:2d8f05e92659 r5584:545d748cc681 r11931:6facb6ede000 r11931:6facb6ede000 r5584:545d748cc681 r11936:9ec1ad99161c r5584:545d748cc681 r5584:545d748cc681 r15047:549cfe65e8b5 r5584:545d748cc681 r15608:7b580ec7448a r15608:7b580ec7448a r7159:8fc683b4db29 r7159:8fc683b4db29 r10043:3171bda306ad r7159:8fc683b4db29 r7159:8fc683b4db29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r7217:ac29b5ec3d65 r10043:3171bda306ad r7217:ac29b5ec3d65 r20793:53ddcd7714d7 r20793:53ddcd7714d7 r10043:3171bda306ad r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23607:36c15679007d r20793:53ddcd7714d7 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r7217:ac29b5ec3d65 r23607:36c15679007d r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7459:4d41dea99013 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r10041:700b7c5a043f r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23607:36c15679007d r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r8104:df12a5e083b5 r8104:df12a5e083b5 r8104:df12a5e083b5 r8104:df12a5e083b5 r8104:df12a5e083b5 r8104:df12a5e083b5 r8104:df12a5e083b5 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r17962:3a07a3d70cea r7217:ac29b5ec3d65 r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r10041:700b7c5a043f r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r17962:3a07a3d70cea r23041:7dd9cd83d20f r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r13026:0c3f00ec0a74 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r15925:9a7fe46227a0 r15925:9a7fe46227a0 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r15925:9a7fe46227a0 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r15925:9a7fe46227a0 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14474:aa12474cff10 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r7217:ac29b5ec3d65 r10043:3171bda306ad r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r17398:d8f8a04da127 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r15608:7b580ec7448a r15608:7b580ec7448a r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r15608:7b580ec7448a r15608:7b580ec7448a r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r13094:9f174b6390c6 r13094:9f174b6390c6 r18088:ce674bbf03ad r18088:ce674bbf03ad r13094:9f174b6390c6 r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r13094:9f174b6390c6 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r7217:ac29b5ec3d65 r10043:3171bda306ad r7217:ac29b5ec3d65 r20792:d41be17c1b0b r20792:d41be17c1b0b r10043:3171bda306ad r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23607:36c15679007d r20792:d41be17c1b0b r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r7217:ac29b5ec3d65 r23607:36c15679007d r14934:7308a73a3c54 r14934:7308a73a3c54 r14934:7308a73a3c54 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r10041:700b7c5a043f r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23607:36c15679007d r23867:be2be375b64c r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23867:be2be375b64c r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r23838:bfeaabaa7b1d r7716:ed3fc446f961 r7716:ed3fc446f961 r7217:ac29b5ec3d65 r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r10041:700b7c5a043f r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r7217:ac29b5ec3d65 r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r14321:743d30abf8c3 r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r7217:ac29b5ec3d65 r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r7633:d0aae2365f55 r7217:ac29b5ec3d65 r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r23867:be2be375b64c r14322:5d2f5da6ad71 r23867:be2be375b64c r23867:be2be375b64c r7217:ac29b5ec3d65 r23867:be2be375b64c r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r21159:a4ff2d8a45fe r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r21159:a4ff2d8a45fe r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r21159:a4ff2d8a45fe r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14321:743d30abf8c3 r14321:743d30abf8c3 r14330:2d8f05e92659 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r17406:4b842fb5682f r18352:6c15d75d1ab9 r17406:4b842fb5682f r7217:ac29b5ec3d65 r17406:4b842fb5682f r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r11085:c87a330fb4c2 r17637:0d7e49507a12 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r21159:a4ff2d8a45fe r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r10442:4088f5d8b844 r10442:4088f5d8b844 r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r21159:a4ff2d8a45fe r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14330:2d8f05e92659 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r13026:0c3f00ec0a74 r13026:0c3f00ec0a74 r14330:2d8f05e92659 r13026:0c3f00ec0a74 r15608:7b580ec7448a r15608:7b580ec7448a r7217:ac29b5ec3d65 r7978:09f55e31ab2f r14330:2d8f05e92659 r7978:09f55e31ab2f r7978:09f55e31ab2f r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r8470:2c86b652d238 r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r7217:ac29b5ec3d65 r10043:3171bda306ad r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14859:60ec0ffb536d r14853:af90de84e7b4 r14853:af90de84e7b4 r22746:d61d02c871ea r22746:d61d02c871ea r22746:d61d02c871ea r14853:af90de84e7b4 r14853:af90de84e7b4 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r20796:0cd35eef3a56 r20796:0cd35eef3a56 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r23607:36c15679007d r20796:0cd35eef3a56 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r17962:3a07a3d70cea r14853:af90de84e7b4 r23607:36c15679007d r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r17962:3a07a3d70cea r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r23607:36c15679007d r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r17962:3a07a3d70cea r14853:af90de84e7b4 r17962:3a07a3d70cea r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r15608:7b580ec7448a r15608:7b580ec7448a r14853:af90de84e7b4 r15701:fe399b6bcca7 r22746:d61d02c871ea r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r22687:887d71cc6873 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r20302:b2b3bcaa28d3 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r17962:3a07a3d70cea r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r15701:fe399b6bcca7 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r21159:a4ff2d8a45fe r14853:af90de84e7b4 r14853:af90de84e7b4 r18560:ff3a65f20dab r18560:ff3a65f20dab r18560:ff3a65f20dab r18560:ff3a65f20dab r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r16709:76a89a42f916 r15956:d2b10191aed2 r20995:d2630e8d136b r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r16010:3315aa6280e6 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r20790:1c40c83d41c6 r20790:1c40c83d41c6 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r23607:36c15679007d r20790:1c40c83d41c6 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r17962:3a07a3d70cea r15956:d2b10191aed2 r23607:36c15679007d r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r17962:3a07a3d70cea r15956:d2b10191aed2 r15956:d2b10191aed2 r23607:36c15679007d r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r19259:e556e5a2d55f r21159:a4ff2d8a45fe r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r21159:a4ff2d8a45fe r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r16709:76a89a42f916 r20834:de36fb602665 r20834:de36fb602665 r20834:de36fb602665 r20834:de36fb602665 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14423:2ba354a93e42 r14423:2ba354a93e42 r14423:2ba354a93e42 r14423:2ba354a93e42 r14423:2ba354a93e42 r14402:be0791dad1ac r17962:3a07a3d70cea r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r21159:a4ff2d8a45fe r18320:596b6fc8a2aa r21159:a4ff2d8a45fe r18320:596b6fc8a2aa r14402:be0791dad1ac r21159:a4ff2d8a45fe r14402:be0791dad1ac r14402:be0791dad1ac r21159:a4ff2d8a45fe r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r21159:a4ff2d8a45fe r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r21159:a4ff2d8a45fe r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r21159:a4ff2d8a45fe r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r17095:192110abe258 r17094:1ed01cf3929b r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r18899:ef33cbcd1b49 r14402:be0791dad1ac r17094:1ed01cf3929b r22672:3473f7daf422 r17094:1ed01cf3929b r17095:192110abe258 r17094:1ed01cf3929b r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r17654:f28c4b7b0c47 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14711:586dd86a76ca r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14405:7117441a16e3 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14712:9d62e352cb76 r17637:0d7e49507a12 r14712:9d62e352cb76 r14712:9d62e352cb76 r17095:192110abe258 r17095:192110abe258 r17095:192110abe258 r17095:192110abe258 r17119:e6a7587b0348 r17119:e6a7587b0348 r17119:e6a7587b0348 r17119:e6a7587b0348 r18320:596b6fc8a2aa r21159:a4ff2d8a45fe r18283:584850043783 r18283:584850043783 r18560:ff3a65f20dab r18560:ff3a65f20dab r18560:ff3a65f20dab r18560:ff3a65f20dab r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r14423:2ba354a93e42 r14423:2ba354a93e42 r14423:2ba354a93e42 r14423:2ba354a93e42 r14423:2ba354a93e42 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r18899:ef33cbcd1b49 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r17962:3a07a3d70cea r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r18283:584850043783 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14711:586dd86a76ca r14402:be0791dad1ac r18283:584850043783 r18560:ff3a65f20dab r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r23532:dc91fcd293f5 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r18899:ef33cbcd1b49 r22672:3473f7daf422 r18899:ef33cbcd1b49 r14402:be0791dad1ac r14402:be0791dad1ac r17095:192110abe258 r17094:1ed01cf3929b r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14712:9d62e352cb76 r17119:e6a7587b0348 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r17095:192110abe258 r17095:192110abe258 r17095:192110abe258 r17095:192110abe258 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r20797:84922263dbd2 r20797:84922263dbd2 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r23607:36c15679007d r20797:84922263dbd2 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r17962:3a07a3d70cea r14607:4bad45b6a4eb r23607:36c15679007d r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r17962:3a07a3d70cea r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r23607:36c15679007d r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r15925:9a7fe46227a0 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r17962:3a07a3d70cea r17962:3a07a3d70cea r14607:4bad45b6a4eb r15608:7b580ec7448a r15608:7b580ec7448a r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r17962:3a07a3d70cea r15608:7b580ec7448a r15608:7b580ec7448a r14607:4bad45b6a4eb r15922:f33ae56b6561 r15922:f33ae56b6561 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r15925:9a7fe46227a0 r15925:9a7fe46227a0 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r15925:9a7fe46227a0 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r15925:9a7fe46227a0 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r17728:6a6e98f25cac r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r22672:3473f7daf422 r10639:6792a4ba2b30 r18945:92861bb10006 r10639:6792a4ba2b30 r18945:92861bb10006 r18945:92861bb10006 r10639:6792a4ba2b30 r18945:92861bb10006 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r13733:844aadb7fd6d r5584:545d748cc681 r5584:545d748cc681 r7892:1aff955d2a25 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r23607:36c15679007d r15068:718936ee3a0c r15068:718936ee3a0c r23607:36c15679007d r15956:d2b10191aed2 r15068:718936ee3a0c r15068:718936ee3a0c r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14779:1a7f11f70a60 r5584:545d748cc681 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23491:8cf669b90689 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r23491:8cf669b90689 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r13733:844aadb7fd6d r17962:3a07a3d70cea r13733:844aadb7fd6d r14321:743d30abf8c3 r14330:2d8f05e92659 r10038:e1604b256132 r14321:743d30abf8c3 r10639:6792a4ba2b30 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14779:1a7f11f70a60 r5584:545d748cc681 r15068:718936ee3a0c r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r11358:585617c595d7 r14330:2d8f05e92659 r11358:585617c595d7 r11358:585617c595d7 r11358:585617c595d7 r11358:585617c595d7 r14330:2d8f05e92659 r14330:2d8f05e92659 r11358:585617c595d7 r23607:36c15679007d r11358:585617c595d7 r11358:585617c595d7 r11358:585617c595d7 r11358:585617c595d7 r11358:585617c595d7 r11358:585617c595d7 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r6359:99cac4de410b r14321:743d30abf8c3 r6359:99cac4de410b r14330:2d8f05e92659 r6359:99cac4de410b r23698:1872cc5b7dd7 r6359:99cac4de410b r14330:2d8f05e92659 r14330:2d8f05e92659 r14779:1a7f11f70a60 r6359:99cac4de410b r14321:743d30abf8c3 r14330:2d8f05e92659 r10639:6792a4ba2b30 r7941:b7957d359a27 r7941:b7957d359a27 r7941:b7957d359a27 r18668:b656d614c4fd r14321:743d30abf8c3 r10639:6792a4ba2b30 r10639:6792a4ba2b30 r7941:b7957d359a27 r14321:743d30abf8c3 r7941:b7957d359a27 r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r14402:be0791dad1ac r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r6359:99cac4de410b r7941:b7957d359a27 r10639:6792a4ba2b30 r6359:99cac4de410b r6359:99cac4de410b r6359:99cac4de410b r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r19444:6a0b5c1512aa r19444:6a0b5c1512aa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r19444:6a0b5c1512aa r19444:6a0b5c1512aa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r5584:545d748cc681 r19444:6a0b5c1512aa r19444:6a0b5c1512aa r18095:8686faa72eaa r18095:8686faa72eaa r19444:6a0b5c1512aa r18095:8686faa72eaa r18095:8686faa72eaa r18095:8686faa72eaa r18095:8686faa72eaa r18095:8686faa72eaa r14779:1a7f11f70a60 r5584:545d748cc681 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r18095:8686faa72eaa r5584:545d748cc681 r23491:8cf669b90689 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r8282:9361500741f9 r17962:3a07a3d70cea r19020:24d71054fe13 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6576:74c76316bd96 r14321:743d30abf8c3 r6576:74c76316bd96 r14330:2d8f05e92659 r19444:6a0b5c1512aa r19444:6a0b5c1512aa r19444:6a0b5c1512aa r19444:6a0b5c1512aa r19444:6a0b5c1512aa r19452:4a8a13dfc7cf r19444:6a0b5c1512aa r19444:6a0b5c1512aa r14779:1a7f11f70a60 r6576:74c76316bd96 r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r6576:74c76316bd96 r6576:74c76316bd96 r5584:545d748cc681 r5584:545d748cc681 r10647:62911ec68e89 r5584:545d748cc681 r17290:e67ef8f37686 r17290:e67ef8f37686 r18290:4e805de55757 r17290:e67ef8f37686 r5584:545d748cc681 r23607:36c15679007d r6477:758eb82b73ec r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r17965:9f3dbe788a7e r5584:545d748cc681 r5584:545d748cc681 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r5584:545d748cc681 r17290:e67ef8f37686 r17290:e67ef8f37686 r18290:4e805de55757 r17290:e67ef8f37686 r5584:545d748cc681 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r5584:545d748cc681 r17290:e67ef8f37686 r18091:8a67b7ad4bc9 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r14330:2d8f05e92659 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17290:e67ef8f37686 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r5584:545d748cc681 r5584:545d748cc681 r23538:8df50944b27a r23517:1a32c3c14728 r17909:fc84a945c709 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r5584:545d748cc681 r5584:545d748cc681 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r5617:94e7517dc4e8 r23532:dc91fcd293f5 r5617:94e7517dc4e8 r23532:dc91fcd293f5 r5617:94e7517dc4e8 r5584:545d748cc681 r14330:2d8f05e92659 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r5584:545d748cc681 r23532:dc91fcd293f5 r23532:dc91fcd293f5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7928:a80e7e05d6c5 r5584:545d748cc681 r23553:9f01781fc43d r17909:fc84a945c709 r23536:ce42deb0b32d r17909:fc84a945c709 r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r22757:59be1e5ea50d r22761:4149c4b18e24 r22761:4149c4b18e24 r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22761:4149c4b18e24 r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22761:4149c4b18e24 r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22761:4149c4b18e24 r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22908:bdebd4860c64 r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r22757:59be1e5ea50d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r8756:3b4554f1d3d4 r5584:545d748cc681 r17290:e67ef8f37686 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r5584:545d748cc681 r8758:1f369db5ec03 r11985:d8202dea2203 r14330:2d8f05e92659 r8756:3b4554f1d3d4 r8756:3b4554f1d3d4 r14330:2d8f05e92659 r11985:d8202dea2203 r11985:d8202dea2203 r14330:2d8f05e92659 r14330:2d8f05e92659 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r5584:545d748cc681 r15068:718936ee3a0c r15068:718936ee3a0c r18668:b656d614c4fd r14853:af90de84e7b4 r14477:752d803ed3be r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r18091:8a67b7ad4bc9 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17290:e67ef8f37686 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r5584:545d748cc681 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r5584:545d748cc681 r6281:ebcf7c502f91 r14330:2d8f05e92659 r18091:8a67b7ad4bc9 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r14330:2d8f05e92659 r18091:8a67b7ad4bc9 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15068:718936ee3a0c r14607:4bad45b6a4eb r15957:71ffc94a16b5 r7174:430f94187417 r13966:e189dfb4ebfa r6332:7393965b5322 r17290:e67ef8f37686 r11985:d8202dea2203 r11985:d8202dea2203 r6332:7393965b5322 r17728:6a6e98f25cac r18091:8a67b7ad4bc9 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r7168:156fd244b919 r23041:7dd9cd83d20f r7168:156fd244b919 r7168:156fd244b919 r7168:156fd244b919 r7168:156fd244b919 r17290:e67ef8f37686 r11985:d8202dea2203 r11985:d8202dea2203 r11985:d8202dea2203 r7168:156fd244b919 r23041:7dd9cd83d20f r7168:156fd244b919 r14330:2d8f05e92659 r7168:156fd244b919 r23041:7dd9cd83d20f r7168:156fd244b919 r14330:2d8f05e92659 r7168:156fd244b919 r14330:2d8f05e92659 r23041:7dd9cd83d20f r23041:7dd9cd83d20f r7168:156fd244b919 r14330:2d8f05e92659 r7168:156fd244b919 r23041:7dd9cd83d20f r7168:156fd244b919 r14330:2d8f05e92659 r7168:156fd244b919 r14330:2d8f05e92659 r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23470:4f54a54295ed r23470:4f54a54295ed r23470:4f54a54295ed r23470:4f54a54295ed r23470:4f54a54295ed r23470:4f54a54295ed r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23470:4f54a54295ed r23470:4f54a54295ed r23470:4f54a54295ed r23470:4f54a54295ed r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r23041:7dd9cd83d20f r7168:156fd244b919 r7168:156fd244b919 r7168:156fd244b919 r7168:156fd244b919 r5584:545d748cc681 r23491:8cf669b90689 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17965:9f3dbe788a7e r5584:545d748cc681 r5584:545d748cc681 r6143:9ed364174dfd r6143:9ed364174dfd r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r6143:9ed364174dfd r15068:718936ee3a0c r6148:21ae18e64c5f r6143:9ed364174dfd r23520:20bbc807b0eb r6361:047a35f4b0cd r6361:047a35f4b0cd r6477:758eb82b73ec r6361:047a35f4b0cd r6361:047a35f4b0cd r6361:047a35f4b0cd r12408:d7d52eed8c09 r12408:d7d52eed8c09 r6361:047a35f4b0cd r12408:d7d52eed8c09 r12408:d7d52eed8c09 r6361:047a35f4b0cd r6361:047a35f4b0cd r6361:047a35f4b0cd r6477:758eb82b73ec r6361:047a35f4b0cd r6361:047a35f4b0cd r6361:047a35f4b0cd r6143:9ed364174dfd r23520:20bbc807b0eb r23520:20bbc807b0eb r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r17962:3a07a3d70cea r6143:9ed364174dfd r6477:758eb82b73ec r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r6477:758eb82b73ec r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r6477:758eb82b73ec r6143:9ed364174dfd r6143:9ed364174dfd r6143:9ed364174dfd r6363:e569c0f10234 r9445:e2864dbb47a7 r9445:e2864dbb47a7 r23607:36c15679007d r18091:8a67b7ad4bc9 r9445:e2864dbb47a7 r9445:e2864dbb47a7 r9445:e2864dbb47a7 r9445:e2864dbb47a7 r9445:e2864dbb47a7 r9445:e2864dbb47a7 r14321:743d30abf8c3 r5584:545d748cc681 r8198:888b30c1c93b r8198:888b30c1c93b r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r5584:545d748cc681 r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r6363:e569c0f10234 r6477:758eb82b73ec r5584:545d748cc681 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r5584:545d748cc681 r5584:545d748cc681 r9488:2873382f8f4a r6281:ebcf7c502f91 r17962:3a07a3d70cea r23607:36c15679007d r17290:e67ef8f37686 r17290:e67ef8f37686 r17290:e67ef8f37686 r17290:e67ef8f37686 r17290:e67ef8f37686 r17290:e67ef8f37686 r17290:e67ef8f37686 r17290:e67ef8f37686 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r14330:2d8f05e92659 r9446:b43a0853728a r14330:2d8f05e92659 r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r5584:545d748cc681 r5584:545d748cc681 r17965:9f3dbe788a7e r5584:545d748cc681 r17965:9f3dbe788a7e r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r17965:9f3dbe788a7e r9446:b43a0853728a r17965:9f3dbe788a7e r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6363:e569c0f10234 r14321:743d30abf8c3 r6583:63b4cb964287 r9488:2873382f8f4a r9446:b43a0853728a r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14321:743d30abf8c3 r9446:b43a0853728a r14330:2d8f05e92659 r9445:e2864dbb47a7 r6583:63b4cb964287 r6583:63b4cb964287 r9446:b43a0853728a r6583:63b4cb964287 r6583:63b4cb964287 r6583:63b4cb964287 r6583:63b4cb964287 r6583:63b4cb964287 r6583:63b4cb964287 r17962:3a07a3d70cea r17965:9f3dbe788a7e r6583:63b4cb964287 r6583:63b4cb964287 r6583:63b4cb964287 r6583:63b4cb964287 r14321:743d30abf8c3 r6363:e569c0f10234 r9488:2873382f8f4a r6363:e569c0f10234 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r9446:b43a0853728a r14330:2d8f05e92659 r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r15068:718936ee3a0c r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r9446:b43a0853728a r10042:c6a1cc3aa07e r9446:b43a0853728a r6363:e569c0f10234 r17965:9f3dbe788a7e r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r9446:b43a0853728a r9446:b43a0853728a r6363:e569c0f10234 r9446:b43a0853728a r23607:36c15679007d r15727:185692d46434 r15727:185692d46434 r15727:185692d46434 r15727:185692d46434 r17965:9f3dbe788a7e r17962:3a07a3d70cea r15723:ad33e41446a6 r15729:fa8bb219ec5a r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r14321:743d30abf8c3 r6363:e569c0f10234 r9488:2873382f8f4a r9446:b43a0853728a r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r14330:2d8f05e92659 r14321:743d30abf8c3 r9446:b43a0853728a r14330:2d8f05e92659 r9445:e2864dbb47a7 r6363:e569c0f10234 r23607:36c15679007d r14198:cfd0d42bef62 r14198:cfd0d42bef62 r14198:cfd0d42bef62 r14198:cfd0d42bef62 r6363:e569c0f10234 r17962:3a07a3d70cea r6363:e569c0f10234 r23607:36c15679007d r10042:c6a1cc3aa07e r10042:c6a1cc3aa07e r6363:e569c0f10234 r6363:e569c0f10234 r17965:9f3dbe788a7e r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r14321:743d30abf8c3 r7217:ac29b5ec3d65 r9488:2873382f8f4a r9446:b43a0853728a r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r14330:2d8f05e92659 r14321:743d30abf8c3 r9446:b43a0853728a r14330:2d8f05e92659 r9445:e2864dbb47a7 r7217:ac29b5ec3d65 r23607:36c15679007d r14198:cfd0d42bef62 r14198:cfd0d42bef62 r14198:cfd0d42bef62 r14198:cfd0d42bef62 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r7217:ac29b5ec3d65 r23607:36c15679007d r10042:c6a1cc3aa07e r10042:c6a1cc3aa07e r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17965:9f3dbe788a7e r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r14321:743d30abf8c3 r7217:ac29b5ec3d65 r9488:2873382f8f4a r9446:b43a0853728a r14330:2d8f05e92659 r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r14330:2d8f05e92659 r14321:743d30abf8c3 r9446:b43a0853728a r14330:2d8f05e92659 r9445:e2864dbb47a7 r7217:ac29b5ec3d65 r23607:36c15679007d r14198:cfd0d42bef62 r14198:cfd0d42bef62 r14198:cfd0d42bef62 r14198:cfd0d42bef62 r7217:ac29b5ec3d65 r17962:3a07a3d70cea r7217:ac29b5ec3d65 r23607:36c15679007d r10042:c6a1cc3aa07e r10042:c6a1cc3aa07e r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r17965:9f3dbe788a7e r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r6365:410001496130 r14321:743d30abf8c3 r6365:410001496130 r18668:b656d614c4fd r9446:b43a0853728a r18668:b656d614c4fd r9446:b43a0853728a r9446:b43a0853728a r9446:b43a0853728a r14330:2d8f05e92659 r14321:743d30abf8c3 r9446:b43a0853728a r14330:2d8f05e92659 r9445:e2864dbb47a7 r6365:410001496130 r6365:410001496130 r18668:b656d614c4fd r6365:410001496130 r6365:410001496130 r9446:b43a0853728a r6365:410001496130 r6365:410001496130 r6365:410001496130 r12405:ba094e765533 r17962:3a07a3d70cea r17965:9f3dbe788a7e r6365:410001496130 r6365:410001496130 r6365:410001496130 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r23607:36c15679007d r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r17962:3a07a3d70cea r15957:71ffc94a16b5 r23607:36c15679007d r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r17965:9f3dbe788a7e r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r17962:3a07a3d70cea r15957:71ffc94a16b5 r23607:36c15679007d r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r23607:36c15679007d r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r17965:9f3dbe788a7e r17962:3a07a3d70cea r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r23638:ae0d3e0eb794 r23638:ae0d3e0eb794 r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r17962:3a07a3d70cea r17965:9f3dbe788a7e r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r23607:36c15679007d r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r17962:3a07a3d70cea r14853:af90de84e7b4 r23607:36c15679007d r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r17965:9f3dbe788a7e r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r23607:36c15679007d r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r17962:3a07a3d70cea r14607:4bad45b6a4eb r23607:36c15679007d r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r17965:9f3dbe788a7e r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r6365:410001496130 r6363:e569c0f10234 r14321:743d30abf8c3 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r14330:2d8f05e92659 r14330:2d8f05e92659 r6363:e569c0f10234 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r6363:e569c0f10234 r6363:e569c0f10234 r9446:b43a0853728a r14330:2d8f05e92659 r14330:2d8f05e92659 r17628:416ab6bada3d r8544:31b3976529d7 r23491:8cf669b90689 r8544:31b3976529d7 r17965:9f3dbe788a7e r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r13733:844aadb7fd6d r17962:3a07a3d70cea r13733:844aadb7fd6d r23491:8cf669b90689 r6363:e569c0f10234 r6363:e569c0f10234 r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r6363:e569c0f10234 r9446:b43a0853728a r6363:e569c0f10234 r6363:e569c0f10234 r15068:718936ee3a0c r9446:b43a0853728a r6583:63b4cb964287 r6583:63b4cb964287 r15068:718936ee3a0c r9446:b43a0853728a r6363:e569c0f10234 r6363:e569c0f10234 r15068:718936ee3a0c r9446:b43a0853728a r6363:e569c0f10234 r6363:e569c0f10234 r7217:ac29b5ec3d65 r9446:b43a0853728a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r9446:b43a0853728a r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r18668:b656d614c4fd r9446:b43a0853728a r6365:410001496130 r6365:410001496130 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r15957:71ffc94a16b5 r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r14477:752d803ed3be r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r6363:e569c0f10234 r23491:8cf669b90689 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r6363:e569c0f10234 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r12752:0ee2ec59ee1c r12752:0ee2ec59ee1c r12752:0ee2ec59ee1c r12752:0ee2ec59ee1c r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r17962:3a07a3d70cea r5584:545d748cc681 r14330:2d8f05e92659 r23564:2dd86f0cd796 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r23492:55470c3abd20 r14330:2d8f05e92659 r14330:2d8f05e92659 r7928:a80e7e05d6c5 r9502:6f214c4614a4 r9502:6f214c4614a4 r14330:2d8f05e92659 r9502:6f214c4614a4 r14779:1a7f11f70a60 r9502:6f214c4614a4 r14330:2d8f05e92659 r9502:6f214c4614a4 r5584:545d748cc681 r7929:67846e70abf8 r5584:545d748cc681 r6281:ebcf7c502f91 r5584:545d748cc681 r23491:8cf669b90689 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r14330:2d8f05e92659 r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r15068:718936ee3a0c r15068:718936ee3a0c r15068:718936ee3a0c r6607:1410c388c54c r9453:260677bc32af r17962:3a07a3d70cea r23607:36c15679007d r18197:58c45847c660 r9070:e059c65164f3 r6607:1410c388c54c r18135:506fefd4fc51 r5584:545d748cc681 r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r22562:9c9754af7ec0 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r22561:6610b42ed471 r6607:1410c388c54c r6607:1410c388c54c r23607:36c15679007d r6607:1410c388c54c r6607:1410c388c54c r17962:3a07a3d70cea r19259:e556e5a2d55f r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r23607:36c15679007d r6607:1410c388c54c r6607:1410c388c54c r18135:506fefd4fc51 r6332:7393965b5322 r6607:1410c388c54c r6607:1410c388c54c r14612:34835c8eb396 r23607:36c15679007d r14612:34835c8eb396 r14612:34835c8eb396 r18135:506fefd4fc51 r14612:34835c8eb396 r14612:34835c8eb396 r14612:34835c8eb396 r6607:1410c388c54c r23607:36c15679007d r6607:1410c388c54c r6607:1410c388c54c r18135:506fefd4fc51 r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r6607:1410c388c54c r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7882:cdf03a4ac84a r7882:cdf03a4ac84a r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r7882:cdf03a4ac84a r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r15874:dfd0ea646f2d r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r22469:27e3000e0fc8 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r18165:21d579485161 r15874:dfd0ea646f2d r19084:082ddae0fb26 r21726:6d30b12cf490 r15874:dfd0ea646f2d r15874:dfd0ea646f2d r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r14779:1a7f11f70a60 r14779:1a7f11f70a60 r7929:67846e70abf8 r5584:545d748cc681 r22518:bf65c0efa303 r15874:dfd0ea646f2d r8243:c3bfc47b4de4 r15874:dfd0ea646f2d r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r8403:8b4006f704c5 r8243:c3bfc47b4de4 r5584:545d748cc681 r5584:545d748cc681 r8243:c3bfc47b4de4 r15874:dfd0ea646f2d r8243:c3bfc47b4de4 r17962:3a07a3d70cea r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r15874:dfd0ea646f2d r8243:c3bfc47b4de4 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r18166:70a4a8467de5 r8243:c3bfc47b4de4 r23838:bfeaabaa7b1d r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r8243:c3bfc47b4de4 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r5584:545d748cc681 r17962:3a07a3d70cea r19020:24d71054fe13 r5584:545d748cc681 r7882:cdf03a4ac84a r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r6529:a4e137bf2160 r14321:743d30abf8c3 r6529:a4e137bf2160 r6529:a4e137bf2160 r14330:2d8f05e92659 r6529:a4e137bf2160 r6529:a4e137bf2160 r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r6529:a4e137bf2160 r6529:a4e137bf2160 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r18307:9b4849582975 r8546:225d8773329b r8546:225d8773329b r18307:9b4849582975 r5584:545d748cc681 r5584:545d748cc681 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r9570:64157affa199 r9570:64157affa199 r9570:64157affa199 r9570:64157affa199 r9570:64157affa199 r8546:225d8773329b r9570:64157affa199 r8546:225d8773329b r8546:225d8773329b r9413:fcf267325763 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r9413:fcf267325763 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r13305:1dca895e8bca r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r17962:3a07a3d70cea r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r17962:3a07a3d70cea r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r10002:a1c2314c8164 r9413:fcf267325763 r8546:225d8773329b r10002:a1c2314c8164 r8546:225d8773329b r10002:a1c2314c8164 r8546:225d8773329b r8546:225d8773329b r10002:a1c2314c8164 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r17876:1b11dd50a6f7 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r17876:1b11dd50a6f7 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r12423:199e8b46a11b r12423:199e8b46a11b r12423:199e8b46a11b r17962:3a07a3d70cea r8546:225d8773329b r8546:225d8773329b r17876:1b11dd50a6f7 r8546:225d8773329b r18307:9b4849582975 r18307:9b4849582975 r21741:9b4a5dc5a0dd r18307:9b4849582975 r18307:9b4849582975 r18307:9b4849582975 r18307:9b4849582975 r18307:9b4849582975 r8546:225d8773329b r18307:9b4849582975 r8546:225d8773329b r9085:bfc6f61fcf0c r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8753:e4a1ca88aab9 r19835:9f41fb5b6fd7 r8753:e4a1ca88aab9 r8753:e4a1ca88aab9 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r9458:1f8aa2e20d85 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r18307:9b4849582975 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r6813:bc0c4914212f r6813:bc0c4914212f r6813:bc0c4914212f r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r6813:bc0c4914212f r6813:bc0c4914212f r5584:545d748cc681 r6348:a905c3e6d8fa r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r22995:2e914968b2e7 r22995:2e914968b2e7 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r20667:47a3e7edbb11 r7780:af8c230bc12c r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5587:034e5e185dc2 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r9390:aab57f0a7820 r19020:24d71054fe13 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r9947:90dc092550a5 r9947:90dc092550a5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r9947:90dc092550a5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7928:a80e7e05d6c5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14779:1a7f11f70a60 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6652:08a9b5f02feb r10421:6e522e6dd234 r23607:36c15679007d r6652:08a9b5f02feb r6652:08a9b5f02feb r17202:d941d8bd45fd r5584:545d748cc681 r5584:545d748cc681 r9947:90dc092550a5 r9947:90dc092550a5 r6652:08a9b5f02feb r6652:08a9b5f02feb r5584:545d748cc681 r9947:90dc092550a5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r18088:ce674bbf03ad r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r17661:7d47f66c9c28 r21410:ae5961f02724 r9556:414819be4c58 r9556:414819be4c58 r11363:6906c490a00e r11363:6906c490a00e r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r5584:545d748cc681 r6477:758eb82b73ec r5584:545d748cc681 r7808:985b6a551c29 r7808:985b6a551c29 r16268:9d6002e1debb r16268:9d6002e1debb r16268:9d6002e1debb r16268:9d6002e1debb r16268:9d6002e1debb r7808:985b6a551c29 r16268:9d6002e1debb r5584:545d748cc681 r5584:545d748cc681 r10781:758b3ae29fdd r9556:414819be4c58 r23607:36c15679007d r9556:414819be4c58 r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r7808:985b6a551c29 r6229:a69564e4eb2e r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r6229:a69564e4eb2e r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r6229:a69564e4eb2e r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r6229:a69564e4eb2e r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r7808:985b6a551c29 r11077:42c8c8a60298 r11077:42c8c8a60298 r11077:42c8c8a60298 r11077:42c8c8a60298 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r7808:985b6a551c29 r7808:985b6a551c29 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r6477:758eb82b73ec r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6477:758eb82b73ec r17962:3a07a3d70cea r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r6096:5260c9f0018c r6096:5260c9f0018c r17962:3a07a3d70cea r17661:7d47f66c9c28 r6925:1ce1852988a2 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r17067:d8300f20b7a7 r17067:d8300f20b7a7 r17067:d8300f20b7a7 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r18313:094cd9ff3bf5 r17962:3a07a3d70cea r17962:3a07a3d70cea r17067:d8300f20b7a7 r17067:d8300f20b7a7 r5584:545d748cc681 r22515:8a1119ebd514 r17962:3a07a3d70cea r18135:506fefd4fc51 r6186:456996746c3c r14321:743d30abf8c3 r14330:2d8f05e92659 r18135:506fefd4fc51 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r17962:3a07a3d70cea r17661:7d47f66c9c28 r10675:8496ed4eb21c r10675:8496ed4eb21c r10675:8496ed4eb21c r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r6281:ebcf7c502f91 r6281:ebcf7c502f91 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r8183:fea1570ac2b1 r17962:3a07a3d70cea r19020:24d71054fe13 r8183:fea1570ac2b1 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6529:a4e137bf2160 r14321:743d30abf8c3 r6529:a4e137bf2160 r14330:2d8f05e92659 r6529:a4e137bf2160 r6529:a4e137bf2160 r6529:a4e137bf2160 r17962:3a07a3d70cea r6529:a4e137bf2160 r14330:2d8f05e92659 r6529:a4e137bf2160 r6529:a4e137bf2160 r17962:3a07a3d70cea r6529:a4e137bf2160 r6529:a4e137bf2160 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23838:bfeaabaa7b1d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r7780:af8c230bc12c r7780:af8c230bc12c r5584:545d748cc681 r5584:545d748cc681 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r6095:305693780b7b r6873:011bb2269607 r17962:3a07a3d70cea r6873:011bb2269607 r6095:305693780b7b r6095:305693780b7b r17962:3a07a3d70cea r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r7929:67846e70abf8 r6095:305693780b7b r6095:305693780b7b r6139:0128edd33976 r6095:305693780b7b r6095:305693780b7b r6095:305693780b7b r6095:305693780b7b r17661:7d47f66c9c28 r18929:f8b24505c047 r18929:f8b24505c047 r18929:f8b24505c047 r23607:36c15679007d r6095:305693780b7b r6095:305693780b7b r6095:305693780b7b r6139:0128edd33976 r6095:305693780b7b r6095:305693780b7b r6095:305693780b7b r14321:743d30abf8c3 r6139:0128edd33976 r6095:305693780b7b r6095:305693780b7b r6095:305693780b7b r18929:f8b24505c047 r23607:36c15679007d r18929:f8b24505c047 r14662:8798e984ee81 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r14321:743d30abf8c3 r14330:2d8f05e92659 r14321:743d30abf8c3 r23607:36c15679007d r14321:743d30abf8c3 r14321:743d30abf8c3 r21410:ae5961f02724 r14321:743d30abf8c3 r6139:0128edd33976 r6139:0128edd33976 r6103:436b6b65ad3d r6103:436b6b65ad3d r14321:743d30abf8c3 r14330:2d8f05e92659 r6139:0128edd33976 r18135:506fefd4fc51 r14114:eba28a7d61ac r14114:eba28a7d61ac r21410:ae5961f02724 r6139:0128edd33976 r6139:0128edd33976 r6139:0128edd33976 r18943:3e25b87ea626 r14330:2d8f05e92659 r17962:3a07a3d70cea r6139:0128edd33976 r6139:0128edd33976 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r14321:743d30abf8c3 r14330:2d8f05e92659 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r22307:bb95956c7e75 r22307:bb95956c7e75 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r9413:fcf267325763 r8391:9fa1d33806a2 r6515:fea178a6deef r9413:fcf267325763 r8391:9fa1d33806a2 r6515:fea178a6deef r6515:fea178a6deef r8391:9fa1d33806a2 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r9413:fcf267325763 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8649:c01c6038e0c1 r8391:9fa1d33806a2 r11085:c87a330fb4c2 r6515:fea178a6deef r6515:fea178a6deef r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r23838:bfeaabaa7b1d r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r12398:30c6728e7835 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r8391:9fa1d33806a2 r18312:c187a9245e76 r18312:c187a9245e76 r21741:9b4a5dc5a0dd r18312:c187a9245e76 r20230:e1e73978c91c r20230:e1e73978c91c r20230:e1e73978c91c r20230:e1e73978c91c r20230:e1e73978c91c r20230:e1e73978c91c r20230:e1e73978c91c r20230:e1e73978c91c r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6515:fea178a6deef r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r17962:3a07a3d70cea r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r17962:3a07a3d70cea r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r17962:3a07a3d70cea r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r17662:9c021a1ee821 r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r6781:a8a53e90148b r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r6281:ebcf7c502f91 r6281:ebcf7c502f91 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7928:a80e7e05d6c5 r17962:3a07a3d70cea r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6515:fea178a6deef r5584:545d748cc681 r5584:545d748cc681 r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r17962:3a07a3d70cea r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r17962:3a07a3d70cea r9098:7e731ca86dde r17662:9c021a1ee821 r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r6348:a905c3e6d8fa r6348:a905c3e6d8fa r6348:a905c3e6d8fa r6348:a905c3e6d8fa r9413:fcf267325763 r9070:e059c65164f3 r17962:3a07a3d70cea r9070:e059c65164f3 r11363:6906c490a00e r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r17962:3a07a3d70cea r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r9098:7e731ca86dde r17962:3a07a3d70cea r9098:7e731ca86dde r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6781:a8a53e90148b r7690:cd49b730591e r18668:b656d614c4fd r17962:3a07a3d70cea r6781:a8a53e90148b r6781:a8a53e90148b r6477:758eb82b73ec r5584:545d748cc681 r9098:7e731ca86dde r9098:7e731ca86dde r9098:7e731ca86dde r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r9556:414819be4c58 r23607:36c15679007d r9556:414819be4c58 r9556:414819be4c58 r9556:414819be4c58 r23607:36c15679007d r5584:545d748cc681 r15977:c6ea898db4a7 r15977:c6ea898db4a7 r5584:545d748cc681 r14141:092094f6122c r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21376:6c94a5a545a2 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r21376:6c94a5a545a2 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23838:bfeaabaa7b1d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r10002:a1c2314c8164 r10002:a1c2314c8164 r10002:a1c2314c8164 r9413:fcf267325763 r10002:a1c2314c8164 r10002:a1c2314c8164 r7730:1acb6eb292e8 r10002:a1c2314c8164 r10002:a1c2314c8164 r7730:1acb6eb292e8 r10002:a1c2314c8164 r7730:1acb6eb292e8 r10002:a1c2314c8164 r7730:1acb6eb292e8 r23373:1ba201f8c6ec r23373:1ba201f8c6ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23373:1ba201f8c6ec r23373:1ba201f8c6ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6348:a905c3e6d8fa r19175:72dc49a3a633 r19175:72dc49a3a633 r19175:72dc49a3a633 r19175:72dc49a3a633 r19175:72dc49a3a633 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r22307:bb95956c7e75 r5584:545d748cc681 r5584:545d748cc681 r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r8546:225d8773329b r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r14141:092094f6122c r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r6281:ebcf7c502f91 r6281:ebcf7c502f91 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r6281:ebcf7c502f91 r6281:ebcf7c502f91 r14330:2d8f05e92659 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r17662:9c021a1ee821 r21410:ae5961f02724 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r14321:743d30abf8c3 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r17962:3a07a3d70cea r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r14330:2d8f05e92659 r6956:6398843f1341 r6956:6398843f1341 r7928:a80e7e05d6c5 r6956:6398843f1341 r7929:67846e70abf8 r17962:3a07a3d70cea r6956:6398843f1341 r14330:2d8f05e92659 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r7929:67846e70abf8 r6956:6398843f1341 r14330:2d8f05e92659 r10482:eff5bdf09f57 r18135:506fefd4fc51 r10482:eff5bdf09f57 r10482:eff5bdf09f57 r6956:6398843f1341 r18135:506fefd4fc51 r6956:6398843f1341 r14330:2d8f05e92659 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r14330:2d8f05e92659 r11870:92eb16f6d311 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r14330:2d8f05e92659 r6956:6398843f1341 r7928:a80e7e05d6c5 r14330:2d8f05e92659 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r17661:7d47f66c9c28 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r14330:2d8f05e92659 r18135:506fefd4fc51 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r6956:6398843f1341 r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r6281:ebcf7c502f91 r14321:743d30abf8c3 r17962:3a07a3d70cea r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r5584:545d748cc681 r5584:545d748cc681 r19015:cc992f00083d r19015:cc992f00083d r5584:545d748cc681 r5584:545d748cc681 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15047:549cfe65e8b5 r11936:9ec1ad99161c r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r11936:9ec1ad99161c r11936:9ec1ad99161c r11936:9ec1ad99161c r5584:545d748cc681 r5584:545d748cc681 r11936:9ec1ad99161c r11936:9ec1ad99161c r5584:545d748cc681 r5584:545d748cc681 r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19015:cc992f00083d r19015:cc992f00083d r19020:24d71054fe13 r19015:cc992f00083d r19015:cc992f00083d r19020:24d71054fe13 r19020:24d71054fe13 r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19164:fb28ade150af r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19162:0a9db228c7f3 r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19164:fb28ade150af r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19016:62abf752c6f9 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19164:fb28ade150af r19020:24d71054fe13 r19020:24d71054fe13 r19163:718dec875d11 r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19016:62abf752c6f9 r19016:62abf752c6f9 r19016:62abf752c6f9 r19016:62abf752c6f9 r19164:fb28ade150af r19016:62abf752c6f9 r19163:718dec875d11 r19016:62abf752c6f9 r19015:cc992f00083d r5584:545d748cc681 r5584:545d748cc681 r19015:cc992f00083d r19163:718dec875d11 r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r19015:cc992f00083d r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18429:d977c5f19514 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14330:2d8f05e92659 r5584:545d748cc681 r6281:ebcf7c502f91 r14330:2d8f05e92659 r14330:2d8f05e92659 r14330:2d8f05e92659 r5584:545d748cc681 r18429:d977c5f19514 r18429:d977c5f19514 r18429:d977c5f19514 r18429:d977c5f19514 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r18429:d977c5f19514 r17962:3a07a3d70cea r19020:24d71054fe13 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r14321:743d30abf8c3 r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r14330:2d8f05e92659 r8431:6c667a05e09f r8431:6c667a05e09f r8431:6c667a05e09f r14330:2d8f05e92659 r8431:6c667a05e09f r8431:6c667a05e09f r17962:3a07a3d70cea r8431:6c667a05e09f r8431:6c667a05e09f r14330:2d8f05e92659 r8431:6c667a05e09f r8431:6c667a05e09f r17962:3a07a3d70cea r8431:6c667a05e09f r8431:6c667a05e09f r18088:ce674bbf03ad r14321:743d30abf8c3 r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r14330:2d8f05e92659 r6234:bf5b7ba939df r23607:36c15679007d r6477:758eb82b73ec r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r17661:7d47f66c9c28 r6873:011bb2269607 r6873:011bb2269607 r6873:011bb2269607 r21410:ae5961f02724 r17661:7d47f66c9c28 r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r18537:5d7c138fcb4f r18537:5d7c138fcb4f r18537:5d7c138fcb4f r18537:5d7c138fcb4f r18537:5d7c138fcb4f r18537:5d7c138fcb4f r14330:2d8f05e92659 r14330:2d8f05e92659 r6234:bf5b7ba939df r22562:9c9754af7ec0 r6477:758eb82b73ec r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r14321:743d30abf8c3 r14330:2d8f05e92659 r14321:743d30abf8c3 r14321:743d30abf8c3 r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r18537:5d7c138fcb4f r6234:bf5b7ba939df r6234:bf5b7ba939df r6234:bf5b7ba939df r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18135:506fefd4fc51 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18135:506fefd4fc51 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18637:6db0bce1fa51 r18637:6db0bce1fa51 r18637:6db0bce1fa51 r18637:6db0bce1fa51 r18637:6db0bce1fa51 r18637:6db0bce1fa51 r18637:6db0bce1fa51 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r17962:3a07a3d70cea r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15581:4edf751ff5e7 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r17634:ef9a728399b6 r15584:5fce62ffde01 r15584:5fce62ffde01 r17634:ef9a728399b6 r17634:ef9a728399b6 r17634:ef9a728399b6 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r17634:ef9a728399b6 r17962:3a07a3d70cea r17962:3a07a3d70cea r17634:ef9a728399b6 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r15584:5fce62ffde01 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r18162:11349b218a54 r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r16249:929ddeef42a2 r17962:3a07a3d70cea r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r15589:fd456a62bb1c r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r17962:3a07a3d70cea r17962:3a07a3d70cea r16249:929ddeef42a2 r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r16249:929ddeef42a2 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r18135:506fefd4fc51 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r18135:506fefd4fc51 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r17962:3a07a3d70cea r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15908:3f9e60a558e4 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15907:70e379b9c8d1 r17962:3a07a3d70cea r15907:70e379b9c8d1 r15907:70e379b9c8d1 r15585:151b3e97ecca r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15585:151b3e97ecca r15587:cbaa53b54547 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r17382:0f7652eebb9c r17382:0f7652eebb9c r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r18135:506fefd4fc51 r15585:151b3e97ecca r23607:36c15679007d r18135:506fefd4fc51 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r18088:ce674bbf03ad r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15908:3f9e60a558e4 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r17962:3a07a3d70cea r15585:151b3e97ecca r17382:0f7652eebb9c r17382:0f7652eebb9c r17382:0f7652eebb9c r15585:151b3e97ecca r15585:151b3e97ecca r23520:20bbc807b0eb r23532:dc91fcd293f5 r15585:151b3e97ecca r23607:36c15679007d r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r15585:151b3e97ecca r15587:cbaa53b54547 r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r15585:151b3e97ecca r18088:ce674bbf03ad r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18637:6db0bce1fa51 r15581:4edf751ff5e7 r15584:5fce62ffde01 r18162:11349b218a54 r15589:fd456a62bb1c r16249:929ddeef42a2 r15585:151b3e97ecca r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18088:ce674bbf03ad r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18088:ce674bbf03ad r18088:ce674bbf03ad r21361:216581a1db53 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15587:cbaa53b54547 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r17422:a76aec0f4a80 r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r15587:cbaa53b54547 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r15580:34393a650f17 r15580:34393a650f17 r15580:34393a650f17 r15587:cbaa53b54547 r15580:34393a650f17 r15580:34393a650f17 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r14321:743d30abf8c3 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r6247:96e840dbefcc r5584:545d748cc681 r12190:b1cc850530e0 r12172:47b571c47f67 r12172:47b571c47f67 r17210:893afe086e22 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r9354:358e967da2ca r9413:fcf267325763 r17254:e5be26778429 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r19291:d199fcaeac08 r9413:fcf267325763 r9354:358e967da2ca r12172:47b571c47f67 r12172:47b571c47f67 r16962:1bea833c64d6 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r11000:d03bad32156f r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r17204:d124a8d2470e r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r12172:47b571c47f67 r9413:fcf267325763 r12172:47b571c47f67 r12172:47b571c47f67 r22996:bfb094beb5e1 r22996:bfb094beb5e1 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r6247:96e840dbefcc r5584:545d748cc681 r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20798:50972fe67d68 r23607:36c15679007d r13718:936583604dd1 r5584:545d748cc681 r17671:6321f2c5c4f2 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6281:ebcf7c502f91 r6281:ebcf7c502f91 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r13718:936583604dd1 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r6332:7393965b5322 r6332:7393965b5322 r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20795:183b78f738d1 r13718:936583604dd1 r6848:e955ef83f2d3 r6332:7393965b5322 r13718:936583604dd1 r23607:36c15679007d r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r18088:ce674bbf03ad r14607:4bad45b6a4eb r14607:4bad45b6a4eb r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20796:0cd35eef3a56 r14853:af90de84e7b4 r14853:af90de84e7b4 r23607:36c15679007d r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r18352:6c15d75d1ab9 r14853:af90de84e7b4 r18352:6c15d75d1ab9 r18352:6c15d75d1ab9 r22686:4af4400f8a5b r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r14853:af90de84e7b4 r23607:36c15679007d r23536:ce42deb0b32d r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20797:84922263dbd2 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r23607:36c15679007d r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r18088:ce674bbf03ad r6759:a9204a361fa6 r6759:a9204a361fa6 r23536:ce42deb0b32d r23536:ce42deb0b32d r23536:ce42deb0b32d r13718:936583604dd1 r6759:a9204a361fa6 r6759:a9204a361fa6 r23607:36c15679007d r20792:d41be17c1b0b r13718:936583604dd1 r23867:be2be375b64c r6759:a9204a361fa6 r6759:a9204a361fa6 r13718:936583604dd1 r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r20793:53ddcd7714d7 r13718:936583604dd1 r6759:a9204a361fa6 r12325:d72fd32e4c7a r13718:936583604dd1 r23607:36c15679007d r6759:a9204a361fa6 r6759:a9204a361fa6 r6759:a9204a361fa6 r18088:ce674bbf03ad r15956:d2b10191aed2 r15956:d2b10191aed2 r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20790:1c40c83d41c6 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r23607:36c15679007d r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r18088:ce674bbf03ad r6247:96e840dbefcc r5584:545d748cc681 r23536:ce42deb0b32d r23536:ce42deb0b32d r5584:545d748cc681 r5584:545d748cc681 r23517:1a32c3c14728 r23607:36c15679007d r5584:545d748cc681 r5584:545d748cc681 r18088:ce674bbf03ad r6870:2789ed4a990e r6870:2789ed4a990e r23607:36c15679007d r23607:36c15679007d r14662:8798e984ee81 r23607:36c15679007d r6870:2789ed4a990e r6870:2789ed4a990e r6870:2789ed4a990e r6870:2789ed4a990e r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r16055:f2d805b29aac r5584:545d748cc681 r5584:545d748cc681 r6956:6398843f1341 r5584:545d748cc681 r6348:a905c3e6d8fa r8221:3d4e594201cd r5584:545d748cc681 r8489:4eb5a193cb87 r8489:4eb5a193cb87 r5584:545d748cc681 r10001:05b97b3a1a5d r10001:05b97b3a1a5d r10001:05b97b3a1a5d r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r9025:fd4943ee9bd5 r11918:5a296c52d1a8 r5584:545d748cc681 r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r6348:a905c3e6d8fa r5584:545d748cc681 r18668:b656d614c4fd r5584:545d748cc681 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r6348:a905c3e6d8fa r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6743:3ed518db5852 r6759:a9204a361fa6 r6743:3ed518db5852 r6743:3ed518db5852 r15949:1632bafb6884 r15951:b2083610fae0 r15956:d2b10191aed2 r15949:1632bafb6884 r15949:1632bafb6884 r6348:a905c3e6d8fa r15729:fa8bb219ec5a r5584:545d748cc681 r5584:545d748cc681 r14606:2cf1bcd611f7 r15730:99440cf75a72 r14607:4bad45b6a4eb r14725:026b6e13b803 r14606:2cf1bcd611f7 r14606:2cf1bcd611f7 r8372:59d73d58fc53 r8372:59d73d58fc53 r6583:63b4cb964287 r6343:4d2d12eee7b9 r6343:4d2d12eee7b9 r6343:4d2d12eee7b9 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6870:2789ed4a990e r6870:2789ed4a990e r6870:2789ed4a990e r6091:2faa7d307565 r9413:fcf267325763 r6091:2faa7d307565 r5584:545d748cc681 r5584:545d748cc681 r6769:0e5b094df012 r6914:0e1dfc32f04f r16142:e91bfb8299b5 r6914:0e1dfc32f04f r7661:6ec67e48def4 r8403:8b4006f704c5 r23698:1872cc5b7dd7 r5584:545d748cc681 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r5584:545d748cc681 r11967:df0600d2c7e7 r5584:545d748cc681 r5584:545d748cc681 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r17884:c09c40617963 r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r6147:29bca9cbe66b r6147:29bca9cbe66b r17962:3a07a3d70cea r6147:29bca9cbe66b r6147:29bca9cbe66b r12405:ba094e765533 r6147:29bca9cbe66b r6147:29bca9cbe66b r23520:20bbc807b0eb r6147:29bca9cbe66b r17962:3a07a3d70cea r6147:29bca9cbe66b r6147:29bca9cbe66b r23534:ced2648be38e r23534:ced2648be38e r6147:29bca9cbe66b r6147:29bca9cbe66b r6147:29bca9cbe66b r6147:29bca9cbe66b r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r18088:ce674bbf03ad r17627:5bbfcefda44f r5584:545d748cc681 r6281:ebcf7c502f91 r23607:36c15679007d r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r19361:172ad5e17c1b r23532:dc91fcd293f5 r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r21410:ae5961f02724 r19361:172ad5e17c1b r5584:545d748cc681 r12423:199e8b46a11b r19361:172ad5e17c1b r19361:172ad5e17c1b r12423:199e8b46a11b r13733:844aadb7fd6d r13733:844aadb7fd6d r19361:172ad5e17c1b r13733:844aadb7fd6d r13733:844aadb7fd6d r14422:093c5531c371 r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r14422:093c5531c371 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r14141:092094f6122c r14141:092094f6122c r19361:172ad5e17c1b r14141:092094f6122c r14141:092094f6122c r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r19361:172ad5e17c1b r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r15610:623a23fb6560 r15610:623a23fb6560 r15613:193c12018337 r15613:193c12018337 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r13086:71e929261037 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r6247:96e840dbefcc r5584:545d748cc681 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r9070:e059c65164f3 r18231:9d476fecd5bf r6284:e02e15cfb5e5 r13148:2b6b0c95fa84 r19044:6e3067275e68 r22867:9bff1c966805 r22867:9bff1c966805 r22867:9bff1c966805 r18230:133e79e361cf r18231:9d476fecd5bf r18231:9d476fecd5bf r19044:6e3067275e68 r18231:9d476fecd5bf r13148:2b6b0c95fa84 r13148:2b6b0c95fa84 r12408:d7d52eed8c09 r12408:d7d52eed8c09 r13148:2b6b0c95fa84 r13148:2b6b0c95fa84 r6284:e02e15cfb5e5 r6284:e02e15cfb5e5 r18230:133e79e361cf r18230:133e79e361cf r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r18437:c01fef4104a3 r13148:2b6b0c95fa84 r22867:9bff1c966805 r18230:133e79e361cf r13148:2b6b0c95fa84 r9070:e059c65164f3 r9070:e059c65164f3 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r6145:6af25a883715 r7931:4c17a74c399e r6145:6af25a883715 r5584:545d748cc681 r18230:133e79e361cf r18230:133e79e361cf r18231:9d476fecd5bf r18231:9d476fecd5bf r18231:9d476fecd5bf r18231:9d476fecd5bf r18231:9d476fecd5bf r19513:78ecb1cac672 r19513:78ecb1cac672 r19513:78ecb1cac672 r18668:b656d614c4fd r18231:9d476fecd5bf r18233:52f0bbea29b0 r18231:9d476fecd5bf r18230:133e79e361cf r6142:f2a14973cf31 r6142:f2a14973cf31 r12733:799714c0c280 r18299:b635b66c1adb r19048:792758351412 r23607:36c15679007d r19048:792758351412 r19048:792758351412 r23607:36c15679007d r23607:36c15679007d r19048:792758351412 r19048:792758351412 r19048:792758351412 r19048:792758351412 r23607:36c15679007d r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18299:b635b66c1adb r18970:08a9683446b1 r18970:08a9683446b1 r18970:08a9683446b1 r18970:08a9683446b1 r18970:08a9683446b1 r18299:b635b66c1adb r17485:c12f0c21a7e5 r18233:52f0bbea29b0 r18233:52f0bbea29b0 r18233:52f0bbea29b0 r18233:52f0bbea29b0 r18233:52f0bbea29b0 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r23607:36c15679007d r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r23607:36c15679007d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r16142:e91bfb8299b5 r23250:1248c8658b00 r23250:1248c8658b00 r17322:781008301adf r17322:781008301adf r17322:781008301adf r23607:36c15679007d r17322:781008301adf r17322:781008301adf r17322:781008301adf r16142:e91bfb8299b5 r16142:e91bfb8299b5 r23607:36c15679007d r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r16142:e91bfb8299b5 r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r18668:b656d614c4fd r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r15610:623a23fb6560 r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r23607:36c15679007d r16093:7ca7eadc66dd r23607:36c15679007d r23607:36c15679007d r16093:7ca7eadc66dd r23607:36c15679007d r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r23607:36c15679007d r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r23607:36c15679007d r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16094:73ebc3170625 r16094:73ebc3170625 r16094:73ebc3170625 r23607:36c15679007d r16094:73ebc3170625 r16094:73ebc3170625 r16094:73ebc3170625 r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r20794:ace4f2fce9a6 r17615:dde95738dc51 r23607:36c15679007d r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r20794:ace4f2fce9a6 r17615:dde95738dc51 r23607:36c15679007d r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r15610:623a23fb6560 r6332:7393965b5322 r6332:7393965b5322 r15613:193c12018337 r15613:193c12018337 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r8165:1a76581e55d5 r8165:1a76581e55d5 r8165:1a76581e55d5 r8165:1a76581e55d5 r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r6332:7393965b5322 r20795:183b78f738d1 r13718:936583604dd1 r11872:e030ab45246c r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r11872:e030ab45246c r23536:ce42deb0b32d r15916:7815a6e1486b r11872:e030ab45246c r17525:898b2561a8a3 r17525:898b2561a8a3 r17525:898b2561a8a3 r20794:ace4f2fce9a6 r16093:7ca7eadc66dd r23607:36c15679007d r23607:36c15679007d r23607:36c15679007d r16093:7ca7eadc66dd r16093:7ca7eadc66dd r16093:7ca7eadc66dd r23607:36c15679007d r17325:65551508ead4 r17325:65551508ead4 r17325:65551508ead4 r17325:65551508ead4 r17325:65551508ead4 r17325:65551508ead4 r17325:65551508ead4 r17326:8aff52afdd56 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r17615:dde95738dc51 r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r15610:623a23fb6560 r15610:623a23fb6560 r7183:35e0146e7d58 r15613:193c12018337 r15613:193c12018337 r7183:35e0146e7d58 r7183:35e0146e7d58 r23536:ce42deb0b32d r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20792:d41be17c1b0b r13718:936583604dd1 r7183:35e0146e7d58 r23607:36c15679007d r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r7217:ac29b5ec3d65 r8470:2c86b652d238 r8470:2c86b652d238 r10015:f354a29a8a03 r8470:2c86b652d238 r8470:2c86b652d238 r8470:2c86b652d238 r8470:2c86b652d238 r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r23607:36c15679007d r20793:53ddcd7714d7 r13718:936583604dd1 r23607:36c15679007d r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r7233:d578434a488b r7233:d578434a488b r7233:d578434a488b r23607:36c15679007d r7233:d578434a488b r7233:d578434a488b r7233:d578434a488b r7233:d578434a488b r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r7233:d578434a488b r7183:35e0146e7d58 r6359:99cac4de410b r14607:4bad45b6a4eb r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20790:1c40c83d41c6 r23607:36c15679007d r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r23536:ce42deb0b32d r23536:ce42deb0b32d r23607:36c15679007d r20796:0cd35eef3a56 r23607:36c15679007d r14851:b3915c863ff3 r14851:b3915c863ff3 r14851:b3915c863ff3 r14851:b3915c863ff3 r14851:b3915c863ff3 r23536:ce42deb0b32d r23607:36c15679007d r20797:84922263dbd2 r23607:36c15679007d r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14607:4bad45b6a4eb r5584:545d748cc681 r5584:545d748cc681 r11363:6906c490a00e r11363:6906c490a00e r5584:545d748cc681 r5584:545d748cc681 r11296:2a1560eb1237 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r11363:6906c490a00e r11363:6906c490a00e r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r23620:1030ace82d57 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r11296:2a1560eb1237 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r9947:90dc092550a5 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14330:2d8f05e92659 r14321:743d30abf8c3 r14321:743d30abf8c3 r19015:cc992f00083d r14321:743d30abf8c3 r19015:cc992f00083d r14321:743d30abf8c3 r14321:743d30abf8c3 r23607:36c15679007d r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r14321:743d30abf8c3 r17661:7d47f66c9c28 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r5584:545d748cc681 r7034:02d83c0816e7 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r23607:36c15679007d r6806:afcfd45f5a45 r7928:a80e7e05d6c5 r5584:545d748cc681 r5584:545d748cc681 r22522:211f98bf45cf r22522:211f98bf45cf r7805:7b5af263f275 r14662:8798e984ee81 r7805:7b5af263f275 r7805:7b5af263f275 r7805:7b5af263f275 r18007:5ef6f0cf0861 r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r17962:3a07a3d70cea r5584:545d748cc681 r6477:758eb82b73ec r5584:545d748cc681 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r19020:24d71054fe13 r19020:24d71054fe13 r5584:545d748cc681 r5584:545d748cc681 r6477:758eb82b73ec r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17963:5f234f99c9c7 r5584:545d748cc681 r11296:2a1560eb1237 r11296:2a1560eb1237 r19020:24d71054fe13 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r11296:2a1560eb1237 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r10025:a8fd009fcbac r17661:7d47f66c9c28 r10025:a8fd009fcbac r10025:a8fd009fcbac r5584:545d748cc681 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r19020:24d71054fe13 r5584:545d748cc681 r5584:545d748cc681 r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r19944:25a78576fb5e r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r13165:024ce8aa50e8 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r8403:8b4006f704c5 r13733:844aadb7fd6d r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r17439:a50132b05bff r15068:718936ee3a0c r13733:844aadb7fd6d r13733:844aadb7fd6d r23553:9f01781fc43d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r23607:36c15679007d r13733:844aadb7fd6d r23534:ced2648be38e r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13749:7608894e01cc r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13749:7608894e01cc r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r18293:c9afcb11eab2 r23536:ce42deb0b32d r23536:ce42deb0b32d r23536:ce42deb0b32d r13748:140a77305928 r13748:140a77305928 r13749:7608894e01cc r13748:140a77305928 r13748:140a77305928 r13748:140a77305928 r13748:140a77305928 r13748:140a77305928 r13748:140a77305928 r13748:140a77305928 r13733:844aadb7fd6d r23536:ce42deb0b32d r23536:ce42deb0b32d r13733:844aadb7fd6d r13749:7608894e01cc r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r23536:ce42deb0b32d r13733:844aadb7fd6d r13733:844aadb7fd6d r23536:ce42deb0b32d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r23536:ce42deb0b32d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r13733:844aadb7fd6d r8323:b990d57b47dd r6956:6398843f1341 r18088:ce674bbf03ad r6332:7393965b5322 r6332:7393965b5322 r23536:ce42deb0b32d r23536:ce42deb0b32d r21159:a4ff2d8a45fe r23517:1a32c3c14728 r8959:484dbfc31293 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r9947:90dc092550a5 r18668:b656d614c4fd r15232:23efec4c269d r15232:23efec4c269d r6332:7393965b5322 r6332:7393965b5322 r6332:7393965b5322 r15232:23efec4c269d r15232:23efec4c269d r15232:23efec4c269d r18087:1bd0e337907f r18087:1bd0e337907f r18087:1bd0e337907f r6332:7393965b5322 r6332:7393965b5322 r6359:99cac4de410b r7183:35e0146e7d58 r7183:35e0146e7d58 r7183:35e0146e7d58 r15956:d2b10191aed2 r15956:d2b10191aed2 r15956:d2b10191aed2 r14922:51cba7fe7b9b r14922:51cba7fe7b9b r14913:cb843fd1989e r14913:cb843fd1989e r14913:cb843fd1989e r6533:e4ba06da0f4c r6533:e4ba06da0f4c r6533:e4ba06da0f4c r20255:e962597d7e2b r20255:e962597d7e2b r20255:e962597d7e2b r14607:4bad45b6a4eb r14607:4bad45b6a4eb r14727:9ddd9a15dd3b r14607:4bad45b6a4eb r6956:6398843f1341 r8323:b990d57b47dd r8403:8b4006f704c5 r9070:e059c65164f3 r9672:31eaac85a9e4 r9070:e059c65164f3 r8403:8b4006f704c5 r8403:8b4006f704c5 r9025:fd4943ee9bd5 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r14477:752d803ed3be r14477:752d803ed3be r23698:1872cc5b7dd7 r14477:752d803ed3be r10595:21bce3389b06 r10595:21bce3389b06 r10595:21bce3389b06 r10595:21bce3389b06 r10595:21bce3389b06 r10595:21bce3389b06 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r10595:21bce3389b06 r10595:21bce3389b06 r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r17485:c12f0c21a7e5 r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r14895:fb237f7e7f5b r10631:5682bb21a3e6 r10631:5682bb21a3e6 r13733:844aadb7fd6d r13733:844aadb7fd6d r9025:fd4943ee9bd5 r9025:fd4943ee9bd5 r9098:7e731ca86dde r6332:7393965b5322 r6332:7393965b5322 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r18007:5ef6f0cf0861 r22523:2816509b7317 r18007:5ef6f0cf0861 r22523:2816509b7317 r5584:545d748cc681 r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r8159:dd3e32edf24e r8159:dd3e32edf24e r8159:dd3e32edf24e r23838:bfeaabaa7b1d r8159:dd3e32edf24e r8159:dd3e32edf24e r8159:dd3e32edf24e r23607:36c15679007d r8159:dd3e32edf24e r8159:dd3e32edf24e r8159:dd3e32edf24e r17962:3a07a3d70cea r9098:7e731ca86dde r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r7830:80ef221c9406 r8668:c9d5b7e87c3f r8668:c9d5b7e87c3f r23607:36c15679007d r8668:c9d5b7e87c3f r8668:c9d5b7e87c3f r8668:c9d5b7e87c3f r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r18386:362a832b9b72 r5584:545d748cc681 r22522:211f98bf45cf r5584:545d748cc681 r17962:3a07a3d70cea r23607:36c15679007d r6229:a69564e4eb2e r7928:a80e7e05d6c5 r5584:545d748cc681 r22523:2816509b7317 r18007:5ef6f0cf0861 r12169:ecacf48b3880 r12169:ecacf48b3880 r12169:ecacf48b3880 r12169:ecacf48b3880 r5584:545d748cc681 r17627:5bbfcefda44f r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r22522:211f98bf45cf r18007:5ef6f0cf0861 r6820:a1777c22c53a r7931:4c17a74c399e r7830:80ef221c9406 r7929:67846e70abf8 r17962:3a07a3d70cea r17962:3a07a3d70cea r6147:29bca9cbe66b r17962:3a07a3d70cea r10923:3fea8b62d2ab r10923:3fea8b62d2ab r17962:3a07a3d70cea r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r5584:545d748cc681 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r18091:8a67b7ad4bc9 r6332:7393965b5322 r6332:7393965b5322 r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r10512:68d339ee01db r5584:545d748cc681 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file newgrf.cpp Base of all NewGRF support. */
#include "stdafx.h"
#include <stdarg.h>
#include <algorithm>
#include "debug.h"
#include "fileio_func.h"
#include "engine_func.h"
#include "engine_base.h"
#include "bridge.h"
#include "town.h"
#include "newgrf_engine.h"
#include "newgrf_text.h"
#include "fontcache.h"
#include "currency.h"
#include "landscape.h"
#include "newgrf_cargo.h"
#include "newgrf_house.h"
#include "newgrf_sound.h"
#include "newgrf_station.h"
#include "industrytype.h"
#include "newgrf_canal.h"
#include "newgrf_townname.h"
#include "newgrf_industries.h"
#include "newgrf_airporttiles.h"
#include "newgrf_airport.h"
#include "newgrf_object.h"
#include "rev.h"
#include "fios.h"
#include "strings_func.h"
#include "date_func.h"
#include "string_func.h"
#include "network/network.h"
#include <map>
#include "smallmap_gui.h"
#include "genworld.h"
#include "error.h"
#include "vehicle_func.h"
#include "language.h"
#include "vehicle_base.h"
#include "road.h"
#include "table/strings.h"
#include "table/build_industry.h"
#include "safeguards.h"
/* TTDPatch extended GRF format codec
* (c) Petr Baudis 2004 (GPL'd)
* Changes by Florian octo Forster are (c) by the OpenTTD development team.
*
* Contains portions of documentation by TTDPatch team.
* Thanks especially to Josef Drexler for the documentation as well as a lot
* of help at #tycoon. Also thanks to Michael Blunck for his GRF files which
* served as subject to the initial testing of this codec. */
/** List of all loaded GRF files */
static std::vector<GRFFile *> _grf_files;
/** Miscellaneous GRF features, set by Action 0x0D, parameter 0x9E */
byte _misc_grf_features = 0;
/** 32 * 8 = 256 flags. Apparently TTDPatch uses this many.. */
static uint32 _ttdpatch_flags[8];
/** Indicates which are the newgrf features currently loaded ingame */
GRFLoadedFeatures _loaded_newgrf_features;
static const uint MAX_SPRITEGROUP = UINT8_MAX; ///< Maximum GRF-local ID for a spritegroup.
/** Temporary data during loading of GRFs */
struct GrfProcessingState {
private:
/** Definition of a single Action1 spriteset */
struct SpriteSet {
SpriteID sprite; ///< SpriteID of the first sprite of the set.
uint num_sprites; ///< Number of sprites in the set.
};
/** Currently referenceable spritesets */
std::map<uint, SpriteSet> spritesets[GSF_END];
public:
/* Global state */
GrfLoadingStage stage; ///< Current loading stage
SpriteID spriteid; ///< First available SpriteID for loading realsprites.
/* Local state in the file */
uint file_index; ///< File index of currently processed GRF file.
GRFFile *grffile; ///< Currently processed GRF file.
GRFConfig *grfconfig; ///< Config of the currently processed GRF file.
uint32 nfo_line; ///< Currently processed pseudo sprite number in the GRF.
byte grf_container_ver; ///< Container format of the current GRF file.
/* Kind of return values when processing certain actions */
int skip_sprites; ///< Number of pseudo sprites to skip before processing the next one. (-1 to skip to end of file)
/* Currently referenceable spritegroups */
SpriteGroup *spritegroups[MAX_SPRITEGROUP + 1];
/** Clear temporary data before processing the next file in the current loading stage */
void ClearDataForNextFile()
{
this->nfo_line = 0;
this->skip_sprites = 0;
for (uint i = 0; i < GSF_END; i++) {
this->spritesets[i].clear();
}
memset(this->spritegroups, 0, sizeof(this->spritegroups));
}
/**
* Records new spritesets.
* @param feature GrfSpecFeature the set is defined for.
* @param first_sprite SpriteID of the first sprite in the set.
* @param first_set First spriteset to define.
* @param numsets Number of sets to define.
* @param numents Number of sprites per set to define.
*/
void AddSpriteSets(byte feature, SpriteID first_sprite, uint first_set, uint numsets, uint numents)
{
assert(feature < GSF_END);
for (uint i = 0; i < numsets; i++) {
SpriteSet &set = this->spritesets[feature][first_set + i];
set.sprite = first_sprite + i * numents;
set.num_sprites = numents;
}
}
/**
* Check whether there are any valid spritesets for a feature.
* @param feature GrfSpecFeature to check.
* @return true if there are any valid sets.
* @note Spritesets with zero sprites are valid to allow callback-failures.
*/
bool HasValidSpriteSets(byte feature) const
{
assert(feature < GSF_END);
return !this->spritesets[feature].empty();
}
/**
* Check whether a specific set is defined.
* @param feature GrfSpecFeature to check.
* @param set Set to check.
* @return true if the set is valid.
* @note Spritesets with zero sprites are valid to allow callback-failures.
*/
bool IsValidSpriteSet(byte feature, uint set) const
{
assert(feature < GSF_END);
return this->spritesets[feature].find(set) != this->spritesets[feature].end();
}
/**
* Returns the first sprite of a spriteset.
* @param feature GrfSpecFeature to query.
* @param set Set to query.
* @return First sprite of the set.
*/
SpriteID GetSprite(byte feature, uint set) const
{
assert(IsValidSpriteSet(feature, set));
return this->spritesets[feature].find(set)->second.sprite;
}
/**
* Returns the number of sprites in a spriteset
* @param feature GrfSpecFeature to query.
* @param set Set to query.
* @return Number of sprites in the set.
*/
uint GetNumEnts(byte feature, uint set) const
{
assert(IsValidSpriteSet(feature, set));
return this->spritesets[feature].find(set)->second.num_sprites;
}
};
static GrfProcessingState _cur;
/**
* Helper to check whether an image index is valid for a particular NewGRF vehicle.
* @tparam T The type of vehicle.
* @param image_index The image index to check.
* @return True iff the image index is valid, or 0xFD (use new graphics).
*/
template <VehicleType T>
static inline bool IsValidNewGRFImageIndex(uint8 image_index)
{
return image_index == 0xFD || IsValidImageIndex<T>(image_index);
}
class OTTDByteReaderSignal { };
/** Class to read from a NewGRF file */
class ByteReader {
protected:
byte *data;
byte *end;
public:
ByteReader(byte *data, byte *end) : data(data), end(end) { }
inline byte ReadByte()
{
if (data < end) return *(data)++;
throw OTTDByteReaderSignal();
}
uint16 ReadWord()
{
uint16 val = ReadByte();
return val | (ReadByte() << 8);
}
uint16 ReadExtendedByte()
{
uint16 val = ReadByte();
return val == 0xFF ? ReadWord() : val;
}
uint32 ReadDWord()
{
uint32 val = ReadWord();
return val | (ReadWord() << 16);
}
uint32 ReadVarSize(byte size)
{
switch (size) {
case 1: return ReadByte();
case 2: return ReadWord();
case 4: return ReadDWord();
default:
NOT_REACHED();
return 0;
}
}
const char *ReadString()
{
char *string = reinterpret_cast<char *>(data);
size_t string_length = ttd_strnlen(string, Remaining());
if (string_length == Remaining()) {
/* String was not NUL terminated, so make sure it is now. */
string[string_length - 1] = '\0';
grfmsg(7, "String was not terminated with a zero byte.");
} else {
/* Increase the string length to include the NUL byte. */
string_length++;
}
Skip(string_length);
return string;
}
inline size_t Remaining() const
{
return end - data;
}
inline bool HasData(size_t count = 1) const
{
return data + count <= end;
}
inline byte *Data()
{
return data;
}
inline void Skip(size_t len)
{
data += len;
/* It is valid to move the buffer to exactly the end of the data,
* as there may not be any more data read. */
if (data > end) throw OTTDByteReaderSignal();
}
};
typedef void (*SpecialSpriteHandler)(ByteReader *buf);
static const uint NUM_STATIONS_PER_GRF = 255; ///< Number of StationSpecs per NewGRF; limited to 255 to allow extending Action3 with an extended byte later on.
/** Temporary engine data used when loading only */
struct GRFTempEngineData {
/** Summary state of refittability properties */
enum Refittability {
UNSET = 0, ///< No properties assigned. Default refit masks shall be activated.
EMPTY, ///< GRF defined vehicle as not-refittable. The vehicle shall only carry the default cargo.
NONEMPTY, ///< GRF defined the vehicle as refittable. If the refitmask is empty after translation (cargotypes not available), disable the vehicle.
};
uint16 cargo_allowed;
uint16 cargo_disallowed;
RailTypeLabel railtypelabel;
uint8 roadtramtype;
const GRFFile *defaultcargo_grf; ///< GRF defining the cargo translation table to use if the default cargo is the 'first refittable'.
Refittability refittability; ///< Did the newgrf set any refittability property? If not, default refittability will be applied.
bool prop27_set; ///< Did the NewGRF set property 27 (misc flags)?
uint8 rv_max_speed; ///< Temporary storage of RV prop 15, maximum speed in mph/0.8
CargoTypes ctt_include_mask; ///< Cargo types always included in the refit mask.
CargoTypes ctt_exclude_mask; ///< Cargo types always excluded from the refit mask.
/**
* Update the summary refittability on setting a refittability property.
* @param non_empty true if the GRF sets the vehicle to be refittable.
*/
void UpdateRefittability(bool non_empty)
{
if (non_empty) {
this->refittability = NONEMPTY;
} else if (this->refittability == UNSET) {
this->refittability = EMPTY;
}
}
};
static GRFTempEngineData *_gted; ///< Temporary engine data used during NewGRF loading
/**
* Contains the GRF ID of the owner of a vehicle if it has been reserved.
* GRM for vehicles is only used if dynamic engine allocation is disabled,
* so 256 is the number of original engines. */
static uint32 _grm_engines[256];
/** Contains the GRF ID of the owner of a cargo if it has been reserved */
static uint32 _grm_cargoes[NUM_CARGO * 2];
struct GRFLocation {
uint32 grfid;
uint32 nfoline;
GRFLocation(uint32 grfid, uint32 nfoline) : grfid(grfid), nfoline(nfoline) { }
bool operator<(const GRFLocation &other) const
{
return this->grfid < other.grfid || (this->grfid == other.grfid && this->nfoline < other.nfoline);
}
bool operator == (const GRFLocation &other) const
{
return this->grfid == other.grfid && this->nfoline == other.nfoline;
}
};
static std::map<GRFLocation, SpriteID> _grm_sprites;
typedef std::map<GRFLocation, byte*> GRFLineToSpriteOverride;
static GRFLineToSpriteOverride _grf_line_to_action6_sprite_override;
/**
* DEBUG() function dedicated to newGRF debugging messages
* Function is essentially the same as DEBUG(grf, severity, ...) with the
* addition of file:line information when parsing grf files.
* NOTE: for the above reason(s) grfmsg() should ONLY be used for
* loading/parsing grf files, not for runtime debug messages as there
* is no file information available during that time.
* @param severity debugging severity level, see debug.h
* @param str message in printf() format
*/
void CDECL grfmsg(int severity, const char *str, ...)
{
char buf[1024];
va_list va;
va_start(va, str);
vseprintf(buf, lastof(buf), str, va);
va_end(va);
DEBUG(grf, severity, "[%s:%d] %s", _cur.grfconfig->filename, _cur.nfo_line, buf);
}
/**
* Obtain a NewGRF file by its grfID
* @param grfid The grfID to obtain the file for
* @return The file.
*/
static GRFFile *GetFileByGRFID(uint32 grfid)
{
for (GRFFile * const file : _grf_files) {
if (file->grfid == grfid) return file;
}
return nullptr;
}
/**
* Obtain a NewGRF file by its filename
* @param filename The filename to obtain the file for.
* @return The file.
*/
static GRFFile *GetFileByFilename(const char *filename)
{
for (GRFFile * const file : _grf_files) {
if (strcmp(file->filename, filename) == 0) return file;
}
return nullptr;
}
/** Reset all NewGRFData that was used only while processing data */
static void ClearTemporaryNewGRFData(GRFFile *gf)
{
/* Clear the GOTO labels used for GRF processing */
for (GRFLabel *l = gf->label; l != nullptr;) {
GRFLabel *l2 = l->next;
free(l);
l = l2;
}
gf->label = nullptr;
}
/**
* Disable a GRF
* @param message Error message or STR_NULL.
* @param config GRFConfig to disable, nullptr for current.
* @return Error message of the GRF for further customisation.
*/
static GRFError *DisableGrf(StringID message = STR_NULL, GRFConfig *config = nullptr)
{
GRFFile *file;
if (config != nullptr) {
file = GetFileByGRFID(config->ident.grfid);
} else {
config = _cur.grfconfig;
file = _cur.grffile;
}
config->status = GCS_DISABLED;
if (file != nullptr) ClearTemporaryNewGRFData(file);
if (config == _cur.grfconfig) _cur.skip_sprites = -1;
if (message != STR_NULL) {
delete config->error;
config->error = new GRFError(STR_NEWGRF_ERROR_MSG_FATAL, message);
if (config == _cur.grfconfig) config->error->param_value[0] = _cur.nfo_line;
}
return config->error;
}
/**
* Information for mapping static StringIDs.
*/
struct StringIDMapping {
uint32 grfid; ///< Source NewGRF.
StringID source; ///< Source StringID (GRF local).
StringID *target; ///< Destination for mapping result.
};
typedef std::vector<StringIDMapping> StringIDMappingVector;
static StringIDMappingVector _string_to_grf_mapping;
/**
* Record a static StringID for getting translated later.
* @param source Source StringID (GRF local).
* @param target Destination for the mapping result.
*/
static void AddStringForMapping(StringID source, StringID *target)
{
*target = STR_UNDEFINED;
_string_to_grf_mapping.push_back({_cur.grffile->grfid, source, target});
}
/**
* Perform a mapping from TTDPatch's string IDs to OpenTTD's
* string IDs, but only for the ones we are aware off; the rest
* like likely unused and will show a warning.
* @param str the string ID to convert
* @return the converted string ID
*/
static StringID TTDPStringIDToOTTDStringIDMapping(StringID str)
{
/* StringID table for TextIDs 0x4E->0x6D */
static const StringID units_volume[] = {
STR_ITEMS, STR_PASSENGERS, STR_TONS, STR_BAGS,
STR_LITERS, STR_ITEMS, STR_CRATES, STR_TONS,
STR_TONS, STR_TONS, STR_TONS, STR_BAGS,
STR_TONS, STR_TONS, STR_TONS, STR_BAGS,
STR_TONS, STR_TONS, STR_BAGS, STR_LITERS,
STR_TONS, STR_LITERS, STR_TONS, STR_ITEMS,
STR_BAGS, STR_LITERS, STR_TONS, STR_ITEMS,
STR_TONS, STR_ITEMS, STR_LITERS, STR_ITEMS
};
/* A string straight from a NewGRF; this was already translated by MapGRFStringID(). */
assert(!IsInsideMM(str, 0xD000, 0xD7FF));
#define TEXTID_TO_STRINGID(begin, end, stringid, stringend) \
assert_compile(stringend - stringid == end - begin); \
if (str >= begin && str <= end) return str + (stringid - begin)
/* We have some changes in our cargo strings, resulting in some missing. */
TEXTID_TO_STRINGID(0x000E, 0x002D, STR_CARGO_PLURAL_NOTHING, STR_CARGO_PLURAL_FIZZY_DRINKS);
TEXTID_TO_STRINGID(0x002E, 0x004D, STR_CARGO_SINGULAR_NOTHING, STR_CARGO_SINGULAR_FIZZY_DRINK);
if (str >= 0x004E && str <= 0x006D) return units_volume[str - 0x004E];
TEXTID_TO_STRINGID(0x006E, 0x008D, STR_QUANTITY_NOTHING, STR_QUANTITY_FIZZY_DRINKS);
TEXTID_TO_STRINGID(0x008E, 0x00AD, STR_ABBREV_NOTHING, STR_ABBREV_FIZZY_DRINKS);
TEXTID_TO_STRINGID(0x00D1, 0x00E0, STR_COLOUR_DARK_BLUE, STR_COLOUR_WHITE);
/* Map building names according to our lang file changes. There are several
* ranges of house ids, all of which need to be remapped to allow newgrfs
* to use original house names. */
TEXTID_TO_STRINGID(0x200F, 0x201F, STR_TOWN_BUILDING_NAME_TALL_OFFICE_BLOCK_1, STR_TOWN_BUILDING_NAME_OLD_HOUSES_1);
TEXTID_TO_STRINGID(0x2036, 0x2041, STR_TOWN_BUILDING_NAME_COTTAGES_1, STR_TOWN_BUILDING_NAME_SHOPPING_MALL_1);
TEXTID_TO_STRINGID(0x2059, 0x205C, STR_TOWN_BUILDING_NAME_IGLOO_1, STR_TOWN_BUILDING_NAME_PIGGY_BANK_1);
/* Same thing for industries */
TEXTID_TO_STRINGID(0x4802, 0x4826, STR_INDUSTRY_NAME_COAL_MINE, STR_INDUSTRY_NAME_SUGAR_MINE);
TEXTID_TO_STRINGID(0x482D, 0x482E, STR_NEWS_INDUSTRY_CONSTRUCTION, STR_NEWS_INDUSTRY_PLANTED);
TEXTID_TO_STRINGID(0x4832, 0x4834, STR_NEWS_INDUSTRY_CLOSURE_GENERAL, STR_NEWS_INDUSTRY_CLOSURE_LACK_OF_TREES);
TEXTID_TO_STRINGID(0x4835, 0x4838, STR_NEWS_INDUSTRY_PRODUCTION_INCREASE_GENERAL, STR_NEWS_INDUSTRY_PRODUCTION_INCREASE_FARM);
TEXTID_TO_STRINGID(0x4839, 0x483A, STR_NEWS_INDUSTRY_PRODUCTION_DECREASE_GENERAL, STR_NEWS_INDUSTRY_PRODUCTION_DECREASE_FARM);
switch (str) {
case 0x4830: return STR_ERROR_CAN_T_CONSTRUCT_THIS_INDUSTRY;
case 0x4831: return STR_ERROR_FOREST_CAN_ONLY_BE_PLANTED;
case 0x483B: return STR_ERROR_CAN_ONLY_BE_POSITIONED;
}
#undef TEXTID_TO_STRINGID
if (str == STR_NULL) return STR_EMPTY;
DEBUG(grf, 0, "Unknown StringID 0x%04X remapped to STR_EMPTY. Please open a Feature Request if you need it", str);
return STR_EMPTY;
}
/**
* Used when setting an object's property to map to the GRF's strings
* while taking in consideration the "drift" between TTDPatch string system and OpenTTD's one
* @param grfid Id of the grf file.
* @param str StringID that we want to have the equivalent in OoenTTD.
* @return The properly adjusted StringID.
*/
StringID MapGRFStringID(uint32 grfid, StringID str)
{
if (IsInsideMM(str, 0xD800, 0xE000)) {
/* General text provided by NewGRF.
* In the specs this is called the 0xDCxx range (misc persistent texts),
* but we meanwhile extended the range to 0xD800-0xDFFF.
* Note: We are not involved in the "persistent" business, since we do not store
* any NewGRF strings in savegames. */
return GetGRFStringID(grfid, str);
} else if (IsInsideMM(str, 0xD000, 0xD800)) {
/* Callback text provided by NewGRF.
* In the specs this is called the 0xD0xx range (misc graphics texts).
* These texts can be returned by various callbacks.
*
* Due to how TTDP implements the GRF-local- to global-textid translation
* texts included via 0x80 or 0x81 control codes have to add 0x400 to the textid.
* We do not care about that difference and just mask out the 0x400 bit.
*/
str &= ~0x400;
return GetGRFStringID(grfid, str);
} else {
/* The NewGRF wants to include/reference an original TTD string.
* Try our best to find an equivalent one. */
return TTDPStringIDToOTTDStringIDMapping(str);
}
}
static std::map<uint32, uint32> _grf_id_overrides;
/**
* Set the override for a NewGRF
* @param source_grfid The grfID which wants to override another NewGRF.
* @param target_grfid The grfID which is being overridden.
*/
static void SetNewGRFOverride(uint32 source_grfid, uint32 target_grfid)
{
_grf_id_overrides[source_grfid] = target_grfid;
grfmsg(5, "SetNewGRFOverride: Added override of 0x%X to 0x%X", BSWAP32(source_grfid), BSWAP32(target_grfid));
}
/**
* Returns the engine associated to a certain internal_id, resp. allocates it.
* @param file NewGRF that wants to change the engine.
* @param type Vehicle type.
* @param internal_id Engine ID inside the NewGRF.
* @param static_access If the engine is not present, return nullptr instead of allocating a new engine. (Used for static Action 0x04).
* @return The requested engine.
*/
static Engine *GetNewEngine(const GRFFile *file, VehicleType type, uint16 internal_id, bool static_access = false)
{
/* Hack for add-on GRFs that need to modify another GRF's engines. This lets
* them use the same engine slots. */
uint32 scope_grfid = INVALID_GRFID; // If not using dynamic_engines, all newgrfs share their ID range
if (_settings_game.vehicle.dynamic_engines) {
/* If dynamic_engies is enabled, there can be multiple independent ID ranges. */
scope_grfid = file->grfid;
uint32 override = _grf_id_overrides[file->grfid];
if (override != 0) {
scope_grfid = override;
const GRFFile *grf_match = GetFileByGRFID(override);
if (grf_match == nullptr) {
grfmsg(5, "Tried mapping from GRFID %x to %x but target is not loaded", BSWAP32(file->grfid), BSWAP32(override));
} else {
grfmsg(5, "Mapping from GRFID %x to %x", BSWAP32(file->grfid), BSWAP32(override));
}
}
/* Check if the engine is registered in the override manager */
EngineID engine = _engine_mngr.GetID(type, internal_id, scope_grfid);
if (engine != INVALID_ENGINE) {
Engine *e = Engine::Get(engine);
if (e->grf_prop.grffile == nullptr) e->grf_prop.grffile = file;
return e;
}
}
/* Check if there is an unreserved slot */
EngineID engine = _engine_mngr.GetID(type, internal_id, INVALID_GRFID);
if (engine != INVALID_ENGINE) {
Engine *e = Engine::Get(engine);
if (e->grf_prop.grffile == nullptr) {
e->grf_prop.grffile = file;
grfmsg(5, "Replaced engine at index %d for GRFID %x, type %d, index %d", e->index, BSWAP32(file->grfid), type, internal_id);
}
/* Reserve the engine slot */
if (!static_access) {
EngineIDMapping *eid = _engine_mngr.data() + engine;
eid->grfid = scope_grfid; // Note: this is INVALID_GRFID if dynamic_engines is disabled, so no reservation
}
return e;
}
if (static_access) return nullptr;
if (!Engine::CanAllocateItem()) {
grfmsg(0, "Can't allocate any more engines");
return nullptr;
}
size_t engine_pool_size = Engine::GetPoolSize();
/* ... it's not, so create a new one based off an existing engine */
Engine *e = new Engine(type, internal_id);
e->grf_prop.grffile = file;
/* Reserve the engine slot */
assert(_engine_mngr.size() == e->index);
_engine_mngr.push_back({
scope_grfid, // Note: this is INVALID_GRFID if dynamic_engines is disabled, so no reservation
internal_id,
type,
static_cast<uint8>(min(internal_id, _engine_counts[type])) // substitute_id == _engine_counts[subtype] means "no substitute"
});
if (engine_pool_size != Engine::GetPoolSize()) {
/* Resize temporary engine data ... */
_gted = ReallocT(_gted, Engine::GetPoolSize());
/* and blank the new block. */
size_t len = (Engine::GetPoolSize() - engine_pool_size) * sizeof(*_gted);
memset(_gted + engine_pool_size, 0, len);
}
if (type == VEH_TRAIN) {
_gted[e->index].railtypelabel = GetRailTypeInfo(e->u.rail.railtype)->label;
}
grfmsg(5, "Created new engine at index %d for GRFID %x, type %d, index %d", e->index, BSWAP32(file->grfid), type, internal_id);
return e;
}
/**
* Return the ID of a new engine
* @param file The NewGRF file providing the engine.
* @param type The Vehicle type.
* @param internal_id NewGRF-internal ID of the engine.
* @return The new EngineID.
* @note depending on the dynamic_engine setting and a possible override
* property the grfID may be unique or overwriting or partially re-defining
* properties of an existing engine.
*/
EngineID GetNewEngineID(const GRFFile *file, VehicleType type, uint16 internal_id)
{
uint32 scope_grfid = INVALID_GRFID; // If not using dynamic_engines, all newgrfs share their ID range
if (_settings_game.vehicle.dynamic_engines) {
scope_grfid = file->grfid;
uint32 override = _grf_id_overrides[file->grfid];
if (override != 0) scope_grfid = override;
}
return _engine_mngr.GetID(type, internal_id, scope_grfid);
}
/**
* Map the colour modifiers of TTDPatch to those that Open is using.
* @param grf_sprite Pointer to the structure been modified.
*/
static void MapSpriteMappingRecolour(PalSpriteID *grf_sprite)
{
if (HasBit(grf_sprite->pal, 14)) {
ClrBit(grf_sprite->pal, 14);
SetBit(grf_sprite->sprite, SPRITE_MODIFIER_OPAQUE);
}
if (HasBit(grf_sprite->sprite, 14)) {
ClrBit(grf_sprite->sprite, 14);
SetBit(grf_sprite->sprite, PALETTE_MODIFIER_TRANSPARENT);
}
if (HasBit(grf_sprite->sprite, 15)) {
ClrBit(grf_sprite->sprite, 15);
SetBit(grf_sprite->sprite, PALETTE_MODIFIER_COLOUR);
}
}
/**
* Read a sprite and a palette from the GRF and convert them into a format
* suitable to OpenTTD.
* @param buf Input stream.
* @param read_flags Whether to read TileLayoutFlags.
* @param invert_action1_flag Set to true, if palette bit 15 means 'not from action 1'.
* @param use_cur_spritesets Whether to use currently referenceable action 1 sets.
* @param feature GrfSpecFeature to use spritesets from.
* @param[out] grf_sprite Read sprite and palette.
* @param[out] max_sprite_offset Optionally returns the number of sprites in the spriteset of the sprite. (0 if no spritset)
* @param[out] max_palette_offset Optionally returns the number of sprites in the spriteset of the palette. (0 if no spritset)
* @return Read TileLayoutFlags.
*/
static TileLayoutFlags ReadSpriteLayoutSprite(ByteReader *buf, bool read_flags, bool invert_action1_flag, bool use_cur_spritesets, int feature, PalSpriteID *grf_sprite, uint16 *max_sprite_offset = nullptr, uint16 *max_palette_offset = nullptr)
{
grf_sprite->sprite = buf->ReadWord();
grf_sprite->pal = buf->ReadWord();
TileLayoutFlags flags = read_flags ? (TileLayoutFlags)buf->ReadWord() : TLF_NOTHING;
MapSpriteMappingRecolour(grf_sprite);
bool custom_sprite = HasBit(grf_sprite->pal, 15) != invert_action1_flag;
ClrBit(grf_sprite->pal, 15);
if (custom_sprite) {
/* Use sprite from Action 1 */
uint index = GB(grf_sprite->sprite, 0, 14);
if (use_cur_spritesets && (!_cur.IsValidSpriteSet(feature, index) || _cur.GetNumEnts(feature, index) == 0)) {
grfmsg(1, "ReadSpriteLayoutSprite: Spritelayout uses undefined custom spriteset %d", index);
grf_sprite->sprite = SPR_IMG_QUERY;
grf_sprite->pal = PAL_NONE;
} else {
SpriteID sprite = use_cur_spritesets ? _cur.GetSprite(feature, index) : index;
if (max_sprite_offset != nullptr) *max_sprite_offset = use_cur_spritesets ? _cur.GetNumEnts(feature, index) : UINT16_MAX;
SB(grf_sprite->sprite, 0, SPRITE_WIDTH, sprite);
SetBit(grf_sprite->sprite, SPRITE_MODIFIER_CUSTOM_SPRITE);
}
} else if ((flags & TLF_SPRITE_VAR10) && !(flags & TLF_SPRITE_REG_FLAGS)) {
grfmsg(1, "ReadSpriteLayoutSprite: Spritelayout specifies var10 value for non-action-1 sprite");
DisableGrf(STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT);
return flags;
}
if (flags & TLF_CUSTOM_PALETTE) {
/* Use palette from Action 1 */
uint index = GB(grf_sprite->pal, 0, 14);
if (use_cur_spritesets && (!_cur.IsValidSpriteSet(feature, index) || _cur.GetNumEnts(feature, index) == 0)) {
grfmsg(1, "ReadSpriteLayoutSprite: Spritelayout uses undefined custom spriteset %d for 'palette'", index);
grf_sprite->pal = PAL_NONE;
} else {
SpriteID sprite = use_cur_spritesets ? _cur.GetSprite(feature, index) : index;
if (max_palette_offset != nullptr) *max_palette_offset = use_cur_spritesets ? _cur.GetNumEnts(feature, index) : UINT16_MAX;
SB(grf_sprite->pal, 0, SPRITE_WIDTH, sprite);
SetBit(grf_sprite->pal, SPRITE_MODIFIER_CUSTOM_SPRITE);
}
} else if ((flags & TLF_PALETTE_VAR10) && !(flags & TLF_PALETTE_REG_FLAGS)) {
grfmsg(1, "ReadSpriteLayoutRegisters: Spritelayout specifies var10 value for non-action-1 palette");
DisableGrf(STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT);
return flags;
}
return flags;
}
/**
* Preprocess the TileLayoutFlags and read register modifiers from the GRF.
* @param buf Input stream.
* @param flags TileLayoutFlags to process.
* @param is_parent Whether the sprite is a parentsprite with a bounding box.
* @param dts Sprite layout to insert data into.
* @param index Sprite index to process; 0 for ground sprite.
*/
static void ReadSpriteLayoutRegisters(ByteReader *buf, TileLayoutFlags flags, bool is_parent, NewGRFSpriteLayout *dts, uint index)
{
if (!(flags & TLF_DRAWING_FLAGS)) return;
if (dts->registers == nullptr) dts->AllocateRegisters();
TileLayoutRegisters ®s = const_cast<TileLayoutRegisters&>(dts->registers[index]);
regs.flags = flags & TLF_DRAWING_FLAGS;
if (flags & TLF_DODRAW) regs.dodraw = buf->ReadByte();
if (flags & TLF_SPRITE) regs.sprite = buf->ReadByte();
if (flags & TLF_PALETTE) regs.palette = buf->ReadByte();
if (is_parent) {
if (flags & TLF_BB_XY_OFFSET) {
regs.delta.parent[0] = buf->ReadByte();
regs.delta.parent[1] = buf->ReadByte();
}
if (flags & TLF_BB_Z_OFFSET) regs.delta.parent[2] = buf->ReadByte();
} else {
if (flags & TLF_CHILD_X_OFFSET) regs.delta.child[0] = buf->ReadByte();
if (flags & TLF_CHILD_Y_OFFSET) regs.delta.child[1] = buf->ReadByte();
}
if (flags & TLF_SPRITE_VAR10) {
regs.sprite_var10 = buf->ReadByte();
if (regs.sprite_var10 > TLR_MAX_VAR10) {
grfmsg(1, "ReadSpriteLayoutRegisters: Spritelayout specifies var10 (%d) exceeding the maximal allowed value %d", regs.sprite_var10, TLR_MAX_VAR10);
DisableGrf(STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT);
return;
}
}
if (flags & TLF_PALETTE_VAR10) {
regs.palette_var10 = buf->ReadByte();
if (regs.palette_var10 > TLR_MAX_VAR10) {
grfmsg(1, "ReadSpriteLayoutRegisters: Spritelayout specifies var10 (%d) exceeding the maximal allowed value %d", regs.palette_var10, TLR_MAX_VAR10);
DisableGrf(STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT);
return;
}
}
}
/**
* Read a spritelayout from the GRF.
* @param buf Input
* @param num_building_sprites Number of building sprites to read
* @param use_cur_spritesets Whether to use currently referenceable action 1 sets.
* @param feature GrfSpecFeature to use spritesets from.
* @param allow_var10 Whether the spritelayout may specify var10 values for resolving multiple action-1-2-3 chains
* @param no_z_position Whether bounding boxes have no Z offset
* @param dts Layout container to output into
* @return True on error (GRF was disabled).
*/
static bool ReadSpriteLayout(ByteReader *buf, uint num_building_sprites, bool use_cur_spritesets, byte feature, bool allow_var10, bool no_z_position, NewGRFSpriteLayout *dts)
{
bool has_flags = HasBit(num_building_sprites, 6);
ClrBit(num_building_sprites, 6);
TileLayoutFlags valid_flags = TLF_KNOWN_FLAGS;
if (!allow_var10) valid_flags &= ~TLF_VAR10_FLAGS;
dts->Allocate(num_building_sprites); // allocate before reading groundsprite flags
uint16 *max_sprite_offset = AllocaM(uint16, num_building_sprites + 1);
uint16 *max_palette_offset = AllocaM(uint16, num_building_sprites + 1);
MemSetT(max_sprite_offset, 0, num_building_sprites + 1);
MemSetT(max_palette_offset, 0, num_building_sprites + 1);
/* Groundsprite */
TileLayoutFlags flags = ReadSpriteLayoutSprite(buf, has_flags, false, use_cur_spritesets, feature, &dts->ground, max_sprite_offset, max_palette_offset);
if (_cur.skip_sprites < 0) return true;
if (flags & ~(valid_flags & ~TLF_NON_GROUND_FLAGS)) {
grfmsg(1, "ReadSpriteLayout: Spritelayout uses invalid flag 0x%x for ground sprite", flags & ~(valid_flags & ~TLF_NON_GROUND_FLAGS));
DisableGrf(STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT);
return true;
}
ReadSpriteLayoutRegisters(buf, flags, false, dts, 0);
if (_cur.skip_sprites < 0) return true;
for (uint i = 0; i < num_building_sprites; i++) {
DrawTileSeqStruct *seq = const_cast<DrawTileSeqStruct*>(&dts->seq[i]);
flags = ReadSpriteLayoutSprite(buf, has_flags, false, use_cur_spritesets, feature, &seq->image, max_sprite_offset + i + 1, max_palette_offset + i + 1);
if (_cur.skip_sprites < 0) return true;
if (flags & ~valid_flags) {
grfmsg(1, "ReadSpriteLayout: Spritelayout uses unknown flag 0x%x", flags & ~valid_flags);
DisableGrf(STR_NEWGRF_ERROR_INVALID_SPRITE_LAYOUT);
return true;
}
seq->delta_x = buf->ReadByte();
seq->delta_y = buf->ReadByte();
if (!no_z_position) seq->delta_z = buf->ReadByte();
if (seq->IsParentSprite()) {
seq->size_x = buf->ReadByte();
seq->size_y = buf->ReadByte();
seq->size_z = buf->ReadByte();
}
ReadSpriteLayoutRegisters(buf, flags, seq->IsParentSprite(), dts, i + 1);
if (_cur.skip_sprites < 0) return true;
}
/* Check if the number of sprites per spriteset is consistent */
bool is_consistent = true;
dts->consistent_max_offset = 0;
for (uint i = 0; i < num_building_sprites + 1; i++) {
if (max_sprite_offset[i] > 0) {
if (dts->consistent_max_offset == 0) {
dts->consistent_max_offset = max_sprite_offset[i];
} else if (dts->consistent_max_offset != max_sprite_offset[i]) {
is_consistent = false;
break;
}
}
if (max_palette_offset[i] > 0) {
if (dts->consistent_max_offset == 0) {
dts->consistent_max_offset = max_palette_offset[i];
} else if (dts->consistent_max_offset != max_palette_offset[i]) {
is_consistent = false;
break;
}
}
}
/* When the Action1 sets are unknown, everything should be 0 (no spriteset usage) or UINT16_MAX (some spriteset usage) */
assert(use_cur_spritesets || (is_consistent && (dts->consistent_max_offset == 0 || dts->consistent_max_offset == UINT16_MAX)));
if (!is_consistent || dts->registers != nullptr) {
dts->consistent_max_offset = 0;
if (dts->registers == nullptr) dts->AllocateRegisters();
for (uint i = 0; i < num_building_sprites + 1; i++) {
TileLayoutRegisters ®s = const_cast<TileLayoutRegisters&>(dts->registers[i]);
regs.max_sprite_offset = max_sprite_offset[i];
regs.max_palette_offset = max_palette_offset[i];
}
}
return false;
}
/**
* Translate the refit mask. refit_mask is uint32 as it has not been mapped to CargoTypes.
*/
static CargoTypes TranslateRefitMask(uint32 refit_mask)
{
CargoTypes result = 0;
uint8 bit;
FOR_EACH_SET_BIT(bit, refit_mask) {
CargoID cargo = GetCargoTranslation(bit, _cur.grffile, true);
if (cargo != CT_INVALID) SetBit(result, cargo);
}
return result;
}
/**
* Converts TTD(P) Base Price pointers into the enum used by OTTD
* See http://wiki.ttdpatch.net/tiki-index.php?page=BaseCosts
* @param base_pointer TTD(P) Base Price Pointer
* @param error_location Function name for grf error messages
* @param[out] index If \a base_pointer is valid, \a index is assigned to the matching price; else it is left unchanged
*/
static void ConvertTTDBasePrice(uint32 base_pointer, const char *error_location, Price *index)
{
/* Special value for 'none' */
if (base_pointer == 0) {
*index = INVALID_PRICE;
return;
}
static const uint32 start = 0x4B34; ///< Position of first base price
static const uint32 size = 6; ///< Size of each base price record
if (base_pointer < start || (base_pointer - start) % size != 0 || (base_pointer - start) / size >= PR_END) {
grfmsg(1, "%s: Unsupported running cost base 0x%04X, ignoring", error_location, base_pointer);
return;
}
*index = (Price)((base_pointer - start) / size);
}
/** Possible return values for the FeatureChangeInfo functions */
enum ChangeInfoResult {
CIR_SUCCESS, ///< Variable was parsed and read
CIR_DISABLED, ///< GRF was disabled due to error
CIR_UNHANDLED, ///< Variable was parsed but unread
CIR_UNKNOWN, ///< Variable is unknown
CIR_INVALID_ID, ///< Attempt to modify an invalid ID
};
typedef ChangeInfoResult (*VCI_Handler)(uint engine, int numinfo, int prop, ByteReader *buf);
/**
* Define properties common to all vehicles
* @param ei Engine info.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult CommonVehicleChangeInfo(EngineInfo *ei, int prop, ByteReader *buf)
{
switch (prop) {
case 0x00: // Introduction date
ei->base_intro = buf->ReadWord() + DAYS_TILL_ORIGINAL_BASE_YEAR;
break;
case 0x02: // Decay speed
ei->decay_speed = buf->ReadByte();
break;
case 0x03: // Vehicle life
ei->lifelength = buf->ReadByte();
break;
case 0x04: // Model life
ei->base_life = buf->ReadByte();
break;
case 0x06: // Climates available
ei->climates = buf->ReadByte();
break;
case PROP_VEHICLE_LOAD_AMOUNT: // 0x07 Loading speed
/* Amount of cargo loaded during a vehicle's "loading tick" */
ei->load_amount = buf->ReadByte();
break;
default:
return CIR_UNKNOWN;
}
return CIR_SUCCESS;
}
/**
* Define properties for rail vehicles
* @param engine :ocal ID of the first vehicle.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult RailVehicleChangeInfo(uint engine, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
for (int i = 0; i < numinfo; i++) {
Engine *e = GetNewEngine(_cur.grffile, VEH_TRAIN, engine + i);
if (e == nullptr) return CIR_INVALID_ID; // No engine could be allocated, so neither can any next vehicles
EngineInfo *ei = &e->info;
RailVehicleInfo *rvi = &e->u.rail;
switch (prop) {
case 0x05: { // Track type
uint8 tracktype = buf->ReadByte();
if (tracktype < _cur.grffile->railtype_list.size()) {
_gted[e->index].railtypelabel = _cur.grffile->railtype_list[tracktype];
break;
}
switch (tracktype) {
case 0: _gted[e->index].railtypelabel = rvi->engclass >= 2 ? RAILTYPE_ELECTRIC_LABEL : RAILTYPE_RAIL_LABEL; break;
case 1: _gted[e->index].railtypelabel = RAILTYPE_MONO_LABEL; break;
case 2: _gted[e->index].railtypelabel = RAILTYPE_MAGLEV_LABEL; break;
default:
grfmsg(1, "RailVehicleChangeInfo: Invalid track type %d specified, ignoring", tracktype);
break;
}
break;
}
case 0x08: // AI passenger service
/* Tells the AI that this engine is designed for
* passenger services and shouldn't be used for freight. */
rvi->ai_passenger_only = buf->ReadByte();
break;
case PROP_TRAIN_SPEED: { // 0x09 Speed (1 unit is 1 km-ish/h)
uint16 speed = buf->ReadWord();
if (speed == 0xFFFF) speed = 0;
rvi->max_speed = speed;
break;
}
case PROP_TRAIN_POWER: // 0x0B Power
rvi->power = buf->ReadWord();
/* Set engine / wagon state based on power */
if (rvi->power != 0) {
if (rvi->railveh_type == RAILVEH_WAGON) {
rvi->railveh_type = RAILVEH_SINGLEHEAD;
}
} else {
rvi->railveh_type = RAILVEH_WAGON;
}
break;
case PROP_TRAIN_RUNNING_COST_FACTOR: // 0x0D Running cost factor
rvi->running_cost = buf->ReadByte();
break;
case 0x0E: // Running cost base
ConvertTTDBasePrice(buf->ReadDWord(), "RailVehicleChangeInfo", &rvi->running_cost_class);
break;
case 0x12: { // Sprite ID
uint8 spriteid = buf->ReadByte();
uint8 orig_spriteid = spriteid;
/* TTD sprite IDs point to a location in a 16bit array, but we use it
* as an array index, so we need it to be half the original value. */
if (spriteid < 0xFD) spriteid >>= 1;
if (IsValidNewGRFImageIndex<VEH_TRAIN>(spriteid)) {
rvi->image_index = spriteid;
} else {
grfmsg(1, "RailVehicleChangeInfo: Invalid Sprite %d specified, ignoring", orig_spriteid);
rvi->image_index = 0;
}
break;
}
case 0x13: { // Dual-headed
uint8 dual = buf->ReadByte();
if (dual != 0) {
rvi->railveh_type = RAILVEH_MULTIHEAD;
} else {
rvi->railveh_type = rvi->power == 0 ?
RAILVEH_WAGON : RAILVEH_SINGLEHEAD;
}
break;
}
case PROP_TRAIN_CARGO_CAPACITY: // 0x14 Cargo capacity
rvi->capacity = buf->ReadByte();
break;
case 0x15: { // Cargo type
_gted[e->index].defaultcargo_grf = _cur.grffile;
uint8 ctype = buf->ReadByte();
if (ctype == 0xFF) {
/* 0xFF is specified as 'use first refittable' */
ei->cargo_type = CT_INVALID;
} else if (_cur.grffile->grf_version >= 8) {
/* Use translated cargo. Might result in CT_INVALID (first refittable), if cargo is not defined. */
ei->cargo_type = GetCargoTranslation(ctype, _cur.grffile);
} else if (ctype < NUM_CARGO) {
/* Use untranslated cargo. */
ei->cargo_type = ctype;
} else {
ei->cargo_type = CT_INVALID;
grfmsg(2, "RailVehicleChangeInfo: Invalid cargo type %d, using first refittable", ctype);
}
break;
}
case PROP_TRAIN_WEIGHT: // 0x16 Weight
SB(rvi->weight, 0, 8, buf->ReadByte());
break;
case PROP_TRAIN_COST_FACTOR: // 0x17 Cost factor
rvi->cost_factor = buf->ReadByte();
break;
case 0x18: // AI rank
grfmsg(2, "RailVehicleChangeInfo: Property 0x18 'AI rank' not used by NoAI, ignored.");
buf->ReadByte();
break;
case 0x19: { // Engine traction type
/* What do the individual numbers mean?
* 0x00 .. 0x07: Steam
* 0x08 .. 0x27: Diesel
* 0x28 .. 0x31: Electric
* 0x32 .. 0x37: Monorail
* 0x38 .. 0x41: Maglev
*/
uint8 traction = buf->ReadByte();
EngineClass engclass;
if (traction <= 0x07) {
engclass = EC_STEAM;
} else if (traction <= 0x27) {
engclass = EC_DIESEL;
} else if (traction <= 0x31) {
engclass = EC_ELECTRIC;
} else if (traction <= 0x37) {
engclass = EC_MONORAIL;
} else if (traction <= 0x41) {
engclass = EC_MAGLEV;
} else {
break;
}
if (_cur.grffile->railtype_list.size() == 0) {
/* Use traction type to select between normal and electrified
* rail only when no translation list is in place. */
if (_gted[e->index].railtypelabel == RAILTYPE_RAIL_LABEL && engclass >= EC_ELECTRIC) _gted[e->index].railtypelabel = RAILTYPE_ELECTRIC_LABEL;
if (_gted[e->index].railtypelabel == RAILTYPE_ELECTRIC_LABEL && engclass < EC_ELECTRIC) _gted[e->index].railtypelabel = RAILTYPE_RAIL_LABEL;
}
rvi->engclass = engclass;
break;
}
case 0x1A: // Alter purchase list sort order
AlterVehicleListOrder(e->index, buf->ReadExtendedByte());
break;
case 0x1B: // Powered wagons power bonus
rvi->pow_wag_power = buf->ReadWord();
break;
case 0x1C: // Refit cost
ei->refit_cost = buf->ReadByte();
break;
case 0x1D: { // Refit cargo
uint32 mask = buf->ReadDWord();
_gted[e->index].UpdateRefittability(mask != 0);
ei->refit_mask = TranslateRefitMask(mask);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
}
case 0x1E: // Callback
ei->callback_mask = buf->ReadByte();
break;
case PROP_TRAIN_TRACTIVE_EFFORT: // 0x1F Tractive effort coefficient
rvi->tractive_effort = buf->ReadByte();
break;
case 0x20: // Air drag
rvi->air_drag = buf->ReadByte();
break;
case PROP_TRAIN_SHORTEN_FACTOR: // 0x21 Shorter vehicle
rvi->shorten_factor = buf->ReadByte();
break;
case 0x22: // Visual effect
rvi->visual_effect = buf->ReadByte();
/* Avoid accidentally setting visual_effect to the default value
* Since bit 6 (disable effects) is set anyways, we can safely erase some bits. */
if (rvi->visual_effect == VE_DEFAULT) {
assert(HasBit(rvi->visual_effect, VE_DISABLE_EFFECT));
SB(rvi->visual_effect, VE_TYPE_START, VE_TYPE_COUNT, 0);
}
break;
case 0x23: // Powered wagons weight bonus
rvi->pow_wag_weight = buf->ReadByte();
break;
case 0x24: { // High byte of vehicle weight
byte weight = buf->ReadByte();
if (weight > 4) {
grfmsg(2, "RailVehicleChangeInfo: Nonsensical weight of %d tons, ignoring", weight << 8);
} else {
SB(rvi->weight, 8, 8, weight);
}
break;
}
case PROP_TRAIN_USER_DATA: // 0x25 User-defined bit mask to set when checking veh. var. 42
rvi->user_def_data = buf->ReadByte();
break;
case 0x26: // Retire vehicle early
ei->retire_early = buf->ReadByte();
break;
case 0x27: // Miscellaneous flags
ei->misc_flags = buf->ReadByte();
_loaded_newgrf_features.has_2CC |= HasBit(ei->misc_flags, EF_USES_2CC);
_gted[e->index].prop27_set = true;
break;
case 0x28: // Cargo classes allowed
_gted[e->index].cargo_allowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(_gted[e->index].cargo_allowed != 0);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
case 0x29: // Cargo classes disallowed
_gted[e->index].cargo_disallowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(false);
break;
case 0x2A: // Long format introduction date (days since year 0)
ei->base_intro = buf->ReadDWord();
break;
case PROP_TRAIN_CARGO_AGE_PERIOD: // 0x2B Cargo aging period
ei->cargo_age_period = buf->ReadWord();
break;
case 0x2C: // CTT refit include list
case 0x2D: { // CTT refit exclude list
uint8 count = buf->ReadByte();
_gted[e->index].UpdateRefittability(prop == 0x2C && count != 0);
if (prop == 0x2C) _gted[e->index].defaultcargo_grf = _cur.grffile;
CargoTypes &ctt = prop == 0x2C ? _gted[e->index].ctt_include_mask : _gted[e->index].ctt_exclude_mask;
ctt = 0;
while (count--) {
CargoID ctype = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
if (ctype == CT_INVALID) continue;
SetBit(ctt, ctype);
}
break;
}
default:
ret = CommonVehicleChangeInfo(ei, prop, buf);
break;
}
}
return ret;
}
/**
* Define properties for road vehicles
* @param engine Local ID of the first vehicle.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult RoadVehicleChangeInfo(uint engine, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
for (int i = 0; i < numinfo; i++) {
Engine *e = GetNewEngine(_cur.grffile, VEH_ROAD, engine + i);
if (e == nullptr) return CIR_INVALID_ID; // No engine could be allocated, so neither can any next vehicles
EngineInfo *ei = &e->info;
RoadVehicleInfo *rvi = &e->u.road;
switch (prop) {
case 0x05: // Road/tram type
/* RoadTypeLabel is looked up later after the engine's road/tram
* flag is set, however 0 means the value has not been set. */
_gted[e->index].roadtramtype = buf->ReadByte() + 1;
break;
case 0x08: // Speed (1 unit is 0.5 kmh)
rvi->max_speed = buf->ReadByte();
break;
case PROP_ROADVEH_RUNNING_COST_FACTOR: // 0x09 Running cost factor
rvi->running_cost = buf->ReadByte();
break;
case 0x0A: // Running cost base
ConvertTTDBasePrice(buf->ReadDWord(), "RoadVehicleChangeInfo", &rvi->running_cost_class);
break;
case 0x0E: { // Sprite ID
uint8 spriteid = buf->ReadByte();
uint8 orig_spriteid = spriteid;
/* cars have different custom id in the GRF file */
if (spriteid == 0xFF) spriteid = 0xFD;
if (spriteid < 0xFD) spriteid >>= 1;
if (IsValidNewGRFImageIndex<VEH_ROAD>(spriteid)) {
rvi->image_index = spriteid;
} else {
grfmsg(1, "RoadVehicleChangeInfo: Invalid Sprite %d specified, ignoring", orig_spriteid);
rvi->image_index = 0;
}
break;
}
case PROP_ROADVEH_CARGO_CAPACITY: // 0x0F Cargo capacity
rvi->capacity = buf->ReadByte();
break;
case 0x10: { // Cargo type
_gted[e->index].defaultcargo_grf = _cur.grffile;
uint8 ctype = buf->ReadByte();
if (ctype == 0xFF) {
/* 0xFF is specified as 'use first refittable' */
ei->cargo_type = CT_INVALID;
} else if (_cur.grffile->grf_version >= 8) {
/* Use translated cargo. Might result in CT_INVALID (first refittable), if cargo is not defined. */
ei->cargo_type = GetCargoTranslation(ctype, _cur.grffile);
} else if (ctype < NUM_CARGO) {
/* Use untranslated cargo. */
ei->cargo_type = ctype;
} else {
ei->cargo_type = CT_INVALID;
grfmsg(2, "RailVehicleChangeInfo: Invalid cargo type %d, using first refittable", ctype);
}
break;
}
case PROP_ROADVEH_COST_FACTOR: // 0x11 Cost factor
rvi->cost_factor = buf->ReadByte();
break;
case 0x12: // SFX
rvi->sfx = GetNewGRFSoundID(_cur.grffile, buf->ReadByte());
break;
case PROP_ROADVEH_POWER: // Power in units of 10 HP.
rvi->power = buf->ReadByte();
break;
case PROP_ROADVEH_WEIGHT: // Weight in units of 1/4 tons.
rvi->weight = buf->ReadByte();
break;
case PROP_ROADVEH_SPEED: // Speed in mph/0.8
_gted[e->index].rv_max_speed = buf->ReadByte();
break;
case 0x16: { // Cargoes available for refitting
uint32 mask = buf->ReadDWord();
_gted[e->index].UpdateRefittability(mask != 0);
ei->refit_mask = TranslateRefitMask(mask);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
}
case 0x17: // Callback mask
ei->callback_mask = buf->ReadByte();
break;
case PROP_ROADVEH_TRACTIVE_EFFORT: // Tractive effort coefficient in 1/256.
rvi->tractive_effort = buf->ReadByte();
break;
case 0x19: // Air drag
rvi->air_drag = buf->ReadByte();
break;
case 0x1A: // Refit cost
ei->refit_cost = buf->ReadByte();
break;
case 0x1B: // Retire vehicle early
ei->retire_early = buf->ReadByte();
break;
case 0x1C: // Miscellaneous flags
ei->misc_flags = buf->ReadByte();
_loaded_newgrf_features.has_2CC |= HasBit(ei->misc_flags, EF_USES_2CC);
break;
case 0x1D: // Cargo classes allowed
_gted[e->index].cargo_allowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(_gted[e->index].cargo_allowed != 0);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
case 0x1E: // Cargo classes disallowed
_gted[e->index].cargo_disallowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(false);
break;
case 0x1F: // Long format introduction date (days since year 0)
ei->base_intro = buf->ReadDWord();
break;
case 0x20: // Alter purchase list sort order
AlterVehicleListOrder(e->index, buf->ReadExtendedByte());
break;
case 0x21: // Visual effect
rvi->visual_effect = buf->ReadByte();
/* Avoid accidentally setting visual_effect to the default value
* Since bit 6 (disable effects) is set anyways, we can safely erase some bits. */
if (rvi->visual_effect == VE_DEFAULT) {
assert(HasBit(rvi->visual_effect, VE_DISABLE_EFFECT));
SB(rvi->visual_effect, VE_TYPE_START, VE_TYPE_COUNT, 0);
}
break;
case PROP_ROADVEH_CARGO_AGE_PERIOD: // 0x22 Cargo aging period
ei->cargo_age_period = buf->ReadWord();
break;
case PROP_ROADVEH_SHORTEN_FACTOR: // 0x23 Shorter vehicle
rvi->shorten_factor = buf->ReadByte();
break;
case 0x24: // CTT refit include list
case 0x25: { // CTT refit exclude list
uint8 count = buf->ReadByte();
_gted[e->index].UpdateRefittability(prop == 0x24 && count != 0);
if (prop == 0x24) _gted[e->index].defaultcargo_grf = _cur.grffile;
CargoTypes &ctt = prop == 0x24 ? _gted[e->index].ctt_include_mask : _gted[e->index].ctt_exclude_mask;
ctt = 0;
while (count--) {
CargoID ctype = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
if (ctype == CT_INVALID) continue;
SetBit(ctt, ctype);
}
break;
}
default:
ret = CommonVehicleChangeInfo(ei, prop, buf);
break;
}
}
return ret;
}
/**
* Define properties for ships
* @param engine Local ID of the first vehicle.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult ShipVehicleChangeInfo(uint engine, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
for (int i = 0; i < numinfo; i++) {
Engine *e = GetNewEngine(_cur.grffile, VEH_SHIP, engine + i);
if (e == nullptr) return CIR_INVALID_ID; // No engine could be allocated, so neither can any next vehicles
EngineInfo *ei = &e->info;
ShipVehicleInfo *svi = &e->u.ship;
switch (prop) {
case 0x08: { // Sprite ID
uint8 spriteid = buf->ReadByte();
uint8 orig_spriteid = spriteid;
/* ships have different custom id in the GRF file */
if (spriteid == 0xFF) spriteid = 0xFD;
if (spriteid < 0xFD) spriteid >>= 1;
if (IsValidNewGRFImageIndex<VEH_SHIP>(spriteid)) {
svi->image_index = spriteid;
} else {
grfmsg(1, "ShipVehicleChangeInfo: Invalid Sprite %d specified, ignoring", orig_spriteid);
svi->image_index = 0;
}
break;
}
case 0x09: // Refittable
svi->old_refittable = (buf->ReadByte() != 0);
break;
case PROP_SHIP_COST_FACTOR: // 0x0A Cost factor
svi->cost_factor = buf->ReadByte();
break;
case PROP_SHIP_SPEED: // 0x0B Speed (1 unit is 0.5 km-ish/h)
svi->max_speed = buf->ReadByte();
break;
case 0x0C: { // Cargo type
_gted[e->index].defaultcargo_grf = _cur.grffile;
uint8 ctype = buf->ReadByte();
if (ctype == 0xFF) {
/* 0xFF is specified as 'use first refittable' */
ei->cargo_type = CT_INVALID;
} else if (_cur.grffile->grf_version >= 8) {
/* Use translated cargo. Might result in CT_INVALID (first refittable), if cargo is not defined. */
ei->cargo_type = GetCargoTranslation(ctype, _cur.grffile);
} else if (ctype < NUM_CARGO) {
/* Use untranslated cargo. */
ei->cargo_type = ctype;
} else {
ei->cargo_type = CT_INVALID;
grfmsg(2, "RailVehicleChangeInfo: Invalid cargo type %d, using first refittable", ctype);
}
break;
}
case PROP_SHIP_CARGO_CAPACITY: // 0x0D Cargo capacity
svi->capacity = buf->ReadWord();
break;
case PROP_SHIP_RUNNING_COST_FACTOR: // 0x0F Running cost factor
svi->running_cost = buf->ReadByte();
break;
case 0x10: // SFX
svi->sfx = GetNewGRFSoundID(_cur.grffile, buf->ReadByte());
break;
case 0x11: { // Cargoes available for refitting
uint32 mask = buf->ReadDWord();
_gted[e->index].UpdateRefittability(mask != 0);
ei->refit_mask = TranslateRefitMask(mask);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
}
case 0x12: // Callback mask
ei->callback_mask = buf->ReadByte();
break;
case 0x13: // Refit cost
ei->refit_cost = buf->ReadByte();
break;
case 0x14: // Ocean speed fraction
svi->ocean_speed_frac = buf->ReadByte();
break;
case 0x15: // Canal speed fraction
svi->canal_speed_frac = buf->ReadByte();
break;
case 0x16: // Retire vehicle early
ei->retire_early = buf->ReadByte();
break;
case 0x17: // Miscellaneous flags
ei->misc_flags = buf->ReadByte();
_loaded_newgrf_features.has_2CC |= HasBit(ei->misc_flags, EF_USES_2CC);
break;
case 0x18: // Cargo classes allowed
_gted[e->index].cargo_allowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(_gted[e->index].cargo_allowed != 0);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
case 0x19: // Cargo classes disallowed
_gted[e->index].cargo_disallowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(false);
break;
case 0x1A: // Long format introduction date (days since year 0)
ei->base_intro = buf->ReadDWord();
break;
case 0x1B: // Alter purchase list sort order
AlterVehicleListOrder(e->index, buf->ReadExtendedByte());
break;
case 0x1C: // Visual effect
svi->visual_effect = buf->ReadByte();
/* Avoid accidentally setting visual_effect to the default value
* Since bit 6 (disable effects) is set anyways, we can safely erase some bits. */
if (svi->visual_effect == VE_DEFAULT) {
assert(HasBit(svi->visual_effect, VE_DISABLE_EFFECT));
SB(svi->visual_effect, VE_TYPE_START, VE_TYPE_COUNT, 0);
}
break;
case PROP_SHIP_CARGO_AGE_PERIOD: // 0x1D Cargo aging period
ei->cargo_age_period = buf->ReadWord();
break;
case 0x1E: // CTT refit include list
case 0x1F: { // CTT refit exclude list
uint8 count = buf->ReadByte();
_gted[e->index].UpdateRefittability(prop == 0x1E && count != 0);
if (prop == 0x1E) _gted[e->index].defaultcargo_grf = _cur.grffile;
CargoTypes &ctt = prop == 0x1E ? _gted[e->index].ctt_include_mask : _gted[e->index].ctt_exclude_mask;
ctt = 0;
while (count--) {
CargoID ctype = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
if (ctype == CT_INVALID) continue;
SetBit(ctt, ctype);
}
break;
}
default:
ret = CommonVehicleChangeInfo(ei, prop, buf);
break;
}
}
return ret;
}
/**
* Define properties for aircraft
* @param engine Local ID of the aircraft.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult AircraftVehicleChangeInfo(uint engine, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
for (int i = 0; i < numinfo; i++) {
Engine *e = GetNewEngine(_cur.grffile, VEH_AIRCRAFT, engine + i);
if (e == nullptr) return CIR_INVALID_ID; // No engine could be allocated, so neither can any next vehicles
EngineInfo *ei = &e->info;
AircraftVehicleInfo *avi = &e->u.air;
switch (prop) {
case 0x08: { // Sprite ID
uint8 spriteid = buf->ReadByte();
uint8 orig_spriteid = spriteid;
/* aircraft have different custom id in the GRF file */
if (spriteid == 0xFF) spriteid = 0xFD;
if (spriteid < 0xFD) spriteid >>= 1;
if (IsValidNewGRFImageIndex<VEH_AIRCRAFT>(spriteid)) {
avi->image_index = spriteid;
} else {
grfmsg(1, "AircraftVehicleChangeInfo: Invalid Sprite %d specified, ignoring", orig_spriteid);
avi->image_index = 0;
}
break;
}
case 0x09: // Helicopter
if (buf->ReadByte() == 0) {
avi->subtype = AIR_HELI;
} else {
SB(avi->subtype, 0, 1, 1); // AIR_CTOL
}
break;
case 0x0A: // Large
SB(avi->subtype, 1, 1, (buf->ReadByte() != 0 ? 1 : 0)); // AIR_FAST
break;
case PROP_AIRCRAFT_COST_FACTOR: // 0x0B Cost factor
avi->cost_factor = buf->ReadByte();
break;
case PROP_AIRCRAFT_SPEED: // 0x0C Speed (1 unit is 8 mph, we translate to 1 unit is 1 km-ish/h)
avi->max_speed = (buf->ReadByte() * 128) / 10;
break;
case 0x0D: // Acceleration
avi->acceleration = buf->ReadByte();
break;
case PROP_AIRCRAFT_RUNNING_COST_FACTOR: // 0x0E Running cost factor
avi->running_cost = buf->ReadByte();
break;
case PROP_AIRCRAFT_PASSENGER_CAPACITY: // 0x0F Passenger capacity
avi->passenger_capacity = buf->ReadWord();
break;
case PROP_AIRCRAFT_MAIL_CAPACITY: // 0x11 Mail capacity
avi->mail_capacity = buf->ReadByte();
break;
case 0x12: // SFX
avi->sfx = GetNewGRFSoundID(_cur.grffile, buf->ReadByte());
break;
case 0x13: { // Cargoes available for refitting
uint32 mask = buf->ReadDWord();
_gted[e->index].UpdateRefittability(mask != 0);
ei->refit_mask = TranslateRefitMask(mask);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
}
case 0x14: // Callback mask
ei->callback_mask = buf->ReadByte();
break;
case 0x15: // Refit cost
ei->refit_cost = buf->ReadByte();
break;
case 0x16: // Retire vehicle early
ei->retire_early = buf->ReadByte();
break;
case 0x17: // Miscellaneous flags
ei->misc_flags = buf->ReadByte();
_loaded_newgrf_features.has_2CC |= HasBit(ei->misc_flags, EF_USES_2CC);
break;
case 0x18: // Cargo classes allowed
_gted[e->index].cargo_allowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(_gted[e->index].cargo_allowed != 0);
_gted[e->index].defaultcargo_grf = _cur.grffile;
break;
case 0x19: // Cargo classes disallowed
_gted[e->index].cargo_disallowed = buf->ReadWord();
_gted[e->index].UpdateRefittability(false);
break;
case 0x1A: // Long format introduction date (days since year 0)
ei->base_intro = buf->ReadDWord();
break;
case 0x1B: // Alter purchase list sort order
AlterVehicleListOrder(e->index, buf->ReadExtendedByte());
break;
case PROP_AIRCRAFT_CARGO_AGE_PERIOD: // 0x1C Cargo aging period
ei->cargo_age_period = buf->ReadWord();
break;
case 0x1D: // CTT refit include list
case 0x1E: { // CTT refit exclude list
uint8 count = buf->ReadByte();
_gted[e->index].UpdateRefittability(prop == 0x1D && count != 0);
if (prop == 0x1D) _gted[e->index].defaultcargo_grf = _cur.grffile;
CargoTypes &ctt = prop == 0x1D ? _gted[e->index].ctt_include_mask : _gted[e->index].ctt_exclude_mask;
ctt = 0;
while (count--) {
CargoID ctype = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
if (ctype == CT_INVALID) continue;
SetBit(ctt, ctype);
}
break;
}
case PROP_AIRCRAFT_RANGE: // 0x1F Max aircraft range
avi->max_range = buf->ReadWord();
break;
default:
ret = CommonVehicleChangeInfo(ei, prop, buf);
break;
}
}
return ret;
}
/**
* Define properties for stations
* @param stid StationID of the first station tile.
* @param numinfo Number of subsequent station tiles to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult StationChangeInfo(uint stid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (stid + numinfo > NUM_STATIONS_PER_GRF) {
grfmsg(1, "StationChangeInfo: Station %u is invalid, max %u, ignoring", stid + numinfo, NUM_STATIONS_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate station specs if necessary */
if (_cur.grffile->stations == nullptr) _cur.grffile->stations = CallocT<StationSpec*>(NUM_STATIONS_PER_GRF);
for (int i = 0; i < numinfo; i++) {
StationSpec *statspec = _cur.grffile->stations[stid + i];
/* Check that the station we are modifying is defined. */
if (statspec == nullptr && prop != 0x08) {
grfmsg(2, "StationChangeInfo: Attempt to modify undefined station %u, ignoring", stid + i);
return CIR_INVALID_ID;
}
switch (prop) {
case 0x08: { // Class ID
StationSpec **spec = &_cur.grffile->stations[stid + i];
/* Property 0x08 is special; it is where the station is allocated */
if (*spec == nullptr) *spec = CallocT<StationSpec>(1);
/* Swap classid because we read it in BE meaning WAYP or DFLT */
uint32 classid = buf->ReadDWord();
(*spec)->cls_id = StationClass::Allocate(BSWAP32(classid));
break;
}
case 0x09: // Define sprite layout
statspec->tiles = buf->ReadExtendedByte();
delete[] statspec->renderdata; // delete earlier loaded stuff
statspec->renderdata = new NewGRFSpriteLayout[statspec->tiles];
for (uint t = 0; t < statspec->tiles; t++) {
NewGRFSpriteLayout *dts = &statspec->renderdata[t];
dts->consistent_max_offset = UINT16_MAX; // Spritesets are unknown, so no limit.
if (buf->HasData(4) && *(uint32*)buf->Data() == 0) {
buf->Skip(4);
extern const DrawTileSprites _station_display_datas_rail[8];
dts->Clone(&_station_display_datas_rail[t % 8]);
continue;
}
ReadSpriteLayoutSprite(buf, false, false, false, GSF_STATIONS, &dts->ground);
/* On error, bail out immediately. Temporary GRF data was already freed */
if (_cur.skip_sprites < 0) return CIR_DISABLED;
static std::vector<DrawTileSeqStruct> tmp_layout;
tmp_layout.clear();
for (;;) {
/* no relative bounding box support */
/*C++17: DrawTileSeqStruct &dtss = */ tmp_layout.emplace_back();
DrawTileSeqStruct &dtss = tmp_layout.back();
MemSetT(&dtss, 0);
dtss.delta_x = buf->ReadByte();
if (dtss.IsTerminator()) break;
dtss.delta_y = buf->ReadByte();
dtss.delta_z = buf->ReadByte();
dtss.size_x = buf->ReadByte();
dtss.size_y = buf->ReadByte();
dtss.size_z = buf->ReadByte();
ReadSpriteLayoutSprite(buf, false, true, false, GSF_STATIONS, &dtss.image);
/* On error, bail out immediately. Temporary GRF data was already freed */
if (_cur.skip_sprites < 0) return CIR_DISABLED;
}
dts->Clone(tmp_layout.data());
}
break;
case 0x0A: { // Copy sprite layout
byte srcid = buf->ReadByte();
const StationSpec *srcstatspec = _cur.grffile->stations[srcid];
if (srcstatspec == nullptr) {
grfmsg(1, "StationChangeInfo: Station %u is not defined, cannot copy sprite layout to %u.", srcid, stid + i);
continue;
}
delete[] statspec->renderdata; // delete earlier loaded stuff
statspec->tiles = srcstatspec->tiles;
statspec->renderdata = new NewGRFSpriteLayout[statspec->tiles];
for (uint t = 0; t < statspec->tiles; t++) {
statspec->renderdata[t].Clone(&srcstatspec->renderdata[t]);
}
break;
}
case 0x0B: // Callback mask
statspec->callback_mask = buf->ReadByte();
break;
case 0x0C: // Disallowed number of platforms
statspec->disallowed_platforms = buf->ReadByte();
break;
case 0x0D: // Disallowed platform lengths
statspec->disallowed_lengths = buf->ReadByte();
break;
case 0x0E: // Define custom layout
statspec->copied_layouts = false;
while (buf->HasData()) {
byte length = buf->ReadByte();
byte number = buf->ReadByte();
StationLayout layout;
uint l, p;
if (length == 0 || number == 0) break;
if (length > statspec->lengths) {
byte diff_length = length - statspec->lengths;
statspec->platforms = ReallocT(statspec->platforms, length);
memset(statspec->platforms + statspec->lengths, 0, diff_length);
statspec->layouts = ReallocT(statspec->layouts, length);
memset(statspec->layouts + statspec->lengths, 0, diff_length * sizeof(*statspec->layouts));
statspec->lengths = length;
}
l = length - 1; // index is zero-based
if (number > statspec->platforms[l]) {
statspec->layouts[l] = ReallocT(statspec->layouts[l], number);
/* We expect nullptr being 0 here, but C99 guarantees that. */
memset(statspec->layouts[l] + statspec->platforms[l], 0,
(number - statspec->platforms[l]) * sizeof(**statspec->layouts));
statspec->platforms[l] = number;
}
p = 0;
layout = MallocT<byte>(length * number);
try {
for (l = 0; l < length; l++) {
for (p = 0; p < number; p++) {
layout[l * number + p] = buf->ReadByte();
}
}
} catch (...) {
free(layout);
throw;
}
l--;
p--;
free(statspec->layouts[l][p]);
statspec->layouts[l][p] = layout;
}
break;
case 0x0F: { // Copy custom layout
byte srcid = buf->ReadByte();
const StationSpec *srcstatspec = _cur.grffile->stations[srcid];
if (srcstatspec == nullptr) {
grfmsg(1, "StationChangeInfo: Station %u is not defined, cannot copy tile layout to %u.", srcid, stid + i);
continue;
}
statspec->lengths = srcstatspec->lengths;
statspec->platforms = srcstatspec->platforms;
statspec->layouts = srcstatspec->layouts;
statspec->copied_layouts = true;
break;
}
case 0x10: // Little/lots cargo threshold
statspec->cargo_threshold = buf->ReadWord();
break;
case 0x11: // Pylon placement
statspec->pylons = buf->ReadByte();
break;
case 0x12: // Cargo types for random triggers
if (_cur.grffile->grf_version >= 7) {
statspec->cargo_triggers = TranslateRefitMask(buf->ReadDWord());
} else {
statspec->cargo_triggers = (CargoTypes)buf->ReadDWord();
}
break;
case 0x13: // General flags
statspec->flags = buf->ReadByte();
break;
case 0x14: // Overhead wire placement
statspec->wires = buf->ReadByte();
break;
case 0x15: // Blocked tiles
statspec->blocked = buf->ReadByte();
break;
case 0x16: // Animation info
statspec->animation.frames = buf->ReadByte();
statspec->animation.status = buf->ReadByte();
break;
case 0x17: // Animation speed
statspec->animation.speed = buf->ReadByte();
break;
case 0x18: // Animation triggers
statspec->animation.triggers = buf->ReadWord();
break;
case 0x1A: // Advanced sprite layout
statspec->tiles = buf->ReadExtendedByte();
delete[] statspec->renderdata; // delete earlier loaded stuff
statspec->renderdata = new NewGRFSpriteLayout[statspec->tiles];
for (uint t = 0; t < statspec->tiles; t++) {
NewGRFSpriteLayout *dts = &statspec->renderdata[t];
uint num_building_sprites = buf->ReadByte();
/* On error, bail out immediately. Temporary GRF data was already freed */
if (ReadSpriteLayout(buf, num_building_sprites, false, GSF_STATIONS, true, false, dts)) return CIR_DISABLED;
}
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Define properties for water features
* @param id Type of the first water feature.
* @param numinfo Number of subsequent water feature ids to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult CanalChangeInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (id + numinfo > CF_END) {
grfmsg(1, "CanalChangeInfo: Canal feature 0x%02X is invalid, max %u, ignoring", id + numinfo, CF_END);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
CanalProperties *cp = &_cur.grffile->canal_local_properties[id + i];
switch (prop) {
case 0x08:
cp->callback_mask = buf->ReadByte();
break;
case 0x09:
cp->flags = buf->ReadByte();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Define properties for bridges
* @param brid BridgeID of the bridge.
* @param numinfo Number of subsequent bridgeIDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult BridgeChangeInfo(uint brid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (brid + numinfo > MAX_BRIDGES) {
grfmsg(1, "BridgeChangeInfo: Bridge %u is invalid, max %u, ignoring", brid + numinfo, MAX_BRIDGES);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
BridgeSpec *bridge = &_bridge[brid + i];
switch (prop) {
case 0x08: { // Year of availability
/* We treat '0' as always available */
byte year = buf->ReadByte();
bridge->avail_year = (year > 0 ? ORIGINAL_BASE_YEAR + year : 0);
break;
}
case 0x09: // Minimum length
bridge->min_length = buf->ReadByte();
break;
case 0x0A: // Maximum length
bridge->max_length = buf->ReadByte();
if (bridge->max_length > 16) bridge->max_length = 0xFFFF;
break;
case 0x0B: // Cost factor
bridge->price = buf->ReadByte();
break;
case 0x0C: // Maximum speed
bridge->speed = buf->ReadWord();
break;
case 0x0D: { // Bridge sprite tables
byte tableid = buf->ReadByte();
byte numtables = buf->ReadByte();
if (bridge->sprite_table == nullptr) {
/* Allocate memory for sprite table pointers and zero out */
bridge->sprite_table = CallocT<PalSpriteID*>(7);
}
for (; numtables-- != 0; tableid++) {
if (tableid >= 7) { // skip invalid data
grfmsg(1, "BridgeChangeInfo: Table %d >= 7, skipping", tableid);
for (byte sprite = 0; sprite < 32; sprite++) buf->ReadDWord();
continue;
}
if (bridge->sprite_table[tableid] == nullptr) {
bridge->sprite_table[tableid] = MallocT<PalSpriteID>(32);
}
for (byte sprite = 0; sprite < 32; sprite++) {
SpriteID image = buf->ReadWord();
PaletteID pal = buf->ReadWord();
bridge->sprite_table[tableid][sprite].sprite = image;
bridge->sprite_table[tableid][sprite].pal = pal;
MapSpriteMappingRecolour(&bridge->sprite_table[tableid][sprite]);
}
}
break;
}
case 0x0E: // Flags; bit 0 - disable far pillars
bridge->flags = buf->ReadByte();
break;
case 0x0F: // Long format year of availability (year since year 0)
bridge->avail_year = Clamp(buf->ReadDWord(), MIN_YEAR, MAX_YEAR);
break;
case 0x10: { // purchase string
StringID newone = GetGRFStringID(_cur.grffile->grfid, buf->ReadWord());
if (newone != STR_UNDEFINED) bridge->material = newone;
break;
}
case 0x11: // description of bridge with rails or roads
case 0x12: {
StringID newone = GetGRFStringID(_cur.grffile->grfid, buf->ReadWord());
if (newone != STR_UNDEFINED) bridge->transport_name[prop - 0x11] = newone;
break;
}
case 0x13: // 16 bits cost multiplier
bridge->price = buf->ReadWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Ignore a house property
* @param prop Property to read.
* @param buf Property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult IgnoreTownHouseProperty(int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
switch (prop) {
case 0x09:
case 0x0B:
case 0x0C:
case 0x0D:
case 0x0E:
case 0x0F:
case 0x11:
case 0x14:
case 0x15:
case 0x16:
case 0x18:
case 0x19:
case 0x1A:
case 0x1B:
case 0x1C:
case 0x1D:
case 0x1F:
buf->ReadByte();
break;
case 0x0A:
case 0x10:
case 0x12:
case 0x13:
case 0x21:
case 0x22:
buf->ReadWord();
break;
case 0x1E:
buf->ReadDWord();
break;
case 0x17:
for (uint j = 0; j < 4; j++) buf->ReadByte();
break;
case 0x20: {
byte count = buf->ReadByte();
for (byte j = 0; j < count; j++) buf->ReadByte();
break;
}
case 0x23:
buf->Skip(buf->ReadByte() * 2);
break;
default:
ret = CIR_UNKNOWN;
break;
}
return ret;
}
/**
* Define properties for houses
* @param hid HouseID of the house.
* @param numinfo Number of subsequent houseIDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult TownHouseChangeInfo(uint hid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (hid + numinfo > NUM_HOUSES_PER_GRF) {
grfmsg(1, "TownHouseChangeInfo: Too many houses loaded (%u), max (%u). Ignoring.", hid + numinfo, NUM_HOUSES_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate house specs if they haven't been allocated already. */
if (_cur.grffile->housespec == nullptr) {
_cur.grffile->housespec = CallocT<HouseSpec*>(NUM_HOUSES_PER_GRF);
}
for (int i = 0; i < numinfo; i++) {
HouseSpec *housespec = _cur.grffile->housespec[hid + i];
if (prop != 0x08 && housespec == nullptr) {
/* If the house property 08 is not yet set, ignore this property */
ChangeInfoResult cir = IgnoreTownHouseProperty(prop, buf);
if (cir > ret) ret = cir;
continue;
}
switch (prop) {
case 0x08: { // Substitute building type, and definition of a new house
HouseSpec **house = &_cur.grffile->housespec[hid + i];
byte subs_id = buf->ReadByte();
if (subs_id == 0xFF) {
/* Instead of defining a new house, a substitute house id
* of 0xFF disables the old house with the current id. */
HouseSpec::Get(hid + i)->enabled = false;
continue;
} else if (subs_id >= NEW_HOUSE_OFFSET) {
/* The substitute id must be one of the original houses. */
grfmsg(2, "TownHouseChangeInfo: Attempt to use new house %u as substitute house for %u. Ignoring.", subs_id, hid + i);
continue;
}
/* Allocate space for this house. */
if (*house == nullptr) *house = CallocT<HouseSpec>(1);
housespec = *house;
MemCpyT(housespec, HouseSpec::Get(subs_id));
housespec->enabled = true;
housespec->grf_prop.local_id = hid + i;
housespec->grf_prop.subst_id = subs_id;
housespec->grf_prop.grffile = _cur.grffile;
housespec->random_colour[0] = 0x04; // those 4 random colours are the base colour
housespec->random_colour[1] = 0x08; // for all new houses
housespec->random_colour[2] = 0x0C; // they stand for red, blue, orange and green
housespec->random_colour[3] = 0x06;
/* Make sure that the third cargo type is valid in this
* climate. This can cause problems when copying the properties
* of a house that accepts food, where the new house is valid
* in the temperate climate. */
if (!CargoSpec::Get(housespec->accepts_cargo[2])->IsValid()) {
housespec->cargo_acceptance[2] = 0;
}
_loaded_newgrf_features.has_newhouses = true;
break;
}
case 0x09: // Building flags
housespec->building_flags = (BuildingFlags)buf->ReadByte();
break;
case 0x0A: { // Availability years
uint16 years = buf->ReadWord();
housespec->min_year = GB(years, 0, 8) > 150 ? MAX_YEAR : ORIGINAL_BASE_YEAR + GB(years, 0, 8);
housespec->max_year = GB(years, 8, 8) > 150 ? MAX_YEAR : ORIGINAL_BASE_YEAR + GB(years, 8, 8);
break;
}
case 0x0B: // Population
housespec->population = buf->ReadByte();
break;
case 0x0C: // Mail generation multiplier
housespec->mail_generation = buf->ReadByte();
break;
case 0x0D: // Passenger acceptance
case 0x0E: // Mail acceptance
housespec->cargo_acceptance[prop - 0x0D] = buf->ReadByte();
break;
case 0x0F: { // Goods/candy, food/fizzy drinks acceptance
int8 goods = buf->ReadByte();
/* If value of goods is negative, it means in fact food or, if in toyland, fizzy_drink acceptance.
* Else, we have "standard" 3rd cargo type, goods or candy, for toyland once more */
CargoID cid = (goods >= 0) ? ((_settings_game.game_creation.landscape == LT_TOYLAND) ? CT_CANDY : CT_GOODS) :
((_settings_game.game_creation.landscape == LT_TOYLAND) ? CT_FIZZY_DRINKS : CT_FOOD);
/* Make sure the cargo type is valid in this climate. */
if (!CargoSpec::Get(cid)->IsValid()) goods = 0;
housespec->accepts_cargo[2] = cid;
housespec->cargo_acceptance[2] = abs(goods); // but we do need positive value here
break;
}
case 0x10: // Local authority rating decrease on removal
housespec->remove_rating_decrease = buf->ReadWord();
break;
case 0x11: // Removal cost multiplier
housespec->removal_cost = buf->ReadByte();
break;
case 0x12: // Building name ID
AddStringForMapping(buf->ReadWord(), &housespec->building_name);
break;
case 0x13: // Building availability mask
housespec->building_availability = (HouseZones)buf->ReadWord();
break;
case 0x14: // House callback mask
housespec->callback_mask |= buf->ReadByte();
break;
case 0x15: { // House override byte
byte override = buf->ReadByte();
/* The house being overridden must be an original house. */
if (override >= NEW_HOUSE_OFFSET) {
grfmsg(2, "TownHouseChangeInfo: Attempt to override new house %u with house id %u. Ignoring.", override, hid + i);
continue;
}
_house_mngr.Add(hid + i, _cur.grffile->grfid, override);
break;
}
case 0x16: // Periodic refresh multiplier
housespec->processing_time = min(buf->ReadByte(), 63);
break;
case 0x17: // Four random colours to use
for (uint j = 0; j < 4; j++) housespec->random_colour[j] = buf->ReadByte();
break;
case 0x18: // Relative probability of appearing
housespec->probability = buf->ReadByte();
break;
case 0x19: // Extra flags
housespec->extra_flags = (HouseExtraFlags)buf->ReadByte();
break;
case 0x1A: // Animation frames
housespec->animation.frames = buf->ReadByte();
housespec->animation.status = GB(housespec->animation.frames, 7, 1);
SB(housespec->animation.frames, 7, 1, 0);
break;
case 0x1B: // Animation speed
housespec->animation.speed = Clamp(buf->ReadByte(), 2, 16);
break;
case 0x1C: // Class of the building type
housespec->class_id = AllocateHouseClassID(buf->ReadByte(), _cur.grffile->grfid);
break;
case 0x1D: // Callback mask part 2
housespec->callback_mask |= (buf->ReadByte() << 8);
break;
case 0x1E: { // Accepted cargo types
uint32 cargotypes = buf->ReadDWord();
/* Check if the cargo types should not be changed */
if (cargotypes == 0xFFFFFFFF) break;
for (uint j = 0; j < 3; j++) {
/* Get the cargo number from the 'list' */
uint8 cargo_part = GB(cargotypes, 8 * j, 8);
CargoID cargo = GetCargoTranslation(cargo_part, _cur.grffile);
if (cargo == CT_INVALID) {
/* Disable acceptance of invalid cargo type */
housespec->cargo_acceptance[j] = 0;
} else {
housespec->accepts_cargo[j] = cargo;
}
}
break;
}
case 0x1F: // Minimum life span
housespec->minimum_life = buf->ReadByte();
break;
case 0x20: { // Cargo acceptance watch list
byte count = buf->ReadByte();
for (byte j = 0; j < count; j++) {
CargoID cargo = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
if (cargo != CT_INVALID) SetBit(housespec->watched_cargoes, cargo);
}
break;
}
case 0x21: // long introduction year
housespec->min_year = buf->ReadWord();
break;
case 0x22: // long maximum year
housespec->max_year = buf->ReadWord();
break;
case 0x23: { // variable length cargo types accepted
uint count = buf->ReadByte();
if (count > lengthof(housespec->accepts_cargo)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LIST_PROPERTY_TOO_LONG);
error->param_value[1] = prop;
return CIR_DISABLED;
}
/* Always write the full accepts_cargo array, and check each index for being inside the
* provided data. This ensures all values are properly initialized, and also avoids
* any risks of array overrun. */
for (uint i = 0; i < lengthof(housespec->accepts_cargo); i++) {
if (i < count) {
housespec->accepts_cargo[i] = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
housespec->cargo_acceptance[i] = buf->ReadByte();
} else {
housespec->accepts_cargo[i] = CT_INVALID;
housespec->cargo_acceptance[i] = 0;
}
}
break;
}
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Get the language map associated with a given NewGRF and language.
* @param grfid The NewGRF to get the map for.
* @param language_id The (NewGRF) language ID to get the map for.
* @return The LanguageMap, or nullptr if it couldn't be found.
*/
/* static */ const LanguageMap *LanguageMap::GetLanguageMap(uint32 grfid, uint8 language_id)
{
/* LanguageID "MAX_LANG", i.e. 7F is any. This language can't have a gender/case mapping, but has to be handled gracefully. */
const GRFFile *grffile = GetFileByGRFID(grfid);
return (grffile != nullptr && grffile->language_map != nullptr && language_id < MAX_LANG) ? &grffile->language_map[language_id] : nullptr;
}
/**
* Load a cargo- or railtype-translation table.
* @param gvid ID of the global variable. This is basically only checked for zerones.
* @param numinfo Number of subsequent IDs to change the property for.
* @param buf The property value.
* @param[in,out] translation_table Storage location for the translation table.
* @param name Name of the table for debug output.
* @return ChangeInfoResult.
*/
template <typename T>
static ChangeInfoResult LoadTranslationTable(uint gvid, int numinfo, ByteReader *buf, T &translation_table, const char *name)
{
if (gvid != 0) {
grfmsg(1, "LoadTranslationTable: %s translation table must start at zero", name);
return CIR_INVALID_ID;
}
translation_table.clear();
for (int i = 0; i < numinfo; i++) {
uint32 item = buf->ReadDWord();
translation_table.push_back(BSWAP32(item));
}
return CIR_SUCCESS;
}
/**
* Define properties for global variables
* @param gvid ID of the global variable.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult GlobalVarChangeInfo(uint gvid, int numinfo, int prop, ByteReader *buf)
{
/* Properties which are handled as a whole */
switch (prop) {
case 0x09: // Cargo Translation Table; loading during both reservation and activation stage (in case it is selected depending on defined cargos)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->cargo_list, "Cargo");
case 0x12: // Rail type translation table; loading during both reservation and activation stage (in case it is selected depending on defined railtypes)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->railtype_list, "Rail type");
case 0x16: // Road type translation table; loading during both reservation and activation stage (in case it is selected depending on defined railtypes)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->roadtype_list, "Road type");
case 0x17: // Tram type translation table; loading during both reservation and activation stage (in case it is selected depending on defined railtypes)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->tramtype_list, "Tram type");
default:
break;
}
/* Properties which are handled per item */
ChangeInfoResult ret = CIR_SUCCESS;
for (int i = 0; i < numinfo; i++) {
switch (prop) {
case 0x08: { // Cost base factor
int factor = buf->ReadByte();
uint price = gvid + i;
if (price < PR_END) {
_cur.grffile->price_base_multipliers[price] = min<int>(factor - 8, MAX_PRICE_MODIFIER);
} else {
grfmsg(1, "GlobalVarChangeInfo: Price %d out of range, ignoring", price);
}
break;
}
case 0x0A: { // Currency display names
uint curidx = GetNewgrfCurrencyIdConverted(gvid + i);
StringID newone = GetGRFStringID(_cur.grffile->grfid, buf->ReadWord());
if ((newone != STR_UNDEFINED) && (curidx < CURRENCY_END)) {
_currency_specs[curidx].name = newone;
}
break;
}
case 0x0B: { // Currency multipliers
uint curidx = GetNewgrfCurrencyIdConverted(gvid + i);
uint32 rate = buf->ReadDWord();
if (curidx < CURRENCY_END) {
/* TTDPatch uses a multiple of 1000 for its conversion calculations,
* which OTTD does not. For this reason, divide grf value by 1000,
* to be compatible */
_currency_specs[curidx].rate = rate / 1000;
} else {
grfmsg(1, "GlobalVarChangeInfo: Currency multipliers %d out of range, ignoring", curidx);
}
break;
}
case 0x0C: { // Currency options
uint curidx = GetNewgrfCurrencyIdConverted(gvid + i);
uint16 options = buf->ReadWord();
if (curidx < CURRENCY_END) {
_currency_specs[curidx].separator[0] = GB(options, 0, 8);
_currency_specs[curidx].separator[1] = '\0';
/* By specifying only one bit, we prevent errors,
* since newgrf specs said that only 0 and 1 can be set for symbol_pos */
_currency_specs[curidx].symbol_pos = GB(options, 8, 1);
} else {
grfmsg(1, "GlobalVarChangeInfo: Currency option %d out of range, ignoring", curidx);
}
break;
}
case 0x0D: { // Currency prefix symbol
uint curidx = GetNewgrfCurrencyIdConverted(gvid + i);
uint32 tempfix = buf->ReadDWord();
if (curidx < CURRENCY_END) {
memcpy(_currency_specs[curidx].prefix, &tempfix, 4);
_currency_specs[curidx].prefix[4] = 0;
} else {
grfmsg(1, "GlobalVarChangeInfo: Currency symbol %d out of range, ignoring", curidx);
}
break;
}
case 0x0E: { // Currency suffix symbol
uint curidx = GetNewgrfCurrencyIdConverted(gvid + i);
uint32 tempfix = buf->ReadDWord();
if (curidx < CURRENCY_END) {
memcpy(&_currency_specs[curidx].suffix, &tempfix, 4);
_currency_specs[curidx].suffix[4] = 0;
} else {
grfmsg(1, "GlobalVarChangeInfo: Currency symbol %d out of range, ignoring", curidx);
}
break;
}
case 0x0F: { // Euro introduction dates
uint curidx = GetNewgrfCurrencyIdConverted(gvid + i);
Year year_euro = buf->ReadWord();
if (curidx < CURRENCY_END) {
_currency_specs[curidx].to_euro = year_euro;
} else {
grfmsg(1, "GlobalVarChangeInfo: Euro intro date %d out of range, ignoring", curidx);
}
break;
}
case 0x10: // Snow line height table
if (numinfo > 1 || IsSnowLineSet()) {
grfmsg(1, "GlobalVarChangeInfo: The snowline can only be set once (%d)", numinfo);
} else if (buf->Remaining() < SNOW_LINE_MONTHS * SNOW_LINE_DAYS) {
grfmsg(1, "GlobalVarChangeInfo: Not enough entries set in the snowline table (" PRINTF_SIZE ")", buf->Remaining());
} else {
byte table[SNOW_LINE_MONTHS][SNOW_LINE_DAYS];
for (uint i = 0; i < SNOW_LINE_MONTHS; i++) {
for (uint j = 0; j < SNOW_LINE_DAYS; j++) {
table[i][j] = buf->ReadByte();
if (_cur.grffile->grf_version >= 8) {
if (table[i][j] != 0xFF) table[i][j] = table[i][j] * (1 + _settings_game.construction.max_heightlevel) / 256;
} else {
if (table[i][j] >= 128) {
/* no snow */
table[i][j] = 0xFF;
} else {
table[i][j] = table[i][j] * (1 + _settings_game.construction.max_heightlevel) / 128;
}
}
}
}
SetSnowLine(table);
}
break;
case 0x11: // GRF match for engine allocation
/* This is loaded during the reservation stage, so just skip it here. */
/* Each entry is 8 bytes. */
buf->Skip(8);
break;
case 0x13: // Gender translation table
case 0x14: // Case translation table
case 0x15: { // Plural form translation
uint curidx = gvid + i; // The current index, i.e. language.
const LanguageMetadata *lang = curidx < MAX_LANG ? GetLanguage(curidx) : nullptr;
if (lang == nullptr) {
grfmsg(1, "GlobalVarChangeInfo: Language %d is not known, ignoring", curidx);
/* Skip over the data. */
if (prop == 0x15) {
buf->ReadByte();
} else {
while (buf->ReadByte() != 0) {
buf->ReadString();
}
}
break;
}
if (_cur.grffile->language_map == nullptr) _cur.grffile->language_map = new LanguageMap[MAX_LANG];
if (prop == 0x15) {
uint plural_form = buf->ReadByte();
if (plural_form >= LANGUAGE_MAX_PLURAL) {
grfmsg(1, "GlobalVarChanceInfo: Plural form %d is out of range, ignoring", plural_form);
} else {
_cur.grffile->language_map[curidx].plural_form = plural_form;
}
break;
}
byte newgrf_id = buf->ReadByte(); // The NewGRF (custom) identifier.
while (newgrf_id != 0) {
const char *name = buf->ReadString(); // The name for the OpenTTD identifier.
/* We'll just ignore the UTF8 identifier character. This is (fairly)
* safe as OpenTTD's strings gender/cases are usually in ASCII which
* is just a subset of UTF8, or they need the bigger UTF8 characters
* such as Cyrillic. Thus we will simply assume they're all UTF8. */
WChar c;
size_t len = Utf8Decode(&c, name);
if (c == NFO_UTF8_IDENTIFIER) name += len;
LanguageMap::Mapping map;
map.newgrf_id = newgrf_id;
if (prop == 0x13) {
map.openttd_id = lang->GetGenderIndex(name);
if (map.openttd_id >= MAX_NUM_GENDERS) {
grfmsg(1, "GlobalVarChangeInfo: Gender name %s is not known, ignoring", name);
} else {
_cur.grffile->language_map[curidx].gender_map.push_back(map);
}
} else {
map.openttd_id = lang->GetCaseIndex(name);
if (map.openttd_id >= MAX_NUM_CASES) {
grfmsg(1, "GlobalVarChangeInfo: Case name %s is not known, ignoring", name);
} else {
_cur.grffile->language_map[curidx].case_map.push_back(map);
}
}
newgrf_id = buf->ReadByte();
}
break;
}
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
static ChangeInfoResult GlobalVarReserveInfo(uint gvid, int numinfo, int prop, ByteReader *buf)
{
/* Properties which are handled as a whole */
switch (prop) {
case 0x09: // Cargo Translation Table; loading during both reservation and activation stage (in case it is selected depending on defined cargos)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->cargo_list, "Cargo");
case 0x12: // Rail type translation table; loading during both reservation and activation stage (in case it is selected depending on defined railtypes)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->railtype_list, "Rail type");
case 0x16: // Road type translation table; loading during both reservation and activation stage (in case it is selected depending on defined roadtypes)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->roadtype_list, "Road type");
case 0x17: // Tram type translation table; loading during both reservation and activation stage (in case it is selected depending on defined tramtypes)
return LoadTranslationTable(gvid, numinfo, buf, _cur.grffile->tramtype_list, "Tram type");
default:
break;
}
/* Properties which are handled per item */
ChangeInfoResult ret = CIR_SUCCESS;
for (int i = 0; i < numinfo; i++) {
switch (prop) {
case 0x08: // Cost base factor
case 0x15: // Plural form translation
buf->ReadByte();
break;
case 0x0A: // Currency display names
case 0x0C: // Currency options
case 0x0F: // Euro introduction dates
buf->ReadWord();
break;
case 0x0B: // Currency multipliers
case 0x0D: // Currency prefix symbol
case 0x0E: // Currency suffix symbol
buf->ReadDWord();
break;
case 0x10: // Snow line height table
buf->Skip(SNOW_LINE_MONTHS * SNOW_LINE_DAYS);
break;
case 0x11: { // GRF match for engine allocation
uint32 s = buf->ReadDWord();
uint32 t = buf->ReadDWord();
SetNewGRFOverride(s, t);
break;
}
case 0x13: // Gender translation table
case 0x14: // Case translation table
while (buf->ReadByte() != 0) {
buf->ReadString();
}
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Define properties for cargoes
* @param cid Local ID of the cargo.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult CargoChangeInfo(uint cid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (cid + numinfo > NUM_CARGO) {
grfmsg(2, "CargoChangeInfo: Cargo type %d out of range (max %d)", cid + numinfo, NUM_CARGO - 1);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
CargoSpec *cs = CargoSpec::Get(cid + i);
switch (prop) {
case 0x08: // Bit number of cargo
cs->bitnum = buf->ReadByte();
if (cs->IsValid()) {
cs->grffile = _cur.grffile;
SetBit(_cargo_mask, cid + i);
} else {
ClrBit(_cargo_mask, cid + i);
}
break;
case 0x09: // String ID for cargo type name
AddStringForMapping(buf->ReadWord(), &cs->name);
break;
case 0x0A: // String for 1 unit of cargo
AddStringForMapping(buf->ReadWord(), &cs->name_single);
break;
case 0x0B: // String for singular quantity of cargo (e.g. 1 tonne of coal)
case 0x1B: // String for cargo units
/* String for units of cargo. This is different in OpenTTD
* (e.g. tonnes) to TTDPatch (e.g. {COMMA} tonne of coal).
* Property 1B is used to set OpenTTD's behaviour. */
AddStringForMapping(buf->ReadWord(), &cs->units_volume);
break;
case 0x0C: // String for plural quantity of cargo (e.g. 10 tonnes of coal)
case 0x1C: // String for any amount of cargo
/* Strings for an amount of cargo. This is different in OpenTTD
* (e.g. {WEIGHT} of coal) to TTDPatch (e.g. {COMMA} tonnes of coal).
* Property 1C is used to set OpenTTD's behaviour. */
AddStringForMapping(buf->ReadWord(), &cs->quantifier);
break;
case 0x0D: // String for two letter cargo abbreviation
AddStringForMapping(buf->ReadWord(), &cs->abbrev);
break;
case 0x0E: // Sprite ID for cargo icon
cs->sprite = buf->ReadWord();
break;
case 0x0F: // Weight of one unit of cargo
cs->weight = buf->ReadByte();
break;
case 0x10: // Used for payment calculation
cs->transit_days[0] = buf->ReadByte();
break;
case 0x11: // Used for payment calculation
cs->transit_days[1] = buf->ReadByte();
break;
case 0x12: // Base cargo price
cs->initial_payment = buf->ReadDWord();
break;
case 0x13: // Colour for station rating bars
cs->rating_colour = buf->ReadByte();
break;
case 0x14: // Colour for cargo graph
cs->legend_colour = buf->ReadByte();
break;
case 0x15: // Freight status
cs->is_freight = (buf->ReadByte() != 0);
break;
case 0x16: // Cargo classes
cs->classes = buf->ReadWord();
break;
case 0x17: // Cargo label
cs->label = buf->ReadDWord();
cs->label = BSWAP32(cs->label);
break;
case 0x18: { // Town growth substitute type
uint8 substitute_type = buf->ReadByte();
switch (substitute_type) {
case 0x00: cs->town_effect = TE_PASSENGERS; break;
case 0x02: cs->town_effect = TE_MAIL; break;
case 0x05: cs->town_effect = TE_GOODS; break;
case 0x09: cs->town_effect = TE_WATER; break;
case 0x0B: cs->town_effect = TE_FOOD; break;
default:
grfmsg(1, "CargoChangeInfo: Unknown town growth substitute value %d, setting to none.", substitute_type);
FALLTHROUGH;
case 0xFF: cs->town_effect = TE_NONE; break;
}
break;
}
case 0x19: // Town growth coefficient
cs->multipliertowngrowth = buf->ReadWord();
break;
case 0x1A: // Bitmask of callbacks to use
cs->callback_mask = buf->ReadByte();
break;
case 0x1D: // Vehicle capacity muliplier
cs->multiplier = max<uint16>(1u, buf->ReadWord());
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Define properties for sound effects
* @param sid Local ID of the sound.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult SoundEffectChangeInfo(uint sid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (_cur.grffile->sound_offset == 0) {
grfmsg(1, "SoundEffectChangeInfo: No effects defined, skipping");
return CIR_INVALID_ID;
}
if (sid + numinfo - ORIGINAL_SAMPLE_COUNT > _cur.grffile->num_sounds) {
grfmsg(1, "SoundEffectChangeInfo: Attempting to change undefined sound effect (%u), max (%u). Ignoring.", sid + numinfo, ORIGINAL_SAMPLE_COUNT + _cur.grffile->num_sounds);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
SoundEntry *sound = GetSound(sid + i + _cur.grffile->sound_offset - ORIGINAL_SAMPLE_COUNT);
switch (prop) {
case 0x08: // Relative volume
sound->volume = buf->ReadByte();
break;
case 0x09: // Priority
sound->priority = buf->ReadByte();
break;
case 0x0A: { // Override old sound
SoundID orig_sound = buf->ReadByte();
if (orig_sound >= ORIGINAL_SAMPLE_COUNT) {
grfmsg(1, "SoundEffectChangeInfo: Original sound %d not defined (max %d)", orig_sound, ORIGINAL_SAMPLE_COUNT);
} else {
SoundEntry *old_sound = GetSound(orig_sound);
/* Literally copy the data of the new sound over the original */
*old_sound = *sound;
}
break;
}
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Ignore an industry tile property
* @param prop The property to ignore.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult IgnoreIndustryTileProperty(int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
switch (prop) {
case 0x09:
case 0x0D:
case 0x0E:
case 0x10:
case 0x11:
case 0x12:
buf->ReadByte();
break;
case 0x0A:
case 0x0B:
case 0x0C:
case 0x0F:
buf->ReadWord();
break;
case 0x13:
buf->Skip(buf->ReadByte() * 2);
break;
default:
ret = CIR_UNKNOWN;
break;
}
return ret;
}
/**
* Define properties for industry tiles
* @param indtid Local ID of the industry tile.
* @param numinfo Number of subsequent industry tile IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult IndustrytilesChangeInfo(uint indtid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (indtid + numinfo > NUM_INDUSTRYTILES_PER_GRF) {
grfmsg(1, "IndustryTilesChangeInfo: Too many industry tiles loaded (%u), max (%u). Ignoring.", indtid + numinfo, NUM_INDUSTRYTILES_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate industry tile specs if they haven't been allocated already. */
if (_cur.grffile->indtspec == nullptr) {
_cur.grffile->indtspec = CallocT<IndustryTileSpec*>(NUM_INDUSTRYTILES_PER_GRF);
}
for (int i = 0; i < numinfo; i++) {
IndustryTileSpec *tsp = _cur.grffile->indtspec[indtid + i];
if (prop != 0x08 && tsp == nullptr) {
ChangeInfoResult cir = IgnoreIndustryTileProperty(prop, buf);
if (cir > ret) ret = cir;
continue;
}
switch (prop) {
case 0x08: { // Substitute industry tile type
IndustryTileSpec **tilespec = &_cur.grffile->indtspec[indtid + i];
byte subs_id = buf->ReadByte();
if (subs_id >= NEW_INDUSTRYTILEOFFSET) {
/* The substitute id must be one of the original industry tile. */
grfmsg(2, "IndustryTilesChangeInfo: Attempt to use new industry tile %u as substitute industry tile for %u. Ignoring.", subs_id, indtid + i);
continue;
}
/* Allocate space for this industry. */
if (*tilespec == nullptr) {
*tilespec = CallocT<IndustryTileSpec>(1);
tsp = *tilespec;
memcpy(tsp, &_industry_tile_specs[subs_id], sizeof(_industry_tile_specs[subs_id]));
tsp->enabled = true;
/* A copied tile should not have the animation infos copied too.
* The anim_state should be left untouched, though
* It is up to the author to animate them himself */
tsp->anim_production = INDUSTRYTILE_NOANIM;
tsp->anim_next = INDUSTRYTILE_NOANIM;
tsp->grf_prop.local_id = indtid + i;
tsp->grf_prop.subst_id = subs_id;
tsp->grf_prop.grffile = _cur.grffile;
_industile_mngr.AddEntityID(indtid + i, _cur.grffile->grfid, subs_id); // pre-reserve the tile slot
}
break;
}
case 0x09: { // Industry tile override
byte ovrid = buf->ReadByte();
/* The industry being overridden must be an original industry. */
if (ovrid >= NEW_INDUSTRYTILEOFFSET) {
grfmsg(2, "IndustryTilesChangeInfo: Attempt to override new industry tile %u with industry tile id %u. Ignoring.", ovrid, indtid + i);
continue;
}
_industile_mngr.Add(indtid + i, _cur.grffile->grfid, ovrid);
break;
}
case 0x0A: // Tile acceptance
case 0x0B:
case 0x0C: {
uint16 acctp = buf->ReadWord();
tsp->accepts_cargo[prop - 0x0A] = GetCargoTranslation(GB(acctp, 0, 8), _cur.grffile);
tsp->acceptance[prop - 0x0A] = Clamp(GB(acctp, 8, 8), 0, 16);
break;
}
case 0x0D: // Land shape flags
tsp->slopes_refused = (Slope)buf->ReadByte();
break;
case 0x0E: // Callback mask
tsp->callback_mask = buf->ReadByte();
break;
case 0x0F: // Animation information
tsp->animation.frames = buf->ReadByte();
tsp->animation.status = buf->ReadByte();
break;
case 0x10: // Animation speed
tsp->animation.speed = buf->ReadByte();
break;
case 0x11: // Triggers for callback 25
tsp->animation.triggers = buf->ReadByte();
break;
case 0x12: // Special flags
tsp->special_flags = (IndustryTileSpecialFlags)buf->ReadByte();
break;
case 0x13: { // variable length cargo acceptance
byte num_cargoes = buf->ReadByte();
if (num_cargoes > lengthof(tsp->acceptance)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LIST_PROPERTY_TOO_LONG);
error->param_value[1] = prop;
return CIR_DISABLED;
}
for (uint i = 0; i < lengthof(tsp->acceptance); i++) {
if (i < num_cargoes) {
tsp->accepts_cargo[i] = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
/* Tile acceptance can be negative to counteract the INDTILE_SPECIAL_ACCEPTS_ALL_CARGO flag */
tsp->acceptance[i] = (int8)buf->ReadByte();
} else {
tsp->accepts_cargo[i] = CT_INVALID;
tsp->acceptance[i] = 0;
}
}
break;
}
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Ignore an industry property
* @param prop The property to ignore.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult IgnoreIndustryProperty(int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
switch (prop) {
case 0x09:
case 0x0B:
case 0x0F:
case 0x12:
case 0x13:
case 0x14:
case 0x17:
case 0x18:
case 0x19:
case 0x21:
case 0x22:
buf->ReadByte();
break;
case 0x0C:
case 0x0D:
case 0x0E:
case 0x10:
case 0x1B:
case 0x1F:
case 0x24:
buf->ReadWord();
break;
case 0x11:
case 0x1A:
case 0x1C:
case 0x1D:
case 0x1E:
case 0x20:
case 0x23:
buf->ReadDWord();
break;
case 0x0A: {
byte num_table = buf->ReadByte();
for (byte j = 0; j < num_table; j++) {
for (uint k = 0;; k++) {
byte x = buf->ReadByte();
if (x == 0xFE && k == 0) {
buf->ReadByte();
buf->ReadByte();
break;
}
byte y = buf->ReadByte();
if (x == 0 && y == 0x80) break;
byte gfx = buf->ReadByte();
if (gfx == 0xFE) buf->ReadWord();
}
}
break;
}
case 0x16:
for (byte j = 0; j < 3; j++) buf->ReadByte();
break;
case 0x15:
case 0x25:
case 0x26:
case 0x27:
buf->Skip(buf->ReadByte());
break;
case 0x28: {
int num_inputs = buf->ReadByte();
int num_outputs = buf->ReadByte();
buf->Skip(num_inputs * num_outputs * 2);
break;
}
default:
ret = CIR_UNKNOWN;
break;
}
return ret;
}
/**
* Validate the industry layout; e.g. to prevent duplicate tiles.
* @param layout The layout to check.
* @return True if the layout is deemed valid.
*/
static bool ValidateIndustryLayout(const IndustryTileLayout &layout)
{
const size_t size = layout.size();
for (size_t i = 0; i < size - 1; i++) {
for (size_t j = i + 1; j < size; j++) {
if (layout[i].ti.x == layout[j].ti.x &&
layout[i].ti.y == layout[j].ti.y) {
return false;
}
}
}
return true;
}
/**
* Define properties for industries
* @param indid Local ID of the industry.
* @param numinfo Number of subsequent industry IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult IndustriesChangeInfo(uint indid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (indid + numinfo > NUM_INDUSTRYTYPES_PER_GRF) {
grfmsg(1, "IndustriesChangeInfo: Too many industries loaded (%u), max (%u). Ignoring.", indid + numinfo, NUM_INDUSTRYTYPES_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate industry specs if they haven't been allocated already. */
if (_cur.grffile->industryspec == nullptr) {
_cur.grffile->industryspec = CallocT<IndustrySpec*>(NUM_INDUSTRYTYPES_PER_GRF);
}
for (int i = 0; i < numinfo; i++) {
IndustrySpec *indsp = _cur.grffile->industryspec[indid + i];
if (prop != 0x08 && indsp == nullptr) {
ChangeInfoResult cir = IgnoreIndustryProperty(prop, buf);
if (cir > ret) ret = cir;
continue;
}
switch (prop) {
case 0x08: { // Substitute industry type
IndustrySpec **indspec = &_cur.grffile->industryspec[indid + i];
byte subs_id = buf->ReadByte();
if (subs_id == 0xFF) {
/* Instead of defining a new industry, a substitute industry id
* of 0xFF disables the old industry with the current id. */
_industry_specs[indid + i].enabled = false;
continue;
} else if (subs_id >= NEW_INDUSTRYOFFSET) {
/* The substitute id must be one of the original industry. */
grfmsg(2, "_industry_specs: Attempt to use new industry %u as substitute industry for %u. Ignoring.", subs_id, indid + i);
continue;
}
/* Allocate space for this industry.
* Only need to do it once. If ever it is called again, it should not
* do anything */
if (*indspec == nullptr) {
*indspec = new IndustrySpec;
indsp = *indspec;
*indsp = _origin_industry_specs[subs_id];
indsp->enabled = true;
indsp->grf_prop.local_id = indid + i;
indsp->grf_prop.subst_id = subs_id;
indsp->grf_prop.grffile = _cur.grffile;
/* If the grf industry needs to check its surrounding upon creation, it should
* rely on callbacks, not on the original placement functions */
indsp->check_proc = CHECK_NOTHING;
}
break;
}
case 0x09: { // Industry type override
byte ovrid = buf->ReadByte();
/* The industry being overridden must be an original industry. */
if (ovrid >= NEW_INDUSTRYOFFSET) {
grfmsg(2, "IndustriesChangeInfo: Attempt to override new industry %u with industry id %u. Ignoring.", ovrid, indid + i);
continue;
}
indsp->grf_prop.override = ovrid;
_industry_mngr.Add(indid + i, _cur.grffile->grfid, ovrid);
break;
}
case 0x0A: { // Set industry layout(s)
byte new_num_layouts = buf->ReadByte();
uint32 definition_size = buf->ReadDWord();
uint32 bytes_read = 0;
std::vector<IndustryTileLayout> new_layouts;
IndustryTileLayout layout;
for (byte j = 0; j < new_num_layouts; j++) {
layout.clear();
for (uint k = 0;; k++) {
if (bytes_read >= definition_size) {
grfmsg(3, "IndustriesChangeInfo: Incorrect size for industry tile layout definition for industry %u.", indid);
/* Avoid warning twice */
definition_size = UINT32_MAX;
}
layout.push_back(IndustryTileLayoutTile{});
IndustryTileLayoutTile &it = layout.back();
it.ti.x = buf->ReadByte(); // Offsets from northermost tile
++bytes_read;
if (it.ti.x == 0xFE && k == 0) {
/* This means we have to borrow the layout from an old industry */
IndustryType type = buf->ReadByte();
byte laynbr = buf->ReadByte();
bytes_read += 2;
if (type >= lengthof(_origin_industry_specs)) {
grfmsg(1, "IndustriesChangeInfo: Invalid original industry number for layout import, industry %u", indid);
DisableGrf(STR_NEWGRF_ERROR_INVALID_ID);
return CIR_DISABLED;
}
if (laynbr >= _origin_industry_specs[type].layouts.size()) {
grfmsg(1, "IndustriesChangeInfo: Invalid original industry layout index for layout import, industry %u", indid);
DisableGrf(STR_NEWGRF_ERROR_INVALID_ID);
return CIR_DISABLED;
}
layout = _origin_industry_specs[type].layouts[laynbr];
break;
}
it.ti.y = buf->ReadByte(); // Or table definition finalisation
++bytes_read;
if (it.ti.x == 0 && it.ti.y == 0x80) {
/* Terminator, remove and finish up */
layout.pop_back();
break;
}
it.gfx = buf->ReadByte();
++bytes_read;
if (it.gfx == 0xFE) {
/* Use a new tile from this GRF */
int local_tile_id = buf->ReadWord();
bytes_read += 2;
/* Read the ID from the _industile_mngr. */
int tempid = _industile_mngr.GetID(local_tile_id, _cur.grffile->grfid);
if (tempid == INVALID_INDUSTRYTILE) {
grfmsg(2, "IndustriesChangeInfo: Attempt to use industry tile %u with industry id %u, not yet defined. Ignoring.", local_tile_id, indid);
} else {
/* Declared as been valid, can be used */
it.gfx = tempid;
}
} else if (it.gfx == 0xFF) {
it.ti.x = (int8)GB(it.ti.x, 0, 8);
it.ti.y = (int8)GB(it.ti.y, 0, 8);
/* When there were only 256x256 maps, TileIndex was a uint16 and
* it.ti was just a TileIndexDiff that was added to it.
* As such negative "x" values were shifted into the "y" position.
* x = -1, y = 1 -> x = 255, y = 0
* Since GRF version 8 the position is interpreted as pair of independent int8.
* For GRF version < 8 we need to emulate the old shifting behaviour.
*/
if (_cur.grffile->grf_version < 8 && it.ti.x < 0) it.ti.y += 1;
}
}
if (!ValidateIndustryLayout(layout)) {
/* The industry layout was not valid, so skip this one. */
grfmsg(1, "IndustriesChangeInfo: Invalid industry layout for industry id %u. Ignoring", indid);
new_num_layouts--;
j--;
} else {
new_layouts.push_back(layout);
}
}
/* Install final layout construction in the industry spec */
indsp->layouts = new_layouts;
break;
}
case 0x0B: // Industry production flags
indsp->life_type = (IndustryLifeType)buf->ReadByte();
break;
case 0x0C: // Industry closure message
AddStringForMapping(buf->ReadWord(), &indsp->closure_text);
break;
case 0x0D: // Production increase message
AddStringForMapping(buf->ReadWord(), &indsp->production_up_text);
break;
case 0x0E: // Production decrease message
AddStringForMapping(buf->ReadWord(), &indsp->production_down_text);
break;
case 0x0F: // Fund cost multiplier
indsp->cost_multiplier = buf->ReadByte();
break;
case 0x10: // Production cargo types
for (byte j = 0; j < 2; j++) {
indsp->produced_cargo[j] = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
}
break;
case 0x11: // Acceptance cargo types
for (byte j = 0; j < 3; j++) {
indsp->accepts_cargo[j] = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
}
buf->ReadByte(); // Unnused, eat it up
break;
case 0x12: // Production multipliers
case 0x13:
indsp->production_rate[prop - 0x12] = buf->ReadByte();
break;
case 0x14: // Minimal amount of cargo distributed
indsp->minimal_cargo = buf->ReadByte();
break;
case 0x15: { // Random sound effects
indsp->number_of_sounds = buf->ReadByte();
uint8 *sounds = MallocT<uint8>(indsp->number_of_sounds);
try {
for (uint8 j = 0; j < indsp->number_of_sounds; j++) {
sounds[j] = buf->ReadByte();
}
} catch (...) {
free(sounds);
throw;
}
if (HasBit(indsp->cleanup_flag, CLEAN_RANDOMSOUNDS)) {
free(indsp->random_sounds);
}
indsp->random_sounds = sounds;
SetBit(indsp->cleanup_flag, CLEAN_RANDOMSOUNDS);
break;
}
case 0x16: // Conflicting industry types
for (byte j = 0; j < 3; j++) indsp->conflicting[j] = buf->ReadByte();
break;
case 0x17: // Probability in random game
indsp->appear_creation[_settings_game.game_creation.landscape] = buf->ReadByte();
break;
case 0x18: // Probability during gameplay
indsp->appear_ingame[_settings_game.game_creation.landscape] = buf->ReadByte();
break;
case 0x19: // Map colour
indsp->map_colour = buf->ReadByte();
break;
case 0x1A: // Special industry flags to define special behavior
indsp->behaviour = (IndustryBehaviour)buf->ReadDWord();
break;
case 0x1B: // New industry text ID
AddStringForMapping(buf->ReadWord(), &indsp->new_industry_text);
break;
case 0x1C: // Input cargo multipliers for the three input cargo types
case 0x1D:
case 0x1E: {
uint32 multiples = buf->ReadDWord();
indsp->input_cargo_multiplier[prop - 0x1C][0] = GB(multiples, 0, 16);
indsp->input_cargo_multiplier[prop - 0x1C][1] = GB(multiples, 16, 16);
break;
}
case 0x1F: // Industry name
AddStringForMapping(buf->ReadWord(), &indsp->name);
break;
case 0x20: // Prospecting success chance
indsp->prospecting_chance = buf->ReadDWord();
break;
case 0x21: // Callback mask
case 0x22: { // Callback additional mask
byte aflag = buf->ReadByte();
SB(indsp->callback_mask, (prop - 0x21) * 8, 8, aflag);
break;
}
case 0x23: // removal cost multiplier
indsp->removal_cost_multiplier = buf->ReadDWord();
break;
case 0x24: { // name for nearby station
uint16 str = buf->ReadWord();
if (str == 0) {
indsp->station_name = STR_NULL;
} else {
AddStringForMapping(str, &indsp->station_name);
}
break;
}
case 0x25: { // variable length produced cargoes
byte num_cargoes = buf->ReadByte();
if (num_cargoes > lengthof(indsp->produced_cargo)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LIST_PROPERTY_TOO_LONG);
error->param_value[1] = prop;
return CIR_DISABLED;
}
for (uint i = 0; i < lengthof(indsp->produced_cargo); i++) {
if (i < num_cargoes) {
CargoID cargo = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
indsp->produced_cargo[i] = cargo;
} else {
indsp->produced_cargo[i] = CT_INVALID;
}
}
break;
}
case 0x26: { // variable length accepted cargoes
byte num_cargoes = buf->ReadByte();
if (num_cargoes > lengthof(indsp->accepts_cargo)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LIST_PROPERTY_TOO_LONG);
error->param_value[1] = prop;
return CIR_DISABLED;
}
for (uint i = 0; i < lengthof(indsp->accepts_cargo); i++) {
if (i < num_cargoes) {
CargoID cargo = GetCargoTranslation(buf->ReadByte(), _cur.grffile);
indsp->accepts_cargo[i] = cargo;
} else {
indsp->accepts_cargo[i] = CT_INVALID;
}
}
break;
}
case 0x27: { // variable length production rates
byte num_cargoes = buf->ReadByte();
if (num_cargoes > lengthof(indsp->production_rate)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LIST_PROPERTY_TOO_LONG);
error->param_value[1] = prop;
return CIR_DISABLED;
}
for (uint i = 0; i < lengthof(indsp->production_rate); i++) {
if (i < num_cargoes) {
indsp->production_rate[i] = buf->ReadByte();
} else {
indsp->production_rate[i] = 0;
}
}
break;
}
case 0x28: { // variable size input/output production multiplier table
byte num_inputs = buf->ReadByte();
byte num_outputs = buf->ReadByte();
if (num_inputs > lengthof(indsp->accepts_cargo) || num_outputs > lengthof(indsp->produced_cargo)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LIST_PROPERTY_TOO_LONG);
error->param_value[1] = prop;
return CIR_DISABLED;
}
for (uint i = 0; i < lengthof(indsp->accepts_cargo); i++) {
for (uint j = 0; j < lengthof(indsp->produced_cargo); j++) {
uint16 mult = 0;
if (i < num_inputs && j < num_outputs) mult = buf->ReadWord();
indsp->input_cargo_multiplier[i][j] = mult;
}
}
break;
}
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Create a copy of the tile table so it can be freed later
* without problems.
* @param as The AirportSpec to copy the arrays of.
*/
static void DuplicateTileTable(AirportSpec *as)
{
AirportTileTable **table_list = MallocT<AirportTileTable*>(as->num_table);
for (int i = 0; i < as->num_table; i++) {
uint num_tiles = 1;
const AirportTileTable *it = as->table[0];
do {
num_tiles++;
} while ((++it)->ti.x != -0x80);
table_list[i] = MallocT<AirportTileTable>(num_tiles);
MemCpyT(table_list[i], as->table[i], num_tiles);
}
as->table = table_list;
HangarTileTable *depot_table = MallocT<HangarTileTable>(as->nof_depots);
MemCpyT(depot_table, as->depot_table, as->nof_depots);
as->depot_table = depot_table;
Direction *rotation = MallocT<Direction>(as->num_table);
MemCpyT(rotation, as->rotation, as->num_table);
as->rotation = rotation;
}
/**
* Define properties for airports
* @param airport Local ID of the airport.
* @param numinfo Number of subsequent airport IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult AirportChangeInfo(uint airport, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (airport + numinfo > NUM_AIRPORTS_PER_GRF) {
grfmsg(1, "AirportChangeInfo: Too many airports, trying id (%u), max (%u). Ignoring.", airport + numinfo, NUM_AIRPORTS_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate industry specs if they haven't been allocated already. */
if (_cur.grffile->airportspec == nullptr) {
_cur.grffile->airportspec = CallocT<AirportSpec*>(NUM_AIRPORTS_PER_GRF);
}
for (int i = 0; i < numinfo; i++) {
AirportSpec *as = _cur.grffile->airportspec[airport + i];
if (as == nullptr && prop != 0x08 && prop != 0x09) {
grfmsg(2, "AirportChangeInfo: Attempt to modify undefined airport %u, ignoring", airport + i);
return CIR_INVALID_ID;
}
switch (prop) {
case 0x08: { // Modify original airport
byte subs_id = buf->ReadByte();
if (subs_id == 0xFF) {
/* Instead of defining a new airport, an airport id
* of 0xFF disables the old airport with the current id. */
AirportSpec::GetWithoutOverride(airport + i)->enabled = false;
continue;
} else if (subs_id >= NEW_AIRPORT_OFFSET) {
/* The substitute id must be one of the original airports. */
grfmsg(2, "AirportChangeInfo: Attempt to use new airport %u as substitute airport for %u. Ignoring.", subs_id, airport + i);
continue;
}
AirportSpec **spec = &_cur.grffile->airportspec[airport + i];
/* Allocate space for this airport.
* Only need to do it once. If ever it is called again, it should not
* do anything */
if (*spec == nullptr) {
*spec = MallocT<AirportSpec>(1);
as = *spec;
memcpy(as, AirportSpec::GetWithoutOverride(subs_id), sizeof(*as));
as->enabled = true;
as->grf_prop.local_id = airport + i;
as->grf_prop.subst_id = subs_id;
as->grf_prop.grffile = _cur.grffile;
/* override the default airport */
_airport_mngr.Add(airport + i, _cur.grffile->grfid, subs_id);
/* Create a copy of the original tiletable so it can be freed later. */
DuplicateTileTable(as);
}
break;
}
case 0x0A: { // Set airport layout
free(as->rotation);
as->num_table = buf->ReadByte(); // Number of layaouts
as->rotation = MallocT<Direction>(as->num_table);
uint32 defsize = buf->ReadDWord(); // Total size of the definition
AirportTileTable **tile_table = CallocT<AirportTileTable*>(as->num_table); // Table with tiles to compose the airport
AirportTileTable *att = CallocT<AirportTileTable>(defsize); // Temporary array to read the tile layouts from the GRF
int size;
const AirportTileTable *copy_from;
try {
for (byte j = 0; j < as->num_table; j++) {
const_cast<Direction&>(as->rotation[j]) = (Direction)buf->ReadByte();
for (int k = 0;; k++) {
att[k].ti.x = buf->ReadByte(); // Offsets from northermost tile
att[k].ti.y = buf->ReadByte();
if (att[k].ti.x == 0 && att[k].ti.y == 0x80) {
/* Not the same terminator. The one we are using is rather
* x = -80, y = 0 . So, adjust it. */
att[k].ti.x = -0x80;
att[k].ti.y = 0;
att[k].gfx = 0;
size = k + 1;
copy_from = att;
break;
}
att[k].gfx = buf->ReadByte();
if (att[k].gfx == 0xFE) {
/* Use a new tile from this GRF */
int local_tile_id = buf->ReadWord();
/* Read the ID from the _airporttile_mngr. */
uint16 tempid = _airporttile_mngr.GetID(local_tile_id, _cur.grffile->grfid);
if (tempid == INVALID_AIRPORTTILE) {
grfmsg(2, "AirportChangeInfo: Attempt to use airport tile %u with airport id %u, not yet defined. Ignoring.", local_tile_id, airport + i);
} else {
/* Declared as been valid, can be used */
att[k].gfx = tempid;
}
} else if (att[k].gfx == 0xFF) {
att[k].ti.x = (int8)GB(att[k].ti.x, 0, 8);
att[k].ti.y = (int8)GB(att[k].ti.y, 0, 8);
}
if (as->rotation[j] == DIR_E || as->rotation[j] == DIR_W) {
as->size_x = max<byte>(as->size_x, att[k].ti.y + 1);
as->size_y = max<byte>(as->size_y, att[k].ti.x + 1);
} else {
as->size_x = max<byte>(as->size_x, att[k].ti.x + 1);
as->size_y = max<byte>(as->size_y, att[k].ti.y + 1);
}
}
tile_table[j] = CallocT<AirportTileTable>(size);
memcpy(tile_table[j], copy_from, sizeof(*copy_from) * size);
}
/* Install final layout construction in the airport spec */
as->table = tile_table;
free(att);
} catch (...) {
for (int i = 0; i < as->num_table; i++) {
free(tile_table[i]);
}
free(tile_table);
free(att);
throw;
}
break;
}
case 0x0C:
as->min_year = buf->ReadWord();
as->max_year = buf->ReadWord();
if (as->max_year == 0xFFFF) as->max_year = MAX_YEAR;
break;
case 0x0D:
as->ttd_airport_type = (TTDPAirportType)buf->ReadByte();
break;
case 0x0E:
as->catchment = Clamp(buf->ReadByte(), 1, MAX_CATCHMENT);
break;
case 0x0F:
as->noise_level = buf->ReadByte();
break;
case 0x10:
AddStringForMapping(buf->ReadWord(), &as->name);
break;
case 0x11: // Maintenance cost factor
as->maintenance_cost = buf->ReadWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Ignore properties for objects
* @param prop The property to ignore.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult IgnoreObjectProperty(uint prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
switch (prop) {
case 0x0B:
case 0x0C:
case 0x0D:
case 0x12:
case 0x14:
case 0x16:
case 0x17:
buf->ReadByte();
break;
case 0x09:
case 0x0A:
case 0x10:
case 0x11:
case 0x13:
case 0x15:
buf->ReadWord();
break;
case 0x08:
case 0x0E:
case 0x0F:
buf->ReadDWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
return ret;
}
/**
* Define properties for objects
* @param id Local ID of the object.
* @param numinfo Number of subsequent objectIDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult ObjectChangeInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (id + numinfo > NUM_OBJECTS_PER_GRF) {
grfmsg(1, "ObjectChangeInfo: Too many objects loaded (%u), max (%u). Ignoring.", id + numinfo, NUM_OBJECTS_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate object specs if they haven't been allocated already. */
if (_cur.grffile->objectspec == nullptr) {
_cur.grffile->objectspec = CallocT<ObjectSpec*>(NUM_OBJECTS_PER_GRF);
}
for (int i = 0; i < numinfo; i++) {
ObjectSpec *spec = _cur.grffile->objectspec[id + i];
if (prop != 0x08 && spec == nullptr) {
/* If the object property 08 is not yet set, ignore this property */
ChangeInfoResult cir = IgnoreObjectProperty(prop, buf);
if (cir > ret) ret = cir;
continue;
}
switch (prop) {
case 0x08: { // Class ID
ObjectSpec **ospec = &_cur.grffile->objectspec[id + i];
/* Allocate space for this object. */
if (*ospec == nullptr) {
*ospec = CallocT<ObjectSpec>(1);
(*ospec)->views = 1; // Default for NewGRFs that don't set it.
}
/* Swap classid because we read it in BE. */
uint32 classid = buf->ReadDWord();
(*ospec)->cls_id = ObjectClass::Allocate(BSWAP32(classid));
(*ospec)->enabled = true;
break;
}
case 0x09: { // Class name
ObjectClass *objclass = ObjectClass::Get(spec->cls_id);
AddStringForMapping(buf->ReadWord(), &objclass->name);
break;
}
case 0x0A: // Object name
AddStringForMapping(buf->ReadWord(), &spec->name);
break;
case 0x0B: // Climate mask
spec->climate = buf->ReadByte();
break;
case 0x0C: // Size
spec->size = buf->ReadByte();
break;
case 0x0D: // Build cost multipler
spec->build_cost_multiplier = buf->ReadByte();
spec->clear_cost_multiplier = spec->build_cost_multiplier;
break;
case 0x0E: // Introduction date
spec->introduction_date = buf->ReadDWord();
break;
case 0x0F: // End of life
spec->end_of_life_date = buf->ReadDWord();
break;
case 0x10: // Flags
spec->flags = (ObjectFlags)buf->ReadWord();
_loaded_newgrf_features.has_2CC |= (spec->flags & OBJECT_FLAG_2CC_COLOUR) != 0;
break;
case 0x11: // Animation info
spec->animation.frames = buf->ReadByte();
spec->animation.status = buf->ReadByte();
break;
case 0x12: // Animation speed
spec->animation.speed = buf->ReadByte();
break;
case 0x13: // Animation triggers
spec->animation.triggers = buf->ReadWord();
break;
case 0x14: // Removal cost multiplier
spec->clear_cost_multiplier = buf->ReadByte();
break;
case 0x15: // Callback mask
spec->callback_mask = buf->ReadWord();
break;
case 0x16: // Building height
spec->height = buf->ReadByte();
break;
case 0x17: // Views
spec->views = buf->ReadByte();
if (spec->views != 1 && spec->views != 2 && spec->views != 4) {
grfmsg(2, "ObjectChangeInfo: Invalid number of views (%u) for object id %u. Ignoring.", spec->views, id + i);
spec->views = 1;
}
break;
case 0x18: // Amount placed on 256^2 map on map creation
spec->generate_amount = buf->ReadByte();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Define properties for railtypes
* @param id ID of the railtype.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult RailTypeChangeInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
extern RailtypeInfo _railtypes[RAILTYPE_END];
if (id + numinfo > RAILTYPE_END) {
grfmsg(1, "RailTypeChangeInfo: Rail type %u is invalid, max %u, ignoring", id + numinfo, RAILTYPE_END);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
RailType rt = _cur.grffile->railtype_map[id + i];
if (rt == INVALID_RAILTYPE) return CIR_INVALID_ID;
RailtypeInfo *rti = &_railtypes[rt];
switch (prop) {
case 0x08: // Label of rail type
/* Skipped here as this is loaded during reservation stage. */
buf->ReadDWord();
break;
case 0x09: { // Toolbar caption of railtype (sets name as well for backwards compatibility for grf ver < 8)
uint16 str = buf->ReadWord();
AddStringForMapping(str, &rti->strings.toolbar_caption);
if (_cur.grffile->grf_version < 8) {
AddStringForMapping(str, &rti->strings.name);
}
break;
}
case 0x0A: // Menu text of railtype
AddStringForMapping(buf->ReadWord(), &rti->strings.menu_text);
break;
case 0x0B: // Build window caption
AddStringForMapping(buf->ReadWord(), &rti->strings.build_caption);
break;
case 0x0C: // Autoreplace text
AddStringForMapping(buf->ReadWord(), &rti->strings.replace_text);
break;
case 0x0D: // New locomotive text
AddStringForMapping(buf->ReadWord(), &rti->strings.new_loco);
break;
case 0x0E: // Compatible railtype list
case 0x0F: // Powered railtype list
case 0x18: // Railtype list required for date introduction
case 0x19: // Introduced railtype list
{
/* Rail type compatibility bits are added to the existing bits
* to allow multiple GRFs to modify compatibility with the
* default rail types. */
int n = buf->ReadByte();
for (int j = 0; j != n; j++) {
RailTypeLabel label = buf->ReadDWord();
RailType rt = GetRailTypeByLabel(BSWAP32(label), false);
if (rt != INVALID_RAILTYPE) {
switch (prop) {
case 0x0F: SetBit(rti->powered_railtypes, rt); FALLTHROUGH; // Powered implies compatible.
case 0x0E: SetBit(rti->compatible_railtypes, rt); break;
case 0x18: SetBit(rti->introduction_required_railtypes, rt); break;
case 0x19: SetBit(rti->introduces_railtypes, rt); break;
}
}
}
break;
}
case 0x10: // Rail Type flags
rti->flags = (RailTypeFlags)buf->ReadByte();
break;
case 0x11: // Curve speed advantage
rti->curve_speed = buf->ReadByte();
break;
case 0x12: // Station graphic
rti->fallback_railtype = Clamp(buf->ReadByte(), 0, 2);
break;
case 0x13: // Construction cost factor
rti->cost_multiplier = buf->ReadWord();
break;
case 0x14: // Speed limit
rti->max_speed = buf->ReadWord();
break;
case 0x15: // Acceleration model
rti->acceleration_type = Clamp(buf->ReadByte(), 0, 2);
break;
case 0x16: // Map colour
rti->map_colour = buf->ReadByte();
break;
case 0x17: // Introduction date
rti->introduction_date = buf->ReadDWord();
break;
case 0x1A: // Sort order
rti->sorting_order = buf->ReadByte();
break;
case 0x1B: // Name of railtype (overridden by prop 09 for grf ver < 8)
AddStringForMapping(buf->ReadWord(), &rti->strings.name);
break;
case 0x1C: // Maintenance cost factor
rti->maintenance_multiplier = buf->ReadWord();
break;
case 0x1D: // Alternate rail type label list
/* Skipped here as this is loaded during reservation stage. */
for (int j = buf->ReadByte(); j != 0; j--) buf->ReadDWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
static ChangeInfoResult RailTypeReserveInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
extern RailtypeInfo _railtypes[RAILTYPE_END];
if (id + numinfo > RAILTYPE_END) {
grfmsg(1, "RailTypeReserveInfo: Rail type %u is invalid, max %u, ignoring", id + numinfo, RAILTYPE_END);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
switch (prop) {
case 0x08: // Label of rail type
{
RailTypeLabel rtl = buf->ReadDWord();
rtl = BSWAP32(rtl);
RailType rt = GetRailTypeByLabel(rtl, false);
if (rt == INVALID_RAILTYPE) {
/* Set up new rail type */
rt = AllocateRailType(rtl);
}
_cur.grffile->railtype_map[id + i] = rt;
break;
}
case 0x09: // Toolbar caption of railtype
case 0x0A: // Menu text
case 0x0B: // Build window caption
case 0x0C: // Autoreplace text
case 0x0D: // New loco
case 0x13: // Construction cost
case 0x14: // Speed limit
case 0x1B: // Name of railtype
case 0x1C: // Maintenance cost factor
buf->ReadWord();
break;
case 0x1D: // Alternate rail type label list
if (_cur.grffile->railtype_map[id + i] != INVALID_RAILTYPE) {
int n = buf->ReadByte();
for (int j = 0; j != n; j++) {
_railtypes[_cur.grffile->railtype_map[id + i]].alternate_labels.push_back(BSWAP32(buf->ReadDWord()));
}
break;
}
grfmsg(1, "RailTypeReserveInfo: Ignoring property 1D for rail type %u because no label was set", id + i);
FALLTHROUGH;
case 0x0E: // Compatible railtype list
case 0x0F: // Powered railtype list
case 0x18: // Railtype list required for date introduction
case 0x19: // Introduced railtype list
for (int j = buf->ReadByte(); j != 0; j--) buf->ReadDWord();
break;
case 0x10: // Rail Type flags
case 0x11: // Curve speed advantage
case 0x12: // Station graphic
case 0x15: // Acceleration model
case 0x16: // Map colour
case 0x1A: // Sort order
buf->ReadByte();
break;
case 0x17: // Introduction date
buf->ReadDWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
/**
* Define properties for roadtypes
* @param id ID of the roadtype.
* @param numinfo Number of subsequent IDs to change the property for.
* @param prop The property to change.
* @param buf The property value.
* @return ChangeInfoResult.
*/
static ChangeInfoResult RoadTypeChangeInfo(uint id, int numinfo, int prop, ByteReader *buf, RoadTramType rtt)
{
ChangeInfoResult ret = CIR_SUCCESS;
extern RoadTypeInfo _roadtypes[ROADTYPE_END];
RoadType *type_map = (rtt == RTT_TRAM) ? _cur.grffile->tramtype_map : _cur.grffile->roadtype_map;
if (id + numinfo > ROADTYPE_END) {
grfmsg(1, "RoadTypeChangeInfo: Road type %u is invalid, max %u, ignoring", id + numinfo, ROADTYPE_END);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
RoadType rt = type_map[id + i];
if (rt == INVALID_ROADTYPE) return CIR_INVALID_ID;
RoadTypeInfo *rti = &_roadtypes[rt];
switch (prop) {
case 0x08: // Label of road type
/* Skipped here as this is loaded during reservation stage. */
buf->ReadDWord();
break;
case 0x09: { // Toolbar caption of roadtype (sets name as well for backwards compatibility for grf ver < 8)
uint16 str = buf->ReadWord();
AddStringForMapping(str, &rti->strings.toolbar_caption);
break;
}
case 0x0A: // Menu text of roadtype
AddStringForMapping(buf->ReadWord(), &rti->strings.menu_text);
break;
case 0x0B: // Build window caption
AddStringForMapping(buf->ReadWord(), &rti->strings.build_caption);
break;
case 0x0C: // Autoreplace text
AddStringForMapping(buf->ReadWord(), &rti->strings.replace_text);
break;
case 0x0D: // New engine text
AddStringForMapping(buf->ReadWord(), &rti->strings.new_engine);
break;
case 0x0F: // Powered roadtype list
case 0x18: // Roadtype list required for date introduction
case 0x19: { // Introduced roadtype list
/* Road type compatibility bits are added to the existing bits
* to allow multiple GRFs to modify compatibility with the
* default road types. */
int n = buf->ReadByte();
for (int j = 0; j != n; j++) {
RoadTypeLabel label = buf->ReadDWord();
RoadType rt = GetRoadTypeByLabel(BSWAP32(label), false);
if (rt != INVALID_ROADTYPE) {
switch (prop) {
case 0x0F: SetBit(rti->powered_roadtypes, rt); break;
case 0x18: SetBit(rti->introduction_required_roadtypes, rt); break;
case 0x19: SetBit(rti->introduces_roadtypes, rt); break;
}
}
}
break;
}
case 0x10: // Road Type flags
rti->flags = (RoadTypeFlags)buf->ReadByte();
break;
case 0x13: // Construction cost factor
rti->cost_multiplier = buf->ReadWord();
break;
case 0x14: // Speed limit
rti->max_speed = buf->ReadWord();
break;
case 0x16: // Map colour
rti->map_colour = buf->ReadByte();
break;
case 0x17: // Introduction date
rti->introduction_date = buf->ReadDWord();
break;
case 0x1A: // Sort order
rti->sorting_order = buf->ReadByte();
break;
case 0x1B: // Name of roadtype
AddStringForMapping(buf->ReadWord(), &rti->strings.name);
break;
case 0x1C: // Maintenance cost factor
rti->maintenance_multiplier = buf->ReadWord();
break;
case 0x1D: // Alternate road type label list
/* Skipped here as this is loaded during reservation stage. */
for (int j = buf->ReadByte(); j != 0; j--) buf->ReadDWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
static ChangeInfoResult RoadTypeChangeInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
return RoadTypeChangeInfo(id, numinfo, prop, buf, RTT_ROAD);
}
static ChangeInfoResult TramTypeChangeInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
return RoadTypeChangeInfo(id, numinfo, prop, buf, RTT_TRAM);
}
static ChangeInfoResult RoadTypeReserveInfo(uint id, int numinfo, int prop, ByteReader *buf, RoadTramType rtt)
{
ChangeInfoResult ret = CIR_SUCCESS;
extern RoadTypeInfo _roadtypes[ROADTYPE_END];
RoadType *type_map = (rtt == RTT_TRAM) ? _cur.grffile->tramtype_map : _cur.grffile->roadtype_map;
if (id + numinfo > ROADTYPE_END) {
grfmsg(1, "RoadTypeReserveInfo: Road type %u is invalid, max %u, ignoring", id + numinfo, ROADTYPE_END);
return CIR_INVALID_ID;
}
for (int i = 0; i < numinfo; i++) {
switch (prop) {
case 0x08: { // Label of road type
RoadTypeLabel rtl = buf->ReadDWord();
rtl = BSWAP32(rtl);
RoadType rt = GetRoadTypeByLabel(rtl, false);
if (rt == INVALID_ROADTYPE) {
/* Set up new road type */
rt = AllocateRoadType(rtl, rtt);
} else if (GetRoadTramType(rt) != rtt) {
grfmsg(1, "RoadTypeReserveInfo: Road type %u is invalid type (road/tram), ignoring", id + numinfo);
return CIR_INVALID_ID;
}
type_map[id + i] = rt;
break;
}
case 0x09: // Toolbar caption of roadtype
case 0x0A: // Menu text
case 0x0B: // Build window caption
case 0x0C: // Autoreplace text
case 0x0D: // New loco
case 0x13: // Construction cost
case 0x14: // Speed limit
case 0x1B: // Name of roadtype
case 0x1C: // Maintenance cost factor
buf->ReadWord();
break;
case 0x1D: // Alternate road type label list
if (type_map[id + i] != INVALID_ROADTYPE) {
int n = buf->ReadByte();
for (int j = 0; j != n; j++) {
_roadtypes[type_map[id + i]].alternate_labels.push_back(BSWAP32(buf->ReadDWord()));
}
break;
}
grfmsg(1, "RoadTypeReserveInfo: Ignoring property 1D for road type %u because no label was set", id + i);
/* FALL THROUGH */
case 0x0F: // Powered roadtype list
case 0x18: // Roadtype list required for date introduction
case 0x19: // Introduced roadtype list
for (int j = buf->ReadByte(); j != 0; j--) buf->ReadDWord();
break;
case 0x10: // Road Type flags
case 0x12: // Station graphic
case 0x15: // Acceleration model
case 0x16: // Map colour
case 0x1A: // Sort order
buf->ReadByte();
break;
case 0x17: // Introduction date
buf->ReadDWord();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
static ChangeInfoResult RoadTypeReserveInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
return RoadTypeReserveInfo(id, numinfo, prop, buf, RTT_ROAD);
}
static ChangeInfoResult TramTypeReserveInfo(uint id, int numinfo, int prop, ByteReader *buf)
{
return RoadTypeReserveInfo(id, numinfo, prop, buf, RTT_TRAM);
}
static ChangeInfoResult AirportTilesChangeInfo(uint airtid, int numinfo, int prop, ByteReader *buf)
{
ChangeInfoResult ret = CIR_SUCCESS;
if (airtid + numinfo > NUM_AIRPORTTILES_PER_GRF) {
grfmsg(1, "AirportTileChangeInfo: Too many airport tiles loaded (%u), max (%u). Ignoring.", airtid + numinfo, NUM_AIRPORTTILES_PER_GRF);
return CIR_INVALID_ID;
}
/* Allocate airport tile specs if they haven't been allocated already. */
if (_cur.grffile->airtspec == nullptr) {
_cur.grffile->airtspec = CallocT<AirportTileSpec*>(NUM_AIRPORTTILES_PER_GRF);
}
for (int i = 0; i < numinfo; i++) {
AirportTileSpec *tsp = _cur.grffile->airtspec[airtid + i];
if (prop != 0x08 && tsp == nullptr) {
grfmsg(2, "AirportTileChangeInfo: Attempt to modify undefined airport tile %u. Ignoring.", airtid + i);
return CIR_INVALID_ID;
}
switch (prop) {
case 0x08: { // Substitute airport tile type
AirportTileSpec **tilespec = &_cur.grffile->airtspec[airtid + i];
byte subs_id = buf->ReadByte();
if (subs_id >= NEW_AIRPORTTILE_OFFSET) {
/* The substitute id must be one of the original airport tiles. */
grfmsg(2, "AirportTileChangeInfo: Attempt to use new airport tile %u as substitute airport tile for %u. Ignoring.", subs_id, airtid + i);
continue;
}
/* Allocate space for this airport tile. */
if (*tilespec == nullptr) {
*tilespec = CallocT<AirportTileSpec>(1);
tsp = *tilespec;
memcpy(tsp, AirportTileSpec::Get(subs_id), sizeof(AirportTileSpec));
tsp->enabled = true;
tsp->animation.status = ANIM_STATUS_NO_ANIMATION;
tsp->grf_prop.local_id = airtid + i;
tsp->grf_prop.subst_id = subs_id;
tsp->grf_prop.grffile = _cur.grffile;
_airporttile_mngr.AddEntityID(airtid + i, _cur.grffile->grfid, subs_id); // pre-reserve the tile slot
}
break;
}
case 0x09: { // Airport tile override
byte override = buf->ReadByte();
/* The airport tile being overridden must be an original airport tile. */
if (override >= NEW_AIRPORTTILE_OFFSET) {
grfmsg(2, "AirportTileChangeInfo: Attempt to override new airport tile %u with airport tile id %u. Ignoring.", override, airtid + i);
continue;
}
_airporttile_mngr.Add(airtid + i, _cur.grffile->grfid, override);
break;
}
case 0x0E: // Callback mask
tsp->callback_mask = buf->ReadByte();
break;
case 0x0F: // Animation information
tsp->animation.frames = buf->ReadByte();
tsp->animation.status = buf->ReadByte();
break;
case 0x10: // Animation speed
tsp->animation.speed = buf->ReadByte();
break;
case 0x11: // Animation triggers
tsp->animation.triggers = buf->ReadByte();
break;
default:
ret = CIR_UNKNOWN;
break;
}
}
return ret;
}
static bool HandleChangeInfoResult(const char *caller, ChangeInfoResult cir, uint8 feature, uint8 property)
{
switch (cir) {
default: NOT_REACHED();
case CIR_DISABLED:
/* Error has already been printed; just stop parsing */
return true;
case CIR_SUCCESS:
return false;
case CIR_UNHANDLED:
grfmsg(1, "%s: Ignoring property 0x%02X of feature 0x%02X (not implemented)", caller, property, feature);
return false;
case CIR_UNKNOWN:
grfmsg(0, "%s: Unknown property 0x%02X of feature 0x%02X, disabling", caller, property, feature);
FALLTHROUGH;
case CIR_INVALID_ID: {
/* No debug message for an invalid ID, as it has already been output */
GRFError *error = DisableGrf(cir == CIR_INVALID_ID ? STR_NEWGRF_ERROR_INVALID_ID : STR_NEWGRF_ERROR_UNKNOWN_PROPERTY);
if (cir != CIR_INVALID_ID) error->param_value[1] = property;
return true;
}
}
}
/* Action 0x00 */
static void FeatureChangeInfo(ByteReader *buf)
{
/* <00> <feature> <num-props> <num-info> <id> (<property <new-info>)...
*
* B feature
* B num-props how many properties to change per vehicle/station
* B num-info how many vehicles/stations to change
* E id ID of first vehicle/station to change, if num-info is
* greater than one, this one and the following
* vehicles/stations will be changed
* B property what property to change, depends on the feature
* V new-info new bytes of info (variable size; depends on properties) */
static const VCI_Handler handler[] = {
/* GSF_TRAINS */ RailVehicleChangeInfo,
/* GSF_ROADVEHICLES */ RoadVehicleChangeInfo,
/* GSF_SHIPS */ ShipVehicleChangeInfo,
/* GSF_AIRCRAFT */ AircraftVehicleChangeInfo,
/* GSF_STATIONS */ StationChangeInfo,
/* GSF_CANALS */ CanalChangeInfo,
/* GSF_BRIDGES */ BridgeChangeInfo,
/* GSF_HOUSES */ TownHouseChangeInfo,
/* GSF_GLOBALVAR */ GlobalVarChangeInfo,
/* GSF_INDUSTRYTILES */ IndustrytilesChangeInfo,
/* GSF_INDUSTRIES */ IndustriesChangeInfo,
/* GSF_CARGOES */ nullptr, // Cargo is handled during reservation
/* GSF_SOUNDFX */ SoundEffectChangeInfo,
/* GSF_AIRPORTS */ AirportChangeInfo,
/* GSF_SIGNALS */ nullptr,
/* GSF_OBJECTS */ ObjectChangeInfo,
/* GSF_RAILTYPES */ RailTypeChangeInfo,
/* GSF_AIRPORTTILES */ AirportTilesChangeInfo,
/* GSF_ROADTYPES */ RoadTypeChangeInfo,
/* GSF_TRAMTYPES */ TramTypeChangeInfo,
};
uint8 feature = buf->ReadByte();
uint8 numprops = buf->ReadByte();
uint numinfo = buf->ReadByte();
uint engine = buf->ReadExtendedByte();
if (feature >= GSF_END) {
grfmsg(1, "FeatureChangeInfo: Unsupported feature 0x%02X, skipping", feature);
return;
}
grfmsg(6, "FeatureChangeInfo: Feature 0x%02X, %d properties, to apply to %d+%d",
feature, numprops, engine, numinfo);
if (feature >= lengthof(handler) || handler[feature] == nullptr) {
if (feature != GSF_CARGOES) grfmsg(1, "FeatureChangeInfo: Unsupported feature 0x%02X, skipping", feature);
return;
}
/* Mark the feature as used by the grf */
SetBit(_cur.grffile->grf_features, feature);
while (numprops-- && buf->HasData()) {
uint8 prop = buf->ReadByte();
ChangeInfoResult cir = handler[feature](engine, numinfo, prop, buf);
if (HandleChangeInfoResult("FeatureChangeInfo", cir, feature, prop)) return;
}
}
/* Action 0x00 (GLS_SAFETYSCAN) */
static void SafeChangeInfo(ByteReader *buf)
{
uint8 feature = buf->ReadByte();
uint8 numprops = buf->ReadByte();
uint numinfo = buf->ReadByte();
buf->ReadExtendedByte(); // id
if (feature == GSF_BRIDGES && numprops == 1) {
uint8 prop = buf->ReadByte();
/* Bridge property 0x0D is redefinition of sprite layout tables, which
* is considered safe. */
if (prop == 0x0D) return;
} else if (feature == GSF_GLOBALVAR && numprops == 1) {
uint8 prop = buf->ReadByte();
/* Engine ID Mappings are safe, if the source is static */
if (prop == 0x11) {
bool is_safe = true;
for (uint i = 0; i < numinfo; i++) {
uint32 s = buf->ReadDWord();
buf->ReadDWord(); // dest
const GRFConfig *grfconfig = GetGRFConfig(s);
if (grfconfig != nullptr && !HasBit(grfconfig->flags, GCF_STATIC)) {
is_safe = false;
break;
}
}
if (is_safe) return;
}
}
SetBit(_cur.grfconfig->flags, GCF_UNSAFE);
/* Skip remainder of GRF */
_cur.skip_sprites = -1;
}
/* Action 0x00 (GLS_RESERVE) */
static void ReserveChangeInfo(ByteReader *buf)
{
uint8 feature = buf->ReadByte();
if (feature != GSF_CARGOES && feature != GSF_GLOBALVAR && feature != GSF_RAILTYPES && feature != GSF_ROADTYPES && feature != GSF_TRAMTYPES) return;
uint8 numprops = buf->ReadByte();
uint8 numinfo = buf->ReadByte();
uint8 index = buf->ReadExtendedByte();
while (numprops-- && buf->HasData()) {
uint8 prop = buf->ReadByte();
ChangeInfoResult cir = CIR_SUCCESS;
switch (feature) {
default: NOT_REACHED();
case GSF_CARGOES:
cir = CargoChangeInfo(index, numinfo, prop, buf);
break;
case GSF_GLOBALVAR:
cir = GlobalVarReserveInfo(index, numinfo, prop, buf);
break;
case GSF_RAILTYPES:
cir = RailTypeReserveInfo(index, numinfo, prop, buf);
break;
case GSF_ROADTYPES:
cir = RoadTypeReserveInfo(index, numinfo, prop, buf);
break;
case GSF_TRAMTYPES:
cir = TramTypeReserveInfo(index, numinfo, prop, buf);
break;
}
if (HandleChangeInfoResult("ReserveChangeInfo", cir, feature, prop)) return;
}
}
/* Action 0x01 */
static void NewSpriteSet(ByteReader *buf)
{
/* Basic format: <01> <feature> <num-sets> <num-ent>
* Extended format: <01> <feature> 00 <first-set> <num-sets> <num-ent>
*
* B feature feature to define sprites for
* 0, 1, 2, 3: veh-type, 4: train stations
* E first-set first sprite set to define
* B num-sets number of sprite sets (extended byte in extended format)
* E num-ent how many entries per sprite set
* For vehicles, this is the number of different
* vehicle directions in each sprite set
* Set num-dirs=8, unless your sprites are symmetric.
* In that case, use num-dirs=4.
*/
uint8 feature = buf->ReadByte();
uint16 num_sets = buf->ReadByte();
uint16 first_set = 0;
if (num_sets == 0 && buf->HasData(3)) {
/* Extended Action1 format.
* Some GRFs define zero sets of zero sprites, though there is actually no use in that. Ignore them. */
first_set = buf->ReadExtendedByte();
num_sets = buf->ReadExtendedByte();
}
uint16 num_ents = buf->ReadExtendedByte();
if (feature >= GSF_END) {
_cur.skip_sprites = num_sets * num_ents;
grfmsg(1, "NewSpriteSet: Unsupported feature 0x%02X, skipping %d sprites", feature, _cur.skip_sprites);
return;
}
_cur.AddSpriteSets(feature, _cur.spriteid, first_set, num_sets, num_ents);
grfmsg(7, "New sprite set at %d of feature 0x%02X, consisting of %d sets with %d views each (total %d)",
_cur.spriteid, feature, num_sets, num_ents, num_sets * num_ents
);
for (int i = 0; i < num_sets * num_ents; i++) {
_cur.nfo_line++;
LoadNextSprite(_cur.spriteid++, _cur.file_index, _cur.nfo_line, _cur.grf_container_ver);
}
}
/* Action 0x01 (SKIP) */
static void SkipAct1(ByteReader *buf)
{
buf->ReadByte();
uint16 num_sets = buf->ReadByte();
if (num_sets == 0 && buf->HasData(3)) {
/* Extended Action1 format.
* Some GRFs define zero sets of zero sprites, though there is actually no use in that. Ignore them. */
buf->ReadExtendedByte(); // first_set
num_sets = buf->ReadExtendedByte();
}
uint16 num_ents = buf->ReadExtendedByte();
_cur.skip_sprites = num_sets * num_ents;
grfmsg(3, "SkipAct1: Skipping %d sprites", _cur.skip_sprites);
}
/* Helper function to either create a callback or link to a previously
* defined spritegroup. */
static const SpriteGroup *GetGroupFromGroupID(byte setid, byte type, uint16 groupid)
{
if (HasBit(groupid, 15)) {
assert(CallbackResultSpriteGroup::CanAllocateItem());
return new CallbackResultSpriteGroup(groupid, _cur.grffile->grf_version >= 8);
}
if (groupid > MAX_SPRITEGROUP || _cur.spritegroups[groupid] == nullptr) {
grfmsg(1, "GetGroupFromGroupID(0x%02X:0x%02X): Groupid 0x%04X does not exist, leaving empty", setid, type, groupid);
return nullptr;
}
return _cur.spritegroups[groupid];
}
/**
* Helper function to either create a callback or a result sprite group.
* @param feature GrfSpecFeature to define spritegroup for.
* @param setid SetID of the currently being parsed Action2. (only for debug output)
* @param type Type of the currently being parsed Action2. (only for debug output)
* @param spriteid Raw value from the GRF for the new spritegroup; describes either the return value or the referenced spritegroup.
* @return Created spritegroup.
*/
static const SpriteGroup *CreateGroupFromGroupID(byte feature, byte setid, byte type, uint16 spriteid)
{
if (HasBit(spriteid, 15)) {
assert(CallbackResultSpriteGroup::CanAllocateItem());
return new CallbackResultSpriteGroup(spriteid, _cur.grffile->grf_version >= 8);
}
if (!_cur.IsValidSpriteSet(feature, spriteid)) {
grfmsg(1, "CreateGroupFromGroupID(0x%02X:0x%02X): Sprite set %u invalid", setid, type, spriteid);
return nullptr;
}
SpriteID spriteset_start = _cur.GetSprite(feature, spriteid);
uint num_sprites = _cur.GetNumEnts(feature, spriteid);
/* Ensure that the sprites are loeded */
assert(spriteset_start + num_sprites <= _cur.spriteid);
assert(ResultSpriteGroup::CanAllocateItem());
return new ResultSpriteGroup(spriteset_start, num_sprites);
}
/* Action 0x02 */
static void NewSpriteGroup(ByteReader *buf)
{
/* <02> <feature> <set-id> <type/num-entries> <feature-specific-data...>
*
* B feature see action 1
* B set-id ID of this particular definition
* B type/num-entries
* if 80 or greater, this is a randomized or variational
* list definition, see below
* otherwise it specifies a number of entries, the exact
* meaning depends on the feature
* V feature-specific-data (huge mess, don't even look it up --pasky) */
SpriteGroup *act_group = nullptr;
uint8 feature = buf->ReadByte();
if (feature >= GSF_END) {
grfmsg(1, "NewSpriteGroup: Unsupported feature 0x%02X, skipping", feature);
return;
}
uint8 setid = buf->ReadByte();
uint8 type = buf->ReadByte();
/* Sprite Groups are created here but they are allocated from a pool, so
* we do not need to delete anything if there is an exception from the
* ByteReader. */
switch (type) {
/* Deterministic Sprite Group */
case 0x81: // Self scope, byte
case 0x82: // Parent scope, byte
case 0x85: // Self scope, word
case 0x86: // Parent scope, word
case 0x89: // Self scope, dword
case 0x8A: // Parent scope, dword
{
byte varadjust;
byte varsize;
assert(DeterministicSpriteGroup::CanAllocateItem());
DeterministicSpriteGroup *group = new DeterministicSpriteGroup();
act_group = group;
group->var_scope = HasBit(type, 1) ? VSG_SCOPE_PARENT : VSG_SCOPE_SELF;
switch (GB(type, 2, 2)) {
default: NOT_REACHED();
case 0: group->size = DSG_SIZE_BYTE; varsize = 1; break;
case 1: group->size = DSG_SIZE_WORD; varsize = 2; break;
case 2: group->size = DSG_SIZE_DWORD; varsize = 4; break;
}
static std::vector<DeterministicSpriteGroupAdjust> adjusts;
adjusts.clear();
/* Loop through the var adjusts. Unfortunately we don't know how many we have
* from the outset, so we shall have to keep reallocing. */
do {
/*C++17: DeterministicSpriteGroupAdjust &adjust = */ adjusts.emplace_back();
DeterministicSpriteGroupAdjust &adjust = adjusts.back();
/* The first var adjust doesn't have an operation specified, so we set it to add. */
adjust.operation = adjusts.size() == 1 ? DSGA_OP_ADD : (DeterministicSpriteGroupAdjustOperation)buf->ReadByte();
adjust.variable = buf->ReadByte();
if (adjust.variable == 0x7E) {
/* Link subroutine group */
adjust.subroutine = GetGroupFromGroupID(setid, type, buf->ReadByte());
} else {
adjust.parameter = IsInsideMM(adjust.variable, 0x60, 0x80) ? buf->ReadByte() : 0;
}
varadjust = buf->ReadByte();
adjust.shift_num = GB(varadjust, 0, 5);
adjust.type = (DeterministicSpriteGroupAdjustType)GB(varadjust, 6, 2);
adjust.and_mask = buf->ReadVarSize(varsize);
if (adjust.type != DSGA_TYPE_NONE) {
adjust.add_val = buf->ReadVarSize(varsize);
adjust.divmod_val = buf->ReadVarSize(varsize);
} else {
adjust.add_val = 0;
adjust.divmod_val = 0;
}
/* Continue reading var adjusts while bit 5 is set. */
} while (HasBit(varadjust, 5));
group->num_adjusts = (uint)adjusts.size();
group->adjusts = MallocT<DeterministicSpriteGroupAdjust>(group->num_adjusts);
MemCpyT(group->adjusts, adjusts.data(), group->num_adjusts);
std::vector<DeterministicSpriteGroupRange> ranges;
ranges.resize(buf->ReadByte());
for (uint i = 0; i < ranges.size(); i++) {
ranges[i].group = GetGroupFromGroupID(setid, type, buf->ReadWord());
ranges[i].low = buf->ReadVarSize(varsize);
ranges[i].high = buf->ReadVarSize(varsize);
}
group->default_group = GetGroupFromGroupID(setid, type, buf->ReadWord());
group->error_group = ranges.size() > 0 ? ranges[0].group : group->default_group;
/* nvar == 0 is a special case -- we turn our value into a callback result */
group->calculated_result = ranges.size() == 0;
/* Sort ranges ascending. When ranges overlap, this may required clamping or splitting them */
std::vector<uint32> bounds;
for (uint i = 0; i < ranges.size(); i++) {
bounds.push_back(ranges[i].low);
if (ranges[i].high != UINT32_MAX) bounds.push_back(ranges[i].high + 1);
}
std::sort(bounds.begin(), bounds.end());
bounds.erase(std::unique(bounds.begin(), bounds.end()), bounds.end());
std::vector<const SpriteGroup *> target;
for (uint j = 0; j < bounds.size(); ++j) {
uint32 v = bounds[j];
const SpriteGroup *t = group->default_group;
for (uint i = 0; i < ranges.size(); i++) {
if (ranges[i].low <= v && v <= ranges[i].high) {
t = ranges[i].group;
break;
}
}
target.push_back(t);
}
assert(target.size() == bounds.size());
std::vector<DeterministicSpriteGroupRange> optimised;
for (uint j = 0; j < bounds.size(); ) {
if (target[j] != group->default_group) {
DeterministicSpriteGroupRange r;
r.group = target[j];
r.low = bounds[j];
while (j < bounds.size() && target[j] == r.group) {
j++;
}
r.high = j < bounds.size() ? bounds[j] - 1 : UINT32_MAX;
optimised.push_back(r);
} else {
j++;
}
}
group->num_ranges = (uint)optimised.size(); // cast is safe, there should never be 2**31 elements here
if (group->num_ranges > 0) {
group->ranges = MallocT<DeterministicSpriteGroupRange>(group->num_ranges);
MemCpyT(group->ranges, &optimised.front(), group->num_ranges);
}
break;
}
/* Randomized Sprite Group */
case 0x80: // Self scope
case 0x83: // Parent scope
case 0x84: // Relative scope
{
assert(RandomizedSpriteGroup::CanAllocateItem());
RandomizedSpriteGroup *group = new RandomizedSpriteGroup();
act_group = group;
group->var_scope = HasBit(type, 1) ? VSG_SCOPE_PARENT : VSG_SCOPE_SELF;
if (HasBit(type, 2)) {
if (feature <= GSF_AIRCRAFT) group->var_scope = VSG_SCOPE_RELATIVE;
group->count = buf->ReadByte();
}
uint8 triggers = buf->ReadByte();
group->triggers = GB(triggers, 0, 7);
group->cmp_mode = HasBit(triggers, 7) ? RSG_CMP_ALL : RSG_CMP_ANY;
group->lowest_randbit = buf->ReadByte();
group->num_groups = buf->ReadByte();
group->groups = CallocT<const SpriteGroup*>(group->num_groups);
for (uint i = 0; i < group->num_groups; i++) {
group->groups[i] = GetGroupFromGroupID(setid, type, buf->ReadWord());
}
break;
}
/* Neither a variable or randomized sprite group... must be a real group */
default:
{
switch (feature) {
case GSF_TRAINS:
case GSF_ROADVEHICLES:
case GSF_SHIPS:
case GSF_AIRCRAFT:
case GSF_STATIONS:
case GSF_CANALS:
case GSF_CARGOES:
case GSF_AIRPORTS:
case GSF_RAILTYPES:
case GSF_ROADTYPES:
case GSF_TRAMTYPES:
{
byte num_loaded = type;
byte num_loading = buf->ReadByte();
if (!_cur.HasValidSpriteSets(feature)) {
grfmsg(0, "NewSpriteGroup: No sprite set to work on! Skipping");
return;
}
assert(RealSpriteGroup::CanAllocateItem());
RealSpriteGroup *group = new RealSpriteGroup();
act_group = group;
group->num_loaded = num_loaded;
group->num_loading = num_loading;
if (num_loaded > 0) group->loaded = CallocT<const SpriteGroup*>(num_loaded);
if (num_loading > 0) group->loading = CallocT<const SpriteGroup*>(num_loading);
grfmsg(6, "NewSpriteGroup: New SpriteGroup 0x%02X, %u loaded, %u loading",
setid, num_loaded, num_loading);
for (uint i = 0; i < num_loaded; i++) {
uint16 spriteid = buf->ReadWord();
group->loaded[i] = CreateGroupFromGroupID(feature, setid, type, spriteid);
grfmsg(8, "NewSpriteGroup: + rg->loaded[%i] = subset %u", i, spriteid);
}
for (uint i = 0; i < num_loading; i++) {
uint16 spriteid = buf->ReadWord();
group->loading[i] = CreateGroupFromGroupID(feature, setid, type, spriteid);
grfmsg(8, "NewSpriteGroup: + rg->loading[%i] = subset %u", i, spriteid);
}
break;
}
case GSF_HOUSES:
case GSF_AIRPORTTILES:
case GSF_OBJECTS:
case GSF_INDUSTRYTILES: {
byte num_building_sprites = max((uint8)1, type);
assert(TileLayoutSpriteGroup::CanAllocateItem());
TileLayoutSpriteGroup *group = new TileLayoutSpriteGroup();
act_group = group;
/* On error, bail out immediately. Temporary GRF data was already freed */
if (ReadSpriteLayout(buf, num_building_sprites, true, feature, false, type == 0, &group->dts)) return;
break;
}
case GSF_INDUSTRIES: {
if (type > 2) {
grfmsg(1, "NewSpriteGroup: Unsupported industry production version %d, skipping", type);
break;
}
assert(IndustryProductionSpriteGroup::CanAllocateItem());
IndustryProductionSpriteGroup *group = new IndustryProductionSpriteGroup();
act_group = group;
group->version = type;
if (type == 0) {
group->num_input = 3;
for (uint i = 0; i < 3; i++) {
group->subtract_input[i] = (int16)buf->ReadWord(); // signed
}
group->num_output = 2;
for (uint i = 0; i < 2; i++) {
group->add_output[i] = buf->ReadWord(); // unsigned
}
group->again = buf->ReadByte();
} else if (type == 1) {
group->num_input = 3;
for (uint i = 0; i < 3; i++) {
group->subtract_input[i] = buf->ReadByte();
}
group->num_output = 2;
for (uint i = 0; i < 2; i++) {
group->add_output[i] = buf->ReadByte();
}
group->again = buf->ReadByte();
} else if (type == 2) {
group->num_input = buf->ReadByte();
if (group->num_input > lengthof(group->subtract_input)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_INDPROD_CALLBACK);
error->data = stredup("too many inputs (max 16)");
return;
}
for (uint i = 0; i < group->num_input; i++) {
byte rawcargo = buf->ReadByte();
CargoID cargo = GetCargoTranslation(rawcargo, _cur.grffile);
if (cargo == CT_INVALID) {
/* The mapped cargo is invalid. This is permitted at this point,
* as long as the result is not used. Mark it invalid so this
* can be tested later. */
group->version = 0xFF;
} else if (std::find(group->cargo_input, group->cargo_input + i, cargo) != group->cargo_input + i) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_INDPROD_CALLBACK);
error->data = stredup("duplicate input cargo");
return;
}
group->cargo_input[i] = cargo;
group->subtract_input[i] = buf->ReadByte();
}
group->num_output = buf->ReadByte();
if (group->num_output > lengthof(group->add_output)) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_INDPROD_CALLBACK);
error->data = stredup("too many outputs (max 16)");
return;
}
for (uint i = 0; i < group->num_output; i++) {
byte rawcargo = buf->ReadByte();
CargoID cargo = GetCargoTranslation(rawcargo, _cur.grffile);
if (cargo == CT_INVALID) {
/* Mark this result as invalid to use */
group->version = 0xFF;
} else if (std::find(group->cargo_output, group->cargo_output + i, cargo) != group->cargo_output + i) {
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_INDPROD_CALLBACK);
error->data = stredup("duplicate output cargo");
return;
}
group->cargo_output[i] = cargo;
group->add_output[i] = buf->ReadByte();
}
group->again = buf->ReadByte();
} else {
NOT_REACHED();
}
break;
}
/* Loading of Tile Layout and Production Callback groups would happen here */
default: grfmsg(1, "NewSpriteGroup: Unsupported feature 0x%02X, skipping", feature);
}
}
}
_cur.spritegroups[setid] = act_group;
}
static CargoID TranslateCargo(uint8 feature, uint8 ctype)
{
if (feature == GSF_OBJECTS) {
switch (ctype) {
case 0: return 0;
case 0xFF: return CT_PURCHASE_OBJECT;
default:
grfmsg(1, "TranslateCargo: Invalid cargo bitnum %d for objects, skipping.", ctype);
return CT_INVALID;
}
}
/* Special cargo types for purchase list and stations */
if (feature == GSF_STATIONS && ctype == 0xFE) return CT_DEFAULT_NA;
if (ctype == 0xFF) return CT_PURCHASE;
if (_cur.grffile->cargo_list.size() == 0) {
/* No cargo table, so use bitnum values */
if (ctype >= 32) {
grfmsg(1, "TranslateCargo: Cargo bitnum %d out of range (max 31), skipping.", ctype);
return CT_INVALID;
}
const CargoSpec *cs;
FOR_ALL_CARGOSPECS(cs) {
if (cs->bitnum == ctype) {
grfmsg(6, "TranslateCargo: Cargo bitnum %d mapped to cargo type %d.", ctype, cs->Index());
return cs->Index();
}
}
grfmsg(5, "TranslateCargo: Cargo bitnum %d not available in this climate, skipping.", ctype);
return CT_INVALID;
}
/* Check if the cargo type is out of bounds of the cargo translation table */
if (ctype >= _cur.grffile->cargo_list.size()) {
grfmsg(1, "TranslateCargo: Cargo type %d out of range (max %d), skipping.", ctype, (unsigned int)_cur.grffile->cargo_list.size() - 1);
return CT_INVALID;
}
/* Look up the cargo label from the translation table */
CargoLabel cl = _cur.grffile->cargo_list[ctype];
if (cl == 0) {
grfmsg(5, "TranslateCargo: Cargo type %d not available in this climate, skipping.", ctype);
return CT_INVALID;
}
ctype = GetCargoIDByLabel(cl);
if (ctype == CT_INVALID) {
grfmsg(5, "TranslateCargo: Cargo '%c%c%c%c' unsupported, skipping.", GB(cl, 24, 8), GB(cl, 16, 8), GB(cl, 8, 8), GB(cl, 0, 8));
return CT_INVALID;
}
grfmsg(6, "TranslateCargo: Cargo '%c%c%c%c' mapped to cargo type %d.", GB(cl, 24, 8), GB(cl, 16, 8), GB(cl, 8, 8), GB(cl, 0, 8), ctype);
return ctype;
}
static bool IsValidGroupID(uint16 groupid, const char *function)
{
if (groupid > MAX_SPRITEGROUP || _cur.spritegroups[groupid] == nullptr) {
grfmsg(1, "%s: Spritegroup 0x%04X out of range or empty, skipping.", function, groupid);
return false;
}
return true;
}
static void VehicleMapSpriteGroup(ByteReader *buf, byte feature, uint8 idcount)
{
static EngineID *last_engines;
static uint last_engines_count;
bool wagover = false;
/* Test for 'wagon override' flag */
if (HasBit(idcount, 7)) {
wagover = true;
/* Strip off the flag */
idcount = GB(idcount, 0, 7);
if (last_engines_count == 0) {
grfmsg(0, "VehicleMapSpriteGroup: WagonOverride: No engine to do override with");
return;
}
grfmsg(6, "VehicleMapSpriteGroup: WagonOverride: %u engines, %u wagons",
last_engines_count, idcount);
} else {
if (last_engines_count != idcount) {
last_engines = ReallocT(last_engines, idcount);
last_engines_count = idcount;
}
}
EngineID *engines = AllocaM(EngineID, idcount);
for (uint i = 0; i < idcount; i++) {
Engine *e = GetNewEngine(_cur.grffile, (VehicleType)feature, buf->ReadExtendedByte());
if (e == nullptr) {
/* No engine could be allocated?!? Deal with it. Okay,
* this might look bad. Also make sure this NewGRF
* gets disabled, as a half loaded one is bad. */
HandleChangeInfoResult("VehicleMapSpriteGroup", CIR_INVALID_ID, 0, 0);
return;
}
engines[i] = e->index;
if (!wagover) last_engines[i] = engines[i];
}
uint8 cidcount = buf->ReadByte();
for (uint c = 0; c < cidcount; c++) {
uint8 ctype = buf->ReadByte();
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "VehicleMapSpriteGroup")) continue;
grfmsg(8, "VehicleMapSpriteGroup: * [%d] Cargo type 0x%X, group id 0x%02X", c, ctype, groupid);
ctype = TranslateCargo(feature, ctype);
if (ctype == CT_INVALID) continue;
for (uint i = 0; i < idcount; i++) {
EngineID engine = engines[i];
grfmsg(7, "VehicleMapSpriteGroup: [%d] Engine %d...", i, engine);
if (wagover) {
SetWagonOverrideSprites(engine, ctype, _cur.spritegroups[groupid], last_engines, last_engines_count);
} else {
SetCustomEngineSprites(engine, ctype, _cur.spritegroups[groupid]);
}
}
}
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "VehicleMapSpriteGroup")) return;
grfmsg(8, "-- Default group id 0x%04X", groupid);
for (uint i = 0; i < idcount; i++) {
EngineID engine = engines[i];
if (wagover) {
SetWagonOverrideSprites(engine, CT_DEFAULT, _cur.spritegroups[groupid], last_engines, last_engines_count);
} else {
SetCustomEngineSprites(engine, CT_DEFAULT, _cur.spritegroups[groupid]);
SetEngineGRF(engine, _cur.grffile);
}
}
}
static void CanalMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
CanalFeature *cfs = AllocaM(CanalFeature, idcount);
for (uint i = 0; i < idcount; i++) {
cfs[i] = (CanalFeature)buf->ReadByte();
}
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "CanalMapSpriteGroup")) return;
for (uint i = 0; i < idcount; i++) {
CanalFeature cf = cfs[i];
if (cf >= CF_END) {
grfmsg(1, "CanalMapSpriteGroup: Canal subset %d out of range, skipping", cf);
continue;
}
_water_feature[cf].grffile = _cur.grffile;
_water_feature[cf].group = _cur.spritegroups[groupid];
}
}
static void StationMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *stations = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
stations[i] = buf->ReadByte();
}
uint8 cidcount = buf->ReadByte();
for (uint c = 0; c < cidcount; c++) {
uint8 ctype = buf->ReadByte();
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "StationMapSpriteGroup")) continue;
ctype = TranslateCargo(GSF_STATIONS, ctype);
if (ctype == CT_INVALID) continue;
for (uint i = 0; i < idcount; i++) {
StationSpec *statspec = _cur.grffile->stations == nullptr ? nullptr : _cur.grffile->stations[stations[i]];
if (statspec == nullptr) {
grfmsg(1, "StationMapSpriteGroup: Station with ID 0x%02X does not exist, skipping", stations[i]);
continue;
}
statspec->grf_prop.spritegroup[ctype] = _cur.spritegroups[groupid];
}
}
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "StationMapSpriteGroup")) return;
for (uint i = 0; i < idcount; i++) {
StationSpec *statspec = _cur.grffile->stations == nullptr ? nullptr : _cur.grffile->stations[stations[i]];
if (statspec == nullptr) {
grfmsg(1, "StationMapSpriteGroup: Station with ID 0x%02X does not exist, skipping", stations[i]);
continue;
}
if (statspec->grf_prop.grffile != nullptr) {
grfmsg(1, "StationMapSpriteGroup: Station with ID 0x%02X mapped multiple times, skipping", stations[i]);
continue;
}
statspec->grf_prop.spritegroup[CT_DEFAULT] = _cur.spritegroups[groupid];
statspec->grf_prop.grffile = _cur.grffile;
statspec->grf_prop.local_id = stations[i];
StationClass::Assign(statspec);
}
}
static void TownHouseMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *houses = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
houses[i] = buf->ReadByte();
}
/* Skip the cargo type section, we only care about the default group */
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "TownHouseMapSpriteGroup")) return;
if (_cur.grffile->housespec == nullptr) {
grfmsg(1, "TownHouseMapSpriteGroup: No houses defined, skipping");
return;
}
for (uint i = 0; i < idcount; i++) {
HouseSpec *hs = _cur.grffile->housespec[houses[i]];
if (hs == nullptr) {
grfmsg(1, "TownHouseMapSpriteGroup: House %d undefined, skipping.", houses[i]);
continue;
}
hs->grf_prop.spritegroup[0] = _cur.spritegroups[groupid];
}
}
static void IndustryMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *industries = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
industries[i] = buf->ReadByte();
}
/* Skip the cargo type section, we only care about the default group */
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "IndustryMapSpriteGroup")) return;
if (_cur.grffile->industryspec == nullptr) {
grfmsg(1, "IndustryMapSpriteGroup: No industries defined, skipping");
return;
}
for (uint i = 0; i < idcount; i++) {
IndustrySpec *indsp = _cur.grffile->industryspec[industries[i]];
if (indsp == nullptr) {
grfmsg(1, "IndustryMapSpriteGroup: Industry %d undefined, skipping", industries[i]);
continue;
}
indsp->grf_prop.spritegroup[0] = _cur.spritegroups[groupid];
}
}
static void IndustrytileMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *indtiles = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
indtiles[i] = buf->ReadByte();
}
/* Skip the cargo type section, we only care about the default group */
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "IndustrytileMapSpriteGroup")) return;
if (_cur.grffile->indtspec == nullptr) {
grfmsg(1, "IndustrytileMapSpriteGroup: No industry tiles defined, skipping");
return;
}
for (uint i = 0; i < idcount; i++) {
IndustryTileSpec *indtsp = _cur.grffile->indtspec[indtiles[i]];
if (indtsp == nullptr) {
grfmsg(1, "IndustrytileMapSpriteGroup: Industry tile %d undefined, skipping", indtiles[i]);
continue;
}
indtsp->grf_prop.spritegroup[0] = _cur.spritegroups[groupid];
}
}
static void CargoMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
CargoID *cargoes = AllocaM(CargoID, idcount);
for (uint i = 0; i < idcount; i++) {
cargoes[i] = buf->ReadByte();
}
/* Skip the cargo type section, we only care about the default group */
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "CargoMapSpriteGroup")) return;
for (uint i = 0; i < idcount; i++) {
CargoID cid = cargoes[i];
if (cid >= NUM_CARGO) {
grfmsg(1, "CargoMapSpriteGroup: Cargo ID %d out of range, skipping", cid);
continue;
}
CargoSpec *cs = CargoSpec::Get(cid);
cs->grffile = _cur.grffile;
cs->group = _cur.spritegroups[groupid];
}
}
static void ObjectMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
if (_cur.grffile->objectspec == nullptr) {
grfmsg(1, "ObjectMapSpriteGroup: No object tiles defined, skipping");
return;
}
uint8 *objects = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
objects[i] = buf->ReadByte();
}
uint8 cidcount = buf->ReadByte();
for (uint c = 0; c < cidcount; c++) {
uint8 ctype = buf->ReadByte();
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "ObjectMapSpriteGroup")) continue;
ctype = TranslateCargo(GSF_OBJECTS, ctype);
if (ctype == CT_INVALID) continue;
for (uint i = 0; i < idcount; i++) {
ObjectSpec *spec = _cur.grffile->objectspec[objects[i]];
if (spec == nullptr) {
grfmsg(1, "ObjectMapSpriteGroup: Object with ID 0x%02X undefined, skipping", objects[i]);
continue;
}
spec->grf_prop.spritegroup[ctype] = _cur.spritegroups[groupid];
}
}
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "ObjectMapSpriteGroup")) return;
for (uint i = 0; i < idcount; i++) {
ObjectSpec *spec = _cur.grffile->objectspec[objects[i]];
if (spec == nullptr) {
grfmsg(1, "ObjectMapSpriteGroup: Object with ID 0x%02X undefined, skipping", objects[i]);
continue;
}
if (spec->grf_prop.grffile != nullptr) {
grfmsg(1, "ObjectMapSpriteGroup: Object with ID 0x%02X mapped multiple times, skipping", objects[i]);
continue;
}
spec->grf_prop.spritegroup[0] = _cur.spritegroups[groupid];
spec->grf_prop.grffile = _cur.grffile;
spec->grf_prop.local_id = objects[i];
}
}
static void RailTypeMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *railtypes = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
uint8 id = buf->ReadByte();
railtypes[i] = id < RAILTYPE_END ? _cur.grffile->railtype_map[id] : INVALID_RAILTYPE;
}
uint8 cidcount = buf->ReadByte();
for (uint c = 0; c < cidcount; c++) {
uint8 ctype = buf->ReadByte();
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "RailTypeMapSpriteGroup")) continue;
if (ctype >= RTSG_END) continue;
extern RailtypeInfo _railtypes[RAILTYPE_END];
for (uint i = 0; i < idcount; i++) {
if (railtypes[i] != INVALID_RAILTYPE) {
RailtypeInfo *rti = &_railtypes[railtypes[i]];
rti->grffile[ctype] = _cur.grffile;
rti->group[ctype] = _cur.spritegroups[groupid];
}
}
}
/* Railtypes do not use the default group. */
buf->ReadWord();
}
static void RoadTypeMapSpriteGroup(ByteReader *buf, uint8 idcount, RoadTramType rtt)
{
RoadType *type_map = (rtt == RTT_TRAM) ? _cur.grffile->tramtype_map : _cur.grffile->roadtype_map;
uint8 *roadtypes = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
uint8 id = buf->ReadByte();
roadtypes[i] = id < ROADTYPE_END ? type_map[id] : INVALID_ROADTYPE;
}
uint8 cidcount = buf->ReadByte();
for (uint c = 0; c < cidcount; c++) {
uint8 ctype = buf->ReadByte();
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "RoadTypeMapSpriteGroup")) continue;
if (ctype >= ROTSG_END) continue;
extern RoadTypeInfo _roadtypes[ROADTYPE_END];
for (uint i = 0; i < idcount; i++) {
if (roadtypes[i] != INVALID_ROADTYPE) {
RoadTypeInfo *rti = &_roadtypes[roadtypes[i]];
rti->grffile[ctype] = _cur.grffile;
rti->group[ctype] = _cur.spritegroups[groupid];
}
}
}
/* Roadtypes do not use the default group. */
buf->ReadWord();
}
static void AirportMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *airports = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
airports[i] = buf->ReadByte();
}
/* Skip the cargo type section, we only care about the default group */
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "AirportMapSpriteGroup")) return;
if (_cur.grffile->airportspec == nullptr) {
grfmsg(1, "AirportMapSpriteGroup: No airports defined, skipping");
return;
}
for (uint i = 0; i < idcount; i++) {
AirportSpec *as = _cur.grffile->airportspec[airports[i]];
if (as == nullptr) {
grfmsg(1, "AirportMapSpriteGroup: Airport %d undefined, skipping", airports[i]);
continue;
}
as->grf_prop.spritegroup[0] = _cur.spritegroups[groupid];
}
}
static void AirportTileMapSpriteGroup(ByteReader *buf, uint8 idcount)
{
uint8 *airptiles = AllocaM(uint8, idcount);
for (uint i = 0; i < idcount; i++) {
airptiles[i] = buf->ReadByte();
}
/* Skip the cargo type section, we only care about the default group */
uint8 cidcount = buf->ReadByte();
buf->Skip(cidcount * 3);
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "AirportTileMapSpriteGroup")) return;
if (_cur.grffile->airtspec == nullptr) {
grfmsg(1, "AirportTileMapSpriteGroup: No airport tiles defined, skipping");
return;
}
for (uint i = 0; i < idcount; i++) {
AirportTileSpec *airtsp = _cur.grffile->airtspec[airptiles[i]];
if (airtsp == nullptr) {
grfmsg(1, "AirportTileMapSpriteGroup: Airport tile %d undefined, skipping", airptiles[i]);
continue;
}
airtsp->grf_prop.spritegroup[0] = _cur.spritegroups[groupid];
}
}
/* Action 0x03 */
static void FeatureMapSpriteGroup(ByteReader *buf)
{
/* <03> <feature> <n-id> <ids>... <num-cid> [<cargo-type> <cid>]... <def-cid>
* id-list := [<id>] [id-list]
* cargo-list := <cargo-type> <cid> [cargo-list]
*
* B feature see action 0
* B n-id bits 0-6: how many IDs this definition applies to
* bit 7: if set, this is a wagon override definition (see below)
* B ids the IDs for which this definition applies
* B num-cid number of cargo IDs (sprite group IDs) in this definition
* can be zero, in that case the def-cid is used always
* B cargo-type type of this cargo type (e.g. mail=2, wood=7, see below)
* W cid cargo ID (sprite group ID) for this type of cargo
* W def-cid default cargo ID (sprite group ID) */
uint8 feature = buf->ReadByte();
uint8 idcount = buf->ReadByte();
if (feature >= GSF_END) {
grfmsg(1, "FeatureMapSpriteGroup: Unsupported feature 0x%02X, skipping", feature);
return;
}
/* If idcount is zero, this is a feature callback */
if (idcount == 0) {
/* Skip number of cargo ids? */
buf->ReadByte();
uint16 groupid = buf->ReadWord();
if (!IsValidGroupID(groupid, "FeatureMapSpriteGroup")) return;
grfmsg(6, "FeatureMapSpriteGroup: Adding generic feature callback for feature 0x%02X", feature);
AddGenericCallback(feature, _cur.grffile, _cur.spritegroups[groupid]);
return;
}
/* Mark the feature as used by the grf (generic callbacks do not count) */
SetBit(_cur.grffile->grf_features, feature);
grfmsg(6, "FeatureMapSpriteGroup: Feature 0x%02X, %d ids", feature, idcount);
switch (feature) {
case GSF_TRAINS:
case GSF_ROADVEHICLES:
case GSF_SHIPS:
case GSF_AIRCRAFT:
VehicleMapSpriteGroup(buf, feature, idcount);
return;
case GSF_CANALS:
CanalMapSpriteGroup(buf, idcount);
return;
case GSF_STATIONS:
StationMapSpriteGroup(buf, idcount);
return;
case GSF_HOUSES:
TownHouseMapSpriteGroup(buf, idcount);
return;
case GSF_INDUSTRIES:
IndustryMapSpriteGroup(buf, idcount);
return;
case GSF_INDUSTRYTILES:
IndustrytileMapSpriteGroup(buf, idcount);
return;
case GSF_CARGOES:
CargoMapSpriteGroup(buf, idcount);
return;
case GSF_AIRPORTS:
AirportMapSpriteGroup(buf, idcount);
return;
case GSF_OBJECTS:
ObjectMapSpriteGroup(buf, idcount);
break;
case GSF_RAILTYPES:
RailTypeMapSpriteGroup(buf, idcount);
break;
case GSF_ROADTYPES:
RoadTypeMapSpriteGroup(buf, idcount, RTT_ROAD);
break;
case GSF_TRAMTYPES:
RoadTypeMapSpriteGroup(buf, idcount, RTT_TRAM);
break;
case GSF_AIRPORTTILES:
AirportTileMapSpriteGroup(buf, idcount);
return;
default:
grfmsg(1, "FeatureMapSpriteGroup: Unsupported feature 0x%02X, skipping", feature);
return;
}
}
/* Action 0x04 */
static void FeatureNewName(ByteReader *buf)
{
/* <04> <veh-type> <language-id> <num-veh> <offset> <data...>
*
* B veh-type see action 0 (as 00..07, + 0A
* But IF veh-type = 48, then generic text
* B language-id If bit 6 is set, This is the extended language scheme,
* with up to 64 language.
* Otherwise, it is a mapping where set bits have meaning
* 0 = american, 1 = english, 2 = german, 3 = french, 4 = spanish
* Bit 7 set means this is a generic text, not a vehicle one (or else)
* B num-veh number of vehicles which are getting a new name
* B/W offset number of the first vehicle that gets a new name
* Byte : ID of vehicle to change
* Word : ID of string to change/add
* S data new texts, each of them zero-terminated, after
* which the next name begins. */
bool new_scheme = _cur.grffile->grf_version >= 7;
uint8 feature = buf->ReadByte();
if (feature >= GSF_END && feature != 0x48) {
grfmsg(1, "FeatureNewName: Unsupported feature 0x%02X, skipping", feature);
return;
}
uint8 lang = buf->ReadByte();
uint8 num = buf->ReadByte();
bool generic = HasBit(lang, 7);
uint16 id;
if (generic) {
id = buf->ReadWord();
} else if (feature <= GSF_AIRCRAFT) {
id = buf->ReadExtendedByte();
} else {
id = buf->ReadByte();
}
ClrBit(lang, 7);
uint16 endid = id + num;
grfmsg(6, "FeatureNewName: About to rename engines %d..%d (feature 0x%02X) in language 0x%02X",
id, endid, feature, lang);
for (; id < endid && buf->HasData(); id++) {
const char *name = buf->ReadString();
grfmsg(8, "FeatureNewName: 0x%04X <- %s", id, name);
switch (feature) {
case GSF_TRAINS:
case GSF_ROADVEHICLES:
case GSF_SHIPS:
case GSF_AIRCRAFT:
if (!generic) {
Engine *e = GetNewEngine(_cur.grffile, (VehicleType)feature, id, HasBit(_cur.grfconfig->flags, GCF_STATIC));
if (e == nullptr) break;
StringID string = AddGRFString(_cur.grffile->grfid, e->index, lang, new_scheme, false, name, e->info.string_id);
e->info.string_id = string;
} else {
AddGRFString(_cur.grffile->grfid, id, lang, new_scheme, true, name, STR_UNDEFINED);
}
break;
default:
if (IsInsideMM(id, 0xD000, 0xD400) || IsInsideMM(id, 0xD800, 0xE000)) {
AddGRFString(_cur.grffile->grfid, id, lang, new_scheme, true, name, STR_UNDEFINED);
break;
}
switch (GB(id, 8, 8)) {
case 0xC4: // Station class name
if (_cur.grffile->stations == nullptr || _cur.grffile->stations[GB(id, 0, 8)] == nullptr) {
grfmsg(1, "FeatureNewName: Attempt to name undefined station 0x%X, ignoring", GB(id, 0, 8));
} else {
StationClassID cls_id = _cur.grffile->stations[GB(id, 0, 8)]->cls_id;
StationClass::Get(cls_id)->name = AddGRFString(_cur.grffile->grfid, id, lang, new_scheme, false, name, STR_UNDEFINED);
}
break;
case 0xC5: // Station name
if (_cur.grffile->stations == nullptr || _cur.grffile->stations[GB(id, 0, 8)] == nullptr) {
grfmsg(1, "FeatureNewName: Attempt to name undefined station 0x%X, ignoring", GB(id, 0, 8));
} else {
_cur.grffile->stations[GB(id, 0, 8)]->name = AddGRFString(_cur.grffile->grfid, id, lang, new_scheme, false, name, STR_UNDEFINED);
}
break;
case 0xC7: // Airporttile name
if (_cur.grffile->airtspec == nullptr || _cur.grffile->airtspec[GB(id, 0, 8)] == nullptr) {
grfmsg(1, "FeatureNewName: Attempt to name undefined airport tile 0x%X, ignoring", GB(id, 0, 8));
} else {
_cur.grffile->airtspec[GB(id, 0, 8)]->name = AddGRFString(_cur.grffile->grfid, id, lang, new_scheme, false, name, STR_UNDEFINED);
}
break;
case 0xC9: // House name
if (_cur.grffile->housespec == nullptr || _cur.grffile->housespec[GB(id, 0, 8)] == nullptr) {
grfmsg(1, "FeatureNewName: Attempt to name undefined house 0x%X, ignoring.", GB(id, 0, 8));
} else {
_cur.grffile->housespec[GB(id, 0, 8)]->building_name = AddGRFString(_cur.grffile->grfid, id, lang, new_scheme, false, name, STR_UNDEFINED);
}
break;
default:
grfmsg(7, "FeatureNewName: Unsupported ID (0x%04X)", id);
break;
}
break;
}
}
}
/**
* Sanitize incoming sprite offsets for Action 5 graphics replacements.
* @param num The number of sprites to load.
* @param offset Offset from the base.
* @param max_sprites The maximum number of sprites that can be loaded in this action 5.
* @param name Used for error warnings.
* @return The number of sprites that is going to be skipped.
*/
static uint16 SanitizeSpriteOffset(uint16& num, uint16 offset, int max_sprites, const char *name)
{
if (offset >= max_sprites) {
grfmsg(1, "GraphicsNew: %s sprite offset must be less than %i, skipping", name, max_sprites);
uint orig_num = num;
num = 0;
return orig_num;
}
if (offset + num > max_sprites) {
grfmsg(4, "GraphicsNew: %s sprite overflow, truncating...", name);
uint orig_num = num;
num = max(max_sprites - offset, 0);
return orig_num - num;
}
return 0;
}
/** The type of action 5 type. */
enum Action5BlockType {
A5BLOCK_FIXED, ///< Only allow replacing a whole block of sprites. (TTDP compatible)
A5BLOCK_ALLOW_OFFSET, ///< Allow replacing any subset by specifiing an offset.
A5BLOCK_INVALID, ///< unknown/not-implemented type
};
/** Information about a single action 5 type. */
struct Action5Type {
Action5BlockType block_type; ///< How is this Action5 type processed?
SpriteID sprite_base; ///< Load the sprites starting from this sprite.
uint16 min_sprites; ///< If the Action5 contains less sprites, the whole block will be ignored.
uint16 max_sprites; ///< If the Action5 contains more sprites, only the first max_sprites sprites will be used.
const char *name; ///< Name for error messages.
};
/** The information about action 5 types. */
static const Action5Type _action5_types[] = {
/* Note: min_sprites should not be changed. Therefore these constants are directly here and not in sprites.h */
/* 0x00 */ { A5BLOCK_INVALID, 0, 0, 0, "Type 0x00" },
/* 0x01 */ { A5BLOCK_INVALID, 0, 0, 0, "Type 0x01" },
/* 0x02 */ { A5BLOCK_INVALID, 0, 0, 0, "Type 0x02" },
/* 0x03 */ { A5BLOCK_INVALID, 0, 0, 0, "Type 0x03" },
/* 0x04 */ { A5BLOCK_ALLOW_OFFSET, SPR_SIGNALS_BASE, 1, PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT, "Signal graphics" },
/* 0x05 */ { A5BLOCK_ALLOW_OFFSET, SPR_ELRAIL_BASE, 1, ELRAIL_SPRITE_COUNT, "Rail catenary graphics" },
/* 0x06 */ { A5BLOCK_ALLOW_OFFSET, SPR_SLOPES_BASE, 1, NORMAL_AND_HALFTILE_FOUNDATION_SPRITE_COUNT, "Foundation graphics" },
/* 0x07 */ { A5BLOCK_INVALID, 0, 75, 0, "TTDP GUI graphics" }, // Not used by OTTD.
/* 0x08 */ { A5BLOCK_ALLOW_OFFSET, SPR_CANALS_BASE, 1, CANALS_SPRITE_COUNT, "Canal graphics" },
/* 0x09 */ { A5BLOCK_ALLOW_OFFSET, SPR_ONEWAY_BASE, 1, ONEWAY_SPRITE_COUNT, "One way road graphics" },
/* 0x0A */ { A5BLOCK_ALLOW_OFFSET, SPR_2CCMAP_BASE, 1, TWOCCMAP_SPRITE_COUNT, "2CC colour maps" },
/* 0x0B */ { A5BLOCK_ALLOW_OFFSET, SPR_TRAMWAY_BASE, 1, TRAMWAY_SPRITE_COUNT, "Tramway graphics" },
/* 0x0C */ { A5BLOCK_INVALID, 0, 133, 0, "Snowy temperate tree" }, // Not yet used by OTTD.
/* 0x0D */ { A5BLOCK_FIXED, SPR_SHORE_BASE, 16, SPR_SHORE_SPRITE_COUNT, "Shore graphics" },
/* 0x0E */ { A5BLOCK_INVALID, 0, 0, 0, "New Signals graphics" }, // Not yet used by OTTD.
/* 0x0F */ { A5BLOCK_ALLOW_OFFSET, SPR_TRACKS_FOR_SLOPES_BASE, 1, TRACKS_FOR_SLOPES_SPRITE_COUNT, "Sloped rail track" },
/* 0x10 */ { A5BLOCK_ALLOW_OFFSET, SPR_AIRPORTX_BASE, 1, AIRPORTX_SPRITE_COUNT, "Airport graphics" },
/* 0x11 */ { A5BLOCK_ALLOW_OFFSET, SPR_ROADSTOP_BASE, 1, ROADSTOP_SPRITE_COUNT, "Road stop graphics" },
/* 0x12 */ { A5BLOCK_ALLOW_OFFSET, SPR_AQUEDUCT_BASE, 1, AQUEDUCT_SPRITE_COUNT, "Aqueduct graphics" },
/* 0x13 */ { A5BLOCK_ALLOW_OFFSET, SPR_AUTORAIL_BASE, 1, AUTORAIL_SPRITE_COUNT, "Autorail graphics" },
/* 0x14 */ { A5BLOCK_ALLOW_OFFSET, SPR_FLAGS_BASE, 1, FLAGS_SPRITE_COUNT, "Flag graphics" },
/* 0x15 */ { A5BLOCK_ALLOW_OFFSET, SPR_OPENTTD_BASE, 1, OPENTTD_SPRITE_COUNT, "OpenTTD GUI graphics" },
/* 0x16 */ { A5BLOCK_ALLOW_OFFSET, SPR_AIRPORT_PREVIEW_BASE, 1, SPR_AIRPORT_PREVIEW_COUNT, "Airport preview graphics" },
/* 0x17 */ { A5BLOCK_ALLOW_OFFSET, SPR_RAILTYPE_TUNNEL_BASE, 1, RAILTYPE_TUNNEL_BASE_COUNT, "Railtype tunnel base" },
/* 0x18 */ { A5BLOCK_ALLOW_OFFSET, SPR_PALETTE_BASE, 1, PALETTE_SPRITE_COUNT, "Palette" },
};
/* Action 0x05 */
static void GraphicsNew(ByteReader *buf)
{
/* <05> <graphics-type> <num-sprites> <other data...>
*
* B graphics-type What set of graphics the sprites define.
* E num-sprites How many sprites are in this set?
* V other data Graphics type specific data. Currently unused. */
uint8 type = buf->ReadByte();
uint16 num = buf->ReadExtendedByte();
uint16 offset = HasBit(type, 7) ? buf->ReadExtendedByte() : 0;
ClrBit(type, 7); // Clear the high bit as that only indicates whether there is an offset.
if ((type == 0x0D) && (num == 10) && HasBit(_cur.grfconfig->flags, GCF_SYSTEM)) {
/* Special not-TTDP-compatible case used in openttd.grf
* Missing shore sprites and initialisation of SPR_SHORE_BASE */
grfmsg(2, "GraphicsNew: Loading 10 missing shore sprites from extra grf.");
LoadNextSprite(SPR_SHORE_BASE + 0, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_STEEP_S
LoadNextSprite(SPR_SHORE_BASE + 5, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_STEEP_W
LoadNextSprite(SPR_SHORE_BASE + 7, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_WSE
LoadNextSprite(SPR_SHORE_BASE + 10, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_STEEP_N
LoadNextSprite(SPR_SHORE_BASE + 11, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_NWS
LoadNextSprite(SPR_SHORE_BASE + 13, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_ENW
LoadNextSprite(SPR_SHORE_BASE + 14, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_SEN
LoadNextSprite(SPR_SHORE_BASE + 15, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_STEEP_E
LoadNextSprite(SPR_SHORE_BASE + 16, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_EW
LoadNextSprite(SPR_SHORE_BASE + 17, _cur.file_index, _cur.nfo_line++, _cur.grf_container_ver); // SLOPE_NS
if (_loaded_newgrf_features.shore == SHORE_REPLACE_NONE) _loaded_newgrf_features.shore = SHORE_REPLACE_ONLY_NEW;
return;
}
/* Supported type? */
if ((type >= lengthof(_action5_types)) || (_action5_types[type].block_type == A5BLOCK_INVALID)) {
grfmsg(2, "GraphicsNew: Custom graphics (type 0x%02X) sprite block of length %u (unimplemented, ignoring)", type, num);
_cur.skip_sprites = num;
return;
}
const Action5Type *action5_type = &_action5_types[type];
/* Contrary to TTDP we allow always to specify too few sprites as we allow always an offset,
* except for the long version of the shore type:
* Ignore offset if not allowed */
if ((action5_type->block_type != A5BLOCK_ALLOW_OFFSET) && (offset != 0)) {
grfmsg(1, "GraphicsNew: %s (type 0x%02X) do not allow an <offset> field. Ignoring offset.", action5_type->name, type);
offset = 0;
}
/* Ignore action5 if too few sprites are specified. (for TTDP compatibility)
* This does not make sense, if <offset> is allowed */
if ((action5_type->block_type == A5BLOCK_FIXED) && (num < action5_type->min_sprites)) {
grfmsg(1, "GraphicsNew: %s (type 0x%02X) count must be at least %d. Only %d were specified. Skipping.", action5_type->name, type, action5_type->min_sprites, num);
_cur.skip_sprites = num;
return;
}
/* Load at most max_sprites sprites. Skip remaining sprites. (for compatibility with TTDP and future extensions) */
uint16 skip_num = SanitizeSpriteOffset(num, offset, action5_type->max_sprites, action5_type->name);
SpriteID replace = action5_type->sprite_base + offset;
/* Load <num> sprites starting from <replace>, then skip <skip_num> sprites. */
grfmsg(2, "GraphicsNew: Replacing sprites %d to %d of %s (type 0x%02X) at SpriteID 0x%04X", offset, offset + num - 1, action5_type->name, type, replace);
if (type == 0x0D) _loaded_newgrf_features.shore = SHORE_REPLACE_ACTION_5;
if (type == 0x0B) {
static const SpriteID depot_with_track_offset = SPR_TRAMWAY_DEPOT_WITH_TRACK - SPR_TRAMWAY_BASE;
static const SpriteID depot_no_track_offset = SPR_TRAMWAY_DEPOT_NO_TRACK - SPR_TRAMWAY_BASE;
if (offset <= depot_with_track_offset && offset + num > depot_with_track_offset) _loaded_newgrf_features.tram = TRAMWAY_REPLACE_DEPOT_WITH_TRACK;
if (offset <= depot_no_track_offset && offset + num > depot_no_track_offset) _loaded_newgrf_features.tram = TRAMWAY_REPLACE_DEPOT_NO_TRACK;
}
for (; num > 0; num--) {
_cur.nfo_line++;
LoadNextSprite(replace == 0 ? _cur.spriteid++ : replace++, _cur.file_index, _cur.nfo_line, _cur.grf_container_ver);
}
_cur.skip_sprites = skip_num;
}
/* Action 0x05 (SKIP) */
static void SkipAct5(ByteReader *buf)
{
/* Ignore type byte */
buf->ReadByte();
/* Skip the sprites of this action */
_cur.skip_sprites = buf->ReadExtendedByte();
grfmsg(3, "SkipAct5: Skipping %d sprites", _cur.skip_sprites);
}
/**
* Reads a variable common to VarAction2 and Action7/9/D.
*
* Returns VarAction2 variable 'param' resp. Action7/9/D variable '0x80 + param'.
* If a variable is not accessible from all four actions, it is handled in the action specific functions.
*
* @param param variable number (as for VarAction2, for Action7/9/D you have to subtract 0x80 first).
* @param value returns the value of the variable.
* @param grffile NewGRF querying the variable
* @return true iff the variable is known and the value is returned in 'value'.
*/
bool GetGlobalVariable(byte param, uint32 *value, const GRFFile *grffile)
{
switch (param) {
case 0x00: // current date
*value = max(_date - DAYS_TILL_ORIGINAL_BASE_YEAR, 0);
return true;
case 0x01: // current year
*value = Clamp(_cur_year, ORIGINAL_BASE_YEAR, ORIGINAL_MAX_YEAR) - ORIGINAL_BASE_YEAR;
return true;
case 0x02: { // detailed date information: month of year (bit 0-7), day of month (bit 8-12), leap year (bit 15), day of year (bit 16-24)
YearMonthDay ymd;
ConvertDateToYMD(_date, &ymd);
Date start_of_year = ConvertYMDToDate(ymd.year, 0, 1);
*value = ymd.month | (ymd.day - 1) << 8 | (IsLeapYear(ymd.year) ? 1 << 15 : 0) | (_date - start_of_year) << 16;
return true;
}
case 0x03: // current climate, 0=temp, 1=arctic, 2=trop, 3=toyland
*value = _settings_game.game_creation.landscape;
return true;
case 0x06: // road traffic side, bit 4 clear=left, set=right
*value = _settings_game.vehicle.road_side << 4;
return true;
case 0x09: // date fraction
*value = _date_fract * 885;
return true;
case 0x0A: // animation counter
*value = _tick_counter;
return true;
case 0x0B: { // TTDPatch version
uint major = 2;
uint minor = 6;
uint revision = 1; // special case: 2.0.1 is 2.0.10
uint build = 1382;
*value = (major << 24) | (minor << 20) | (revision << 16) | build;
return true;
}
case 0x0D: // TTD Version, 00=DOS, 01=Windows
*value = _cur.grfconfig->palette & GRFP_USE_MASK;
return true;
case 0x0E: // Y-offset for train sprites
*value = _cur.grffile->traininfo_vehicle_pitch;
return true;
case 0x0F: // Rail track type cost factors
*value = 0;
SB(*value, 0, 8, GetRailTypeInfo(RAILTYPE_RAIL)->cost_multiplier); // normal rail
if (_settings_game.vehicle.disable_elrails) {
/* skip elrail multiplier - disabled */
SB(*value, 8, 8, GetRailTypeInfo(RAILTYPE_MONO)->cost_multiplier); // monorail
} else {
SB(*value, 8, 8, GetRailTypeInfo(RAILTYPE_ELECTRIC)->cost_multiplier); // electified railway
/* Skip monorail multiplier - no space in result */
}
SB(*value, 16, 8, GetRailTypeInfo(RAILTYPE_MAGLEV)->cost_multiplier); // maglev
return true;
case 0x11: // current rail tool type
*value = 0; // constant fake value to avoid desync
return true;
case 0x12: // Game mode
*value = _game_mode;
return true;
/* case 0x13: // Tile refresh offset to left not implemented */
/* case 0x14: // Tile refresh offset to right not implemented */
/* case 0x15: // Tile refresh offset upwards not implemented */
/* case 0x16: // Tile refresh offset downwards not implemented */
/* case 0x17: // temperate snow line not implemented */
case 0x1A: // Always -1
*value = UINT_MAX;
return true;
case 0x1B: // Display options
*value = 0x3F; // constant fake value to avoid desync
return true;
case 0x1D: // TTD Platform, 00=TTDPatch, 01=OpenTTD
*value = 1;
return true;
case 0x1E: // Miscellaneous GRF features
*value = _misc_grf_features;
/* Add the local flags */
assert(!HasBit(*value, GMB_TRAIN_WIDTH_32_PIXELS));
if (_cur.grffile->traininfo_vehicle_width == VEHICLEINFO_FULL_VEHICLE_WIDTH) SetBit(*value, GMB_TRAIN_WIDTH_32_PIXELS);
return true;
/* case 0x1F: // locale dependent settings not implemented to avoid desync */
case 0x20: { // snow line height
byte snowline = GetSnowLine();
if (_settings_game.game_creation.landscape == LT_ARCTIC && snowline <= _settings_game.construction.max_heightlevel) {
*value = Clamp(snowline * (grffile->grf_version >= 8 ? 1 : TILE_HEIGHT), 0, 0xFE);
} else {
/* No snow */
*value = 0xFF;
}
return true;
}
case 0x21: // OpenTTD version
*value = _openttd_newgrf_version;
return true;
case 0x22: // difficulty level
*value = SP_CUSTOM;
return true;
case 0x23: // long format date
*value = _date;
return true;
case 0x24: // long format year
*value = _cur_year;
return true;
default: return false;
}
}
static uint32 GetParamVal(byte param, uint32 *cond_val)
{
/* First handle variable common with VarAction2 */
uint32 value;
if (GetGlobalVariable(param - 0x80, &value, _cur.grffile)) return value;
/* Non-common variable */
switch (param) {
case 0x84: { // GRF loading stage
uint32 res = 0;
if (_cur.stage > GLS_INIT) SetBit(res, 0);
if (_cur.stage == GLS_RESERVE) SetBit(res, 8);
if (_cur.stage == GLS_ACTIVATION) SetBit(res, 9);
return res;
}
case 0x85: // TTDPatch flags, only for bit tests
if (cond_val == nullptr) {
/* Supported in Action 0x07 and 0x09, not 0x0D */
return 0;
} else {
uint32 index = *cond_val / 0x20;
uint32 param_val = index < lengthof(_ttdpatch_flags) ? _ttdpatch_flags[index] : 0;
*cond_val %= 0x20;
return param_val;
}
case 0x88: // GRF ID check
return 0;
/* case 0x99: Global ID offset not implemented */
default:
/* GRF Parameter */
if (param < 0x80) return _cur.grffile->GetParam(param);
/* In-game variable. */
grfmsg(1, "Unsupported in-game variable 0x%02X", param);
return UINT_MAX;
}
}
/* Action 0x06 */
static void CfgApply(ByteReader *buf)
{
/* <06> <param-num> <param-size> <offset> ... <FF>
*
* B param-num Number of parameter to substitute (First = "zero")
* Ignored if that parameter was not specified in newgrf.cfg
* B param-size How many bytes to replace. If larger than 4, the
* bytes of the following parameter are used. In that
* case, nothing is applied unless *all* parameters
* were specified.
* B offset Offset into data from beginning of next sprite
* to place where parameter is to be stored. */
/* Preload the next sprite */
size_t pos = FioGetPos();
uint32 num = _cur.grf_container_ver >= 2 ? FioReadDword() : FioReadWord();
uint8 type = FioReadByte();
byte *preload_sprite = nullptr;
/* Check if the sprite is a pseudo sprite. We can't operate on real sprites. */
if (type == 0xFF) {
preload_sprite = MallocT<byte>(num);
FioReadBlock(preload_sprite, num);
}
/* Reset the file position to the start of the next sprite */
FioSeekTo(pos, SEEK_SET);
if (type != 0xFF) {
grfmsg(2, "CfgApply: Ignoring (next sprite is real, unsupported)");
free(preload_sprite);
return;
}
GRFLocation location(_cur.grfconfig->ident.grfid, _cur.nfo_line + 1);
GRFLineToSpriteOverride::iterator it = _grf_line_to_action6_sprite_override.find(location);
if (it != _grf_line_to_action6_sprite_override.end()) {
free(preload_sprite);
preload_sprite = _grf_line_to_action6_sprite_override[location];
} else {
_grf_line_to_action6_sprite_override[location] = preload_sprite;
}
/* Now perform the Action 0x06 on our data. */
for (;;) {
uint i;
uint param_num;
uint param_size;
uint offset;
bool add_value;
/* Read the parameter to apply. 0xFF indicates no more data to change. */
param_num = buf->ReadByte();
if (param_num == 0xFF) break;
/* Get the size of the parameter to use. If the size covers multiple
* double words, sequential parameter values are used. */
param_size = buf->ReadByte();
/* Bit 7 of param_size indicates we should add to the original value
* instead of replacing it. */
add_value = HasBit(param_size, 7);
param_size = GB(param_size, 0, 7);
/* Where to apply the data to within the pseudo sprite data. */
offset = buf->ReadExtendedByte();
/* If the parameter is a GRF parameter (not an internal variable) check
* if it (and all further sequential parameters) has been defined. */
if (param_num < 0x80 && (param_num + (param_size - 1) / 4) >= _cur.grffile->param_end) {
grfmsg(2, "CfgApply: Ignoring (param %d not set)", (param_num + (param_size - 1) / 4));
break;
}
grfmsg(8, "CfgApply: Applying %u bytes from parameter 0x%02X at offset 0x%04X", param_size, param_num, offset);
bool carry = false;
for (i = 0; i < param_size && offset + i < num; i++) {
uint32 value = GetParamVal(param_num + i / 4, nullptr);
/* Reset carry flag for each iteration of the variable (only really
* matters if param_size is greater than 4) */
if (i % 4 == 0) carry = false;
if (add_value) {
uint new_value = preload_sprite[offset + i] + GB(value, (i % 4) * 8, 8) + (carry ? 1 : 0);
preload_sprite[offset + i] = GB(new_value, 0, 8);
/* Check if the addition overflowed */
carry = new_value >= 256;
} else {
preload_sprite[offset + i] = GB(value, (i % 4) * 8, 8);
}
}
}
}
/**
* Disable a static NewGRF when it is influencing another (non-static)
* NewGRF as this could cause desyncs.
*
* We could just tell the NewGRF querying that the file doesn't exist,
* but that might give unwanted results. Disabling the NewGRF gives the
* best result as no NewGRF author can complain about that.
* @param c The NewGRF to disable.
*/
static void DisableStaticNewGRFInfluencingNonStaticNewGRFs(GRFConfig *c)
{
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_STATIC_GRF_CAUSES_DESYNC, c);
error->data = stredup(_cur.grfconfig->GetName());
}
/* Action 0x07
* Action 0x09 */
static void SkipIf(ByteReader *buf)
{
/* <07/09> <param-num> <param-size> <condition-type> <value> <num-sprites>
*
* B param-num
* B param-size
* B condition-type
* V value
* B num-sprites */
uint32 cond_val = 0;
uint32 mask = 0;
bool result;
uint8 param = buf->ReadByte();
uint8 paramsize = buf->ReadByte();
uint8 condtype = buf->ReadByte();
if (condtype < 2) {
/* Always 1 for bit tests, the given value should be ignored. */
paramsize = 1;
}
switch (paramsize) {
case 8: cond_val = buf->ReadDWord(); mask = buf->ReadDWord(); break;
case 4: cond_val = buf->ReadDWord(); mask = 0xFFFFFFFF; break;
case 2: cond_val = buf->ReadWord(); mask = 0x0000FFFF; break;
case 1: cond_val = buf->ReadByte(); mask = 0x000000FF; break;
default: break;
}
if (param < 0x80 && _cur.grffile->param_end <= param) {
grfmsg(7, "SkipIf: Param %d undefined, skipping test", param);
return;
}
uint32 param_val = GetParamVal(param, &cond_val);
grfmsg(7, "SkipIf: Test condtype %d, param 0x%08X, condval 0x%08X", condtype, param_val, cond_val);
/*
* Parameter (variable in specs) 0x88 can only have GRF ID checking
* conditions, except conditions 0x0B, 0x0C (cargo availability) and
* 0x0D, 0x0E (Rail type availability) as those ignore the parameter.
* So, when the condition type is one of those, the specific variable
* 0x88 code is skipped, so the "general" code for the cargo
* availability conditions kicks in.
*/
if (param == 0x88 && (condtype < 0x0B || condtype > 0x0E)) {
/* GRF ID checks */
GRFConfig *c = GetGRFConfig(cond_val, mask);
if (c != nullptr && HasBit(c->flags, GCF_STATIC) && !HasBit(_cur.grfconfig->flags, GCF_STATIC) && _networking) {
DisableStaticNewGRFInfluencingNonStaticNewGRFs(c);
c = nullptr;
}
if (condtype != 10 && c == nullptr) {
grfmsg(7, "SkipIf: GRFID 0x%08X unknown, skipping test", BSWAP32(cond_val));
return;
}
switch (condtype) {
/* Tests 0x06 to 0x0A are only for param 0x88, GRFID checks */
case 0x06: // Is GRFID active?
result = c->status == GCS_ACTIVATED;
break;
case 0x07: // Is GRFID non-active?
result = c->status != GCS_ACTIVATED;
break;
case 0x08: // GRFID is not but will be active?
result = c->status == GCS_INITIALISED;
break;
case 0x09: // GRFID is or will be active?
result = c->status == GCS_ACTIVATED || c->status == GCS_INITIALISED;
break;
case 0x0A: // GRFID is not nor will be active
/* This is the only condtype that doesn't get ignored if the GRFID is not found */
result = c == nullptr || c->status == GCS_DISABLED || c->status == GCS_NOT_FOUND;
break;
default: grfmsg(1, "SkipIf: Unsupported GRF condition type %02X. Ignoring", condtype); return;
}
} else {
/* Parameter or variable tests */
switch (condtype) {
case 0x00: result = !!(param_val & (1 << cond_val));
break;
case 0x01: result = !(param_val & (1 << cond_val));
break;
case 0x02: result = (param_val & mask) == cond_val;
break;
case 0x03: result = (param_val & mask) != cond_val;
break;
case 0x04: result = (param_val & mask) < cond_val;
break;
case 0x05: result = (param_val & mask) > cond_val;
break;
case 0x0B: result = GetCargoIDByLabel(BSWAP32(cond_val)) == CT_INVALID;
break;
case 0x0C: result = GetCargoIDByLabel(BSWAP32(cond_val)) != CT_INVALID;
break;
case 0x0D: result = GetRailTypeByLabel(BSWAP32(cond_val)) == INVALID_RAILTYPE;
break;
case 0x0E: result = GetRailTypeByLabel(BSWAP32(cond_val)) != INVALID_RAILTYPE;
break;
case 0x0F: result = GetRoadTypeByLabel(BSWAP32(cond_val)) == INVALID_ROADTYPE;
break;
case 0x10: result = GetRoadTypeByLabel(BSWAP32(cond_val)) != INVALID_ROADTYPE;
break;
case 0x11: result = GetRoadTypeByLabel(BSWAP32(cond_val)) == INVALID_ROADTYPE;
break;
case 0x12: result = GetRoadTypeByLabel(BSWAP32(cond_val)) != INVALID_ROADTYPE;
break;
default: grfmsg(1, "SkipIf: Unsupported condition type %02X. Ignoring", condtype); return;
}
}
if (!result) {
grfmsg(2, "SkipIf: Not skipping sprites, test was false");
return;
}
uint8 numsprites = buf->ReadByte();
/* numsprites can be a GOTO label if it has been defined in the GRF
* file. The jump will always be the first matching label that follows
* the current nfo_line. If no matching label is found, the first matching
* label in the file is used. */
GRFLabel *choice = nullptr;
for (GRFLabel *label = _cur.grffile->label; label != nullptr; label = label->next) {
if (label->label != numsprites) continue;
/* Remember a goto before the current line */
if (choice == nullptr) choice = label;
/* If we find a label here, this is definitely good */
if (label->nfo_line > _cur.nfo_line) {
choice = label;
break;
}
}
if (choice != nullptr) {
grfmsg(2, "SkipIf: Jumping to label 0x%0X at line %d, test was true", choice->label, choice->nfo_line);
FioSeekTo(choice->pos, SEEK_SET);
_cur.nfo_line = choice->nfo_line;
return;
}
grfmsg(2, "SkipIf: Skipping %d sprites, test was true", numsprites);
_cur.skip_sprites = numsprites;
if (_cur.skip_sprites == 0) {
/* Zero means there are no sprites to skip, so
* we use -1 to indicate that all further
* sprites should be skipped. */
_cur.skip_sprites = -1;
/* If an action 8 hasn't been encountered yet, disable the grf. */
if (_cur.grfconfig->status != (_cur.stage < GLS_RESERVE ? GCS_INITIALISED : GCS_ACTIVATED)) {
DisableGrf();
}
}
}
/* Action 0x08 (GLS_FILESCAN) */
static void ScanInfo(ByteReader *buf)
{
uint8 grf_version = buf->ReadByte();
uint32 grfid = buf->ReadDWord();
const char *name = buf->ReadString();
_cur.grfconfig->ident.grfid = grfid;
if (grf_version < 2 || grf_version > 8) {
SetBit(_cur.grfconfig->flags, GCF_INVALID);
DEBUG(grf, 0, "%s: NewGRF \"%s\" (GRFID %08X) uses GRF version %d, which is incompatible with this version of OpenTTD.", _cur.grfconfig->filename, name, BSWAP32(grfid), grf_version);
}
/* GRF IDs starting with 0xFF are reserved for internal TTDPatch use */
if (GB(grfid, 0, 8) == 0xFF) SetBit(_cur.grfconfig->flags, GCF_SYSTEM);
AddGRFTextToList(&_cur.grfconfig->name->text, 0x7F, grfid, false, name);
if (buf->HasData()) {
const char *info = buf->ReadString();
AddGRFTextToList(&_cur.grfconfig->info->text, 0x7F, grfid, true, info);
}
/* GLS_INFOSCAN only looks for the action 8, so we can skip the rest of the file */
_cur.skip_sprites = -1;
}
/* Action 0x08 */
static void GRFInfo(ByteReader *buf)
{
/* <08> <version> <grf-id> <name> <info>
*
* B version newgrf version, currently 06
* 4*B grf-id globally unique ID of this .grf file
* S name name of this .grf set
* S info string describing the set, and e.g. author and copyright */
uint8 version = buf->ReadByte();
uint32 grfid = buf->ReadDWord();
const char *name = buf->ReadString();
if (_cur.stage < GLS_RESERVE && _cur.grfconfig->status != GCS_UNKNOWN) {
DisableGrf(STR_NEWGRF_ERROR_MULTIPLE_ACTION_8);
return;
}
if (_cur.grffile->grfid != grfid) {
DEBUG(grf, 0, "GRFInfo: GRFID %08X in FILESCAN stage does not match GRFID %08X in INIT/RESERVE/ACTIVATION stage", BSWAP32(_cur.grffile->grfid), BSWAP32(grfid));
_cur.grffile->grfid = grfid;
}
_cur.grffile->grf_version = version;
_cur.grfconfig->status = _cur.stage < GLS_RESERVE ? GCS_INITIALISED : GCS_ACTIVATED;
/* Do swap the GRFID for displaying purposes since people expect that */
DEBUG(grf, 1, "GRFInfo: Loaded GRFv%d set %08X - %s (palette: %s, version: %i)", version, BSWAP32(grfid), name, (_cur.grfconfig->palette & GRFP_USE_MASK) ? "Windows" : "DOS", _cur.grfconfig->version);
}
/* Action 0x0A */
static void SpriteReplace(ByteReader *buf)
{
/* <0A> <num-sets> <set1> [<set2> ...]
* <set>: <num-sprites> <first-sprite>
*
* B num-sets How many sets of sprites to replace.
* Each set:
* B num-sprites How many sprites are in this set
* W first-sprite First sprite number to replace */
uint8 num_sets = buf->ReadByte();
for (uint i = 0; i < num_sets; i++) {
uint8 num_sprites = buf->ReadByte();
uint16 first_sprite = buf->ReadWord();
grfmsg(2, "SpriteReplace: [Set %d] Changing %d sprites, beginning with %d",
i, num_sprites, first_sprite
);
for (uint j = 0; j < num_sprites; j++) {
int load_index = first_sprite + j;
_cur.nfo_line++;
LoadNextSprite(load_index, _cur.file_index, _cur.nfo_line, _cur.grf_container_ver); // XXX
/* Shore sprites now located at different addresses.
* So detect when the old ones get replaced. */
if (IsInsideMM(load_index, SPR_ORIGINALSHORE_START, SPR_ORIGINALSHORE_END + 1)) {
if (_loaded_newgrf_features.shore != SHORE_REPLACE_ACTION_5) _loaded_newgrf_features.shore = SHORE_REPLACE_ACTION_A;
}
}
}
}
/* Action 0x0A (SKIP) */
static void SkipActA(ByteReader *buf)
{
uint8 num_sets = buf->ReadByte();
for (uint i = 0; i < num_sets; i++) {
/* Skip the sprites this replaces */
_cur.skip_sprites += buf->ReadByte();
/* But ignore where they go */
buf->ReadWord();
}
grfmsg(3, "SkipActA: Skipping %d sprites", _cur.skip_sprites);
}
/* Action 0x0B */
static void GRFLoadError(ByteReader *buf)
{
/* <0B> <severity> <language-id> <message-id> [<message...> 00] [<data...>] 00 [<parnum>]
*
* B severity 00: notice, continue loading grf file
* 01: warning, continue loading grf file
* 02: error, but continue loading grf file, and attempt
* loading grf again when loading or starting next game
* 03: error, abort loading and prevent loading again in
* the future (only when restarting the patch)
* B language-id see action 4, use 1F for built-in error messages
* B message-id message to show, see below
* S message for custom messages (message-id FF), text of the message
* not present for built-in messages.
* V data additional data for built-in (or custom) messages
* B parnum parameter numbers to be shown in the message (maximum of 2) */
static const StringID msgstr[] = {
STR_NEWGRF_ERROR_VERSION_NUMBER,
STR_NEWGRF_ERROR_DOS_OR_WINDOWS,
STR_NEWGRF_ERROR_UNSET_SWITCH,
STR_NEWGRF_ERROR_INVALID_PARAMETER,
STR_NEWGRF_ERROR_LOAD_BEFORE,
STR_NEWGRF_ERROR_LOAD_AFTER,
STR_NEWGRF_ERROR_OTTD_VERSION_NUMBER,
};
static const StringID sevstr[] = {
STR_NEWGRF_ERROR_MSG_INFO,
STR_NEWGRF_ERROR_MSG_WARNING,
STR_NEWGRF_ERROR_MSG_ERROR,
STR_NEWGRF_ERROR_MSG_FATAL
};
byte severity = buf->ReadByte();
byte lang = buf->ReadByte();
byte message_id = buf->ReadByte();
/* Skip the error if it isn't valid for the current language. */
if (!CheckGrfLangID(lang, _cur.grffile->grf_version)) return;
/* Skip the error until the activation stage unless bit 7 of the severity
* is set. */
if (!HasBit(severity, 7) && _cur.stage == GLS_INIT) {
grfmsg(7, "GRFLoadError: Skipping non-fatal GRFLoadError in stage %d", _cur.stage);
return;
}
ClrBit(severity, 7);
if (severity >= lengthof(sevstr)) {
grfmsg(7, "GRFLoadError: Invalid severity id %d. Setting to 2 (non-fatal error).", severity);
severity = 2;
} else if (severity == 3) {
/* This is a fatal error, so make sure the GRF is deactivated and no
* more of it gets loaded. */
DisableGrf();
/* Make sure we show fatal errors, instead of silly infos from before */
delete _cur.grfconfig->error;
_cur.grfconfig->error = nullptr;
}
if (message_id >= lengthof(msgstr) && message_id != 0xFF) {
grfmsg(7, "GRFLoadError: Invalid message id.");
return;
}
if (buf->Remaining() <= 1) {
grfmsg(7, "GRFLoadError: No message data supplied.");
return;
}
/* For now we can only show one message per newgrf file. */
if (_cur.grfconfig->error != nullptr) return;
GRFError *error = new GRFError(sevstr[severity]);
if (message_id == 0xFF) {
/* This is a custom error message. */
if (buf->HasData()) {
const char *message = buf->ReadString();
error->custom_message = TranslateTTDPatchCodes(_cur.grffile->grfid, lang, true, message, nullptr, SCC_RAW_STRING_POINTER);
} else {
grfmsg(7, "GRFLoadError: No custom message supplied.");
error->custom_message = stredup("");
}
} else {
error->message = msgstr[message_id];
}
if (buf->HasData()) {
const char *data = buf->ReadString();
error->data = TranslateTTDPatchCodes(_cur.grffile->grfid, lang, true, data);
} else {
grfmsg(7, "GRFLoadError: No message data supplied.");
error->data = stredup("");
}
/* Only two parameter numbers can be used in the string. */
for (uint i = 0; i < lengthof(error->param_value) && buf->HasData(); i++) {
uint param_number = buf->ReadByte();
error->param_value[i] = _cur.grffile->GetParam(param_number);
}
_cur.grfconfig->error = error;
}
/* Action 0x0C */
static void GRFComment(ByteReader *buf)
{
/* <0C> [<ignored...>]
*
* V ignored Anything following the 0C is ignored */
if (!buf->HasData()) return;
const char *text = buf->ReadString();
grfmsg(2, "GRFComment: %s", text);
}
/* Action 0x0D (GLS_SAFETYSCAN) */
static void SafeParamSet(ByteReader *buf)
{
uint8 target = buf->ReadByte();
/* Writing GRF parameters and some bits of 'misc GRF features' are safe. */
if (target < 0x80 || target == 0x9E) return;
/* GRM could be unsafe, but as here it can only happen after other GRFs
* are loaded, it should be okay. If the GRF tried to use the slots it
* reserved, it would be marked unsafe anyway. GRM for (e.g. bridge)
* sprites is considered safe. */
SetBit(_cur.grfconfig->flags, GCF_UNSAFE);
/* Skip remainder of GRF */
_cur.skip_sprites = -1;
}
static uint32 GetPatchVariable(uint8 param)
{
switch (param) {
/* start year - 1920 */
case 0x0B: return max(_settings_game.game_creation.starting_year, ORIGINAL_BASE_YEAR) - ORIGINAL_BASE_YEAR;
/* freight trains weight factor */
case 0x0E: return _settings_game.vehicle.freight_trains;
/* empty wagon speed increase */
case 0x0F: return 0;
/* plane speed factor; our patch option is reversed from TTDPatch's,
* the following is good for 1x, 2x and 4x (most common?) and...
* well not really for 3x. */
case 0x10:
switch (_settings_game.vehicle.plane_speed) {
default:
case 4: return 1;
case 3: return 2;
case 2: return 2;
case 1: return 4;
}
/* 2CC colourmap base sprite */
case 0x11: return SPR_2CCMAP_BASE;
/* map size: format = -MABXYSS
* M : the type of map
* bit 0 : set : squared map. Bit 1 is now not relevant
* clear : rectangle map. Bit 1 will indicate the bigger edge of the map
* bit 1 : set : Y is the bigger edge. Bit 0 is clear
* clear : X is the bigger edge.
* A : minimum edge(log2) of the map
* B : maximum edge(log2) of the map
* XY : edges(log2) of each side of the map.
* SS : combination of both X and Y, thus giving the size(log2) of the map
*/
case 0x13: {
byte map_bits = 0;
byte log_X = MapLogX() - 6; // subtraction is required to make the minimal size (64) zero based
byte log_Y = MapLogY() - 6;
byte max_edge = max(log_X, log_Y);
if (log_X == log_Y) { // we have a squared map, since both edges are identical
SetBit(map_bits, 0);
} else {
if (max_edge == log_Y) SetBit(map_bits, 1); // edge Y been the biggest, mark it
}
return (map_bits << 24) | (min(log_X, log_Y) << 20) | (max_edge << 16) |
(log_X << 12) | (log_Y << 8) | (log_X + log_Y);
}
/* The maximum height of the map. */
case 0x14:
return _settings_game.construction.max_heightlevel;
/* Extra foundations base sprite */
case 0x15:
return SPR_SLOPES_BASE;
/* Shore base sprite */
case 0x16:
return SPR_SHORE_BASE;
default:
grfmsg(2, "ParamSet: Unknown Patch variable 0x%02X.", param);
return 0;
}
}
static uint32 PerformGRM(uint32 *grm, uint16 num_ids, uint16 count, uint8 op, uint8 target, const char *type)
{
uint start = 0;
uint size = 0;
if (op == 6) {
/* Return GRFID of set that reserved ID */
return grm[_cur.grffile->GetParam(target)];
}
/* With an operation of 2 or 3, we want to reserve a specific block of IDs */
if (op == 2 || op == 3) start = _cur.grffile->GetParam(target);
for (uint i = start; i < num_ids; i++) {
if (grm[i] == 0) {
size++;
} else {
if (op == 2 || op == 3) break;
start = i + 1;
size = 0;
}
if (size == count) break;
}
if (size == count) {
/* Got the slot... */
if (op == 0 || op == 3) {
grfmsg(2, "ParamSet: GRM: Reserving %d %s at %d", count, type, start);
for (uint i = 0; i < count; i++) grm[start + i] = _cur.grffile->grfid;
}
return start;
}
/* Unable to allocate */
if (op != 4 && op != 5) {
/* Deactivate GRF */
grfmsg(0, "ParamSet: GRM: Unable to allocate %d %s, deactivating", count, type);
DisableGrf(STR_NEWGRF_ERROR_GRM_FAILED);
return UINT_MAX;
}
grfmsg(1, "ParamSet: GRM: Unable to allocate %d %s", count, type);
return UINT_MAX;
}
/** Action 0x0D: Set parameter */
static void ParamSet(ByteReader *buf)
{
/* <0D> <target> <operation> <source1> <source2> [<data>]
*
* B target parameter number where result is stored
* B operation operation to perform, see below
* B source1 first source operand
* B source2 second source operand
* D data data to use in the calculation, not necessary
* if both source1 and source2 refer to actual parameters
*
* Operations
* 00 Set parameter equal to source1
* 01 Addition, source1 + source2
* 02 Subtraction, source1 - source2
* 03 Unsigned multiplication, source1 * source2 (both unsigned)
* 04 Signed multiplication, source1 * source2 (both signed)
* 05 Unsigned bit shift, source1 by source2 (source2 taken to be a
* signed quantity; left shift if positive and right shift if
* negative, source1 is unsigned)
* 06 Signed bit shift, source1 by source2
* (source2 like in 05, and source1 as well)
*/
uint8 target = buf->ReadByte();
uint8 oper = buf->ReadByte();
uint32 src1 = buf->ReadByte();
uint32 src2 = buf->ReadByte();
uint32 data = 0;
if (buf->Remaining() >= 4) data = buf->ReadDWord();
/* You can add 80 to the operation to make it apply only if the target
* is not defined yet. In this respect, a parameter is taken to be
* defined if any of the following applies:
* - it has been set to any value in the newgrf(w).cfg parameter list
* - it OR A PARAMETER WITH HIGHER NUMBER has been set to any value by
* an earlier action D */
if (HasBit(oper, 7)) {
if (target < 0x80 && target < _cur.grffile->param_end) {
grfmsg(7, "ParamSet: Param %u already defined, skipping", target);
return;
}
oper = GB(oper, 0, 7);
}
if (src2 == 0xFE) {
if (GB(data, 0, 8) == 0xFF) {
if (data == 0x0000FFFF) {
/* Patch variables */
src1 = GetPatchVariable(src1);
} else {
/* GRF Resource Management */
uint8 op = src1;
uint8 feature = GB(data, 8, 8);
uint16 count = GB(data, 16, 16);
if (_cur.stage == GLS_RESERVE) {
if (feature == 0x08) {
/* General sprites */
if (op == 0) {
/* Check if the allocated sprites will fit below the original sprite limit */
if (_cur.spriteid + count >= 16384) {
grfmsg(0, "ParamSet: GRM: Unable to allocate %d sprites; try changing NewGRF order", count);
DisableGrf(STR_NEWGRF_ERROR_GRM_FAILED);
return;
}
/* Reserve space at the current sprite ID */
grfmsg(4, "ParamSet: GRM: Allocated %d sprites at %d", count, _cur.spriteid);
_grm_sprites[GRFLocation(_cur.grffile->grfid, _cur.nfo_line)] = _cur.spriteid;
_cur.spriteid += count;
}
}
/* Ignore GRM result during reservation */
src1 = 0;
} else if (_cur.stage == GLS_ACTIVATION) {
switch (feature) {
case 0x00: // Trains
case 0x01: // Road Vehicles
case 0x02: // Ships
case 0x03: // Aircraft
if (!_settings_game.vehicle.dynamic_engines) {
src1 = PerformGRM(&_grm_engines[_engine_offsets[feature]], _engine_counts[feature], count, op, target, "vehicles");
if (_cur.skip_sprites == -1) return;
} else {
/* GRM does not apply for dynamic engine allocation. */
switch (op) {
case 2:
case 3:
src1 = _cur.grffile->GetParam(target);
break;
default:
src1 = 0;
break;
}
}
break;
case 0x08: // General sprites
switch (op) {
case 0:
/* Return space reserved during reservation stage */
src1 = _grm_sprites[GRFLocation(_cur.grffile->grfid, _cur.nfo_line)];
grfmsg(4, "ParamSet: GRM: Using pre-allocated sprites at %d", src1);
break;
case 1:
src1 = _cur.spriteid;
break;
default:
grfmsg(1, "ParamSet: GRM: Unsupported operation %d for general sprites", op);
return;
}
break;
case 0x0B: // Cargo
/* There are two ranges: one for cargo IDs and one for cargo bitmasks */
src1 = PerformGRM(_grm_cargoes, NUM_CARGO * 2, count, op, target, "cargoes");
if (_cur.skip_sprites == -1) return;
break;
default: grfmsg(1, "ParamSet: GRM: Unsupported feature 0x%X", feature); return;
}
} else {
/* Ignore GRM during initialization */
src1 = 0;
}
}
} else {
/* Read another GRF File's parameter */
const GRFFile *file = GetFileByGRFID(data);
GRFConfig *c = GetGRFConfig(data);
if (c != nullptr && HasBit(c->flags, GCF_STATIC) && !HasBit(_cur.grfconfig->flags, GCF_STATIC) && _networking) {
/* Disable the read GRF if it is a static NewGRF. */
DisableStaticNewGRFInfluencingNonStaticNewGRFs(c);
src1 = 0;
} else if (file == nullptr || c == nullptr || c->status == GCS_DISABLED) {
src1 = 0;
} else if (src1 == 0xFE) {
src1 = c->version;
} else {
src1 = file->GetParam(src1);
}
}
} else {
/* The source1 and source2 operands refer to the grf parameter number
* like in action 6 and 7. In addition, they can refer to the special
* variables available in action 7, or they can be FF to use the value
* of <data>. If referring to parameters that are undefined, a value
* of 0 is used instead. */
src1 = (src1 == 0xFF) ? data : GetParamVal(src1, nullptr);
src2 = (src2 == 0xFF) ? data : GetParamVal(src2, nullptr);
}
uint32 res;
switch (oper) {
case 0x00:
res = src1;
break;
case 0x01:
res = src1 + src2;
break;
case 0x02:
res = src1 - src2;
break;
case 0x03:
res = src1 * src2;
break;
case 0x04:
res = (int32)src1 * (int32)src2;
break;
case 0x05:
if ((int32)src2 < 0) {
res = src1 >> -(int32)src2;
} else {
res = src1 << (src2 & 0x1F); // Same behaviour as in EvalAdjustT, mask 'value' to 5 bits, which should behave the same on all architectures.
}
break;
case 0x06:
if ((int32)src2 < 0) {
res = (int32)src1 >> -(int32)src2;
} else {
res = (int32)src1 << (src2 & 0x1F); // Same behaviour as in EvalAdjustT, mask 'value' to 5 bits, which should behave the same on all architectures.
}
break;
case 0x07: // Bitwise AND
res = src1 & src2;
break;
case 0x08: // Bitwise OR
res = src1 | src2;
break;
case 0x09: // Unsigned division
if (src2 == 0) {
res = src1;
} else {
res = src1 / src2;
}
break;
case 0x0A: // Signed division
if (src2 == 0) {
res = src1;
} else {
res = (int32)src1 / (int32)src2;
}
break;
case 0x0B: // Unsigned modulo
if (src2 == 0) {
res = src1;
} else {
res = src1 % src2;
}
break;
case 0x0C: // Signed modulo
if (src2 == 0) {
res = src1;
} else {
res = (int32)src1 % (int32)src2;
}
break;
default: grfmsg(0, "ParamSet: Unknown operation %d, skipping", oper); return;
}
switch (target) {
case 0x8E: // Y-Offset for train sprites
_cur.grffile->traininfo_vehicle_pitch = res;
break;
case 0x8F: { // Rail track type cost factors
extern RailtypeInfo _railtypes[RAILTYPE_END];
_railtypes[RAILTYPE_RAIL].cost_multiplier = GB(res, 0, 8);
if (_settings_game.vehicle.disable_elrails) {
_railtypes[RAILTYPE_ELECTRIC].cost_multiplier = GB(res, 0, 8);
_railtypes[RAILTYPE_MONO].cost_multiplier = GB(res, 8, 8);
} else {
_railtypes[RAILTYPE_ELECTRIC].cost_multiplier = GB(res, 8, 8);
_railtypes[RAILTYPE_MONO].cost_multiplier = GB(res, 16, 8);
}
_railtypes[RAILTYPE_MAGLEV].cost_multiplier = GB(res, 16, 8);
break;
}
/* not implemented */
case 0x93: // Tile refresh offset to left -- Intended to allow support for larger sprites, not necessary for OTTD
case 0x94: // Tile refresh offset to right
case 0x95: // Tile refresh offset upwards
case 0x96: // Tile refresh offset downwards
case 0x97: // Snow line height -- Better supported by feature 8 property 10h (snow line table) TODO: implement by filling the entire snow line table with the given value
case 0x99: // Global ID offset -- Not necessary since IDs are remapped automatically
grfmsg(7, "ParamSet: Skipping unimplemented target 0x%02X", target);
break;
case 0x9E: // Miscellaneous GRF features
/* Set train list engine width */
_cur.grffile->traininfo_vehicle_width = HasBit(res, GMB_TRAIN_WIDTH_32_PIXELS) ? VEHICLEINFO_FULL_VEHICLE_WIDTH : TRAININFO_DEFAULT_VEHICLE_WIDTH;
/* Remove the local flags from the global flags */
ClrBit(res, GMB_TRAIN_WIDTH_32_PIXELS);
/* Only copy safe bits for static grfs */
if (HasBit(_cur.grfconfig->flags, GCF_STATIC)) {
uint32 safe_bits = 0;
SetBit(safe_bits, GMB_SECOND_ROCKY_TILE_SET);
_misc_grf_features = (_misc_grf_features & ~safe_bits) | (res & safe_bits);
} else {
_misc_grf_features = res;
}
break;
case 0x9F: // locale-dependent settings
grfmsg(7, "ParamSet: Skipping unimplemented target 0x%02X", target);
break;
default:
if (target < 0x80) {
_cur.grffile->param[target] = res;
/* param is zeroed by default */
if (target + 1U > _cur.grffile->param_end) _cur.grffile->param_end = target + 1;
} else {
grfmsg(7, "ParamSet: Skipping unknown target 0x%02X", target);
}
break;
}
}
/* Action 0x0E (GLS_SAFETYSCAN) */
static void SafeGRFInhibit(ByteReader *buf)
{
/* <0E> <num> <grfids...>
*
* B num Number of GRFIDs that follow
* D grfids GRFIDs of the files to deactivate */
uint8 num = buf->ReadByte();
for (uint i = 0; i < num; i++) {
uint32 grfid = buf->ReadDWord();
/* GRF is unsafe it if tries to deactivate other GRFs */
if (grfid != _cur.grfconfig->ident.grfid) {
SetBit(_cur.grfconfig->flags, GCF_UNSAFE);
/* Skip remainder of GRF */
_cur.skip_sprites = -1;
return;
}
}
}
/* Action 0x0E */
static void GRFInhibit(ByteReader *buf)
{
/* <0E> <num> <grfids...>
*
* B num Number of GRFIDs that follow
* D grfids GRFIDs of the files to deactivate */
uint8 num = buf->ReadByte();
for (uint i = 0; i < num; i++) {
uint32 grfid = buf->ReadDWord();
GRFConfig *file = GetGRFConfig(grfid);
/* Unset activation flag */
if (file != nullptr && file != _cur.grfconfig) {
grfmsg(2, "GRFInhibit: Deactivating file '%s'", file->filename);
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_FORCEFULLY_DISABLED, file);
error->data = stredup(_cur.grfconfig->GetName());
}
}
}
/** Action 0x0F - Define Town names */
static void FeatureTownName(ByteReader *buf)
{
/* <0F> <id> <style-name> <num-parts> <parts>
*
* B id ID of this definition in bottom 7 bits (final definition if bit 7 set)
* V style-name Name of the style (only for final definition)
* B num-parts Number of parts in this definition
* V parts The parts */
uint32 grfid = _cur.grffile->grfid;
GRFTownName *townname = AddGRFTownName(grfid);
byte id = buf->ReadByte();
grfmsg(6, "FeatureTownName: definition 0x%02X", id & 0x7F);
if (HasBit(id, 7)) {
/* Final definition */
ClrBit(id, 7);
bool new_scheme = _cur.grffile->grf_version >= 7;
byte lang = buf->ReadByte();
byte nb_gen = townname->nb_gen;
do {
ClrBit(lang, 7);
const char *name = buf->ReadString();
char *lang_name = TranslateTTDPatchCodes(grfid, lang, false, name);
grfmsg(6, "FeatureTownName: lang 0x%X -> '%s'", lang, lang_name);
free(lang_name);
townname->name[nb_gen] = AddGRFString(grfid, id, lang, new_scheme, false, name, STR_UNDEFINED);
lang = buf->ReadByte();
} while (lang != 0);
townname->id[nb_gen] = id;
townname->nb_gen++;
}
byte nb = buf->ReadByte();
grfmsg(6, "FeatureTownName: %u parts", nb);
townname->nbparts[id] = nb;
townname->partlist[id] = CallocT<NamePartList>(nb);
for (int i = 0; i < nb; i++) {
byte nbtext = buf->ReadByte();
townname->partlist[id][i].bitstart = buf->ReadByte();
townname->partlist[id][i].bitcount = buf->ReadByte();
townname->partlist[id][i].maxprob = 0;
townname->partlist[id][i].partcount = nbtext;
townname->partlist[id][i].parts = CallocT<NamePart>(nbtext);
grfmsg(6, "FeatureTownName: part %d contains %d texts and will use GB(seed, %d, %d)", i, nbtext, townname->partlist[id][i].bitstart, townname->partlist[id][i].bitcount);
for (int j = 0; j < nbtext; j++) {
byte prob = buf->ReadByte();
if (HasBit(prob, 7)) {
byte ref_id = buf->ReadByte();
if (townname->nbparts[ref_id] == 0) {
grfmsg(0, "FeatureTownName: definition 0x%02X doesn't exist, deactivating", ref_id);
DelGRFTownName(grfid);
DisableGrf(STR_NEWGRF_ERROR_INVALID_ID);
return;
}
grfmsg(6, "FeatureTownName: part %d, text %d, uses intermediate definition 0x%02X (with probability %d)", i, j, ref_id, prob & 0x7F);
townname->partlist[id][i].parts[j].data.id = ref_id;
} else {
const char *text = buf->ReadString();
townname->partlist[id][i].parts[j].data.text = TranslateTTDPatchCodes(grfid, 0, false, text);
grfmsg(6, "FeatureTownName: part %d, text %d, '%s' (with probability %d)", i, j, townname->partlist[id][i].parts[j].data.text, prob);
}
townname->partlist[id][i].parts[j].prob = prob;
townname->partlist[id][i].maxprob += GB(prob, 0, 7);
}
grfmsg(6, "FeatureTownName: part %d, total probability %d", i, townname->partlist[id][i].maxprob);
}
}
/** Action 0x10 - Define goto label */
static void DefineGotoLabel(ByteReader *buf)
{
/* <10> <label> [<comment>]
*
* B label The label to define
* V comment Optional comment - ignored */
byte nfo_label = buf->ReadByte();
GRFLabel *label = MallocT<GRFLabel>(1);
label->label = nfo_label;
label->nfo_line = _cur.nfo_line;
label->pos = FioGetPos();
label->next = nullptr;
/* Set up a linked list of goto targets which we will search in an Action 0x7/0x9 */
if (_cur.grffile->label == nullptr) {
_cur.grffile->label = label;
} else {
/* Attach the label to the end of the list */
GRFLabel *l;
for (l = _cur.grffile->label; l->next != nullptr; l = l->next) {}
l->next = label;
}
grfmsg(2, "DefineGotoLabel: GOTO target with label 0x%02X", label->label);
}
/**
* Process a sound import from another GRF file.
* @param sound Destination for sound.
*/
static void ImportGRFSound(SoundEntry *sound)
{
const GRFFile *file;
uint32 grfid = FioReadDword();
SoundID sound_id = FioReadWord();
file = GetFileByGRFID(grfid);
if (file == nullptr || file->sound_offset == 0) {
grfmsg(1, "ImportGRFSound: Source file not available");
return;
}
if (sound_id >= file->num_sounds) {
grfmsg(1, "ImportGRFSound: Sound effect %d is invalid", sound_id);
return;
}
grfmsg(2, "ImportGRFSound: Copying sound %d (%d) from file %X", sound_id, file->sound_offset + sound_id, grfid);
*sound = *GetSound(file->sound_offset + sound_id);
/* Reset volume and priority, which TTDPatch doesn't copy */
sound->volume = 128;
sound->priority = 0;
}
/**
* Load a sound from a file.
* @param offs File offset to read sound from.
* @param sound Destination for sound.
*/
static void LoadGRFSound(size_t offs, SoundEntry *sound)
{
/* Set default volume and priority */
sound->volume = 0x80;
sound->priority = 0;
if (offs != SIZE_MAX) {
/* Sound is present in the NewGRF. */
sound->file_slot = _cur.file_index;
sound->file_offset = offs;
sound->grf_container_ver = _cur.grf_container_ver;
}
}
/* Action 0x11 */
static void GRFSound(ByteReader *buf)
{
/* <11> <num>
*
* W num Number of sound files that follow */
uint16 num = buf->ReadWord();
if (num == 0) return;
SoundEntry *sound;
if (_cur.grffile->sound_offset == 0) {
_cur.grffile->sound_offset = GetNumSounds();
_cur.grffile->num_sounds = num;
sound = AllocateSound(num);
} else {
sound = GetSound(_cur.grffile->sound_offset);
}
for (int i = 0; i < num; i++) {
_cur.nfo_line++;
/* Check whether the index is in range. This might happen if multiple action 11 are present.
* While this is invalid, we do not check for this. But we should prevent it from causing bigger trouble */
bool invalid = i >= _cur.grffile->num_sounds;
size_t offs = FioGetPos();
uint32 len = _cur.grf_container_ver >= 2 ? FioReadDword() : FioReadWord();
byte type = FioReadByte();
if (_cur.grf_container_ver >= 2 && type == 0xFD) {
/* Reference to sprite section. */
if (invalid) {
grfmsg(1, "GRFSound: Sound index out of range (multiple Action 11?)");
FioSkipBytes(len);
} else if (len != 4) {
grfmsg(1, "GRFSound: Invalid sprite section import");
FioSkipBytes(len);
} else {
uint32 id = FioReadDword();
if (_cur.stage == GLS_INIT) LoadGRFSound(GetGRFSpriteOffset(id), sound + i);
}
continue;
}
if (type != 0xFF) {
grfmsg(1, "GRFSound: Unexpected RealSprite found, skipping");
FioSkipBytes(7);
SkipSpriteData(type, len - 8);
continue;
}
if (invalid) {
grfmsg(1, "GRFSound: Sound index out of range (multiple Action 11?)");
FioSkipBytes(len);
}
byte action = FioReadByte();
switch (action) {
case 0xFF:
/* Allocate sound only in init stage. */
if (_cur.stage == GLS_INIT) {
if (_cur.grf_container_ver >= 2) {
grfmsg(1, "GRFSound: Inline sounds are not supported for container version >= 2");
} else {
LoadGRFSound(offs, sound + i);
}
}
FioSkipBytes(len - 1); // already read <action>
break;
case 0xFE:
if (_cur.stage == GLS_ACTIVATION) {
/* XXX 'Action 0xFE' isn't really specified. It is only mentioned for
* importing sounds, so this is probably all wrong... */
if (FioReadByte() != 0) grfmsg(1, "GRFSound: Import type mismatch");
ImportGRFSound(sound + i);
} else {
FioSkipBytes(len - 1); // already read <action>
}
break;
default:
grfmsg(1, "GRFSound: Unexpected Action %x found, skipping", action);
FioSkipBytes(len - 1); // already read <action>
break;
}
}
}
/* Action 0x11 (SKIP) */
static void SkipAct11(ByteReader *buf)
{
/* <11> <num>
*
* W num Number of sound files that follow */
_cur.skip_sprites = buf->ReadWord();
grfmsg(3, "SkipAct11: Skipping %d sprites", _cur.skip_sprites);
}
/** Action 0x12 */
static void LoadFontGlyph(ByteReader *buf)
{
/* <12> <num_def> <font_size> <num_char> <base_char>
*
* B num_def Number of definitions
* B font_size Size of font (0 = normal, 1 = small, 2 = large, 3 = mono)
* B num_char Number of consecutive glyphs
* W base_char First character index */
uint8 num_def = buf->ReadByte();
for (uint i = 0; i < num_def; i++) {
FontSize size = (FontSize)buf->ReadByte();
uint8 num_char = buf->ReadByte();
uint16 base_char = buf->ReadWord();
if (size >= FS_END) {
grfmsg(1, "LoadFontGlyph: Size %u is not supported, ignoring", size);
}
grfmsg(7, "LoadFontGlyph: Loading %u glyph(s) at 0x%04X for size %u", num_char, base_char, size);
for (uint c = 0; c < num_char; c++) {
if (size < FS_END) SetUnicodeGlyph(size, base_char + c, _cur.spriteid);
_cur.nfo_line++;
LoadNextSprite(_cur.spriteid++, _cur.file_index, _cur.nfo_line, _cur.grf_container_ver);
}
}
}
/** Action 0x12 (SKIP) */
static void SkipAct12(ByteReader *buf)
{
/* <12> <num_def> <font_size> <num_char> <base_char>
*
* B num_def Number of definitions
* B font_size Size of font (0 = normal, 1 = small, 2 = large)
* B num_char Number of consecutive glyphs
* W base_char First character index */
uint8 num_def = buf->ReadByte();
for (uint i = 0; i < num_def; i++) {
/* Ignore 'size' byte */
buf->ReadByte();
/* Sum up number of characters */
_cur.skip_sprites += buf->ReadByte();
/* Ignore 'base_char' word */
buf->ReadWord();
}
grfmsg(3, "SkipAct12: Skipping %d sprites", _cur.skip_sprites);
}
/** Action 0x13 */
static void TranslateGRFStrings(ByteReader *buf)
{
/* <13> <grfid> <num-ent> <offset> <text...>
*
* 4*B grfid The GRFID of the file whose texts are to be translated
* B num-ent Number of strings
* W offset First text ID
* S text... Zero-terminated strings */
uint32 grfid = buf->ReadDWord();
const GRFConfig *c = GetGRFConfig(grfid);
if (c == nullptr || (c->status != GCS_INITIALISED && c->status != GCS_ACTIVATED)) {
grfmsg(7, "TranslateGRFStrings: GRFID 0x%08x unknown, skipping action 13", BSWAP32(grfid));
return;
}
if (c->status == GCS_INITIALISED) {
/* If the file is not active but will be activated later, give an error
* and disable this file. */
GRFError *error = DisableGrf(STR_NEWGRF_ERROR_LOAD_AFTER);
char tmp[256];
GetString(tmp, STR_NEWGRF_ERROR_AFTER_TRANSLATED_FILE, lastof(tmp));
error->data = stredup(tmp);
return;
}
/* Since no language id is supplied for with version 7 and lower NewGRFs, this string has
* to be added as a generic string, thus the language id of 0x7F. For this to work
* new_scheme has to be true as well, which will also be implicitly the case for version 8
* and higher. A language id of 0x7F will be overridden by a non-generic id, so this will
* not change anything if a string has been provided specifically for this language. */
byte language = _cur.grffile->grf_version >= 8 ? buf->ReadByte() : 0x7F;
byte num_strings = buf->ReadByte();
uint16 first_id = buf->ReadWord();
if (!((first_id >= 0xD000 && first_id + num_strings <= 0xD400) || (first_id >= 0xD800 && first_id + num_strings <= 0xE000))) {
grfmsg(7, "TranslateGRFStrings: Attempting to set out-of-range string IDs in action 13 (first: 0x%4X, number: 0x%2X)", first_id, num_strings);
return;
}
for (uint i = 0; i < num_strings && buf->HasData(); i++) {
const char *string = buf->ReadString();
if (StrEmpty(string)) {
grfmsg(7, "TranslateGRFString: Ignoring empty string.");
continue;
}
AddGRFString(grfid, first_id + i, language, true, true, string, STR_UNDEFINED);
}
}
/** Callback function for 'INFO'->'NAME' to add a translation to the newgrf name. */
static bool ChangeGRFName(byte langid, const char *str)
{
AddGRFTextToList(&_cur.grfconfig->name->text, langid, _cur.grfconfig->ident.grfid, false, str);
return true;
}
/** Callback function for 'INFO'->'DESC' to add a translation to the newgrf description. */
static bool ChangeGRFDescription(byte langid, const char *str)
{
AddGRFTextToList(&_cur.grfconfig->info->text, langid, _cur.grfconfig->ident.grfid, true, str);
return true;
}
/** Callback function for 'INFO'->'URL_' to set the newgrf url. */
static bool ChangeGRFURL(byte langid, const char *str)
{
AddGRFTextToList(&_cur.grfconfig->url->text, langid, _cur.grfconfig->ident.grfid, false, str);
return true;
}
/** Callback function for 'INFO'->'NPAR' to set the number of valid parameters. */
static bool ChangeGRFNumUsedParams(size_t len, ByteReader *buf)
{
if (len != 1) {
grfmsg(2, "StaticGRFInfo: expected only 1 byte for 'INFO'->'NPAR' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
_cur.grfconfig->num_valid_params = min(buf->ReadByte(), lengthof(_cur.grfconfig->param));
}
return true;
}
/** Callback function for 'INFO'->'PALS' to set the number of valid parameters. */
static bool ChangeGRFPalette(size_t len, ByteReader *buf)
{
if (len != 1) {
grfmsg(2, "StaticGRFInfo: expected only 1 byte for 'INFO'->'PALS' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
char data = buf->ReadByte();
GRFPalette pal = GRFP_GRF_UNSET;
switch (data) {
case '*':
case 'A': pal = GRFP_GRF_ANY; break;
case 'W': pal = GRFP_GRF_WINDOWS; break;
case 'D': pal = GRFP_GRF_DOS; break;
default:
grfmsg(2, "StaticGRFInfo: unexpected value '%02x' for 'INFO'->'PALS', ignoring this field", data);
break;
}
if (pal != GRFP_GRF_UNSET) {
_cur.grfconfig->palette &= ~GRFP_GRF_MASK;
_cur.grfconfig->palette |= pal;
}
}
return true;
}
/** Callback function for 'INFO'->'BLTR' to set the blitter info. */
static bool ChangeGRFBlitter(size_t len, ByteReader *buf)
{
if (len != 1) {
grfmsg(2, "StaticGRFInfo: expected only 1 byte for 'INFO'->'BLTR' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
char data = buf->ReadByte();
GRFPalette pal = GRFP_BLT_UNSET;
switch (data) {
case '8': pal = GRFP_BLT_UNSET; break;
case '3': pal = GRFP_BLT_32BPP; break;
default:
grfmsg(2, "StaticGRFInfo: unexpected value '%02x' for 'INFO'->'BLTR', ignoring this field", data);
return true;
}
_cur.grfconfig->palette &= ~GRFP_BLT_MASK;
_cur.grfconfig->palette |= pal;
}
return true;
}
/** Callback function for 'INFO'->'VRSN' to the version of the NewGRF. */
static bool ChangeGRFVersion(size_t len, ByteReader *buf)
{
if (len != 4) {
grfmsg(2, "StaticGRFInfo: expected 4 bytes for 'INFO'->'VRSN' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
/* Set min_loadable_version as well (default to minimal compatibility) */
_cur.grfconfig->version = _cur.grfconfig->min_loadable_version = buf->ReadDWord();
}
return true;
}
/** Callback function for 'INFO'->'MINV' to the minimum compatible version of the NewGRF. */
static bool ChangeGRFMinVersion(size_t len, ByteReader *buf)
{
if (len != 4) {
grfmsg(2, "StaticGRFInfo: expected 4 bytes for 'INFO'->'MINV' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
_cur.grfconfig->min_loadable_version = buf->ReadDWord();
if (_cur.grfconfig->version == 0) {
grfmsg(2, "StaticGRFInfo: 'MINV' defined before 'VRSN' or 'VRSN' set to 0, ignoring this field");
_cur.grfconfig->min_loadable_version = 0;
}
if (_cur.grfconfig->version < _cur.grfconfig->min_loadable_version) {
grfmsg(2, "StaticGRFInfo: 'MINV' defined as %d, limiting it to 'VRSN'", _cur.grfconfig->min_loadable_version);
_cur.grfconfig->min_loadable_version = _cur.grfconfig->version;
}
}
return true;
}
static GRFParameterInfo *_cur_parameter; ///< The parameter which info is currently changed by the newgrf.
/** Callback function for 'INFO'->'PARAM'->param_num->'NAME' to set the name of a parameter. */
static bool ChangeGRFParamName(byte langid, const char *str)
{
AddGRFTextToList(&_cur_parameter->name, langid, _cur.grfconfig->ident.grfid, false, str);
return true;
}
/** Callback function for 'INFO'->'PARAM'->param_num->'DESC' to set the description of a parameter. */
static bool ChangeGRFParamDescription(byte langid, const char *str)
{
AddGRFTextToList(&_cur_parameter->desc, langid, _cur.grfconfig->ident.grfid, true, str);
return true;
}
/** Callback function for 'INFO'->'PARAM'->param_num->'TYPE' to set the typeof a parameter. */
static bool ChangeGRFParamType(size_t len, ByteReader *buf)
{
if (len != 1) {
grfmsg(2, "StaticGRFInfo: expected 1 byte for 'INFO'->'PARA'->'TYPE' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
GRFParameterType type = (GRFParameterType)buf->ReadByte();
if (type < PTYPE_END) {
_cur_parameter->type = type;
} else {
grfmsg(3, "StaticGRFInfo: unknown parameter type %d, ignoring this field", type);
}
}
return true;
}
/** Callback function for 'INFO'->'PARAM'->param_num->'LIMI' to set the min/max value of a parameter. */
static bool ChangeGRFParamLimits(size_t len, ByteReader *buf)
{
if (_cur_parameter->type != PTYPE_UINT_ENUM) {
grfmsg(2, "StaticGRFInfo: 'INFO'->'PARA'->'LIMI' is only valid for parameters with type uint/enum, ignoring this field");
buf->Skip(len);
} else if (len != 8) {
grfmsg(2, "StaticGRFInfo: expected 8 bytes for 'INFO'->'PARA'->'LIMI' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
_cur_parameter->min_value = buf->ReadDWord();
_cur_parameter->max_value = buf->ReadDWord();
}
return true;
}
/** Callback function for 'INFO'->'PARAM'->param_num->'MASK' to set the parameter and bits to use. */
static bool ChangeGRFParamMask(size_t len, ByteReader *buf)
{
if (len < 1 || len > 3) {
grfmsg(2, "StaticGRFInfo: expected 1 to 3 bytes for 'INFO'->'PARA'->'MASK' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
byte param_nr = buf->ReadByte();
if (param_nr >= lengthof(_cur.grfconfig->param)) {
grfmsg(2, "StaticGRFInfo: invalid parameter number in 'INFO'->'PARA'->'MASK', param %d, ignoring this field", param_nr);
buf->Skip(len - 1);
} else {
_cur_parameter->param_nr = param_nr;
if (len >= 2) _cur_parameter->first_bit = min(buf->ReadByte(), 31);
if (len >= 3) _cur_parameter->num_bit = min(buf->ReadByte(), 32 - _cur_parameter->first_bit);
}
}
return true;
}
/** Callback function for 'INFO'->'PARAM'->param_num->'DFLT' to set the default value. */
static bool ChangeGRFParamDefault(size_t len, ByteReader *buf)
{
if (len != 4) {
grfmsg(2, "StaticGRFInfo: expected 4 bytes for 'INFO'->'PARA'->'DEFA' but got " PRINTF_SIZE ", ignoring this field", len);
buf->Skip(len);
} else {
_cur_parameter->def_value = buf->ReadDWord();
}
_cur.grfconfig->has_param_defaults = true;
return true;
}
typedef bool (*DataHandler)(size_t, ByteReader *); ///< Type of callback function for binary nodes
typedef bool (*TextHandler)(byte, const char *str); ///< Type of callback function for text nodes
typedef bool (*BranchHandler)(ByteReader *); ///< Type of callback function for branch nodes
/**
* Data structure to store the allowed id/type combinations for action 14. The
* data can be represented as a tree with 3 types of nodes:
* 1. Branch nodes (identified by 'C' for choice).
* 2. Binary leaf nodes (identified by 'B').
* 3. Text leaf nodes (identified by 'T').
*/
struct AllowedSubtags {
/** Create empty subtags object used to identify the end of a list. */
AllowedSubtags() :
id(0),
type(0)
{}
/**
* Create a binary leaf node.
* @param id The id for this node.
* @param handler The callback function to call.
*/
AllowedSubtags(uint32 id, DataHandler handler) :
id(id),
type('B')
{
this->handler.data = handler;
}
/**
* Create a text leaf node.
* @param id The id for this node.
* @param handler The callback function to call.
*/
AllowedSubtags(uint32 id, TextHandler handler) :
id(id),
type('T')
{
this->handler.text = handler;
}
/**
* Create a branch node with a callback handler
* @param id The id for this node.
* @param handler The callback function to call.
*/
AllowedSubtags(uint32 id, BranchHandler handler) :
id(id),
type('C')
{
this->handler.call_handler = true;
this->handler.u.branch = handler;
}
/**
* Create a branch node with a list of sub-nodes.
* @param id The id for this node.
* @param subtags Array with all valid subtags.
*/
AllowedSubtags(uint32 id, AllowedSubtags *subtags) :
id(id),
type('C')
{
this->handler.call_handler = false;
this->handler.u.subtags = subtags;
}
uint32 id; ///< The identifier for this node
byte type; ///< The type of the node, must be one of 'C', 'B' or 'T'.
union {
DataHandler data; ///< Callback function for a binary node, only valid if type == 'B'.
TextHandler text; ///< Callback function for a text node, only valid if type == 'T'.
struct {
union {
BranchHandler branch; ///< Callback function for a branch node, only valid if type == 'C' && call_handler.
AllowedSubtags *subtags; ///< Pointer to a list of subtags, only valid if type == 'C' && !call_handler.
} u;
bool call_handler; ///< True if there is a callback function for this node, false if there is a list of subnodes.
};
} handler;
};
static bool SkipUnknownInfo(ByteReader *buf, byte type);
static bool HandleNodes(ByteReader *buf, AllowedSubtags *tags);
/**
* Callback function for 'INFO'->'PARA'->param_num->'VALU' to set the names
* of some parameter values (type uint/enum) or the names of some bits
* (type bitmask). In both cases the format is the same:
* Each subnode should be a text node with the value/bit number as id.
*/
static bool ChangeGRFParamValueNames(ByteReader *buf)
{
byte type = buf->ReadByte();
while (type != 0) {
uint32 id = buf->ReadDWord();
if (type != 'T' || id > _cur_parameter->max_value) {
grfmsg(2, "StaticGRFInfo: all child nodes of 'INFO'->'PARA'->param_num->'VALU' should have type 't' and the value/bit number as id");
if (!SkipUnknownInfo(buf, type)) return false;
type = buf->ReadByte();
continue;
}
byte langid = buf->ReadByte();
const char *name_string = buf->ReadString();
SmallPair<uint32, GRFText *> *val_name = _cur_parameter->value_names.Find(id);
if (val_name != _cur_parameter->value_names.End()) {
AddGRFTextToList(&val_name->second, langid, _cur.grfconfig->ident.grfid, false, name_string);
} else {
GRFText *list = nullptr;
AddGRFTextToList(&list, langid, _cur.grfconfig->ident.grfid, false, name_string);
_cur_parameter->value_names.Insert(id, list);
}
type = buf->ReadByte();
}
return true;
}
/** Action14 parameter tags */
AllowedSubtags _tags_parameters[] = {
AllowedSubtags('NAME', ChangeGRFParamName),
AllowedSubtags('DESC', ChangeGRFParamDescription),
AllowedSubtags('TYPE', ChangeGRFParamType),
AllowedSubtags('LIMI', ChangeGRFParamLimits),
AllowedSubtags('MASK', ChangeGRFParamMask),
AllowedSubtags('VALU', ChangeGRFParamValueNames),
AllowedSubtags('DFLT', ChangeGRFParamDefault),
AllowedSubtags()
};
/**
* Callback function for 'INFO'->'PARA' to set extra information about the
* parameters. Each subnode of 'INFO'->'PARA' should be a branch node with
* the parameter number as id. The first parameter has id 0. The maximum
* parameter that can be changed is set by 'INFO'->'NPAR' which defaults to 80.
*/
static bool HandleParameterInfo(ByteReader *buf)
{
byte type = buf->ReadByte();
while (type != 0) {
uint32 id = buf->ReadDWord();
if (type != 'C' || id >= _cur.grfconfig->num_valid_params) {
grfmsg(2, "StaticGRFInfo: all child nodes of 'INFO'->'PARA' should have type 'C' and their parameter number as id");
if (!SkipUnknownInfo(buf, type)) return false;
type = buf->ReadByte();
continue;
}
if (id >= _cur.grfconfig->param_info.size()) {
_cur.grfconfig->param_info.resize(id + 1);
}
if (_cur.grfconfig->param_info[id] == nullptr) {
_cur.grfconfig->param_info[id] = new GRFParameterInfo(id);
}
_cur_parameter = _cur.grfconfig->param_info[id];
/* Read all parameter-data and process each node. */
if (!HandleNodes(buf, _tags_parameters)) return false;
type = buf->ReadByte();
}
return true;
}
/** Action14 tags for the INFO node */
AllowedSubtags _tags_info[] = {
AllowedSubtags('NAME', ChangeGRFName),
AllowedSubtags('DESC', ChangeGRFDescription),
AllowedSubtags('URL_', ChangeGRFURL),
AllowedSubtags('NPAR', ChangeGRFNumUsedParams),
AllowedSubtags('PALS', ChangeGRFPalette),
AllowedSubtags('BLTR', ChangeGRFBlitter),
AllowedSubtags('VRSN', ChangeGRFVersion),
AllowedSubtags('MINV', ChangeGRFMinVersion),
AllowedSubtags('PARA', HandleParameterInfo),
AllowedSubtags()
};
/** Action14 root tags */
AllowedSubtags _tags_root[] = {
AllowedSubtags('INFO', _tags_info),
AllowedSubtags()
};
/**
* Try to skip the current node and all subnodes (if it's a branch node).
* @param buf Buffer.
* @param type The node type to skip.
* @return True if we could skip the node, false if an error occurred.
*/
static bool SkipUnknownInfo(ByteReader *buf, byte type)
{
/* type and id are already read */
switch (type) {
case 'C': {
byte new_type = buf->ReadByte();
while (new_type != 0) {
buf->ReadDWord(); // skip the id
if (!SkipUnknownInfo(buf, new_type)) return false;
new_type = buf->ReadByte();
}
break;
}
case 'T':
buf->ReadByte(); // lang
buf->ReadString(); // actual text
break;
case 'B': {
uint16 size = buf->ReadWord();
buf->Skip(size);
break;
}
default:
return false;
}
return true;
}
/**
* Handle the nodes of an Action14
* @param type Type of node.
* @param id ID.
* @param buf Buffer.
* @param subtags Allowed subtags.
* @return Whether all tags could be handled.
*/
static bool HandleNode(byte type, uint32 id, ByteReader *buf, AllowedSubtags subtags[])
{
uint i = 0;
AllowedSubtags *tag;
while ((tag = &subtags[i++])->type != 0) {
if (tag->id != BSWAP32(id) || tag->type != type) continue;
switch (type) {
default: NOT_REACHED();
case 'T': {
byte langid = buf->ReadByte();
return tag->handler.text(langid, buf->ReadString());
}
case 'B': {
size_t len = buf->ReadWord();
if (buf->Remaining() < len) return false;
return tag->handler.data(len, buf);
}
case 'C': {
if (tag->handler.call_handler) {
return tag->handler.u.branch(buf);
}
return HandleNodes(buf, tag->handler.u.subtags);
}
}
}
grfmsg(2, "StaticGRFInfo: unknown type/id combination found, type=%c, id=%x", type, id);
return SkipUnknownInfo(buf, type);
}
/**
* Handle the contents of a 'C' choice of an Action14
* @param buf Buffer.
* @param subtags List of subtags.
* @return Whether the nodes could all be handled.
*/
static bool HandleNodes(ByteReader *buf, AllowedSubtags subtags[])
{
byte type = buf->ReadByte();
while (type != 0) {
uint32 id = buf->ReadDWord();
if (!HandleNode(type, id, buf, subtags)) return false;
type = buf->ReadByte();
}
return true;
}
/**
* Handle Action 0x14
* @param buf Buffer.
*/
static void StaticGRFInfo(ByteReader *buf)
{
/* <14> <type> <id> <text/data...> */
HandleNodes(buf, _tags_root);
}
/**
* Set the current NewGRF as unsafe for static use
* @param buf Unused.
* @note Used during safety scan on unsafe actions.
*/
static void GRFUnsafe(ByteReader *buf)
{
SetBit(_cur.grfconfig->flags, GCF_UNSAFE);
/* Skip remainder of GRF */
_cur.skip_sprites = -1;
}
/** Initialize the TTDPatch flags */
static void InitializeGRFSpecial()
{
_ttdpatch_flags[0] = ((_settings_game.station.never_expire_airports ? 1 : 0) << 0x0C) // keepsmallairport
| (1 << 0x0D) // newairports
| (1 << 0x0E) // largestations
| ((_settings_game.construction.max_bridge_length > 16 ? 1 : 0) << 0x0F) // longbridges
| (0 << 0x10) // loadtime
| (1 << 0x12) // presignals
| (1 << 0x13) // extpresignals
| ((_settings_game.vehicle.never_expire_vehicles ? 1 : 0) << 0x16) // enginespersist
| (1 << 0x1B) // multihead
| (1 << 0x1D) // lowmemory
| (1 << 0x1E); // generalfixes
_ttdpatch_flags[1] = ((_settings_game.economy.station_noise_level ? 1 : 0) << 0x07) // moreairports - based on units of noise
| (1 << 0x08) // mammothtrains
| (1 << 0x09) // trainrefit
| (0 << 0x0B) // subsidiaries
| ((_settings_game.order.gradual_loading ? 1 : 0) << 0x0C) // gradualloading
| (1 << 0x12) // unifiedmaglevmode - set bit 0 mode. Not revelant to OTTD
| (1 << 0x13) // unifiedmaglevmode - set bit 1 mode
| (1 << 0x14) // bridgespeedlimits
| (1 << 0x16) // eternalgame
| (1 << 0x17) // newtrains
| (1 << 0x18) // newrvs
| (1 << 0x19) // newships
| (1 << 0x1A) // newplanes
| ((_settings_game.construction.train_signal_side == 1 ? 1 : 0) << 0x1B) // signalsontrafficside
| ((_settings_game.vehicle.disable_elrails ? 0 : 1) << 0x1C); // electrifiedrailway
_ttdpatch_flags[2] = (1 << 0x01) // loadallgraphics - obsolote
| (1 << 0x03) // semaphores
| (1 << 0x0A) // newobjects
| (0 << 0x0B) // enhancedgui
| (0 << 0x0C) // newagerating
| ((_settings_game.construction.build_on_slopes ? 1 : 0) << 0x0D) // buildonslopes
| (1 << 0x0E) // fullloadany
| (1 << 0x0F) // planespeed
| (0 << 0x10) // moreindustriesperclimate - obsolete
| (0 << 0x11) // moretoylandfeatures
| (1 << 0x12) // newstations
| (1 << 0x13) // tracktypecostdiff
| (1 << 0x14) // manualconvert
| ((_settings_game.construction.build_on_slopes ? 1 : 0) << 0x15) // buildoncoasts
| (1 << 0x16) // canals
| (1 << 0x17) // newstartyear
| ((_settings_game.vehicle.freight_trains > 1 ? 1 : 0) << 0x18) // freighttrains
| (1 << 0x19) // newhouses
| (1 << 0x1A) // newbridges
| (1 << 0x1B) // newtownnames
| (1 << 0x1C) // moreanimation
| ((_settings_game.vehicle.wagon_speed_limits ? 1 : 0) << 0x1D) // wagonspeedlimits
| (1 << 0x1E) // newshistory
| (0 << 0x1F); // custombridgeheads
_ttdpatch_flags[3] = (0 << 0x00) // newcargodistribution
| (1 << 0x01) // windowsnap
| ((_settings_game.economy.allow_town_roads || _generating_world ? 0 : 1) << 0x02) // townbuildnoroad
| (1 << 0x03) // pathbasedsignalling
| (0 << 0x04) // aichoosechance
| (1 << 0x05) // resolutionwidth
| (1 << 0x06) // resolutionheight
| (1 << 0x07) // newindustries
| ((_settings_game.order.improved_load ? 1 : 0) << 0x08) // fifoloading
| (0 << 0x09) // townroadbranchprob
| (0 << 0x0A) // tempsnowline
| (1 << 0x0B) // newcargo
| (1 << 0x0C) // enhancemultiplayer
| (1 << 0x0D) // onewayroads
| (1 << 0x0E) // irregularstations
| (1 << 0x0F) // statistics
| (1 << 0x10) // newsounds
| (1 << 0x11) // autoreplace
| (1 << 0x12) // autoslope
| (0 << 0x13) // followvehicle
| (1 << 0x14) // trams
| (0 << 0x15) // enhancetunnels
| (1 << 0x16) // shortrvs
| (1 << 0x17) // articulatedrvs
| ((_settings_game.vehicle.dynamic_engines ? 1 : 0) << 0x18) // dynamic engines
| (1 << 0x1E) // variablerunningcosts
| (1 << 0x1F); // any switch is on
_ttdpatch_flags[4] = (1 << 0x00); // larger persistent storage
}
/** Reset and clear all NewGRF stations */
static void ResetCustomStations()
{
for (GRFFile * const file : _grf_files) {
StationSpec **&stations = file->stations;
if (stations == nullptr) continue;
for (uint i = 0; i < NUM_STATIONS_PER_GRF; i++) {
if (stations[i] == nullptr) continue;
StationSpec *statspec = stations[i];
delete[] statspec->renderdata;
/* Release platforms and layouts */
if (!statspec->copied_layouts) {
for (uint l = 0; l < statspec->lengths; l++) {
for (uint p = 0; p < statspec->platforms[l]; p++) {
free(statspec->layouts[l][p]);
}
free(statspec->layouts[l]);
}
free(statspec->layouts);
free(statspec->platforms);
}
/* Release this station */
free(statspec);
}
/* Free and reset the station data */
free(stations);
stations = nullptr;
}
}
/** Reset and clear all NewGRF houses */
static void ResetCustomHouses()
{
for (GRFFile * const file : _grf_files) {
HouseSpec **&housespec = file->housespec;
if (housespec == nullptr) continue;
for (uint i = 0; i < NUM_HOUSES_PER_GRF; i++) {
free(housespec[i]);
}
free(housespec);
housespec = nullptr;
}
}
/** Reset and clear all NewGRF airports */
static void ResetCustomAirports()
{
for (GRFFile * const file : _grf_files) {
AirportSpec **aslist = file->airportspec;
if (aslist != nullptr) {
for (uint i = 0; i < NUM_AIRPORTS_PER_GRF; i++) {
AirportSpec *as = aslist[i];
if (as != nullptr) {
/* We need to remove the tiles layouts */
for (int j = 0; j < as->num_table; j++) {
/* remove the individual layouts */
free(as->table[j]);
}
free(as->table);
free(as->depot_table);
free(as->rotation);
free(as);
}
}
free(aslist);
file->airportspec = nullptr;
}
AirportTileSpec **&airporttilespec = file->airtspec;
if (airporttilespec != nullptr) {
for (uint i = 0; i < NUM_AIRPORTTILES_PER_GRF; i++) {
free(airporttilespec[i]);
}
free(airporttilespec);
airporttilespec = nullptr;
}
}
}
/** Reset and clear all NewGRF industries */
static void ResetCustomIndustries()
{
for (GRFFile * const file : _grf_files) {
IndustrySpec **&industryspec = file->industryspec;
IndustryTileSpec **&indtspec = file->indtspec;
/* We are verifiying both tiles and industries specs loaded from the grf file
* First, let's deal with industryspec */
if (industryspec != nullptr) {
for (uint i = 0; i < NUM_INDUSTRYTYPES_PER_GRF; i++) {
IndustrySpec *ind = industryspec[i];
delete ind;
}
free(industryspec);
industryspec = nullptr;
}
if (indtspec == nullptr) continue;
for (uint i = 0; i < NUM_INDUSTRYTILES_PER_GRF; i++) {
free(indtspec[i]);
}
free(indtspec);
indtspec = nullptr;
}
}
/** Reset and clear all NewObjects */
static void ResetCustomObjects()
{
for (GRFFile * const file : _grf_files) {
ObjectSpec **&objectspec = file->objectspec;
if (objectspec == nullptr) continue;
for (uint i = 0; i < NUM_OBJECTS_PER_GRF; i++) {
free(objectspec[i]);
}
free(objectspec);
objectspec = nullptr;
}
}
/** Reset and clear all NewGRFs */
static void ResetNewGRF()
{
for (GRFFile * const file : _grf_files) {
delete file;
}
_grf_files.clear();
_cur.grffile = nullptr;
}
/** Clear all NewGRF errors */
static void ResetNewGRFErrors()
{
for (GRFConfig *c = _grfconfig; c != nullptr; c = c->next) {
if (!HasBit(c->flags, GCF_COPY) && c->error != nullptr) {
delete c->error;
c->error = nullptr;
}
}
}
/**
* Reset all NewGRF loaded data
*/
void ResetNewGRFData()
{
CleanUpStrings();
CleanUpGRFTownNames();
/* Copy/reset original engine info data */
SetupEngines();
/* Copy/reset original bridge info data */
ResetBridges();
/* Reset rail type information */
ResetRailTypes();
/* Copy/reset original road type info data */
ResetRoadTypes();
/* Allocate temporary refit/cargo class data */
_gted = CallocT<GRFTempEngineData>(Engine::GetPoolSize());
/* Fill rail type label temporary data for default trains */
Engine *e;
FOR_ALL_ENGINES_OF_TYPE(e, VEH_TRAIN) {
_gted[e->index].railtypelabel = GetRailTypeInfo(e->u.rail.railtype)->label;
}
/* Reset GRM reservations */
memset(&_grm_engines, 0, sizeof(_grm_engines));
memset(&_grm_cargoes, 0, sizeof(_grm_cargoes));
/* Reset generic feature callback lists */
ResetGenericCallbacks();
/* Reset price base data */
ResetPriceBaseMultipliers();
/* Reset the curencies array */
ResetCurrencies();
/* Reset the house array */
ResetCustomHouses();
ResetHouses();
/* Reset the industries structures*/
ResetCustomIndustries();
ResetIndustries();
/* Reset the objects. */
ObjectClass::Reset();
ResetCustomObjects();
ResetObjects();
/* Reset station classes */
StationClass::Reset();
ResetCustomStations();
/* Reset airport-related structures */
AirportClass::Reset();
ResetCustomAirports();
AirportSpec::ResetAirports();
AirportTileSpec::ResetAirportTiles();
/* Reset canal sprite groups and flags */
memset(_water_feature, 0, sizeof(_water_feature));
/* Reset the snowline table. */
ClearSnowLine();
/* Reset NewGRF files */
ResetNewGRF();
/* Reset NewGRF errors. */
ResetNewGRFErrors();
/* Set up the default cargo types */
SetupCargoForClimate(_settings_game.game_creation.landscape);
/* Reset misc GRF features and train list display variables */
_misc_grf_features = 0;
_loaded_newgrf_features.has_2CC = false;
_loaded_newgrf_features.used_liveries = 1 << LS_DEFAULT;
_loaded_newgrf_features.has_newhouses = false;
_loaded_newgrf_features.has_newindustries = false;
_loaded_newgrf_features.shore = SHORE_REPLACE_NONE;
_loaded_newgrf_features.tram = TRAMWAY_REPLACE_DEPOT_NONE;
/* Clear all GRF overrides */
_grf_id_overrides.clear();
InitializeSoundPool();
_spritegroup_pool.CleanPool();
}
/**
* Reset NewGRF data which is stored persistently in savegames.
*/
void ResetPersistentNewGRFData()
{
/* Reset override managers */
_engine_mngr.ResetToDefaultMapping();
_house_mngr.ResetMapping();
_industry_mngr.ResetMapping();
_industile_mngr.ResetMapping();
_airport_mngr.ResetMapping();
_airporttile_mngr.ResetMapping();
}
/**
* Construct the Cargo Mapping
* @note This is the reverse of a cargo translation table
*/
static void BuildCargoTranslationMap()
{
memset(_cur.grffile->cargo_map, 0xFF, sizeof(_cur.grffile->cargo_map));
for (CargoID c = 0; c < NUM_CARGO; c++) {
const CargoSpec *cs = CargoSpec::Get(c);
if (!cs->IsValid()) continue;
if (_cur.grffile->cargo_list.size() == 0) {
/* Default translation table, so just a straight mapping to bitnum */
_cur.grffile->cargo_map[c] = cs->bitnum;
} else {
/* Check the translation table for this cargo's label */
int idx = find_index(_cur.grffile->cargo_list, {cs->label});
if (idx >= 0) _cur.grffile->cargo_map[c] = idx;
}
}
}
/**
* Prepare loading a NewGRF file with its config
* @param config The NewGRF configuration struct with name, id, parameters and alike.
*/
static void InitNewGRFFile(const GRFConfig *config)
{
GRFFile *newfile = GetFileByFilename(config->filename);
if (newfile != nullptr) {
/* We already loaded it once. */
_cur.grffile = newfile;
return;
}
newfile = new GRFFile(config);
_grf_files.push_back(_cur.grffile = newfile);
}
/**
* Constructor for GRFFile
* @param config GRFConfig to copy name, grfid and parameters from.
*/
GRFFile::GRFFile(const GRFConfig *config)
{
this->filename = stredup(config->filename);
this->grfid = config->ident.grfid;
/* Initialise local settings to defaults */
this->traininfo_vehicle_pitch = 0;
this->traininfo_vehicle_width = TRAININFO_DEFAULT_VEHICLE_WIDTH;
/* Mark price_base_multipliers as 'not set' */
for (Price i = PR_BEGIN; i < PR_END; i++) {
this->price_base_multipliers[i] = INVALID_PRICE_MODIFIER;
}
/* Initialise rail type map with default rail types */
memset(this->railtype_map, INVALID_RAILTYPE, sizeof(this->railtype_map));
this->railtype_map[0] = RAILTYPE_RAIL;
this->railtype_map[1] = RAILTYPE_ELECTRIC;
this->railtype_map[2] = RAILTYPE_MONO;
this->railtype_map[3] = RAILTYPE_MAGLEV;
/* Initialise road type map with default road types */
memset(this->roadtype_map, INVALID_ROADTYPE, sizeof(this->roadtype_map));
this->roadtype_map[0] = ROADTYPE_ROAD;
/* Initialise tram type map with default tram types */
memset(this->tramtype_map, INVALID_ROADTYPE, sizeof(this->tramtype_map));
this->tramtype_map[0] = ROADTYPE_TRAM;
/* Copy the initial parameter list
* 'Uninitialised' parameters are zeroed as that is their default value when dynamically creating them. */
assert_compile(lengthof(this->param) == lengthof(config->param) && lengthof(this->param) == 0x80);
assert(config->num_params <= lengthof(config->param));
this->param_end = config->num_params;
if (this->param_end > 0) {
MemCpyT(this->param, config->param, this->param_end);
}
}
GRFFile::~GRFFile()
{
free(this->filename);
delete[] this->language_map;
}
/**
* List of what cargo labels are refittable for the given the vehicle-type.
* Only currently active labels are applied.
*/
static const CargoLabel _default_refitmasks_rail[] = {
'PASS', 'COAL', 'MAIL', 'LVST', 'GOOD', 'GRAI', 'WHEA', 'MAIZ', 'WOOD',
'IORE', 'STEL', 'VALU', 'GOLD', 'DIAM', 'PAPR', 'FOOD', 'FRUT', 'CORE',
'WATR', 'SUGR', 'TOYS', 'BATT', 'SWET', 'TOFF', 'COLA', 'CTCD', 'BUBL',
'PLST', 'FZDR',
0 };
static const CargoLabel _default_refitmasks_road[] = {
0 };
static const CargoLabel _default_refitmasks_ships[] = {
'COAL', 'MAIL', 'LVST', 'GOOD', 'GRAI', 'WHEA', 'MAIZ', 'WOOD', 'IORE',
'STEL', 'VALU', 'GOLD', 'DIAM', 'PAPR', 'FOOD', 'FRUT', 'CORE', 'WATR',
'RUBR', 'SUGR', 'TOYS', 'BATT', 'SWET', 'TOFF', 'COLA', 'CTCD', 'BUBL',
'PLST', 'FZDR',
0 };
static const CargoLabel _default_refitmasks_aircraft[] = {
'PASS', 'MAIL', 'GOOD', 'VALU', 'GOLD', 'DIAM', 'FOOD', 'FRUT', 'SUGR',
'TOYS', 'BATT', 'SWET', 'TOFF', 'COLA', 'CTCD', 'BUBL', 'PLST', 'FZDR',
0 };
static const CargoLabel * const _default_refitmasks[] = {
_default_refitmasks_rail,
_default_refitmasks_road,
_default_refitmasks_ships,
_default_refitmasks_aircraft,
};
/**
* Precalculate refit masks from cargo classes for all vehicles.
*/
static void CalculateRefitMasks()
{
Engine *e;
FOR_ALL_ENGINES(e) {
EngineID engine = e->index;
EngineInfo *ei = &e->info;
bool only_defaultcargo; ///< Set if the vehicle shall carry only the default cargo
/* Did the newgrf specify any refitting? If not, use defaults. */
if (_gted[engine].refittability != GRFTempEngineData::UNSET) {
CargoTypes mask = 0;
CargoTypes not_mask = 0;
CargoTypes xor_mask = ei->refit_mask;
/* If the original masks set by the grf are zero, the vehicle shall only carry the default cargo.
* Note: After applying the translations, the vehicle may end up carrying no defined cargo. It becomes unavailable in that case. */
only_defaultcargo = _gted[engine].refittability == GRFTempEngineData::EMPTY;
if (_gted[engine].cargo_allowed != 0) {
/* Build up the list of cargo types from the set cargo classes. */
const CargoSpec *cs;
FOR_ALL_CARGOSPECS(cs) {
if (_gted[engine].cargo_allowed & cs->classes) SetBit(mask, cs->Index());
if (_gted[engine].cargo_disallowed & cs->classes) SetBit(not_mask, cs->Index());
}
}
ei->refit_mask = ((mask & ~not_mask) ^ xor_mask) & _cargo_mask;
/* Apply explicit refit includes/excludes. */
ei->refit_mask |= _gted[engine].ctt_include_mask;
ei->refit_mask &= ~_gted[engine].ctt_exclude_mask;
} else {
CargoTypes xor_mask = 0;
/* Don't apply default refit mask to wagons nor engines with no capacity */
if (e->type != VEH_TRAIN || (e->u.rail.capacity != 0 && e->u.rail.railveh_type != RAILVEH_WAGON)) {
const CargoLabel *cl = _default_refitmasks[e->type];
for (uint i = 0;; i++) {
if (cl[i] == 0) break;
CargoID cargo = GetCargoIDByLabel(cl[i]);
if (cargo == CT_INVALID) continue;
SetBit(xor_mask, cargo);
}
}
ei->refit_mask = xor_mask & _cargo_mask;
/* If the mask is zero, the vehicle shall only carry the default cargo */
only_defaultcargo = (ei->refit_mask == 0);
}
/* Clear invalid cargoslots (from default vehicles or pre-NewCargo GRFs) */
if (!HasBit(_cargo_mask, ei->cargo_type)) ei->cargo_type = CT_INVALID;
/* Ensure that the vehicle is either not refittable, or that the default cargo is one of the refittable cargoes.
* Note: Vehicles refittable to no cargo are handle differently to vehicle refittable to a single cargo. The latter might have subtypes. */
if (!only_defaultcargo && (e->type != VEH_SHIP || e->u.ship.old_refittable) && ei->cargo_type != CT_INVALID && !HasBit(ei->refit_mask, ei->cargo_type)) {
ei->cargo_type = CT_INVALID;
}
/* Check if this engine's cargo type is valid. If not, set to the first refittable
* cargo type. Finally disable the vehicle, if there is still no cargo. */
if (ei->cargo_type == CT_INVALID && ei->refit_mask != 0) {
/* Figure out which CTT to use for the default cargo, if it is 'first refittable'. */
const uint8 *cargo_map_for_first_refittable = nullptr;
{
const GRFFile *file = _gted[engine].defaultcargo_grf;
if (file == nullptr) file = e->GetGRF();
if (file != nullptr && file->grf_version >= 8 && file->cargo_list.size() != 0) {
cargo_map_for_first_refittable = file->cargo_map;
}
}
if (cargo_map_for_first_refittable != nullptr) {
/* Use first refittable cargo from cargo translation table */
byte best_local_slot = 0xFF;
CargoID cargo_type;
FOR_EACH_SET_CARGO_ID(cargo_type, ei->refit_mask) {
byte local_slot = cargo_map_for_first_refittable[cargo_type];
if (local_slot < best_local_slot) {
best_local_slot = local_slot;
ei->cargo_type = cargo_type;
}
}
}
if (ei->cargo_type == CT_INVALID) {
/* Use first refittable cargo slot */
ei->cargo_type = (CargoID)FindFirstBit(ei->refit_mask);
}
}
if (ei->cargo_type == CT_INVALID) ei->climates = 0;
/* Clear refit_mask for not refittable ships */
if (e->type == VEH_SHIP && !e->u.ship.old_refittable) {
ei->refit_mask = 0;
}
}
}
/** Set to use the correct action0 properties for each canal feature */
static void FinaliseCanals()
{
for (uint i = 0; i < CF_END; i++) {
if (_water_feature[i].grffile != nullptr) {
_water_feature[i].callback_mask = _water_feature[i].grffile->canal_local_properties[i].callback_mask;
_water_feature[i].flags = _water_feature[i].grffile->canal_local_properties[i].flags;
}
}
}
/** Check for invalid engines */
static void FinaliseEngineArray()
{
Engine *e;
FOR_ALL_ENGINES(e) {
if (e->GetGRF() == nullptr) {
const EngineIDMapping &eid = _engine_mngr[e->index];
if (eid.grfid != INVALID_GRFID || eid.internal_id != eid.substitute_id) {
e->info.string_id = STR_NEWGRF_INVALID_ENGINE;
}
}
if (!HasBit(e->info.climates, _settings_game.game_creation.landscape)) continue;
/* When the train does not set property 27 (misc flags), but it
* is overridden by a NewGRF graphically we want to disable the
* flipping possibility. */
if (e->type == VEH_TRAIN && !_gted[e->index].prop27_set && e->GetGRF() != nullptr && is_custom_sprite(e->u.rail.image_index)) {
ClrBit(e->info.misc_flags, EF_RAIL_FLIPS);
}
/* Skip wagons, there livery is defined via the engine */
if (e->type != VEH_TRAIN || e->u.rail.railveh_type != RAILVEH_WAGON) {
LiveryScheme ls = GetEngineLiveryScheme(e->index, INVALID_ENGINE, nullptr);
SetBit(_loaded_newgrf_features.used_liveries, ls);
/* Note: For ships and roadvehicles we assume that they cannot be refitted between passenger and freight */
if (e->type == VEH_TRAIN) {
SetBit(_loaded_newgrf_features.used_liveries, LS_FREIGHT_WAGON);
switch (ls) {
case LS_STEAM:
case LS_DIESEL:
case LS_ELECTRIC:
case LS_MONORAIL:
case LS_MAGLEV:
SetBit(_loaded_newgrf_features.used_liveries, LS_PASSENGER_WAGON_STEAM + ls - LS_STEAM);
break;
case LS_DMU:
case LS_EMU:
SetBit(_loaded_newgrf_features.used_liveries, LS_PASSENGER_WAGON_DIESEL + ls - LS_DMU);
break;
default: NOT_REACHED();
}
}
}
}
}
/** Check for invalid cargoes */
static void FinaliseCargoArray()
{
for (CargoID c = 0; c < NUM_CARGO; c++) {
CargoSpec *cs = CargoSpec::Get(c);
if (!cs->IsValid()) {
cs->name = cs->name_single = cs->units_volume = STR_NEWGRF_INVALID_CARGO;
cs->quantifier = STR_NEWGRF_INVALID_CARGO_QUANTITY;
cs->abbrev = STR_NEWGRF_INVALID_CARGO_ABBREV;
}
}
}
/**
* Check if a given housespec is valid and disable it if it's not.
* The housespecs that follow it are used to check the validity of
* multitile houses.
* @param hs The housespec to check.
* @param next1 The housespec that follows \c hs.
* @param next2 The housespec that follows \c next1.
* @param next3 The housespec that follows \c next2.
* @param filename The filename of the newgrf this house was defined in.
* @return Whether the given housespec is valid.
*/
static bool IsHouseSpecValid(HouseSpec *hs, const HouseSpec *next1, const HouseSpec *next2, const HouseSpec *next3, const char *filename)
{
if (((hs->building_flags & BUILDING_HAS_2_TILES) != 0 &&
(next1 == nullptr || !next1->enabled || (next1->building_flags & BUILDING_HAS_1_TILE) != 0)) ||
((hs->building_flags & BUILDING_HAS_4_TILES) != 0 &&
(next2 == nullptr || !next2->enabled || (next2->building_flags & BUILDING_HAS_1_TILE) != 0 ||
next3 == nullptr || !next3->enabled || (next3->building_flags & BUILDING_HAS_1_TILE) != 0))) {
hs->enabled = false;
if (filename != nullptr) DEBUG(grf, 1, "FinaliseHouseArray: %s defines house %d as multitile, but no suitable tiles follow. Disabling house.", filename, hs->grf_prop.local_id);
return false;
}
/* Some places sum population by only counting north tiles. Other places use all tiles causing desyncs.
* As the newgrf specs define population to be zero for non-north tiles, we just disable the offending house.
* If you want to allow non-zero populations somewhen, make sure to sum the population of all tiles in all places. */
if (((hs->building_flags & BUILDING_HAS_2_TILES) != 0 && next1->population != 0) ||
((hs->building_flags & BUILDING_HAS_4_TILES) != 0 && (next2->population != 0 || next3->population != 0))) {
hs->enabled = false;
if (filename != nullptr) DEBUG(grf, 1, "FinaliseHouseArray: %s defines multitile house %d with non-zero population on additional tiles. Disabling house.", filename, hs->grf_prop.local_id);
return false;
}
/* Substitute type is also used for override, and having an override with a different size causes crashes.
* This check should only be done for NewGRF houses because grf_prop.subst_id is not set for original houses.*/
if (filename != nullptr && (hs->building_flags & BUILDING_HAS_1_TILE) != (HouseSpec::Get(hs->grf_prop.subst_id)->building_flags & BUILDING_HAS_1_TILE)) {
hs->enabled = false;
DEBUG(grf, 1, "FinaliseHouseArray: %s defines house %d with different house size then it's substitute type. Disabling house.", filename, hs->grf_prop.local_id);
return false;
}
/* Make sure that additional parts of multitile houses are not available. */
if ((hs->building_flags & BUILDING_HAS_1_TILE) == 0 && (hs->building_availability & HZ_ZONALL) != 0 && (hs->building_availability & HZ_CLIMALL) != 0) {
hs->enabled = false;
if (filename != nullptr) DEBUG(grf, 1, "FinaliseHouseArray: %s defines house %d without a size but marked it as available. Disabling house.", filename, hs->grf_prop.local_id);
return false;
}
return true;
}
/**
* Make sure there is at least one house available in the year 0 for the given
* climate / housezone combination.
* @param bitmask The climate and housezone to check for. Exactly one climate
* bit and one housezone bit should be set.
*/
static void EnsureEarlyHouse(HouseZones bitmask)
{
Year min_year = MAX_YEAR;
for (int i = 0; i < NUM_HOUSES; i++) {
HouseSpec *hs = HouseSpec::Get(i);
if (hs == nullptr || !hs->enabled) continue;
if ((hs->building_availability & bitmask) != bitmask) continue;
if (hs->min_year < min_year) min_year = hs->min_year;
}
if (min_year == 0) return;
for (int i = 0; i < NUM_HOUSES; i++) {
HouseSpec *hs = HouseSpec::Get(i);
if (hs == nullptr || !hs->enabled) continue;
if ((hs->building_availability & bitmask) != bitmask) continue;
if (hs->min_year == min_year) hs->min_year = 0;
}
}
/**
* Add all new houses to the house array. House properties can be set at any
* time in the GRF file, so we can only add a house spec to the house array
* after the file has finished loading. We also need to check the dates, due to
* the TTDPatch behaviour described below that we need to emulate.
*/
static void FinaliseHouseArray()
{
/* If there are no houses with start dates before 1930, then all houses
* with start dates of 1930 have them reset to 0. This is in order to be
* compatible with TTDPatch, where if no houses have start dates before
* 1930 and the date is before 1930, the game pretends that this is 1930.
* If there have been any houses defined with start dates before 1930 then
* the dates are left alone.
* On the other hand, why 1930? Just 'fix' the houses with the lowest
* minimum introduction date to 0.
*/
for (GRFFile * const file : _grf_files) {
HouseSpec **&housespec = file->housespec;
if (housespec == nullptr) continue;
for (int i = 0; i < NUM_HOUSES_PER_GRF; i++) {
HouseSpec *hs = housespec[i];
if (hs == nullptr) continue;
const HouseSpec *next1 = (i + 1 < NUM_HOUSES_PER_GRF ? housespec[i + 1] : nullptr);
const HouseSpec *next2 = (i + 2 < NUM_HOUSES_PER_GRF ? housespec[i + 2] : nullptr);
const HouseSpec *next3 = (i + 3 < NUM_HOUSES_PER_GRF ? housespec[i + 3] : nullptr);
if (!IsHouseSpecValid(hs, next1, next2, next3, file->filename)) continue;
_house_mngr.SetEntitySpec(hs);
}
}
for (int i = 0; i < NUM_HOUSES; i++) {
HouseSpec *hs = HouseSpec::Get(i);
const HouseSpec *next1 = (i + 1 < NUM_HOUSES ? HouseSpec::Get(i + 1) : nullptr);
const HouseSpec *next2 = (i + 2 < NUM_HOUSES ? HouseSpec::Get(i + 2) : nullptr);
const HouseSpec *next3 = (i + 3 < NUM_HOUSES ? HouseSpec::Get(i + 3) : nullptr);
/* We need to check all houses again to we are sure that multitile houses
* did get consecutive IDs and none of the parts are missing. */
if (!IsHouseSpecValid(hs, next1, next2, next3, nullptr)) {
/* GetHouseNorthPart checks 3 houses that are directly before
* it in the house pool. If any of those houses have multi-tile
* flags set it assumes it's part of a multitile house. Since
* we can have invalid houses in the pool marked as disabled, we
* don't want to have them influencing valid tiles. As such set
* building_flags to zero here to make sure any house following
* this one in the pool is properly handled as 1x1 house. */
hs->building_flags = TILE_NO_FLAG;
}
}
HouseZones climate_mask = (HouseZones)(1 << (_settings_game.game_creation.landscape + 12));
EnsureEarlyHouse(HZ_ZON1 | climate_mask);
EnsureEarlyHouse(HZ_ZON2 | climate_mask);
EnsureEarlyHouse(HZ_ZON3 | climate_mask);
EnsureEarlyHouse(HZ_ZON4 | climate_mask);
EnsureEarlyHouse(HZ_ZON5 | climate_mask);
if (_settings_game.game_creation.landscape == LT_ARCTIC) {
EnsureEarlyHouse(HZ_ZON1 | HZ_SUBARTC_ABOVE);
EnsureEarlyHouse(HZ_ZON2 | HZ_SUBARTC_ABOVE);
EnsureEarlyHouse(HZ_ZON3 | HZ_SUBARTC_ABOVE);
EnsureEarlyHouse(HZ_ZON4 | HZ_SUBARTC_ABOVE);
EnsureEarlyHouse(HZ_ZON5 | HZ_SUBARTC_ABOVE);
}
}
/**
* Add all new industries to the industry array. Industry properties can be set at any
* time in the GRF file, so we can only add a industry spec to the industry array
* after the file has finished loading.
*/
static void FinaliseIndustriesArray()
{
for (GRFFile * const file : _grf_files) {
IndustrySpec **&industryspec = file->industryspec;
IndustryTileSpec **&indtspec = file->indtspec;
if (industryspec != nullptr) {
for (int i = 0; i < NUM_INDUSTRYTYPES_PER_GRF; i++) {
IndustrySpec *indsp = industryspec[i];
if (indsp != nullptr && indsp->enabled) {
StringID strid;
/* process the conversion of text at the end, so to be sure everything will be fine
* and available. Check if it does not return undefind marker, which is a very good sign of a
* substitute industry who has not changed the string been examined, thus using it as such */
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->name);
if (strid != STR_UNDEFINED) indsp->name = strid;
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->closure_text);
if (strid != STR_UNDEFINED) indsp->closure_text = strid;
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->production_up_text);
if (strid != STR_UNDEFINED) indsp->production_up_text = strid;
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->production_down_text);
if (strid != STR_UNDEFINED) indsp->production_down_text = strid;
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->new_industry_text);
if (strid != STR_UNDEFINED) indsp->new_industry_text = strid;
if (indsp->station_name != STR_NULL) {
/* STR_NULL (0) can be set by grf. It has a meaning regarding assignation of the
* station's name. Don't want to lose the value, therefore, do not process. */
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->station_name);
if (strid != STR_UNDEFINED) indsp->station_name = strid;
}
_industry_mngr.SetEntitySpec(indsp);
_loaded_newgrf_features.has_newindustries = true;
}
}
}
if (indtspec != nullptr) {
for (int i = 0; i < NUM_INDUSTRYTILES_PER_GRF; i++) {
IndustryTileSpec *indtsp = indtspec[i];
if (indtsp != nullptr) {
_industile_mngr.SetEntitySpec(indtsp);
}
}
}
}
for (uint j = 0; j < NUM_INDUSTRYTYPES; j++) {
IndustrySpec *indsp = &_industry_specs[j];
if (indsp->enabled && indsp->grf_prop.grffile != nullptr) {
for (uint i = 0; i < 3; i++) {
indsp->conflicting[i] = MapNewGRFIndustryType(indsp->conflicting[i], indsp->grf_prop.grffile->grfid);
}
}
if (!indsp->enabled) {
indsp->name = STR_NEWGRF_INVALID_INDUSTRYTYPE;
}
}
}
/**
* Add all new objects to the object array. Object properties can be set at any
* time in the GRF file, so we can only add an object spec to the object array
* after the file has finished loading.
*/
static void FinaliseObjectsArray()
{
for (GRFFile * const file : _grf_files) {
ObjectSpec **&objectspec = file->objectspec;
if (objectspec != nullptr) {
for (int i = 0; i < NUM_OBJECTS_PER_GRF; i++) {
if (objectspec[i] != nullptr && objectspec[i]->grf_prop.grffile != nullptr && objectspec[i]->enabled) {
_object_mngr.SetEntitySpec(objectspec[i]);
}
}
}
}
}
/**
* Add all new airports to the airport array. Airport properties can be set at any
* time in the GRF file, so we can only add a airport spec to the airport array
* after the file has finished loading.
*/
static void FinaliseAirportsArray()
{
for (GRFFile * const file : _grf_files) {
AirportSpec **&airportspec = file->airportspec;
if (airportspec != nullptr) {
for (int i = 0; i < NUM_AIRPORTS_PER_GRF; i++) {
if (airportspec[i] != nullptr && airportspec[i]->enabled) {
_airport_mngr.SetEntitySpec(airportspec[i]);
}
}
}
AirportTileSpec **&airporttilespec = file->airtspec;
if (airporttilespec != nullptr) {
for (uint i = 0; i < NUM_AIRPORTTILES_PER_GRF; i++) {
if (airporttilespec[i] != nullptr && airporttilespec[i]->enabled) {
_airporttile_mngr.SetEntitySpec(airporttilespec[i]);
}
}
}
}
}
/* Here we perform initial decoding of some special sprites (as are they
* described at http://www.ttdpatch.net/src/newgrf.txt, but this is only a very
* partial implementation yet).
* XXX: We consider GRF files trusted. It would be trivial to exploit OTTD by
* a crafted invalid GRF file. We should tell that to the user somehow, or
* better make this more robust in the future. */
static void DecodeSpecialSprite(byte *buf, uint num, GrfLoadingStage stage)
{
/* XXX: There is a difference between staged loading in TTDPatch and
* here. In TTDPatch, for some reason actions 1 and 2 are carried out
* during stage 1, whilst action 3 is carried out during stage 2 (to
* "resolve" cargo IDs... wtf). This is a little problem, because cargo
* IDs are valid only within a given set (action 1) block, and may be
* overwritten after action 3 associates them. But overwriting happens
* in an earlier stage than associating, so... We just process actions
* 1 and 2 in stage 2 now, let's hope that won't get us into problems.
* --pasky
* We need a pre-stage to set up GOTO labels of Action 0x10 because the grf
* is not in memory and scanning the file every time would be too expensive.
* In other stages we skip action 0x10 since it's already dealt with. */
static const SpecialSpriteHandler handlers[][GLS_END] = {
/* 0x00 */ { nullptr, SafeChangeInfo, nullptr, nullptr, ReserveChangeInfo, FeatureChangeInfo, },
/* 0x01 */ { SkipAct1, SkipAct1, SkipAct1, SkipAct1, SkipAct1, NewSpriteSet, },
/* 0x02 */ { nullptr, nullptr, nullptr, nullptr, nullptr, NewSpriteGroup, },
/* 0x03 */ { nullptr, GRFUnsafe, nullptr, nullptr, nullptr, FeatureMapSpriteGroup, },
/* 0x04 */ { nullptr, nullptr, nullptr, nullptr, nullptr, FeatureNewName, },
/* 0x05 */ { SkipAct5, SkipAct5, SkipAct5, SkipAct5, SkipAct5, GraphicsNew, },
/* 0x06 */ { nullptr, nullptr, nullptr, CfgApply, CfgApply, CfgApply, },
/* 0x07 */ { nullptr, nullptr, nullptr, nullptr, SkipIf, SkipIf, },
/* 0x08 */ { ScanInfo, nullptr, nullptr, GRFInfo, GRFInfo, GRFInfo, },
/* 0x09 */ { nullptr, nullptr, nullptr, SkipIf, SkipIf, SkipIf, },
/* 0x0A */ { SkipActA, SkipActA, SkipActA, SkipActA, SkipActA, SpriteReplace, },
/* 0x0B */ { nullptr, nullptr, nullptr, GRFLoadError, GRFLoadError, GRFLoadError, },
/* 0x0C */ { nullptr, nullptr, nullptr, GRFComment, nullptr, GRFComment, },
/* 0x0D */ { nullptr, SafeParamSet, nullptr, ParamSet, ParamSet, ParamSet, },
/* 0x0E */ { nullptr, SafeGRFInhibit, nullptr, GRFInhibit, GRFInhibit, GRFInhibit, },
/* 0x0F */ { nullptr, GRFUnsafe, nullptr, FeatureTownName, nullptr, nullptr, },
/* 0x10 */ { nullptr, nullptr, DefineGotoLabel, nullptr, nullptr, nullptr, },
/* 0x11 */ { SkipAct11, GRFUnsafe, SkipAct11, GRFSound, SkipAct11, GRFSound, },
/* 0x12 */ { SkipAct12, SkipAct12, SkipAct12, SkipAct12, SkipAct12, LoadFontGlyph, },
/* 0x13 */ { nullptr, nullptr, nullptr, nullptr, nullptr, TranslateGRFStrings, },
/* 0x14 */ { StaticGRFInfo, nullptr, nullptr, nullptr, nullptr, nullptr, },
};
GRFLocation location(_cur.grfconfig->ident.grfid, _cur.nfo_line);
GRFLineToSpriteOverride::iterator it = _grf_line_to_action6_sprite_override.find(location);
if (it == _grf_line_to_action6_sprite_override.end()) {
/* No preloaded sprite to work with; read the
* pseudo sprite content. */
FioReadBlock(buf, num);
} else {
/* Use the preloaded sprite data. */
buf = _grf_line_to_action6_sprite_override[location];
grfmsg(7, "DecodeSpecialSprite: Using preloaded pseudo sprite data");
/* Skip the real (original) content of this action. */
FioSeekTo(num, SEEK_CUR);
}
ByteReader br(buf, buf + num);
ByteReader *bufp = &br;
try {
byte action = bufp->ReadByte();
if (action == 0xFF) {
grfmsg(2, "DecodeSpecialSprite: Unexpected data block, skipping");
} else if (action == 0xFE) {
grfmsg(2, "DecodeSpecialSprite: Unexpected import block, skipping");
} else if (action >= lengthof(handlers)) {
grfmsg(7, "DecodeSpecialSprite: Skipping unknown action 0x%02X", action);
} else if (handlers[action][stage] == nullptr) {
grfmsg(7, "DecodeSpecialSprite: Skipping action 0x%02X in stage %d", action, stage);
} else {
grfmsg(7, "DecodeSpecialSprite: Handling action 0x%02X in stage %d", action, stage);
handlers[action][stage](bufp);
}
} catch (...) {
grfmsg(1, "DecodeSpecialSprite: Tried to read past end of pseudo-sprite data");
DisableGrf(STR_NEWGRF_ERROR_READ_BOUNDS);
}
}
/** Signature of a container version 2 GRF. */
extern const byte _grf_cont_v2_sig[8] = {'G', 'R', 'F', 0x82, 0x0D, 0x0A, 0x1A, 0x0A};
/**
* Get the container version of the currently opened GRF file.
* @return Container version of the GRF file or 0 if the file is corrupt/no GRF file.
*/
byte GetGRFContainerVersion()
{
size_t pos = FioGetPos();
if (FioReadWord() == 0) {
/* Check for GRF container version 2, which is identified by the bytes
* '47 52 46 82 0D 0A 1A 0A' at the start of the file. */
for (uint i = 0; i < lengthof(_grf_cont_v2_sig); i++) {
if (FioReadByte() != _grf_cont_v2_sig[i]) return 0; // Invalid format
}
return 2;
}
/* Container version 1 has no header, rewind to start. */
FioSeekTo(pos, SEEK_SET);
return 1;
}
/**
* Load a particular NewGRF.
* @param config The configuration of the to be loaded NewGRF.
* @param file_index The Fio index of the first NewGRF to load.
* @param stage The loading stage of the NewGRF.
* @param subdir The sub directory to find the NewGRF in.
*/
void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage, Subdirectory subdir)
{
const char *filename = config->filename;
/* A .grf file is activated only if it was active when the game was
* started. If a game is loaded, only its active .grfs will be
* reactivated, unless "loadallgraphics on" is used. A .grf file is
* considered active if its action 8 has been processed, i.e. its
* action 8 hasn't been skipped using an action 7.
*
* During activation, only actions 0, 1, 2, 3, 4, 5, 7, 8, 9, 0A and 0B are
* carried out. All others are ignored, because they only need to be
* processed once at initialization. */
if (stage != GLS_FILESCAN && stage != GLS_SAFETYSCAN && stage != GLS_LABELSCAN) {
_cur.grffile = GetFileByFilename(filename);
if (_cur.grffile == nullptr) usererror("File '%s' lost in cache.\n", filename);
if (stage == GLS_RESERVE && config->status != GCS_INITIALISED) return;
if (stage == GLS_ACTIVATION && !HasBit(config->flags, GCF_RESERVED)) return;
}
if (file_index >= MAX_FILE_SLOTS) {
DEBUG(grf, 0, "'%s' is not loaded as the maximum number of file slots has been reached", filename);
config->status = GCS_DISABLED;
config->error = new GRFError(STR_NEWGRF_ERROR_MSG_FATAL, STR_NEWGRF_ERROR_TOO_MANY_NEWGRFS_LOADED);
return;
}
FioOpenFile(file_index, filename, subdir);
_cur.file_index = file_index; // XXX
_palette_remap_grf[_cur.file_index] = (config->palette & GRFP_USE_MASK);
_cur.grfconfig = config;
DEBUG(grf, 2, "LoadNewGRFFile: Reading NewGRF-file '%s'", filename);
_cur.grf_container_ver = GetGRFContainerVersion();
if (_cur.grf_container_ver == 0) {
DEBUG(grf, 7, "LoadNewGRFFile: Custom .grf has invalid format");
return;
}
if (stage == GLS_INIT || stage == GLS_ACTIVATION) {
/* We need the sprite offsets in the init stage for NewGRF sounds
* and in the activation stage for real sprites. */
ReadGRFSpriteOffsets(_cur.grf_container_ver);
} else {
/* Skip sprite section offset if present. */
if (_cur.grf_container_ver >= 2) FioReadDword();
}
if (_cur.grf_container_ver >= 2) {
/* Read compression value. */
byte compression = FioReadByte();
if (compression != 0) {
DEBUG(grf, 7, "LoadNewGRFFile: Unsupported compression format");
return;
}
}
/* Skip the first sprite; we don't care about how many sprites this
* does contain; newest TTDPatches and George's longvehicles don't
* neither, apparently. */
uint32 num = _cur.grf_container_ver >= 2 ? FioReadDword() : FioReadWord();
if (num == 4 && FioReadByte() == 0xFF) {
FioReadDword();
} else {
DEBUG(grf, 7, "LoadNewGRFFile: Custom .grf has invalid format");
return;
}
_cur.ClearDataForNextFile();
ReusableBuffer<byte> buf;
while ((num = (_cur.grf_container_ver >= 2 ? FioReadDword() : FioReadWord())) != 0) {
byte type = FioReadByte();
_cur.nfo_line++;
if (type == 0xFF) {
if (_cur.skip_sprites == 0) {
DecodeSpecialSprite(buf.Allocate(num), num, stage);
/* Stop all processing if we are to skip the remaining sprites */
if (_cur.skip_sprites == -1) break;
continue;
} else {
FioSkipBytes(num);
}
} else {
if (_cur.skip_sprites == 0) {
grfmsg(0, "LoadNewGRFFile: Unexpected sprite, disabling");
DisableGrf(STR_NEWGRF_ERROR_UNEXPECTED_SPRITE);
break;
}
if (_cur.grf_container_ver >= 2 && type == 0xFD) {
/* Reference to data section. Container version >= 2 only. */
FioSkipBytes(num);
} else {
FioSkipBytes(7);
SkipSpriteData(type, num - 8);
}
}
if (_cur.skip_sprites > 0) _cur.skip_sprites--;
}
}
/**
* Relocates the old shore sprites at new positions.
*
* 1. If shore sprites are neither loaded by Action5 nor ActionA, the extra sprites from openttd(w/d).grf are used. (SHORE_REPLACE_ONLY_NEW)
* 2. If a newgrf replaces some shore sprites by ActionA. The (maybe also replaced) grass tiles are used for corner shores. (SHORE_REPLACE_ACTION_A)
* 3. If a newgrf replaces shore sprites by Action5 any shore replacement by ActionA has no effect. (SHORE_REPLACE_ACTION_5)
*/
static void ActivateOldShore()
{
/* Use default graphics, if no shore sprites were loaded.
* Should not happen, as the base set's extra grf should include some. */
if (_loaded_newgrf_features.shore == SHORE_REPLACE_NONE) _loaded_newgrf_features.shore = SHORE_REPLACE_ACTION_A;
if (_loaded_newgrf_features.shore != SHORE_REPLACE_ACTION_5) {
DupSprite(SPR_ORIGINALSHORE_START + 1, SPR_SHORE_BASE + 1); // SLOPE_W
DupSprite(SPR_ORIGINALSHORE_START + 2, SPR_SHORE_BASE + 2); // SLOPE_S
DupSprite(SPR_ORIGINALSHORE_START + 6, SPR_SHORE_BASE + 3); // SLOPE_SW
DupSprite(SPR_ORIGINALSHORE_START + 0, SPR_SHORE_BASE + 4); // SLOPE_E
DupSprite(SPR_ORIGINALSHORE_START + 4, SPR_SHORE_BASE + 6); // SLOPE_SE
DupSprite(SPR_ORIGINALSHORE_START + 3, SPR_SHORE_BASE + 8); // SLOPE_N
DupSprite(SPR_ORIGINALSHORE_START + 7, SPR_SHORE_BASE + 9); // SLOPE_NW
DupSprite(SPR_ORIGINALSHORE_START + 5, SPR_SHORE_BASE + 12); // SLOPE_NE
}
if (_loaded_newgrf_features.shore == SHORE_REPLACE_ACTION_A) {
DupSprite(SPR_FLAT_GRASS_TILE + 16, SPR_SHORE_BASE + 0); // SLOPE_STEEP_S
DupSprite(SPR_FLAT_GRASS_TILE + 17, SPR_SHORE_BASE + 5); // SLOPE_STEEP_W
DupSprite(SPR_FLAT_GRASS_TILE + 7, SPR_SHORE_BASE + 7); // SLOPE_WSE
DupSprite(SPR_FLAT_GRASS_TILE + 15, SPR_SHORE_BASE + 10); // SLOPE_STEEP_N
DupSprite(SPR_FLAT_GRASS_TILE + 11, SPR_SHORE_BASE + 11); // SLOPE_NWS
DupSprite(SPR_FLAT_GRASS_TILE + 13, SPR_SHORE_BASE + 13); // SLOPE_ENW
DupSprite(SPR_FLAT_GRASS_TILE + 14, SPR_SHORE_BASE + 14); // SLOPE_SEN
DupSprite(SPR_FLAT_GRASS_TILE + 18, SPR_SHORE_BASE + 15); // SLOPE_STEEP_E
/* XXX - SLOPE_EW, SLOPE_NS are currently not used.
* If they would be used somewhen, then these grass tiles will most like not look as needed */
DupSprite(SPR_FLAT_GRASS_TILE + 5, SPR_SHORE_BASE + 16); // SLOPE_EW
DupSprite(SPR_FLAT_GRASS_TILE + 10, SPR_SHORE_BASE + 17); // SLOPE_NS
}
}
/**
* Replocate the old tram depot sprites to the new position, if no new ones were loaded.
*/
static void ActivateOldTramDepot()
{
if (_loaded_newgrf_features.tram == TRAMWAY_REPLACE_DEPOT_WITH_TRACK) {
DupSprite(SPR_ROAD_DEPOT + 0, SPR_TRAMWAY_DEPOT_NO_TRACK + 0); // use road depot graphics for "no tracks"
DupSprite(SPR_TRAMWAY_DEPOT_WITH_TRACK + 1, SPR_TRAMWAY_DEPOT_NO_TRACK + 1);
DupSprite(SPR_ROAD_DEPOT + 2, SPR_TRAMWAY_DEPOT_NO_TRACK + 2); // use road depot graphics for "no tracks"
DupSprite(SPR_TRAMWAY_DEPOT_WITH_TRACK + 3, SPR_TRAMWAY_DEPOT_NO_TRACK + 3);
DupSprite(SPR_TRAMWAY_DEPOT_WITH_TRACK + 4, SPR_TRAMWAY_DEPOT_NO_TRACK + 4);
DupSprite(SPR_TRAMWAY_DEPOT_WITH_TRACK + 5, SPR_TRAMWAY_DEPOT_NO_TRACK + 5);
}
}
/**
* Decide whether price base multipliers of grfs shall apply globally or only to the grf specifying them
*/
static void FinalisePriceBaseMultipliers()
{
extern const PriceBaseSpec _price_base_specs[];
/** Features, to which '_grf_id_overrides' applies. Currently vehicle features only. */
static const uint32 override_features = (1 << GSF_TRAINS) | (1 << GSF_ROADVEHICLES) | (1 << GSF_SHIPS) | (1 << GSF_AIRCRAFT);
/* Evaluate grf overrides */
int num_grfs = (uint)_grf_files.size();
int *grf_overrides = AllocaM(int, num_grfs);
for (int i = 0; i < num_grfs; i++) {
grf_overrides[i] = -1;
GRFFile *source = _grf_files[i];
uint32 override = _grf_id_overrides[source->grfid];
if (override == 0) continue;
GRFFile *dest = GetFileByGRFID(override);
if (dest == nullptr) continue;
grf_overrides[i] = find_index(_grf_files, dest);
assert(grf_overrides[i] >= 0);
}
/* Override features and price base multipliers of earlier loaded grfs */
for (int i = 0; i < num_grfs; i++) {
if (grf_overrides[i] < 0 || grf_overrides[i] >= i) continue;
GRFFile *source = _grf_files[i];
GRFFile *dest = _grf_files[grf_overrides[i]];
uint32 features = (source->grf_features | dest->grf_features) & override_features;
source->grf_features |= features;
dest->grf_features |= features;
for (Price p = PR_BEGIN; p < PR_END; p++) {
/* No price defined -> nothing to do */
if (!HasBit(features, _price_base_specs[p].grf_feature) || source->price_base_multipliers[p] == INVALID_PRICE_MODIFIER) continue;
DEBUG(grf, 3, "'%s' overrides price base multiplier %d of '%s'", source->filename, p, dest->filename);
dest->price_base_multipliers[p] = source->price_base_multipliers[p];
}
}
/* Propagate features and price base multipliers of afterwards loaded grfs, if none is present yet */
for (int i = num_grfs - 1; i >= 0; i--) {
if (grf_overrides[i] < 0 || grf_overrides[i] <= i) continue;
GRFFile *source = _grf_files[i];
GRFFile *dest = _grf_files[grf_overrides[i]];
uint32 features = (source->grf_features | dest->grf_features) & override_features;
source->grf_features |= features;
dest->grf_features |= features;
for (Price p = PR_BEGIN; p < PR_END; p++) {
/* Already a price defined -> nothing to do */
if (!HasBit(features, _price_base_specs[p].grf_feature) || dest->price_base_multipliers[p] != INVALID_PRICE_MODIFIER) continue;
DEBUG(grf, 3, "Price base multiplier %d from '%s' propagated to '%s'", p, source->filename, dest->filename);
dest->price_base_multipliers[p] = source->price_base_multipliers[p];
}
}
/* The 'master grf' now have the correct multipliers. Assign them to the 'addon grfs' to make everything consistent. */
for (int i = 0; i < num_grfs; i++) {
if (grf_overrides[i] < 0) continue;
GRFFile *source = _grf_files[i];
GRFFile *dest = _grf_files[grf_overrides[i]];
uint32 features = (source->grf_features | dest->grf_features) & override_features;
source->grf_features |= features;
dest->grf_features |= features;
for (Price p = PR_BEGIN; p < PR_END; p++) {
if (!HasBit(features, _price_base_specs[p].grf_feature)) continue;
if (source->price_base_multipliers[p] != dest->price_base_multipliers[p]) {
DEBUG(grf, 3, "Price base multiplier %d from '%s' propagated to '%s'", p, dest->filename, source->filename);
}
source->price_base_multipliers[p] = dest->price_base_multipliers[p];
}
}
/* Apply fallback prices for grf version < 8 */
for (GRFFile * const file : _grf_files) {
if (file->grf_version >= 8) continue;
PriceMultipliers &price_base_multipliers = file->price_base_multipliers;
for (Price p = PR_BEGIN; p < PR_END; p++) {
Price fallback_price = _price_base_specs[p].fallback_price;
if (fallback_price != INVALID_PRICE && price_base_multipliers[p] == INVALID_PRICE_MODIFIER) {
/* No price multiplier has been set.
* So copy the multiplier from the fallback price, maybe a multiplier was set there. */
price_base_multipliers[p] = price_base_multipliers[fallback_price];
}
}
}
/* Decide local/global scope of price base multipliers */
for (GRFFile * const file : _grf_files) {
PriceMultipliers &price_base_multipliers = file->price_base_multipliers;
for (Price p = PR_BEGIN; p < PR_END; p++) {
if (price_base_multipliers[p] == INVALID_PRICE_MODIFIER) {
/* No multiplier was set; set it to a neutral value */
price_base_multipliers[p] = 0;
} else {
if (!HasBit(file->grf_features, _price_base_specs[p].grf_feature)) {
/* The grf does not define any objects of the feature,
* so it must be a difficulty setting. Apply it globally */
DEBUG(grf, 3, "'%s' sets global price base multiplier %d", file->filename, p);
SetPriceBaseMultiplier(p, price_base_multipliers[p]);
price_base_multipliers[p] = 0;
} else {
DEBUG(grf, 3, "'%s' sets local price base multiplier %d", file->filename, p);
}
}
}
}
}
extern void InitGRFTownGeneratorNames();
/** Finish loading NewGRFs and execute needed post-processing */
static void AfterLoadGRFs()
{
for (StringIDMapping &it : _string_to_grf_mapping) {
*it.target = MapGRFStringID(it.grfid, it.source);
}
_string_to_grf_mapping.clear();
/* Free the action 6 override sprites. */
for (GRFLineToSpriteOverride::iterator it = _grf_line_to_action6_sprite_override.begin(); it != _grf_line_to_action6_sprite_override.end(); it++) {
free((*it).second);
}
_grf_line_to_action6_sprite_override.clear();
/* Polish cargoes */
FinaliseCargoArray();
/* Pre-calculate all refit masks after loading GRF files. */
CalculateRefitMasks();
/* Polish engines */
FinaliseEngineArray();
/* Set the actually used Canal properties */
FinaliseCanals();
/* Add all new houses to the house array. */
FinaliseHouseArray();
/* Add all new industries to the industry array. */
FinaliseIndustriesArray();
/* Add all new objects to the object array. */
FinaliseObjectsArray();
InitializeSortedCargoSpecs();
/* Sort the list of industry types. */
SortIndustryTypes();
/* Create dynamic list of industry legends for smallmap_gui.cpp */
BuildIndustriesLegend();
/* Build the routemap legend, based on the available cargos */
BuildLinkStatsLegend();
/* Add all new airports to the airports array. */
FinaliseAirportsArray();
BindAirportSpecs();
/* Update the townname generators list */
InitGRFTownGeneratorNames();
/* Run all queued vehicle list order changes */
CommitVehicleListOrderChanges();
/* Load old shore sprites in new position, if they were replaced by ActionA */
ActivateOldShore();
/* Load old tram depot sprites in new position, if no new ones are present */
ActivateOldTramDepot();
/* Set up custom rail types */
InitRailTypes();
InitRoadTypes();
Engine *e;
FOR_ALL_ENGINES_OF_TYPE(e, VEH_ROAD) {
if (_gted[e->index].rv_max_speed != 0) {
/* Set RV maximum speed from the mph/0.8 unit value */
e->u.road.max_speed = _gted[e->index].rv_max_speed * 4;
}
RoadTramType rtt = HasBit(e->info.misc_flags, EF_ROAD_TRAM) ? RTT_TRAM : RTT_ROAD;
const GRFFile *file = e->GetGRF();
if (file == nullptr || _gted[e->index].roadtramtype == 0) {
e->u.road.roadtype = (rtt == RTT_TRAM) ? ROADTYPE_TRAM : ROADTYPE_ROAD;
continue;
}
/* Remove +1 offset. */
_gted[e->index].roadtramtype--;
const std::vector<RoadTypeLabel> *list = (rtt == RTT_TRAM) ? &file->tramtype_list : &file->roadtype_list;
if (_gted[e->index].roadtramtype < list->size())
{
RoadTypeLabel rtl = (*list)[_gted[e->index].roadtramtype];
RoadType rt = GetRoadTypeByLabel(rtl);
if (rt != INVALID_ROADTYPE && GetRoadTramType(rt) == rtt) {
e->u.road.roadtype = rt;
continue;
}
}
/* Road type is not available, so disable this engine */
e->info.climates = 0;
}
FOR_ALL_ENGINES_OF_TYPE(e, VEH_TRAIN) {
RailType railtype = GetRailTypeByLabel(_gted[e->index].railtypelabel);
if (railtype == INVALID_RAILTYPE) {
/* Rail type is not available, so disable this engine */
e->info.climates = 0;
} else {
e->u.rail.railtype = railtype;
}
}
SetYearEngineAgingStops();
FinalisePriceBaseMultipliers();
/* Deallocate temporary loading data */
free(_gted);
_grm_sprites.clear();
}
/**
* Load all the NewGRFs.
* @param load_index The offset for the first sprite to add.
* @param file_index The Fio index of the first NewGRF to load.
* @param num_baseset Number of NewGRFs at the front of the list to look up in the baseset dir instead of the newgrf dir.
*/
void LoadNewGRF(uint load_index, uint file_index, uint num_baseset)
{
/* In case of networking we need to "sync" the start values
* so all NewGRFs are loaded equally. For this we use the
* start date of the game and we set the counters, etc. to
* 0 so they're the same too. */
Date date = _date;
Year year = _cur_year;
DateFract date_fract = _date_fract;
uint16 tick_counter = _tick_counter;
byte display_opt = _display_opt;
if (_networking) {
_cur_year = _settings_game.game_creation.starting_year;
_date = ConvertYMDToDate(_cur_year, 0, 1);
_date_fract = 0;
_tick_counter = 0;
_display_opt = 0;
}
InitializeGRFSpecial();
ResetNewGRFData();
/*
* Reset the status of all files, so we can 'retry' to load them.
* This is needed when one for example rearranges the NewGRFs in-game
* and a previously disabled NewGRF becomes usable. If it would not
* be reset, the NewGRF would remain disabled even though it should
* have been enabled.
*/
for (GRFConfig *c = _grfconfig; c != nullptr; c = c->next) {
if (c->status != GCS_NOT_FOUND) c->status = GCS_UNKNOWN;
}
_cur.spriteid = load_index;
/* Load newgrf sprites
* in each loading stage, (try to) open each file specified in the config
* and load information from it. */
for (GrfLoadingStage stage = GLS_LABELSCAN; stage <= GLS_ACTIVATION; stage++) {
/* Set activated grfs back to will-be-activated between reservation- and activation-stage.
* This ensures that action7/9 conditions 0x06 - 0x0A work correctly. */
for (GRFConfig *c = _grfconfig; c != nullptr; c = c->next) {
if (c->status == GCS_ACTIVATED) c->status = GCS_INITIALISED;
}
if (stage == GLS_RESERVE) {
static const uint32 overrides[][2] = {
{ 0x44442202, 0x44440111 }, // UKRS addons modifies UKRS
{ 0x6D620402, 0x6D620401 }, // DBSetXL ECS extension modifies DBSetXL
{ 0x4D656f20, 0x4D656F17 }, // LV4cut modifies LV4
};
for (size_t i = 0; i < lengthof(overrides); i++) {
SetNewGRFOverride(BSWAP32(overrides[i][0]), BSWAP32(overrides[i][1]));
}
}
uint slot = file_index;
uint num_non_static = 0;
_cur.stage = stage;
for (GRFConfig *c = _grfconfig; c != nullptr; c = c->next) {
if (c->status == GCS_DISABLED || c->status == GCS_NOT_FOUND) continue;
if (stage > GLS_INIT && HasBit(c->flags, GCF_INIT_ONLY)) continue;
Subdirectory subdir = slot < file_index + num_baseset ? BASESET_DIR : NEWGRF_DIR;
if (!FioCheckFileExists(c->filename, subdir)) {
DEBUG(grf, 0, "NewGRF file is missing '%s'; disabling", c->filename);
c->status = GCS_NOT_FOUND;
continue;
}
if (stage == GLS_LABELSCAN) InitNewGRFFile(c);
if (!HasBit(c->flags, GCF_STATIC) && !HasBit(c->flags, GCF_SYSTEM)) {
if (num_non_static == NETWORK_MAX_GRF_COUNT) {
DEBUG(grf, 0, "'%s' is not loaded as the maximum number of non-static GRFs has been reached", c->filename);
c->status = GCS_DISABLED;
c->error = new GRFError(STR_NEWGRF_ERROR_MSG_FATAL, STR_NEWGRF_ERROR_TOO_MANY_NEWGRFS_LOADED);
continue;
}
num_non_static++;
}
LoadNewGRFFile(c, slot++, stage, subdir);
if (stage == GLS_RESERVE) {
SetBit(c->flags, GCF_RESERVED);
} else if (stage == GLS_ACTIVATION) {
ClrBit(c->flags, GCF_RESERVED);
assert(GetFileByGRFID(c->ident.grfid) == _cur.grffile);
ClearTemporaryNewGRFData(_cur.grffile);
BuildCargoTranslationMap();
DEBUG(sprite, 2, "LoadNewGRF: Currently %i sprites are loaded", _cur.spriteid);
} else if (stage == GLS_INIT && HasBit(c->flags, GCF_INIT_ONLY)) {
/* We're not going to activate this, so free whatever data we allocated */
ClearTemporaryNewGRFData(_cur.grffile);
}
}
}
/* Pseudo sprite processing is finished; free temporary stuff */
_cur.ClearDataForNextFile();
/* Call any functions that should be run after GRFs have been loaded. */
AfterLoadGRFs();
/* Now revert back to the original situation */
_cur_year = year;
_date = date;
_date_fract = date_fract;
_tick_counter = tick_counter;
_display_opt = display_opt;
}
|