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
|
This file contains API changes between consecutive versions. You can get the
relevant information about all changes to the public Irrlicht API needed for
upgrading your code (esp. custom scene nodes and GUI elements) to a new Irrlicht
version. Since all changes are incremental you should skip forward to the
version you use right now and check each note until you reach the desired
version.
Please note that the changes described here do not contain functional changes,
but only syntactical ones. Also, new methods are not documented here and
have to be looked up in the API documentation instead.
Basically, all changes have to be reflected in user code where used. Removed
and renamed methods are obviously not existant anymore. A hint is usually given
for such changes on how to remedy the situation.
Changed signatures of methods might go unnoticed. That need not be a bad thing,
e.g. for changes from s32 to u32 the parameters are usually automatically
converted by the compiler. However, one should be careful when writing custom
scene nodes or GUI elements. It might happen that the methods are not properly
chosen as candidates for virtual overloading. So always check that methods in
the user code have the proper signatures just as the interface versions. The
change hint will help to identify necessary changes.
Changes for Version 1.2
-----------------------
Removed compile flag (always used where available)
_IRR_LINUX_OPENGL_USE_EXTENSIONS_
IAnimatedMeshB3d:
Removed (no replacement available)
virtual void AddMatrixToJoint(s32 jointNumber, core::matrix4* matrix) = 0;
IGUIElement.h
Changed signatures (made const)
IGUIElement* getParent() const
core::rect<s32> getRelativePosition() const
IGUITabControl.h
Changed signatures (const param)
virtual IGUITab* addTab(const wchar_t* caption, s32 id=-1) = 0;
IImage.h
Changed signatures (made const)
virtual ECOLOR_FORMAT getColorFormat() const = 0;
IParticleAffector.h
Changed inheritance (from irr:IUnknown)
class IParticleAffector : public virtual io::IAttributeExchangingObject
IParticleEmitter.h
Changed inheritance (from irr:IUnknown)
class IParticleEmitter : public virtual io::IAttributeExchangingObject
IParticleSystemSceneNode.h
Changed signatures (const param)
virtual IParticleEmitter* createPointEmitter(
const core::vector3df& direction = core::vector3df(0.0f,0.03f,0.0f),
u32 minParticlesPerSecond = 5,
u32 maxParticlesPerSecond = 10,
video::SColor minStartColor = video::SColor(255,0,0,0),
virtual IParticleEmitter* createBoxEmitter(
const core::aabbox3df& box = core::aabbox3df(-10,28,-10,10,30,10),
const core::vector3df& direction = core::vector3df(0.0f,0.03f,0.0f),
u32 minParticlesPerSecond = 5,
u32 maxParticlesPerSecond = 10,
video::SColor minStartColor = video::SColor(255,0,0,0),
virtual IParticleAffector* createGravityAffector(
const core::vector3df& gravity = core::vector3df(0.0f,-0.03f,0.0f),
u32 timeForceLost = 1000) = 0;
ISceneManager.h
Changed signatures (additional param)
virtual ISceneNodeAnimator* createFlyCircleAnimator(const core::vector3df& center,
f32 radius, f32 speed=0.001f, const core::vector3df& direction= core::vector3df ( 0.f, 1.f, 0.f ) ) = 0;
ITexture.h
Changed signatures (made const)
virtual ECOLOR_FORMAT getColorFormat() const = 0;
IVideoDriver.h
Changed signatures (changed default param, use ECF_A1R5G5B5 explicitly for old behavior)
virtual ITexture* addTexture(const core::dimension2d<s32>& size,
const c8* name, ECOLOR_FORMAT format = ECF_A8R8G8B8) = 0;
Changed signatures (made const)
virtual ITexture* createRenderTargetTexture(const core::dimension2d<s32>& size) = 0;
matrix4.h
Changed signatures (swapped parameter, it was (col, row) before although the names did not represent this)
f32& operator()(s32 row, s32 col);
const f32& operator()(s32 row, s32 col) const;
S3DVertex.h
Changed signatures (unconst param)
S3DVertex(f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv);
S3DVertex(const core::vector3df& pos, const core::vector3df& normal,
SColor color, const core::vector2d<f32>& tcoords);
S3DVertex2TCoords(f32 x, f32 y, f32 z, SColor c, f32 tu, f32 tv, f32 tu2, f32 tv2);
S3DVertex2TCoords(const core::vector3df& pos, SColor color,
const core::vector2d<f32>& tcoords, const core::vector2d<f32>& tcoords2);
S3DVertex2TCoords(f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv);
S3DVertex2TCoords(const core::vector3df& pos, const core::vector3df& normal,
SColor color, const core::vector2d<f32>& tcoords);
S3DVertexTangents(const core::vector3df& pos,
const core::vector2df& tcoords, SColor c);
SColor.h
Changed signatures (changed param types from signed to unsigned)
inline u16 RGBA16(u32 r, u32 g, u32 b, u32 a);
inline u16 RGB16(u32 r, u32 g, u32 b);
inline u16 X8R8G8B8toA1R5G5B5(u32 color);
inline u32 A1R5G5B5toA8R8G8B8(u32 color);
inline u32 R5G6B5toA8R8G8B8(u16 color);
inline u16 R5G6B5toA1R5G5B5(u16 color);
inline u16 A1R5G5B5toR5G6B5(u16 color);
inline u32 getAlpha(u16 color);
inline u32 getRed(u16 color);
inline u32 getGreen(u16 color);
inline u32 getBlue(u16 color);
inline u32 getLuminance(u16 color);
inline SColor (u32 a, u32 r, u32 g, u32 b);
inline SColor(u32 clr);
inline u32 getAlpha() const
inline u32 getRed() const
inline u32 getGreen() const
inline u32 getBlue() const
inline void setAlpha(u32 a);
inline void setRed(u32 r);
inline void setGreen(u32 g);
inline void setBlue(u32 b);
inline u16 toA1R5G5B5() const
inline void toOpenGLColor(u8* dest) const
inline void set(u32 a, u32 r, u32 g, u32 b);
inline void set(u32 col);
Changed signatures (const param)
inline SColor getInterpolated(const SColor &other, f32 d) const
Changed public member (type changed)
u32 color;
Changes for Version 1.3
-----------------------
Globally renamed Frustrum to Frustum in all signatures and code parts
IAnimatedMeshB3d.h
Renamed methods (small first letter)
virtual void setInterpolationMode(s32 mode) = 0;
virtual void setAnimateMode(s32 mode) = 0;
IAnimatedMeshSceneNode.h
changed signature (changed types)
virtual void setAnimationSpeed(f32 framesPerSecond) = 0;
ICameraSceneNode.h
Renamed methods and changed signature (changed types, frustum renaming)
virtual const SViewFrustum* getViewFrustum() const = 0;
IFileSystem.h
Renamed method (from addUnZipFileArchive)
virtual bool addFolderFileArchive(const c8* filename, bool ignoreCase = true, bool ignorePaths = true) = 0;
IGUIContextMenu.h
Changed signature (added param)
virtual s32 addItem(const wchar_t* text, s32 commandId=-1, bool enabled=true,
bool hasSubMenu=false, bool checked=false) = 0;
IGUIElement.h
Changed inheritance
class IGUIElement : public virtual io::IAttributeExchangingObject, public IEventReceiver
Changed signature (made const)
core::rect<s32> getAbsolutePosition() const
IGUIEnvironment.h
Changed signature (added param)
virtual IGUIButton* addButton(const core::rect<s32>& rectangle,
IGUIElement* parent=0, s32 id=-1, const wchar_t* text=0, const wchar_t* tooltiptext = 0) = 0;
IGUIListBox.h
Removed method (Using sprite bank now)
virtual void setIconFont(IGUIFont* font) = 0;
Change signature (changed types, due to sprite bank)
virtual s32 addItem(const wchar_t* text, s32 icon) = 0;
IGUISkin.h
Changed inheritance
class IGUISkin : public virtual io::IAttributeExchangingObject
IGUIToolbar.h
Changed signature (Added param for tooltips)
virtual IGUIButton* addButton(s32 id=-1, const wchar_t* text=0, const wchar_t* tooltiptext=0,
video::ITexture* img=0, video::ITexture* pressedimg=0,
bool isPushButton=false, bool useAlphaChannel=false) = 0;
IImage.h
Changed signature (made const)
virtual u32 getPitch() const = 0;
IImageWriter.h
Changed signature (additional param)
virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param = 0) = 0;
IMeshBuffer.h
Changed signature (changed return type)
virtual u32 getVertexCount() const = 0;
virtual u32 getIndexCount() const = 0;
Removed method (use setBoundingBox instead)
virtual core::aabbox3df& getBoundingBox() = 0;
IMesh.h
Changed signature (changed types, made const)
virtual u32 getMeshBufferCount() const = 0;
virtual IMeshBuffer* getMeshBuffer(u32 nr) const = 0;
Removed method (use setBoundingBox instead)
virtual core::aabbox3d<f32>& getBoundingBox() = 0;
IReadFile.h
Changed signature (changed types)
virtual s32 read(void* buffer, u32 sizeToRead) = 0;
irrArray.h
Changed signature (made const)
s32 binary_search(const T& element, s32 left, s32 right) const
irrMath.h
Constant changed
const f32 PI = 3.14159265359f;
Constants removed (use RADTODEG64 or DEGTORAD64 instead)
const f64 GRAD_PI = 180.0 / PI64;
const f64 GRAD_PI2 = PI64 / 180.0;
Changed signature (added tolerance parameter)
inline bool equals(const f32 a, const f32 b, const f32 tolerance = ROUNDING_ERROR_32)
irrString.h
Changed signature (const param)
template <class B> string(const B* const c, u32 length);
template <class B> string(const B* const c);
template <class B> string<T>& operator=(const B* const c);
template <class B> string<T> operator+(const B* const c) const
bool operator ==(const T* const str) const
bool operator !=(const T* const str) const
bool equalsn(const T* const str, int len) const
void append(const T* const other);
s32 findFirstChar(const T* const c, u32 count) const
template <class B> s32 findFirstCharNotInList(const B* const c, u32 count) const
template <class B> s32 findLastCharNotInList(const B* const c, u32 count) const
template <class B> s32 find(const B* const str) const
void operator += (const T* const c);
Changed signature (changed type from signed)
T& operator [](const u32 index) const
u32 size() const
void append(const string<T>& other, u32 length);
void reserve(u32 count);
s32 findNext(T c, u32 startPos) const
string<T> subString(u32 begin, s32 length) const
void erase(u32 index);
void reallocate(u32 new_size);
Changed signature (added param)
s32 findLast(T c, s32 start = -1) const
ISceneManager.h
Changed signature (changed default param from 128 minimalPolysPerNode)
virtual ISceneNode* addOctTreeSceneNode(IAnimatedMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false) = 0;
virtual ISceneNode* addOctTreeSceneNode(IMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false) = 0;
Changed signature (added param)
virtual ICameraSceneNode* addCameraSceneNodeFPS(ISceneNode* parent = 0,
f32 rotateSpeed = 100.0f, f32 moveSpeed = 500.0f, s32 id=-1,
SKeyMap* keyMapArray=0, s32 keyMapSize=0, bool noVerticalMovement=false,
f32 jumpSpeed = 0.f) = 0;
virtual IBillboardSceneNode* addBillboardSceneNode(ISceneNode* parent = 0,
const core::dimension2d<f32>& size = core::dimension2d<f32>(10.0f, 10.0f),
const core::vector3df& position = core::vector3df(0,0,0), s32 id=-1,
video::SColor shade_top = 0xFFFFFFFF, video::SColor shade_down = 0xFFFFFFFF) = 0;
virtual ITerrainSceneNode* addTerrainSceneNode(
const c8* heightMapFileName,
ISceneNode* parent=0, s32 id=-1,
const core::vector3df& position = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& rotation = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& scale = core::vector3df(1.0f,1.0f,1.0f),
video::SColor vertexColor = video::SColor(255,255,255,255),
s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0) = 0;
virtual ITerrainSceneNode* addTerrainSceneNode(
io::IReadFile* heightMapFile,
ISceneNode* parent=0, s32 id=-1,
const core::vector3df& position = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& rotation = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& scale = core::vector3df(1.0f,1.0f,1.0f),
video::SColor vertexColor = video::SColor(255,255,255,255),
s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0) = 0;
Changed signature (changed return type)
virtual u32 registerNodeForRendering(ISceneNode* node,
E_SCENE_NODE_RENDER_PASS pass = ESNRP_AUTOMATIC) = 0;
ISceneNodeAnimatorCollisionResponse.h
Changed signature (made const)
virtual void setEllipsoidTranslation(const core::vector3df &translation) = 0;
ISceneNode.h
Renamed method (from OnPreRender)
virtual void OnRegisterSceneNode();
Renamed method (from OnPostRender)
virtual void OnAnimate(u32 timeMs);
Changed signature (made const)
virtual const core::aabbox3d<f32> getTransformedBoundingBox() const
const core::matrix4& getAbsoluteTransformation() const
virtual bool isVisible() const
virtual s32 getID() const
scene::ISceneNode* getParent() const
virtual ESCENE_NODE_TYPE getType() const
Changed signature (changed type)
virtual video::SMaterial& getMaterial(u32 num);
void setMaterialTexture(u32 textureLayer, video::ITexture* texture);
void setAutomaticCulling( E_CULLING_TYPE state);
virtual void setDebugDataVisible(E_DEBUG_SCENE_TYPE visible);
Changed signature (changed return type)
virtual u32 getMaterialCount();
virtual const core::vector3df& getRotation() const
E_CULLING_TYPE getAutomaticCulling() const
Changed signature (changed return type, made const)
E_DEBUG_SCENE_TYPE isDebugDataVisible() const
ITerrainSceneNode.h
Changed signature (changed return type)
virtual u32 getIndexCount() = 0;
ITexture.h
Changed signature (changed return type, made const)
virtual u32 getPitch() const = 0;
Removed method (Available in SMaterial now)
core::matrix4& getTransformation();
IVideoDriver.h
Changed signature (changed types)
virtual ITexture* getTextureByIndex(u32 index) = 0;
virtual void drawVertexPrimitiveList(const void* vertices, u32 vertexCount, const u16* indexList, u32 triangleCount, E_VERTEX_TYPE vType, scene::E_PRIMITIVE_TYPE pType) = 0;
virtual void drawIndexedTriangleList(const S3DVertex* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount) = 0;
virtual void drawIndexedTriangleList(const S3DVertex2TCoords* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount) = 0;
virtual void drawIndexedTriangleList(const S3DVertexTangents* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount) = 0;
virtual void drawIndexedTriangleFan(const S3DVertex* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount) = 0;
virtual void drawIndexedTriangleFan(const S3DVertex2TCoords* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount) = 0;
virtual const SLight& getDynamicLight(u32 idx) = 0;
virtual IMaterialRenderer* getMaterialRenderer(u32 idx) = 0;
virtual const c8* getMaterialRendererName(u32 idx) = 0;
Changed signature (const param)
virtual void drawMeshBuffer( const scene::IMeshBuffer* mb) = 0;
virtual io::IAttributes* createAttributesFromMaterial(const video::SMaterial& material) = 0;
Changed signature (added param)
virtual u32 getPrimitiveCountDrawn( u32 param = 0 ) = 0;
virtual bool writeImageToFile(IImage* image, const c8* filename, u32 param = 0) = 0;
virtual IImage* createImageFromData(ECOLOR_FORMAT format,
const core::dimension2d<s32>& size, void *data,
bool ownForeignMemory=false,
bool deleteMemory = true) = 0;
Changed signature (changed return types)
virtual u32 getMaximalDynamicLightAmount() = 0;
virtual u32 getDynamicLightCount() = 0;
virtual u32 getMaximalPrimitiveCount() = 0;
virtual u32 getMaterialRendererCount() = 0;
matrix4.h
Changed signature (added param)
matrix4( eConstructor constructor = EM4CONST_IDENTITY );
Changed signature (const param)
f32& operator()(const s32 row, const s32 col);
const f32& operator()(const s32 row, const s32 col) const
Changed signature (param order)
void transformVect( vector3df& out, const vector3df& in ) const;
quaternion.h
Changed signature (changed return type)
void slerp( quaternion q1, const quaternion q2, f32 interpolate );
SColor.h
Renamed method (from getLuminance), changed types
inline s32 getAverage(s16 color);
Changed signature (changed return types)
inline f32 getLuminance() const
Changed signature (const param)
inline SColorf getInterpolated(const SColorf &other, f32 d) const
SMaterial.h
Constant type changed
const u32 MATERIAL_MAX_TEXTURES = 4;
Type changed
class SMaterial
Public members removed (use Textures[] instead)
ITexture* Texture1;
ITexture* Texture2;
ITexture* Texture3;
ITexture* Texture4;
Public members removed (use setFlag()/getFlag() instead)
Flags[]
Public members changed (type changed)
u32 ZBuffer;
Changed signature (made const)
inline bool operator!=(const SMaterial& b) const
SMeshBuffer.h
Changed signature (changed param)
virtual u32 getVertexCount() const
virtual u32 getIndexCount() const
Removed method (use setBoundingBox instead)
virtual core::aabbox3d<f32>& getBoundingBox();
SMeshBufferLightMap.h
Changed signature (changed param)
virtual u32 getVertexCount() const
virtual u32 getIndexCount() const
Removed method (use setBoundingBox instead)
virtual core::aabbox3d<f32>& getBoundingBox();
SMeshBufferTangents.h
Changed signature (changed param)
virtual u32 getVertexCount() const
virtual u32 getIndexCount() const
Removed method (use setBoundingBox instead)
virtual core::aabbox3d<f32>& getBoundingBox();
SMesh.h
Changed signature (changed param, made const)
virtual u32 getMeshBufferCount() const
virtual IMeshBuffer* getMeshBuffer(u32 nr) const
Removed method (use setBoundingBox instead);
virtual core::aabbox3d<f32>& getBoundingBox();
vector3d.h
Changed signature (changed return type)
T getLength() const
Changed signature (changed type)
vector3d<T> getInterpolated(const vector3d<T>& other, const T d) const
Changes for Version 1.3.1
-------------------------
Changed types:
SMeshBuffer* types are now template typedefs from CMeshBuffer
dimension2d.h
Changed signature (const param)
dimension2d(const T& width, const T& height);
dimension2d<T> operator/(const T& scale);
dimension2d<T> operator*(const T& scale);
IAnimatedMeshSceneNode.h
Changed signature (made const)
virtual s32 getFrameNr() const = 0;
virtual s32 getStartFrame() const = 0;
virtual s32 getEndFrame() const = 0;
Renamed method (from getAbsoluteTransformation)
virtual const SMD3QuaterionTag& getMD3TagTransformation( const core::stringc & tagname) = 0;
IGUIButton.h
Renamed method (from getUseAlphaChannel)
virtual bool isAlphaChannelUsed() = 0;
IGUIElementFactory.h
Changed signature (made const)
EGUI_ELEMENT_TYPE getType() const
virtual const c8* getTypeName() const
IGUIEnvironment.h
Changed signature (added param)
virtual bool saveGUI(const c8* filename, IGUIElement* start=0) = 0;
virtual bool saveGUI(io::IWriteFile* file, IGUIElement* start=0) = 0;
virtual bool loadGUI(const c8* filename, IGUIElement* parent=0) = 0;
virtual bool loadGUI(io::IReadFile* file, IGUIElement* parent=0) = 0;
IGUIFontBitmap.h
Changed signature (made const)
virtual EGUI_FONT_TYPE getType() const { return EGFT_BITMAP; }
IGUIFont.h
Changed signature (made const)
virtual EGUI_FONT_TYPE getType() const { return EGFT_CUSTOM; }
IGUISkin.h
Changed signature (added param)
virtual IGUIFont* getFont(EGUI_DEFAULT_FONT which=EGDF_DEFAULT) = 0;
virtual void setFont(IGUIFont* font, EGUI_DEFAULT_FONT which=EGDF_DEFAULT) = 0;
Changed signature (made const)
virtual EGUI_SKIN_TYPE getType() const { return EGST_UNKNOWN; };
IImage.h
Changed signature (made const)
virtual const core::dimension2d<s32>& getDimension() const = 0;
virtual u32 getRedMask() const = 0;
virtual u32 getGreenMask() const = 0;
virtual u32 getBlueMask() const = 0;
virtual u32 getAlphaMask() const = 0;
Changed signature (changed return type, made const)
virtual u32 getBitsPerPixel() const = 0;
virtual u32 getBytesPerPixel() const = 0;
virtual u32 getImageDataSizeInBytes() const = 0;
virtual u32 getImageDataSizeInPixels() const = 0;
Changed signature (changed param type, made const)
virtual SColor getPixel(u32 x, u32 y) const = 0;
IMeshCache.h
Changed signature (const param)
virtual void removeMesh(const IAnimatedMesh* const mesh) = 0;
Changed signature (const param, made const)
virtual s32 getMeshIndex(const IAnimatedMesh* const mesh) const = 0;
virtual const c8* getMeshFilename(const IAnimatedMesh* const mesh) const = 0;
virtual const c8* getMeshFilename(const IMesh* const mesh) const = 0;
Changed signature (changed return type, made const)
virtual u32 getMeshCount() const = 0;
Changed signature (changed param type)
virtual IAnimatedMesh* getMeshByIndex(u32 index) = 0;
Changed signature (made const)
virtual const c8* getMeshFilename(u32 index) const = 0;
IParticleAffector.h
Changed signature (made const)
virtual E_PARTICLE_AFFECTOR_TYPE getType() const = 0;
IParticleEmitter.h
Changed signature (made const)
virtual E_PARTICLE_EMITTER_TYPE getType() const = 0;
irrString.h
Changed signature (const param)
string(const double number);
Changed signature (changed return type)
string<T>& operator += (T c);
string<T>& operator += (const string<T>& other);
Changed signature (changed return type, const param)
string<T>& operator += (const T* const c);
string<T>& operator += (const int i);
string<T>& operator += (const double i);
ISceneManager.h
Changed signature (added param)
virtual ITerrainSceneNode* addTerrainSceneNode(
const c8* heightMapFileName,
ISceneNode* parent=0, s32 id=-1,
const core::vector3df& position = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& rotation = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& scale = core::vector3df(1.0f,1.0f,1.0f),
video::SColor vertexColor = video::SColor(255,255,255,255),
s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0,
bool addAlsoIfHeightmapEmpty = false) = 0;
virtual ITerrainSceneNode* addTerrainSceneNode(
io::IReadFile* heightMapFile,
ISceneNode* parent=0, s32 id=-1,
const core::vector3df& position = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& rotation = core::vector3df(0.0f,0.0f,0.0f),
const core::vector3df& scale = core::vector3df(1.0f,1.0f,1.0f),
video::SColor vertexColor = video::SColor(255,255,255,255),
s32 maxLOD=5, E_TERRAIN_PATCH_SIZE patchSize=ETPS_17, s32 smoothFactor=0,
bool addAlsoIfHeightmapEmpty = false) = 0;
virtual ISceneManager* createNewSceneManager(bool cloneContent=false) = 0;
ISceneNodeAnimator.h
Changed signature (made const)
virtual ESCENE_NODE_ANIMATOR_TYPE getType() const
ITexture.h
Changed signature (made const)
virtual bool hasMipMaps() const
IVideoDriver.h
Changed signature (reference param)
virtual void draw3DBox(const core::aabbox3d<f32>& box,
SColor color = SColor(255,255,255,255)) = 0;
Changed signature (added defaults for param)
virtual void draw2DImage(video::ITexture* texture,
const core::position2d<s32>& pos,
const core::array<core::rect<s32> >& sourceRects,
const core::array<s32>& indices,
s32 kerningWidth=0,
const core::rect<s32>* clipRect=0,
SColor color=SColor(255,255,255,255),
bool useAlphaChannelOfTexture=false) = 0;
Changed signature (changed return type)
virtual const SExposedVideoData& getExposedVideoData() = 0;
line3d.h
Changed signature (changed return type)
T getLength() const
matrix4.h
Changed type to template class
template <class T> class CMatrix4
typedef CMatrix4<f32> matrix4;
Changed signature (changed return type)
T& operator()(const s32 row, const s32 col);
const T& operator()(const s32 row, const s32 col) const
T& operator[](u32 index);
const T& operator[](u32 index) const
Changed signature (changed param type)
inline CMatrix4<T>& operator=(const T& scalar);
const T* pointer() const
T* pointer();
CMatrix4<T> operator*(const T& scalar) const;
CMatrix4<T>& operator*=(const T& scalar);
void transformVect(T *out,const core::vector3df &in) const;
void rotateVect(T *out,const core::vector3df &in) const;
void multiplyWith1x4Matrix(T* matrix) const;
CMatrix4<T> interpolate(const core::CMatrix4<T>& b, f32 time) const;
plane3d.h
Renamed method (from existsInterSection)
bool existsIntersection(const plane3d<T>& other) const
quaternion.h
Changed signature (unconst param)
void slerp( quaternion q1, quaternion q2, f32 interpolate );
SExposedVideoData.h
Removed public member (replaced by X11Display and X11Window)
OpenGLLinux.Window;
SIrrCreationParameters.h
Changed public member (changed type for 64bit system support)
void* WindowId;
triangle3d.h
Changed method to private
bool isOnSameSide(const vector3d<T>& p1, const vector3d<T>& p2,
const vector3d<T>& a, const vector3d<T>& b) const
vector2d.h
Changed signature (changed return value)
T getLength() const
T getDistanceFrom(const vector2d<T>& other) const
vector3d.h
Changed signature (changed return value)
T getDistanceFrom(const vector3d<T>& other) const
Changes for Version 1.4
-----------------------
This release had many changes in API method signatures. Many methods have been
made const, also several parameter types were changed. The two most noticeable
changes (which almost every user of the Irrlicht API will come across) are the
renaming of IUnknown to IReferenceCounted and const-ref change of the SEvent
structure of the OnEvent method. Another important change: DirectX8 support is
now by default disabled, enable the define in IrrCompileConfig.h to restore the
old behavior.
IReferenceCounted.h
Renamed Type (from IUnknown). This changed most classes in Irrlicht
class IReferenceCounted
IEventReceiver.h
Changed signature (made const)
virtual bool OnEvent(const SEvent& event) = 0;
IrrCompileConfig.h
DirectX8 support is now by default disabled
CMeshBuffer.h
Removed method
virtual u32 getVertexPitch() const
fast_atof.h
Changed signature to allow optional second parameter
u32 strtol10(const char* in, const char** out=0)
IAnimatedMesh.h
Changed inheritance (instead of IReferenceCounted)
class IAnimatedMesh : public IMesh
Changed signature (made const)
virtual u32 getFrameCount() const = 0;
IAnimatedMeshSceneNode.h
Changed signature (changed param type)
virtual void setCurrentFrame(f32 frame) = 0;
Replaced methods (generalized method getJointNode available)
virtual ISceneNode* getMS3DJointNode(const c8* jointName) = 0;
virtual ISceneNode* getXJointNode(const c8* jointName) = 0;
virtual ISceneNode* getB3DJointNode(const c8* jointName) = 0;
Changed signature (changed return type)
virtual f32 getFrameNr() const = 0;
Changed signature (made const)
virtual bool isReadOnlyMaterials() const = 0;
IAttributeExchangingObject.h
Changed signature (made const)
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const {}
IAttributes.h
Changed signature (made const, changed param type)
virtual u32 getAttributeCount() const = 0;
Changed signature (added param)
virtual bool read(io::IXMLReader* reader, bool readCurrentElementOnly=false, const wchar_t* elementName=0) = 0;
virtual bool write(io::IXMLWriter* writer, bool writeXMLHeader=false, const wchar_t* elementName=0) = 0;
Changed signature (made const-ref param)
virtual void addMatrix(const c8* attributeName, const core::matrix4& v) = 0;
virtual void setAttribute(const c8* attributeName, const core::matrix4& v) = 0;
virtual void setAttribute(s32 index, const core::matrix4& v) = 0;
IBillboardSceneNode.h
Changed signature (made const)
virtual const core::dimension2d<f32>& getSize() const = 0;
virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0;
ICameraSceneNode.h
Changed signature (made const)
virtual const core::matrix4& getProjectionMatrix() const = 0;
virtual const core::matrix4& getViewMatrix() const = 0;
virtual bool OnEvent(const SEvent& event) = 0;
virtual f32 getNearValue() const = 0;
virtual f32 getFarValue() const = 0;
virtual f32 getAspectRatio() const = 0;
virtual f32 getFOV() const = 0;
virtual bool isInputReceiverEnabled() const = 0;
virtual bool isOrthogonal() const
ICursorControl.h
Changed signature (made const)
virtual bool isVisible() const = 0;
IFileList.h
Changed signature (made const, changed param or return types)
virtual u32 getFileCount() const = 0;
virtual const c8* getFileName(u32 index) const = 0;
virtual const c8* getFullFileName(u32 index) = 0;
virtual bool isDirectory(u32 index) const = 0;
IFileSystem.h 2007-09-17 09:53:10.000000000 +0200
Changed signature (made const method and const-ref param)
virtual core::stringc getAbsolutePath(const core::stringc& filename) const = 0;
virtual core::stringc getFileDir(const core::stringc& filename) const = 0;
Changed signature (made const)
virtual IFileList* createFileList() const = 0;
virtual bool existFile(const c8* filename) const = 0;
IGUIButton.h
Changed signature (made const)
virtual bool isPressed() const = 0;
virtual bool isAlphaChannelUsed() const = 0;
virtual bool isPushButton() const = 0;
virtual bool isDrawingBorder() const = 0;
IGUICheckBox.h
Changed signature (made const)
virtual bool isChecked() const = 0;
IGUIComboBox.h
Changed signature (made const, changed param or return types)
virtual u32 getItemCount() const = 0;
virtual const wchar_t* getItem(u32 idx) const = 0;
virtual s32 getSelected() const = 0;
Changed signature (changed param or return types)
virtual u32 addItem(const wchar_t* text) = 0;
virtual void removeItem(u32 id) = 0;
IGUIContextMenu.h
Changed signature (changed param or return types)
virtual u32 getItemCount() const = 0;
virtual u32 addItem(const wchar_t* text, s32 commandId=-1, bool enabled=true, bool hasSubMenu=false, bool checked=false) = 0;
virtual void setItemText(u32 idx, const wchar_t* text) = 0;
virtual void setItemEnabled(u32 idx, bool enabled) = 0;
virtual void setItemChecked(u32 idx, bool enabled) = 0;
virtual void removeItem(u32 idx) = 0;
virtual void setItemCommandId(u32 idx, s32 id) = 0;
Changed signature (made const, changed param or return types)
virtual const wchar_t* getItemText(u32 idx) const = 0;
virtual bool isItemEnabled(u32 idx) const = 0;
virtual bool isItemChecked(u32 idx) const = 0;
virtual s32 getSelectedItem() const = 0;
virtual s32 getItemCommandId(u32 idx) const = 0;
virtual IGUIContextMenu* getSubMenu(u32 idx) const = 0;
IGUIEditBox.h
Changed signature (changed param or return types)
virtual void setMax(u32 max) = 0;
Changed signature (made const, changed param or return types)
virtual u32 getMax() const = 0;
IGUIElementFactory.h
Changed signature (made const)
virtual s32 getCreatableGUIElementTypeCount() const = 0;
virtual EGUI_ELEMENT_TYPE getCreateableGUIElementType(s32 idx) const = 0;
virtual const c8* getCreateableGUIElementTypeName(s32 idx) const = 0;
virtual const c8* getCreateableGUIElementTypeName(EGUI_ELEMENT_TYPE type) const = 0;
IGUIElement.h
Changed signature (made const)
bool isNotClipped() const
virtual bool isVisible() const
virtual bool isSubElement() const
virtual bool isEnabled() const
virtual const wchar_t* getText() const
virtual s32 getID() const
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const
Changed signature (made const-ref param or return type)
virtual const core::stringw& getToolTipText() const
virtual bool OnEvent(const SEvent& event)
IGUIEnvironment.h
Changed signature (changed return type)
virtual bool setFocus(IGUIElement* element) = 0;
virtual bool removeFocus(IGUIElement* element) = 0;
Changed signature (made const)
virtual IGUIElement* getFocus() const = 0;
virtual bool hasFocus(IGUIElement* element) const = 0;
virtual video::IVideoDriver* getVideoDriver() const = 0;
virtual io::IFileSystem* getFileSystem() const = 0;
virtual IOSOperator* getOSOperator() const = 0;
virtual IGUISkin* getSkin() const = 0;
virtual IGUIFont* getBuiltInFont() const = 0;
virtual IGUIElementFactory* getDefaultGUIElementFactory() const = 0;
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const =0;
Changed signature (made const-ref param or return type)
virtual bool postEventFromUser(const SEvent& event) = 0;
Changed signature (made const, changed param or return types)
virtual u32 getRegisteredGUIElementFactoryCount() const = 0;
virtual IGUIElementFactory* getGUIElementFactory(u32 index) const = 0;
IGUIFileOpenDialog.h
Changed signature (made const)
virtual const wchar_t* getFileName() const = 0;
IGUIFontBitmap.h
Changed signature (made const)
virtual IGUISpriteBank* getSpriteBank() const = 0;
virtual u32 getSpriteNoFromChar(const wchar_t *c) const = 0;
virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0;
IGUIFont.h
Changed signature (made const)
virtual core::dimension2d<s32> getDimension(const wchar_t* text) const = 0;
virtual s32 getCharacterFromPos(const wchar_t* text, s32 pixel_x) const = 0;
virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0;
virtual s32 getKerningHeight() const = 0;
IGUIListBox.h
Changed signature (made const, changed param or return types)
virtual u32 getItemCount() const = 0;
virtual const wchar_t* getListItem(u32 id) const = 0;
virtual s32 getIcon(u32 index) const = 0;
Changed signature (changed param or return types)
virtual u32 addItem(const wchar_t* text) = 0;
virtual u32 addItem(const wchar_t* text, s32 icon) = 0;
virtual void removeItem(u32 index) = 0;
Changed signature (made const)
virtual s32 getSelected() const = 0;
IGUIMeshViewer.h
Changed signature (made const)
virtual const video::SMaterial& getMaterial() const = 0;
IGUIScrollBar.h
Changed signature (made const)
virtual s32 getMax() const = 0;
virtual s32 getSmallStep() const = 0;
virtual s32 getPos() const = 0;
IGUISkin.h
Changed signature (made const)
virtual video::SColor getColor(EGUI_DEFAULT_COLOR color) const = 0;
virtual s32 getSize(EGUI_DEFAULT_SIZE size) const = 0;
virtual const wchar_t* getDefaultText(EGUI_DEFAULT_TEXT text) const = 0;
virtual IGUIFont* getFont(EGUI_DEFAULT_FONT which=EGDF_DEFAULT) const = 0;
virtual IGUISpriteBank* getSpriteBank() const = 0;
virtual u32 getIcon(EGUI_DEFAULT_ICON icon) const = 0;
IGUISpriteBank.h
Changed signature (made const)
virtual u32 getTextureCount() const = 0;
virtual video::ITexture* getTexture(u32 index) const = 0;
IGUIStaticText.h
Changed signature (made const)
virtual IGUIFont* getOverrideFont(void) const = 0;
virtual video::SColor const& getOverrideColor(void) const = 0;
virtual bool isOverrideColorEnabled(void) const = 0;
virtual bool isWordWrapEnabled(void) const = 0;
virtual s32 getTextHeight() const = 0;
virtual s32 getTextWidth(void) const = 0;
IGUITabControl.h
Changed signature (made const)
virtual s32 getNumber() const = 0;
virtual s32 getTabCount() const = 0;
virtual IGUITab* getTab(s32 idx) const = 0;
virtual s32 getActiveTab() const = 0;
IGUIWindow.h
Changed signature (made const)
virtual IGUIButton* getCloseButton() const = 0;
virtual IGUIButton* getMinimizeButton() const = 0;
virtual IGUIButton* getMaximizeButton() const = 0;
IImageLoader.h
Changed signature (made const)
virtual bool isALoadableFileExtension(const c8* fileName) const = 0;
virtual bool isALoadableFileFormat(io::IReadFile* file) const = 0;
virtual IImage* loadImage(io::IReadFile* file) const = 0;
IImageWriter.h
Changed signature (made const)
virtual bool isAWriteableFileExtension(const c8* fileName) const = 0;
virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param = 0) const = 0;
ILogger.h
Changed signature (made const)
virtual ELOG_LEVEL getLogLevel() const = 0;
IMaterialRenderer.h
Changed signature (made const-ref param)
virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial, bool resetAllRenderstates, IMaterialRendererServices* services) {};
Changed signature (made const)
virtual bool isTransparent() const { return false; }
virtual s32 getRenderCapability() const { return 0; }
IMesh.h
Changed signature (made const)
virtual IMeshBuffer* getMeshBuffer( const video::SMaterial &material) const = 0;
IMeshLoader.h
Changed signature (made const)
virtual bool isALoadableFileExtension(const c8* fileName) const = 0;
IMeshManipulator.h
Removed method (now in IMeshBuffer)
virtual void recalculateBoundingBox(scene::IMeshBuffer* buffer) const
IMeshSceneNode.h
Changed signature (made const)
virtual bool isReadOnlyMaterials() const = 0;
IOSOperator.h
Changed signature (made const)
virtual const wchar_t* getOperationSystemVersion() const = 0;
virtual void copyToClipboard(const c8* text) const = 0;
virtual c8* getTextFromClipboard() const = 0;
virtual bool getProcessorSpeedMHz(u32* MHz) const = 0;
virtual bool getSystemMemory(u32* Total, u32* Avail) const = 0;
IParticleAffector.h
Changed signature (made const)
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const {}
IParticleEmitter.h
Changed signature (made const)
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const {}
IParticleSystemSceneNode.h
Changed signature (changed return type, changed param types)
virtual IParticlePointEmitter* createPointEmitter(
const core::vector3df& direction = core::vector3df(0.0f,0.03f,0.0f),
u32 minParticlesPerSecond = 5,
u32 maxParticlesPerSecond = 10,
const video::SColor& minStartColor = video::SColor(255,0,0,0),
const video::SColor& maxStartColor = video::SColor(255,255,255,255),
u32 lifeTimeMin=2000, u32 lifeTimeMax=4000,
s32 maxAngleDegrees=0) = 0;
virtual IParticleEmitter* createBoxEmitter(
const core::aabbox3df& box = core::aabbox3df(-10,28,-10,10,30,10),
const core::vector3df& direction = core::vector3df(0.0f,0.03f,0.0f),
u32 minParticlesPerSecond = 5,
u32 maxParticlesPerSecond = 10,
const video::SColor& minStartColor = video::SColor(255,0,0,0),
const video::SColor& maxStartColor = video::SColor(255,255,255,255),
u32 lifeTimeMin=2000, u32 lifeTimeMax=4000,
s32 maxAngleDegrees=0) = 0;
virtual IParticleFadeOutAffector* createFadeOutParticleAffector(
const video::SColor& targetColor = video::SColor(0,0,0,0),
u32 timeNeededToFadeOut = 1000) = 0;
virtual IParticleGravityAffector* createGravityAffector(
const core::vector3df& gravity = core::vector3df(0.0f,-0.03f,0.0f),
u32 timeForceLost = 1000) = 0;
IQ3Shader.h
Removed method
bool operator < ( const SVariable &other ) const
IReadFile.h
Changed param types (adapt the correct C-API for file positions)
virtual bool seek(long finalPos, bool relativeMovement = false) = 0;
virtual long getSize() const = 0;
virtual long getPos() const = 0;
IReadFile* createLimitReadFile(const c8* fileName, IReadFile* alreadyOpenedFile, long areaSize);
IReadFile* createMemoryReadFile(void* memory, long size, const c8* fileName, bool deleteMemoryWhenDropped);
Changed signature (made const)
virtual const c8* getFileName() const = 0;
IrrlichtDevice.h
Changed signature (made const)
virtual bool isWindowActive() const = 0;
virtual const c8* getVersion() const = 0;
Changed signature (made const-ref param)
virtual void postEventFromUser(const SEvent& event) = 0;
irrList.h
Changed some structures in order to incorporate a ConstIterator class.
Iterator begin()
ConstIterator begin() const
Iterator end()
ConstIterator end() const
Iterator getLast()
ConstIterator getLast() const
void insert_after(const Iterator& it, const T& element)
void insert_before(const Iterator& it, const T& element)
irrMath.h
Changed signature (Use const references for better class handling)
inline const T& min_(const T& a, const T& b)
inline const T& min_(const T& a, const T& b, const T& c)
inline const T& max_(const T& a, const T& b)
inline const T& max_(const T& a, const T& b, const T& c)
inline T abs_(const T& a)
inline T lerp(const T& a, const T& b, const f32 t)
inline const T clamp (const T& value, const T& low, const T& high)
irrString.h
Changed signature (made proper const method)
T& operator [](const u32 index)
const T& operator [](const u32 index) const
irrXML.h
Changed signature (adapt the correct C-API for file positions, made const)
virtual long getSize() const = 0;
Changed signature (changed param types)
virtual unsigned int getAttributeCount() const = 0;
ISceneManager.h
Changed signature (changed param types)
virtual IAnimatedMesh* addHillPlaneMesh(const c8* name,
const core::dimension2d<f32>& tileSize, const core::dimension2d<u32>& tileCount,
video::SMaterial* material = 0, f32 hillHeight = 0.0f,
const core::dimension2d<f32>& countHills = core::dimension2d<f32>(0.0f, 0.0f),
const core::dimension2d<f32>& textureRepeatCount = core::dimension2d<f32>(1.0f, 1.0f)) = 0;
Changed signature (changed param types and order)
virtual IAnimatedMesh* addArrowMesh(const c8* name,
video::SColor vtxColor0=0xFFFFFFFF,
video::SColor vtxColor1=0xFFFFFFFF,
u32 tesselationCylinder=4, u32 tesselationCone=8,
f32 height=1.f, f32 cylinderHeight=0.6f,
f32 width0=0.05f, f32 width1=0.3f) = 0;
Changed signature (changed param types)
virtual bool postEventFromUser(const SEvent& event) = 0;
virtual ISceneNodeFactory* getSceneNodeFactory(u32 index) = 0;
virtual ISceneNodeAnimatorFactory* getSceneNodeAnimatorFactory(u32 index) = 0;
Changed signature (made const)
virtual E_SCENE_NODE_RENDER_PASS getSceneNodeRenderPass() const = 0;
Changed signature (changed param types, made const)
virtual u32 getRegisteredSceneNodeFactoryCount() const = 0;
virtual u32 getRegisteredSceneNodeAnimatorFactoryCount() const = 0;
virtual const video::SColorf& getAmbientLight() const = 0;
ISceneNodeAnimatorCollisionResponse.h
Changed signature (made const)
virtual bool isFalling() const = 0;
ISceneNodeAnimatorFactory.h
Changed signature (changed param types, made const)
virtual u32 getCreatableSceneNodeAnimatorTypeCount() const = 0;
virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(u32 idx) const = 0;
virtual const c8* getCreateableSceneNodeAnimatorTypeName(u32 idx) const = 0;
Changed signature (made const)
virtual const c8* getCreateableSceneNodeAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type) const = 0;
ISceneNodeFactory.h
Changed signature (changed param types, made const)
virtual u32 getCreatableSceneNodeTypeCount() const = 0;
virtual ESCENE_NODE_TYPE getCreateableSceneNodeType(u32 idx) const = 0;
virtual const c8* getCreateableSceneNodeTypeName(u32 idx) const = 0;
Changed signature (made const)
virtual const c8* getCreateableSceneNodeTypeName(ESCENE_NODE_TYPE type) const = 0;
ISceneNode.h
Changed signature (made const)
virtual u32 getMaterialCount() const
bool isDebugObject() const
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const
IShadowVolumeSceneNode.h
Changed signature (made const param)
virtual void setMeshToRenderFrom(const IMesh* mesh) = 0;
ITerrainSceneNode.h
Changed signature (made const)
virtual u32 getIndexCount() const = 0;
virtual void getMeshBufferForLOD(SMeshBufferLightMap& mb, s32 LOD) const = 0;
virtual s32 getCurrentLODOfPatches(core::array<s32>& LODs) const = 0;
virtual f32 getHeight( f32 x, f32 y ) const = 0;
Changed signature (made const, made const-ref param)
virtual const core::vector3df& getTerrainCenter() const = 0;
ITexture.h
Changed signature (made const)
virtual const core::dimension2d<s32>& getOriginalSize() const = 0;
virtual const core::dimension2d<s32>& getSize() const = 0;
virtual E_DRIVER_TYPE getDriverType() const = 0;
const core::stringc& getName() const { return Name; }
ITimer.h
Changed signature (made const)
virtual u32 getRealTime() const = 0;
virtual u32 getTime() const = 0;
virtual f32 getSpeed() const = 0;
virtual bool isStopped() const = 0;
ITriangleSelector.h
Changed signature (made const)
virtual void getTriangles(core::triangle3df* triangles, s32 arraySize,
s32& outTriangleCount, const core::matrix4* transform=0) const = 0;
virtual void getTriangles(core::triangle3df* triangles, s32 arraySize,
s32& outTriangleCount, const core::aabbox3d<f32>& box,
const core::matrix4* transform=0) const = 0;
virtual void getTriangles(core::triangle3df* triangles, s32 arraySize,
s32& outTriangleCount, const core::line3d<f32>& line,
const core::matrix4* transform=0) const = 0;
IVideoDriver.h
Changed signature (made const, changed param type)
virtual u32 getTextureCount() const = 0;
Changed signature (made const param) in all draw2DImage methods
virtual void draw2DImage(const video::ITexture* texture,
Changed signature (made const-ref param, made const)
virtual const core::dimension2d<s32>& getScreenSize() const = 0;
virtual const core::dimension2d<s32>& getCurrentRenderTargetSize() const = 0;
Changed signature (made const)
virtual bool queryFeature(E_VIDEO_DRIVER_FEATURE feature) const = 0;
virtual const core::matrix4& getTransform(E_TRANSFORMATION_STATE state) const = 0;
virtual ITexture* createRenderTargetTexture(const core::dimension2d<s32>& size, const c8* name = 0) = 0;
virtual void makeColorKeyTexture(video::ITexture* texture, video::SColor color) const = 0;
virtual void makeColorKeyTexture(video::ITexture* texture,
core::position2d<s32> colorKeyPixelPos) const = 0;
virtual void makeNormalMapTexture(video::ITexture* texture, f32 amplitude=1.0f) const = 0;
virtual s32 getFPS() const = 0;
virtual u32 getPrimitiveCountDrawn( u32 param = 0 ) const = 0;
virtual u32 getMaximalDynamicLightAmount() const = 0;
virtual u32 getDynamicLightCount() const = 0;
virtual const SLight& getDynamicLight(u32 idx) const = 0;
virtual const wchar_t* getName() const = 0;
virtual u32 getMaximalPrimitiveCount() const = 0;
virtual bool getTextureCreationFlag(E_TEXTURE_CREATION_FLAG flag) const = 0;
virtual u32 getMaterialRendererCount() const = 0;
virtual const c8* getMaterialRendererName(u32 idx) const = 0;
virtual E_DRIVER_TYPE getDriverType() const = 0;
IWriteFile.h
Changed signature (changed param type)
virtual s32 write(const void* buffer, u32 sizeToWrite) = 0;
virtual bool seek(long finalPos, bool relativeMovement = false) = 0;
Changed signature (changed param type, made const)
virtual long getPos() const = 0;
Changed signature (made const)
virtual const c8* getFileName() const = 0;
line2d.h
Changed signature (made const)
vector2d<T> getUnitVector() const
f64 getAngleWith(const line2d<T>& l) const
T getPointOrientation(const vector2d<T>& point) const
bool isPointOnLine(const vector2d<T>& point) const
matrix4.h
Changed signature (made template param)
void setTranslation( const vector3d<T>& translation );
vector3d<T> getTranslation() const;
void setInverseTranslation( const vector3d<T>& translation );
inline void setRotationRadians( const vector3d<T>& rotation );
void setRotationDegrees( const vector3d<T>& rotation );
core::vector3d<T> getRotationDegrees() const;
inline void setInverseRotationRadians( const vector3d<T>& rotation );
void setInverseRotationDegrees( const vector3d<T>& rotation );
void setScale( const vector3d<T>& scale );
core::vector3d<T> getScale() const;
rect.h
Changed signature (made non-const ref param, C++ conformance)
rect<T>& operator+=(const position2d<T>& pos)
rect<T>& operator-=(const position2d<T>& pos)
S3DVertex.h
Changed inheritance (S3DVertex is now base class of other vertex types)
struct S3DVertex2TCoords : public S3DVertex
struct S3DVertexTangents : public S3DVertex
SAnimatedMesh.h
Changed signature (changed param type, made const)
virtual u32 getFrameCount() const
SColor.h
Changed signature (changed param type)
inline u32 A1R5G5B5toA8R8G8B8(u16 color)
SLight.h
Removed attribute (use LightSceneNode position instead)
core::vector3df Position;
SMaterial.h
Changed attribute structure (texture layer properties are now in thenew TextureLayer array). This changes access to Textures, TextureMatrix, TextureWrap, and the filter settings, which are also per-layer now.
SMaterialLayer TextureLayer[MATERIAL_MAX_TEXTURES];
vector3d.h
Changed signature (made template param)
bool equals(const vector3d<T>& other, const T tolerance = (T)ROUNDING_ERROR_32 ) const
Changes for Version 1.4.1
-------------------------
Since this version is a backward compatible bugfix release, the API changes are only a few. None of them should result
in uncompilable code. Newly found warnings might point out wrongly used variables, additional casts or type changes in the
app should easily fix that. The only change which might go unnoticed by the compiler, but affect the application is the
changed initialization in SColorf. This was done to synchronize with other constructors from SColorf and SColor, though,
so the expectations are now much better met.
Also, OSX users have to adjust the defines in IrrCompileConfig, as we now also have OSX defines in Irrlicht style. It's now
even possible to build with X11 support under OSX without changes in the device code.
SColor.h
Changed signature (SColorf is now default initialized to alpha=1.0f)
SColorf(f32 r=0.f, f32 g=0.f, f32 b=0.f, f32 a=1.f) : r(r), g(g), b(b), a(a) {}
IrrCompileConfig.h
Split the OSX define into platform and device (from old MACOSX define)
_IRR_OSX_PLATFORM_ for Apple systems running OSX
_IRR_USE_OSX_DEVICE_ for Cocoa native windowing on OSX
ISceneManager.h
Added new overload for getMesh with IReadFile instead of filename.
virtual IAnimatedMesh* getMesh(io::IReadFile* file) = 0;
irrMath.h
Renamed method setbit
REALINLINE void setbit_cond ( u32 &state, s32 condition, u32 mask )
ISceneNode.h
Changed signature (because the debug data enum values can be OR'ed to enable multiple debug data types)
virtual void setDebugDataVisible(s32 state)
s32 isDebugDataVisible() const
s32 DebugDataVisible;
matrix4.h
Changed signature (Added return values to some methods)
inline CMatrix4<T>& setbyproduct(const CMatrix4<T>& other_a,const CMatrix4<T>& other_b );
CMatrix4<T>& setbyproduct_nocheck(const CMatrix4<T>& other_a,const CMatrix4<T>& other_b );
inline CMatrix4<T>& makeIdentity();
CMatrix4<T>& setTranslation( const vector3d<T>& translation );
CMatrix4<T>& setInverseTranslation( const vector3d<T>& translation );
inline CMatrix4<T>& setRotationRadians( const vector3d<T>& rotation );
CMatrix4<T>& setRotationDegrees( const vector3d<T>& rotation );
inline CMatrix4<T>& setInverseRotationRadians( const vector3d<T>& rotation );
CMatrix4<T>& setInverseRotationDegrees( const vector3d<T>& rotation );
CMatrix4<T>& setScale( const vector3d<T>& scale );
CMatrix4<T>& buildProjectionMatrixPerspectiveFovRH(f32 fieldOfViewRadians, f32 aspectRatio, f32 zNear, f32 zFar);
CMatrix4<T>& buildProjectionMatrixPerspectiveFovLH(f32 fieldOfViewRadians, f32 aspectRatio, f32 zNear, f32 zFar);
CMatrix4<T>& buildProjectionMatrixPerspectiveRH(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar);
CMatrix4<T>& buildProjectionMatrixPerspectiveLH(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar);
CMatrix4<T>& buildProjectionMatrixOrthoLH(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar);
CMatrix4<T>& buildProjectionMatrixOrthoRH(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar);
CMatrix4<T>& buildCameraLookAtMatrixLH(...)
CMatrix4<T>& buildCameraLookAtMatrixRH(...)
CMatrix4<T>& buildShadowMatrix(const core::vector3df& light, core::plane3df plane, f32 point=1.0f);
CMatrix4<T>& buildNDCToDCMatrix( const core::rect<s32>& area, f32 zScale);
CMatrix4<T>& setTextureScale( f32 sx, f32 sy );
CMatrix4<T>& setTextureRotationCenter( f32 radAngle );
CMatrix4<T>& setTextureScaleCenter( f32 sx, f32 sy );
CMatrix4<T>& setTextureTranslate( f32 x, f32 y );
CMatrix4<T>& setM(const T* data);
Added overload (for one scale value for all axes)
CMatrix4<T>& setScale( const T scale ) { return setScale(core::vector3d<T>(scale,scale,scale)); }
S3DVertex.h
Added operator
bool operator<(const S3DVertex& other) const
bool operator<(const S3DVertex2TCoords& other) const
bool operator<(const S3DVertexTangents& other) const
irrString.h
Changed signature (int->u32, negative length didn't make sense)
bool equalsn(const string<T>& other, u32 n) const
bool equalsn(const T* const str, u32 n) const
New overload/missing method (completing the findLast... and find...Char methods)
s32 findLastChar(const T* const c, u32 count) const
Changed signature (Added return value)
string<T>& trim()
Changes for Version 1.4.2
-------------------------
This is once more a bugfix release of the 1.4 branch, and hence pretty API-consistent and backward compatible. The major reason to publish this release is the OpenGL bug, which made several OpenGL 2.x drivers run in SW emulation.
However, we also introduced some driver consistency fixes, which might affect your application's behavior. So read through the next points thoroughly.
SceneParameters.h (and general video driver behavior)
The way Irrlicht handles zbuffer writing with transparent materials has changed. This was an issue ever since, because the default behavior in Irrlicht is to disable writing to the z-buffer for all really transparent, i.e. blending materials. This avoids problems with intersecting faces, but can also break renderings. And this is now consistent for both OpenGL and Direct3D.
If transparent materials should use the SMaterial flag for ZWriteEnable just as other material types use the newly introduced attribute scene::ALLOW_ZWRITE_ON_TRANSPARENT like this:
SceneManager->getParameters()->setAttribute(scene::ALLOW_ZWRITE_ON_TRANSPARENT, true);
All transparent materials will henceforth work as specified by the material flag, until the scenemanager attribute is set to false.
SMaterialLayer.h
The texture matrix now uses irrAllocator for memory handling. This shouldn't be noticeable from the user application (besides fixed heap corruptions on Windows machines), but is still mentioned for completeness.
ISceneNode.h
Documentation error. The docs said that children of a scene node are not visible if the node itself is set to visible. This is of course wrong, children inherit non-visibility of the parent and are hence invisible if the parent is. If the parent is visible, the visibility flag of the child determines its status.
SColor.h
Removed methods (use the unsigned versions and cast in your app if necessary)
inline s32 getRedSigned(u16 color)
inline s32 getGreenSigned(u16 color)
inline s32 getBlueSigned(u16 color)
IParticleSystemSceneNode.h
Changed default values (the old direction default was no real direction)
virtual IParticleAnimatedMeshSceneNodeEmitter* createAnimatedMeshSceneNodeEmitter(...)
virtual IParticleCylinderEmitter* createCylinderEmitter(...)
virtual IParticleMeshEmitter* createMeshEmitter(...)
IBoneSceneNode.h
Changed signature (Made const)
virtual E_BONE_SKINNING_SPACE getSkinningSpace() const=0;
IrrlichtDevice.h
Changed signature (Return value bool instead of void). Returns whether the event has been handled somewhere.
virtual bool postEventFromUser(const SEvent& event) = 0;
Changes for Version 1.5
-----------------------
Another major release, so expect API breaks at several places. The changes
herein are described as a difference to Irrlicht 1.4.2.
The most noticeable changes are the speed factor of the FPS camera (now units/ms
instead of units/s, so divide the parameter by 1000.f) and the new interfaces
of the camera nodes, based on scene node animators. Custom camera nodes should
be adpated to this new scheme, although they might still work. Also, particle
sizes are now set and handled by the emitters, which requires a change of the
particle system constructor call or adaption of the setParticleSize method to
work on the emitters. A deprecation method is issued if the old scheme is used.
Light setting has also changed, the SLight struct is used in even less
situations than before, instead use methods in ILightSceneNode.
Other changes did change major parts of the underlying structures, but might go
unnoticed on the user level. This includes 32bit indices and Vertex Buffer
Objects. However, VBOs require the user to call setDirty on Meshes or
MeshBuffers after changes to the vertex or index data. The all need only to be
done once before the next render call, but again after subsequent changes later
on.
All Mesh types and MeshBuffers:
New methods for VBO support. Once VBOs are enabled for a meshbuffer, changes
will only be effective after a call to setDirty(). VBOs are enabled by default
for some scene nodes.
virtual void setDirty(E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX);
All MeshBuffers:
Due to the 32bit support, it might happen that indices are stored as 32bit integers. The actual index type can be queried from a mesh buffer.
virtual video::E_INDEX_TYPE getIndexType() const
IrrCompileConfig.h
Some new defines for configuring Irrlicht
_IRR_USE_WINDOWS_CE_DEVICE_ for Windows CE API based device
_IRR_COMPILE_WITH_JOYSTICK_EVENTS_ to enable joystick support (enabled by default)
_IRR_COMPILE_WITH_LWO_LOADER_ to enable the LWO mesh loader (enabled by default)
_IRR_COMPILE_WITH_OBJ_WRITER_ to enable the OBJ mesh writer (enabled by default)
_IRR_COMPILE_WITH_WAL_LOADER_ to enable the WAL image loader (enabled by default)
_IRR_USE_NVIDIA_PERFHUD_ for support of the PerfHUD tool (disabled by default)
SceneParameters.h
New parameter scene::OBJ_LOADER_IGNORE_GROUPS, which allows to ignore the group structure of obj files. It's disabled by default, meaning obj groups will be represented by separate meshbuffers.
SColor.h
Renamed method names of the SColorHSL class
void fromRGB(const SColor &color);
void toRGB(SColor &color) const;
ITexture.h
Added new parameter
virtual void* lock(bool readOnly = false) = 0;
IMeshManipulator.h
Renamed methods (the old ones still exist, but are deprecated). The new methods also work on meshbuffers, not just meshes.
(renamed from scaleMesh)
virtual void scale(IMesh* mesh, const core::vector3df& factor) const = 0;
(renamed from transformMesh)
virtual void transform(IMesh* mesh, const core::matrix4& m) const = 0;
Changed signature (Added new parameters to adjust the algorithm)
virtual IMesh* createMeshWithTangents(IMesh* mesh, bool recalculateNormals=false, bool smooth=false, bool angleWeighted=false) const = 0;
IBillboardTextSceneNode.h
New interface replacing the multiple inheritance from bliiboard and text scene node previously used by the billboard text scene node.
IParticleSystemSceneNode.h
All emitters have minStartSize and maxStartSize parameters now, since partice size is handled by the emitters now.
Default value added
virtual void setParticlesAreGlobal(bool global=true) = 0;
fast_atof.h
Signature change (return value changed from u32)
inline s32 strtol10(const char* in, const char** out=0)
Signature change (parameter changed from float)
inline const char* fast_atof_move( const char * in, f32 & out)
IAnimatedMeshSceneNode.h
Added new parameter (dummy node used for simplifying shadow calculation)
virtual IShadowVolumeSceneNode* addShadowVolumeSceneNode(const IMesh* shadowMesh=0,
s32 id=-1, bool zfailmethod=true, f32 infinity=10000.0f) = 0;
ISceneManager.h
Removed extra render passes for quake shaders
Changed scene node from ISceneNode to IMeshSceneNode
virtual IMeshSceneNode* addCubeSceneNode(f32 size=10.0f, ISceneNode* parent=0, s32 id=-1, ...)
virtual IMeshSceneNode* addSphereSceneNode(f32 radius=5.0f, s32 polyCount=16, ...)
Changed default value (from 256 to 512, for efficiency on common gfx hardware)
virtual ISceneNode* addOctTreeSceneNode(IAnimatedMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false) = 0;
Changed default value (from 500.f, to adapt the changed speed scale)
virtual ICameraSceneNode* addCameraSceneNodeFPS(ISceneNode* parent = 0,
f32 rotateSpeed = 100.0f, f32 moveSpeed = .5f, s32 id=-1, ...)
Added default values
virtual ISceneNode* addSkyDomeSceneNode(video::ITexture* texture,
u32 horiRes=16, u32 vertRes=8,
f64 texturePercentage=0.9, f64 spherePercentage=2.0,
ISceneNode* parent=0, s32 id=-1) = 0;
Changed return value (from ITextSceneNode, due to changed inheritance)
virtual IBillboardTextSceneNode* addBillboardTextSceneNode( gui::IGUIFont* font, const wchar_t* text, ...)
Changed default value (gravity, from -100.f)
virtual ISceneNodeAnimatorCollisionResponse* createCollisionResponseAnimator(
ITriangleSelector* world, ISceneNode* sceneNode,
const core::vector3df& ellipsoidRadius = core::vector3df(30,60,30),
const core::vector3df& gravityPerSecond = core::vector3df(0,-10.0f,0),
const core::vector3df& ellipsoidTranslation = core::vector3df(0,0,0),
f32 slidingValue = 0.0005f) = 0;
ISceneNodeAnimator.h
Changed inheritance (for interactive animators)
class ISceneNodeAnimator : public io::IAttributeExchangingObject, public IEventReceiver
Changed to pure virtual (bug fix)
virtual ISceneNodeAnimator* createClone(ISceneNode* node, ISceneManager* newManager=0) = 0;
IVideoModeList.h
Changed return value (constification)
virtual const core::dimension2d<s32>& getDesktopResolution() const = 0;
IBoneSceneNode.h
Deprecation: Use getName instead.
virtual const c8* getBoneName() const;
vector3d.h
Changed return value (return *this)
vector3d<T>& set(const T nx, const T ny, const T nz) {X=nx; Y=ny; Z=nz; return *this;}
vector3d<T>& set(const vector3d<T>& p) {X=p.X; Y=p.Y; Z=p.Z;return *this;}
vector3d<T>& setLength(T newlength)
vector3d<T>& invert()
Added default value
void rotateXZBy(f64 degrees, const vector3d<T>& center=vector3d<T>())
void rotateXYBy(f64 degrees, const vector3d<T>& center=vector3d<T>())
void rotateYZBy(f64 degrees, const vector3d<T>& center=vector3d<T>())
Changed parameter type (interpolation factor must not be integral)
vector3d<T> getInterpolated(const vector3d<T>& other, f64 d) const
vector3d<T> getInterpolated_quadratic(const vector3d<T>& v2, const vector3d<T>& v3, f64 d) const
Method made const
vector3d<T> getHorizontalAngle() const
SLight.h
Attenuation can be overridden by ILightSceneMethod setRadius() Attenuation will
change to (0,1.f/radius,0). Can be overridden after radius was set.
The following members are read-only now:
f32 Radius;
E_LIGHT_TYPE Type;
bool CastShadows;
ITerrainSceneNode.h
Parameter type changed (diue to possible 32bit indices)
virtual void getMeshBufferForLOD(IDynamicMeshBuffer& mb, s32 LOD=0) const =0;
Added dafault value (highest detail)
virtual void setLODOfPatch(s32 patchX, s32 patchZ, s32 LOD=0) =0;
SExposedVideoData.h
Changed member attributes (from s32, to fix 64bit architecture problems)
void* HWnd;
void* HDc;
void* HRc;
void* HWnd;
IAnimatedMeshMD3.h
Changed return value (constification)
const SMD3QuaterionTag& operator[](u32 index) const
IQ3Shader.h
Changed default q3 shader values (from LIGHTMAP_M2)
const video::E_MATERIAL_TYPE defaultMaterialType = video::EMT_LIGHTMAP_M4;
const video::E_MODULATE_FUNC defaultModulate = video::EMFN_MODULATE_4X;
ISceneNode.h
Method made virtual
virtual const core::matrix4& getAbsoluteTransformation() const
Changed return value (constified)
virtual const core::vector3df& getScale() const
virtual const core::vector3df& getPosition() const
IEventReceiver.h
Removed member from UserEvent
f32 UserData3;
SMaterial.h
Changed member type (from u32)
char ZBuffer;
IGUISkin.h
Added parameter (for alignment)
virtual void draw3DTabButton(IGUIElement* element, bool active,
const core::rect<s32>& rect, const core::rect<s32>* clip=0, gui::EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT) = 0;
virtual void draw3DTabBody(IGUIElement* element, bool border, bool background,
const core::rect<s32>& rect, const core::rect<s32>* clip=0, s32 tabHeight=-1, gui::EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT ) = 0;
quaternion.h
Renamed method (from getDotProduct)
inline f32 dotProduct(const quaternion& other) const;
Changed return value (return *this)
quaternion& set(f32 x, f32 y, f32 z, f32 w);
quaternion& set(f32 x, f32 y, f32 z);
quaternion& set(const core::vector3df& vec);
quaternion& makeInverse();
quaternion& slerp( quaternion q1, quaternion q2, f32 interpolate );
quaternion& fromAngleAxis (f32 angle, const vector3df& axis);
quaternion& makeIdentity();
quaternion& rotationFromTo(const vector3df& from, const vector3df& to);
IVideoDriver.h
Added parameters (moved from endScene) and added default values
virtual bool beginScene(bool backBuffer=true, bool zBuffer=true,
SColor color=SColor(255,0,0,0), void* windowId=0,
core::rect<s32>* sourceRect=0) = 0;
Removed parameter (move to beginScene)
virtual bool endScene() = 0;
Renamed method (note, also affects ReferenceCount behavior!)
Use addRenderTargetTexture instead of createRenderTargetTexture
virtual ITexture* addRenderTargetTexture(const core::dimension2d<s32>& size,
const c8* name=0) =0;
Changed parameters (for 32bit index support)
virtual void drawVertexPrimitiveList(const void* vertices, u32 vertexCount,
const void* indexList, u32 primCount, E_VERTEX_TYPE vType,
scene::E_PRIMITIVE_TYPE pType, E_INDEX_TYPE iType) = 0;
Changed parameter (colors are const pointers now)
virtual void draw2DImage(const video::ITexture* texture, const core::rect<s32>& destRect,
const core::rect<s32>& sourceRect, const core::rect<s32>* clipRect = 0,
const video::SColor * const colors=0, bool useAlphaChannelOfTexture=false) = 0;
IQ3LevelMesh.h
Added default value
virtual const quake3::SShader* getShader( const c8* filename, bool fileNameIsValid=true ) = 0;
ICameraSceneNode.h
Added method parameter (required to set orthogonal together with projection to avoid inconsistencies)
virtual void setProjectionMatrix(const core::matrix4& projection, bool isOrthogonal = false) = 0;
Removed method (use new parameter in setProjectionMatrix)
void setIsOrthogonal( bool orthogonal )
Constified return value
virtual const core::vector3df& getTarget() const = 0;
virtual const core::vector3df& getUpVector() const = 0;
matrix4.h
Removed method (use transformPlane)
void transformPlane_new( core::plane3d<f32> &plane) const;
Changed qulifications (to enable use under Win32 systems, too)
IRRLICHT_API extern const matrix4 IdentityMatrix;
SIrrCreationParameters.h
Changed member attribute types
u8 Bits;
const c8* const SDK_version_do_not_use;
IGUIElement.h
Renamed method from setRelativePosition (to distinguish rather different parameter interpretation)
void setRelativePositionProportional(const core::rect<f32>& r)
irrString.h
Constructors made explicit (use core::stringc(var) in places where var was used before)
explicit string(const double number)
explicit string(int number)
explicit string(unsigned int number)
Added parameter (allows use of method for stringw, and other things)
string<T>& trim(const string<T> & whitespace = " \t\n\r")
vector2d.h
Changed return value (return *this)
vector2d<T>& set(T nx, T ny) {X=nx; Y=ny; return *this; }
vector2d<T>& set(const vector2d<T>& p) { X=p.X; Y=p.Y; return *this; }
Added default value
vector2d<T>& rotateBy(f64 degrees, const vector2d<T>& center=vector2d<T>())
Changed parameter type (interpolation factor must not be int)
vector2d<T> getInterpolated(const vector2d<T>& other, f64 d) const
vector2d<T> getInterpolated_quadratic(const vector2d<T>& v2, const vector2d<T>& v3, f64 d) const
vector2d<T>& interpolate(const vector2d<T>& a, const vector2d<T>& b, f64 d)
Changes for Version 1.5.1
-------------------------
This release is a pure bugfixes release, with almost no visible API changes. All changes should be backward compatible (as it's just a minor release), but you have to recompile the app due to changes in the virtual method tables.
dimension2d.h
Fixed a bug in the operator+=, added operator-= and changed comparison to equal() method.
dimension2d<T>& operator-=(const dimension2d<T>& other)
IrrCompileConfig.h
Added defines to check for the Irrlicht version in the code.
IRRLICHT_VERSION_MAJOR
IRRLICHT_VERSION_MINOR
IRRLICHT_VERSION_REVISION
IRRLICHT_VERSION_SVN // only defined if you're using a version from SVN, i.e. not officially released one
IrrlichtDevice.h
Added static method isDriverSupported which checks the driver support of the library
static bool isDriverSupported(video::E_DRIVER_TYPE driver)
irrMath.h
Added iszero specialization for f64
bool iszero(const f64 a, const f64 tolerance = ROUNDING_ERROR_64)
irrXML.h
Added deleteCallback flag for cleanup of the ReadCallback.
IrrXMLReader* createIrrXMLReader(IFileReadCallBack* callback, bool deleteCallback = false);
IrrXMLReaderUTF16* createIrrXMLReaderUTF16(IFileReadCallBack* callback, bool deleteCallback = false);
IrrXMLReaderUTF32* createIrrXMLReaderUTF32(IFileReadCallBack* callback, bool deleteCallback = false);
ISceneNode.h
Added getSceneManager to get the currently used scene manager of the node.
ISceneManager* getSceneManager(void) const
IVideoDriver.h
Added default values for vType, pType, and iType
virtual void drawVertexPrimitiveList(const void* vertices, u32 vertexCount, const void* indexList, u32 primCount,
E_VERTEX_TYPE vType=EVT_STANDARD, scene::E_PRIMITIVE_TYPE pType=scene::EPT_TRIANGLES, E_INDEX_TYPE iType=EIT_16BIT)
Added method to draw 2d rectangle outline
void draw2DRectangleOutline(const core::recti& pos, SColor color=SColor(255,255,255,255))
matrix4.h
Added method to get transposedInverse
CMatrix4<T> transposedInverse(*this, EM4CONST_INVERSE_TRANSPOSED)
rect.h
Added typedefs
typedef rect<f32> rectf;
typedef rect<s32> recti;
SSharedMeshBuffer.h
Split hardware mapping hint into vertex and index part
E_HARDWARE_MAPPING getHardwareMappingHint_Vertex() const
E_HARDWARE_MAPPING getHardwareMappingHint_Index() const
void setHardwareMappingHint( E_HARDWARE_MAPPING NewMappingHint, E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX )
vector2d.h
Fix angle calculation for integer vectors
Changes for Version 1.5.2
-------------------------
Even less visible changes have been made in this version. Only the automatic Solaris OS recognition has changed, so make sure you have all things defined properly if you compile for Solaris. And the float parser bugfix is a visible change, though non-interfering for existing code.
Changes for Version 1.6.0
-------------------------
This releases has many changes in method signatures. The most obvious ones are signedness changes from s32 to u32. Since many templates won't accept both types, you need to change the types manually in your code. The other major change is from many different types of strings to the new class io::path. These changes should be transparent to the app, unless you need proper overrides in derived classes.
Finally, some deprecated methods have been removed, and some were simply renamed. Just check the API if some methods is not found anymore.
IMeshSceneNode.h
Added default parameters for identity transformation
IMeshSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
const core::vector3df& position = core::vector3df(0,0,0),
const core::vector3df& rotation = core::vector3df(0,0,0),
const core::vector3df& scale = core::vector3df(1,1,1))
path.h
This is a new type, which handles stuff with UTF file systems.
typedef core::string<fschar_t> io::path;
ESceneNodeTypes.h
New scene node identifiers
ESNT_SKY_DOME = MAKE_IRR_ID('s','k','y','d'),
ESNT_Q3SHADER_SCENE_NODE = MAKE_IRR_ID('q','3','s','h'),
ESNT_VOLUME_LIGHT = MAKE_IRR_ID('v','o','l','l'),
IGUIListBox.h
New methods
virtual void setSelected(const wchar_t *item) = 0;
virtual void setItemHeight( s32 height ) = 0;
virtual void setDrawBackground(bool draw) = 0;
ITexture.h
New texture generation flag for burnings video driver
//! Allow the Driver to use Non-Power-2-Textures
ETCF_ALLOW_NON_POWER_2 = 0x00000040,
Parameter change (now using path type instead of C-strings)
ITexture(const io::path& name)
Signedness change
virtual const core::dimension2d<u32>& getOriginalSize() const = 0;
virtual const core::dimension2d<u32>& getSize() const = 0;
New method
virtual bool hasAlpha() const
Parameter change (now using path type instead of stringc)
const io::path& getName() const
ILightManager.h
This is a new interface for the light manager
class ILightManager : public IReferenceCounted
IGUIEditBox.h
Signedness change
virtual core::dimension2du getTextDimension() = 0;
ITriangleSelector.h
New method
virtual const ISceneNode* getSceneNodeForTriangle(u32 triangleIndex) const = 0;
IMeshManipulator.h
New methods
virtual void makePlanarTextureMapping(scene::IMeshBuffer* meshbuffer, f32 resolution=0.001f) const =0;
virtual void makePlanarTextureMapping(scene::IMeshBuffer* buffer, f32 resolutionS, f32 resolutionT, u8 axis, const core::vector3df& offset) const =0;
virtual IMesh* createMeshWith1TCoords(IMesh* mesh) const = 0;
SceneParameters.h
Removed parameter
const c8* const DMF_USE_MATERIALS_DIRS = "DMF_MaterialsDir";
New parameters
const c8* const DMF_IGNORE_MATERIALS_DIRS = "DMF_IgnoreMaterialsDir";
const c8* const OBJ_LOADER_IGNORE_MATERIAL_FILES = "OBJ_IgnoreMaterialFiles";
const c8* const B3D_LOADER_IGNORE_MIPMAP_FLAG = "B3D_IgnoreMipmapFlag";
const c8* const DEBUG_NORMAL_LENGTH = "DEBUG_Normal_Length";
const c8* const DEBUG_NORMAL_COLOR = "DEBUG_Normal_Color";
SViewFrustum.h
Removed method (use getTransform)
void setTransformState( video::E_TRANSFORMATION_STATE state);
New methods
core::matrix4& getTransform( video::E_TRANSFORMATION_STATE state);
const core::matrix4& getTransform( video::E_TRANSFORMATION_STATE state) const;
bool clipLine(core::line3d<f32>& line) const;
IFileList.h
Changed parameters (to io::path)
virtual const io::path& getFileName(u32 index) const = 0;
virtual const io::path& getFullFileName(u32 index) const = 0;
New methods
virtual u32 getFileSize(u32 index) const = 0;
virtual s32 findFile(const io::path& filename, bool isFolder=false) const = 0;
virtual const io::path& getPath() const = 0;
coreutil.h
New methods
s32 isFileExtension(const io::path& filename,
const io::path& ext0, const io::path& ext1, const io::path& ext2)
bool hasFileExtension(const io::path& filename,
const io::path& ext0, const io::path& ext1 = "", const io::path& ext2 = "")
stringw& cutFilenameExtension ( stringw &dest, const stringw &source )
core::stringw& deletePathFromFilename(core::stringw& filename)
core::stringc& deletePathFromFilename(core::stringc& filename)
io::path& deletePathFromPath(io::path& filename, s32 pathCount)
s32 isInSameDirectory ( const io::path& path, const io::path& file )
IGUIComboBox.h
New methods
virtual u32 getItemData(u32 idx) const = 0;
virtual s32 getIndexForItemData(u32 data ) const = 0;
New parameter
virtual u32 addItem(const wchar_t* text, u32 data = 0) = 0;
irrArray.h
New allocation scheme member
array()
Use overload instead of different name
s32 binary_search(const T& element) const
New method
void setAllocStrategy ( eAllocStrategy newStrategy = ALLOC_STRATEGY_DOUBLE )
s32 binary_search_multi(const T& element, s32 &last)
IrrCompileConfig.h
New compiler flags
#define _IRR_MATERIAL_MAX_TEXTURES_ 4
//! Define _IRR_D3D_USE_LEGACY_HLSL_COMPILER to enable the old HLSL compiler in recent DX SDKs
#define BURNINGVIDEO_RENDERER_CE
#define IGNORE_DEPRECATED_WARNING
#define _IRR_COMPILE_WITH_PLY_LOADER_
#define _IRR_COMPILE_WITH_PLY_WRITER_
#define _IRR_COMPILE_WITH_RGB_LOADER_
#define __IRR_COMPILE_WITH_ZIP_ARCHIVE_LOADER_
#define __IRR_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_
#define __IRR_COMPILE_WITH_PAK_ARCHIVE_LOADER_
#define __IRR_COMPILE_WITH_TAR_ARCHIVE_LOADER_
//! _IRR_WINDOWS_CE_PLATFORM_ for Windows CE
//! _IRR_COMPILE_WITH_WINDOWS_DEVICE_ for Windows API based device
//! _IRR_COMPILE_WITH_WINDOWS_CE_DEVICE_ for Windows CE API based device
//! _IRR_COMPILE_WITH_OSX_DEVICE_ for Cocoa native windowing on OSX
//! _IRR_COMPILE_WITH_X11_DEVICE_ for Linux X11 based device
//! _IRR_COMPILE_WITH_SDL_DEVICE_ for platform independent SDL framework
//! _IRR_COMPILE_WITH_CONSOLE_DEVICE_ for no windowing system, used as a fallback
Removed compiler flags
//! _IRR_USE_SDL_DEVICE_ for platform independent SDL framework
//! _IRR_USE_WINDOWS_DEVICE_ for Windows API based device
//! _IRR_USE_WINDOWS_CE_DEVICE_ for Windows CE API based device
//! _IRR_USE_LINUX_DEVICE_ for X11 based device
//! _IRR_USE_OSX_DEVICE_ for Cocoa native windowing on OSX
Old compilers rejected
# error "Only Microsoft Visual Studio 7.0 and later are supported."
Force symbol export in shared libraries built with gcc.
#define IRRLICHT_API __attribute__ ((visibility("default")))
IGUIFileOpenDialog.h
New method
virtual const io::path& getDirectoryName() = 0;
EDeviceTypes.h
New enum for multi-device support
enum E_DEVICE_TYPE
IMeshLoader.h
Changed parameter to use io::path instead of C strings
virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
IAnimatedMeshSceneNode.h
Changed return value to pointer type
virtual const SMD3QuaternionTag* getMD3TagTransformation( const core::stringc & tagname) = 0;
ISceneManager.h
New enum values and numbering
enum E_SCENE_NODE_RENDER_PASS
ESNRP_NONE =0,
ESNRP_TRANSPARENT =16,
ESNRP_TRANSPARENT_EFFECT =32,
Changed parameter to use io::path instead of C strings
virtual IAnimatedMesh* getMesh(const io::path& filename) = 0;
New methods
virtual io::IFileSystem* getFileSystem() = 0;
virtual ITriangleSelector* createTriangleSelector(IAnimatedMeshSceneNode* node) = 0;
virtual const c8* getAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type) = 0;
virtual ISkinnedMesh* createSkinnedMesh() = 0;
virtual void setLightManager(ILightManager* lightManager) = 0;
virtual const IGeometryCreator* getGeometryCreator(void) const = 0;
virtual bool isCulled(const ISceneNode* node) const =0;
Changed return type to IMeshSceneNode
virtual IMeshSceneNode* addOctTreeSceneNode(IAnimatedMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false) = 0;
virtual IMeshSceneNode* addOctTreeSceneNode(IMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false) = 0;
virtual IMeshSceneNode* addQuake3SceneNode(IMeshBuffer* meshBuffer, const quake3::IShader * shader,
ISceneNode* parent=0, s32 id=-1) = 0;
New parameter invertMouse
virtual ICameraSceneNode* addCameraSceneNodeFPS(ISceneNode* parent = 0,
f32 rotateSpeed = 100.0f, f32 moveSpeed = 0.5f, s32 id=-1,
SKeyMap* keyMapArray=0, s32 keyMapSize=0, bool noVerticalMovement=false,
f32 jumpSpeed = 0.f, bool invertMouse=false) = 0;
New parameter radius
virtual ISceneNode* addSkyDomeSceneNode(video::ITexture* texture,
u32 horiRes=16, u32 vertRes=8,
f32 texturePercentage=0.9, f32 spherePercentage=2.0,f32 radius = 1000.f,
ISceneNode* parent=0, s32 id=-1) = 0;
Changed to use io::path instead of C strings
virtual ITerrainSceneNode* addTerrainSceneNode(
const io::path& heightMapFileName,
ISceneNode* parent=0, s32 id=-1,
virtual IAnimatedMesh* addHillPlaneMesh(const io::path& name,
const core::dimension2d<f32>& tileSize, const core::dimension2d<u32>& tileCount,
video::SMaterial* material = 0, f32 hillHeight = 0.0f,
const core::dimension2d<f32>& countHills = core::dimension2d<f32>(0.0f, 0.0f),
const core::dimension2d<f32>& textureRepeatCount = core::dimension2d<f32>(1.0f, 1.0f)) = 0;
virtual IAnimatedMesh* addArrowMesh(const io::path& name,
video::SColor vtxColor0=0xFFFFFFFF,
video::SColor vtxColor1=0xFFFFFFFF,
u32 tesselationCylinder=4, u32 tesselationCone=8,
virtual IAnimatedMesh* addSphereMesh(const io::path& name,
f32 radius=5.f, u32 polyCountX = 16,
u32 polyCountY = 16) = 0;
virtual bool saveScene(const io::path& filename, ISceneUserDataSerializer* userDataSerializer=0) = 0;
virtual bool loadScene(const io::path& filename, ISceneUserDataSerializer* userDataSerializer=0) = 0;
Changed to use io::path instead of C strings and signedness change
virtual IAnimatedMesh* addTerrainMesh(const io::path& meshname,
video::IImage* texture, video::IImage* heightmap,
const core::dimension2d<f32>& stretchSize = core::dimension2d<f32>(10.0f,10.0f),
f32 maxHeight=200.0f,
const core::dimension2d<u32>& defaultVertexBlockSize = core::dimension2d<u32>(64,64)) = 0;
New method
virtual IAnimatedMesh* addVolumeLightMesh(const io::path& name,
const u32 SubdivideU = 32, const u32 SubdivideV = 32,
const video::SColor FootColor = video::SColor(51, 0, 230, 180),
const video::SColor TailColor = video::SColor(0, 0, 0, 0)) = 0;
Constification of method
virtual ICameraSceneNode* getActiveCamera() const =0;
New parameters
virtual ISceneNodeAnimator* createFlyCircleAnimator(
const core::vector3df& center=core::vector3df(0.f,0.f,0.f),
f32 radius=100.f, f32 speed=0.001f,
const core::vector3df& direction=core::vector3df(0.f, 1.f, 0.f),
f32 startPosition = 0.f,
f32 radiusEllipsoid = 0.f) = 0;
virtual ISceneNodeAnimator* createFlyStraightAnimator(const core::vector3df& startPoint,
const core::vector3df& endPoint, u32 timeForWay, bool loop=false, bool pingpong = false) = 0;
ISceneNodeAnimatorCollisionResponse.h
New interface
class ICollisionCallback : public virtual IReferenceCounted
New methods for ISceneNodeAnimatorCollisionResponse
virtual void setAnimateTarget ( bool enable ) = 0;
virtual bool getAnimateTarget () const = 0;
virtual void setTargetNode(ISceneNode * node) = 0;
virtual ISceneNode* getTargetNode(void) const = 0;
virtual bool collisionOccurred() const = 0;
virtual const core::vector3df & getCollisionPoint() const = 0;
virtual const core::triangle3df & getCollisionTriangle() const = 0;
virtual const core::vector3df & getCollisionResultPosition(void) const = 0;
virtual const ISceneNode* getCollisionNode(void) const = 0;
virtual void setCollisionCallback(ICollisionCallback* callback) = 0;
ILightSceneNode.h
New methods
virtual void setVisible(bool isVisible) = 0;
EMeshWriterEnums.h
New enums
EMWT_PLY = MAKE_IRR_ID('p','l','y',0)
EMWF_WRITE_BINARY = 0x4
ISceneNodeAnimator.h
New method
virtual bool hasFinished(void) const
SMaterialLayer.h
Changed types
u8 TextureWrap;
bool BilinearFilter:1;
bool TrilinearFilter:1;
u8 AnisotropicFilter;
New member
s8 LODBias;
IVideoModeList.h
Signedness change
virtual core::dimension2d<u32> getVideoModeResolution(s32 modeNumber) const = 0;
virtual core::dimension2d<u32> getVideoModeResolution(const core::dimension2d<u32>& minSize, const core::dimension2d<u32>& maxSize) const = 0;
virtual const core::dimension2d<u32>& getDesktopResolution() const = 0;
EMaterialFlags.h
Enum values changed (all renumbered)
ISkinnedMesh.h
Renamed methods (was create... before, but these methods grab the things they create)
virtual SSkinMeshBuffer* addMeshBuffer() = 0;
virtual SJoint* addJoint(SJoint *parent=0) = 0;
virtual SWeight* addWeight(SJoint *joint) = 0;
virtual SPositionKey* addPositionKey(SJoint *joint) = 0;
virtual SScaleKey* addScaleKey(SJoint *joint) = 0;
virtual SRotationKey* addRotationKey(SJoint *joint) = 0;
SLight.h
Type change
bool CastShadows:1;
IGUITreeView.h
New element
// written by Reinhard Ostermeier, reinhard@nospam.r-ostermeier.de
class IGUITreeView : public IGUIElement
IAnimatedMeshMD3.h
Renamed class (from SMD3QuaterionTag)
struct SMD3QuaternionTag
IGUIEnvironment.h
New methods
virtual IGUIImageList* createImageList( video::ITexture* texture,
core::dimension2d<s32> imageSize, bool useAlphaChannel ) = 0;
virtual IGUITreeView* addTreeView(const core::rect<s32>& rectangle,
IGUIElement* parent=0, s32 id=-1, bool drawBackground=false,
bool scrollBarVertical = true, bool scrollBarHorizontal = false) = 0;
Changed parameters to use io::path (instead of C strings)
virtual IGUIFont* getFont(const io::path& filename) = 0;
virtual IGUISpriteBank* getSpriteBank(const io::path& filename) = 0;
virtual IGUISpriteBank* addEmptySpriteBank(const io::path& name) = 0;
virtual bool saveGUI(const io::path& filename, IGUIElement* start=0) = 0;
virtual bool loadGUI(const io::path& filename, IGUIElement* parent=0) = 0;
New parameter "border"
virtual IGUISpinBox* addSpinBox(const wchar_t* text, const core::rect<s32>& rectangle,
bool border=true,IGUIElement* parent=0, s32 id=-1) = 0;
IQ3Shader.h
Made non-const
static core::stringc irrEmptyStringc("");
New enum values
enum eQ3MeshIndex
E_Q3_MESH_FOG,
E_Q3_MESH_UNRESOLVED,
IGeometryCreator.h
New interface
class IGeometryCreator : public IReferenceCounted
IFileArchive.h
New interfaces
class IFileArchive : public virtual IReferenceCounted
class IArchiveLoader : public virtual IReferenceCounted
IFileSystem.h
Changed parameters to use io::path (instead of C strings/stringc)
virtual IReadFile* createAndOpenFile(const path& filename) =0;
virtual IReadFile* createMemoryReadFile(void* memory, s32 len, const path& fileName, bool deleteMemoryWhenDropped=false) =0;
virtual IWriteFile* createAndWriteFile(const path& filename, bool append=false) =0;
virtual const path& getWorkingDirectory() =0;
virtual bool changeWorkingDirectoryTo(const path& newDirectory) =0;
virtual path getAbsolutePath(const path& filename) const =0;
virtual path getFileDir(const path& filename) const =0;
virtual path getFileBasename(const path& filename, bool keepExtension=true) const =0;
virtual bool existFile(const path& filename) const =0;
virtual IXMLReader* createXMLReader(const path& filename) =0;
virtual IXMLReaderUTF8* createXMLReaderUTF8(const path& filename) =0;
virtual IXMLWriter* createXMLWriter(const path& filename) =0;
New methods
virtual IReadFile* createLimitReadFile(const path& fileName,
IReadFile* alreadyOpenedFile, long pos, long areaSize) =0;
virtual IWriteFile* createMemoryWriteFile(void* memory, s32 len, const path& fileName, bool deleteMemoryWhenDropped=false) =0;
virtual bool addFileArchive(const path& filename, bool ignoreCase=true, bool ignorePaths=true,
E_FILE_ARCHIVE_TYPE archiveType=EFAT_UNKNOWN) =0;
virtual void addArchiveLoader(IArchiveLoader* loader) =0;
virtual u32 getFileArchiveCount() const =0;
virtual bool removeFileArchive(u32 index) =0;
virtual bool removeFileArchive(const path& filename) =0;
virtual bool moveFileArchive(u32 sourceIndex, s32 relative) =0;
virtual IFileArchive* getFileArchive(u32 index) =0;
virtual path& flattenFilename(path& directory, const path& root="/") const =0;
virtual EFileSystemType setFileListSystem(EFileSystemType listType) =0;
Deprecate methods
virtual bool addZipFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true)
virtual bool addFolderFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true)
virtual bool addPakFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true)
Constification of method
virtual IFileList* createFileList() =0;
IrrlichtDevice.h
Renamed method (from setResizeAble)
virtual void setResizable(bool resize=false) = 0;
New methods
virtual void minimizeWindow() =0;
virtual void maximizeWindow() =0;
virtual void restoreWindow() =0;
virtual bool setGammaRamp(f32 red, f32 green, f32 blue,
f32 relativebrightness, f32 relativecontrast) =0;
virtual bool getGammaRamp(f32 &red, f32 &green, f32 &blue,
f32 &brightness, f32 &contrast) =0;
virtual E_DEVICE_TYPE getType() const = 0;
irrMath.h
Renamed from ROUNDING_ERROR_32
const f32 ROUNDING_ERROR_f32 = 0.000001f;
Renamed from ROUNDING_ERROR_64
const f64 ROUNDING_ERROR_f64 = 0.00000001;
New constant
const s32 ROUNDING_ERROR_S32 = 1;
New methods
bool isnotzero(const f32 a, const f32 tolerance = ROUNDING_ERROR_f32)
u16 if_c_a_else_b ( const s16 condition, const u16 a, const u16 b )
f32 squareroot(const f32 f)
f64 squareroot(const f64 f)
s32 squareroot(const s32 f)
f64 reciprocal_squareroot(const f64 x)
s32 reciprocal_squareroot(const s32 x)
f64 reciprocal ( const f64 f )
IGPUProgrammingServices.h
Changed parameters to use io::path
virtual s32 addHighLevelShaderMaterialFromFiles(
const io::path& vertexShaderProgramFileName,
const c8* vertexShaderEntryPointName = "main",
E_VERTEX_SHADER_TYPE vsCompileTarget = EVST_VS_1_1,
const io::path& pixelShaderProgramFileName = "",
const c8* pixelShaderEntryPointName = "main",
E_PIXEL_SHADER_TYPE psCompileTarget = EPST_PS_1_1,
IShaderConstantSetCallBack* callback = 0,
virtual s32 addShaderMaterialFromFiles(const io::path& vertexShaderProgramFileName,
const io::path& pixelShaderProgramFileName,
IShaderConstantSetCallBack* callback = 0,
E_MATERIAL_TYPE baseMaterial = video::EMT_SOLID,
s32 userData = 0) = 0;
ISceneNode.h
New method
virtual bool isTrulyVisible() const
IEventReceiver.h
New enum values
EMIE_MOUSE_DOUBLE_CLICK,
EMIE_MOUSE_TRIPLE_CLICK,
EGET_DIRECTORY_SELECTED,
EGET_EDITBOX_CHANGED,
EGET_EDITBOX_MARKING_CHANGED,
EGET_TREEVIEW_NODE_DESELECT,
EGET_TREEVIEW_NODE_SELECT,
EGET_TREEVIEW_NODE_EXPAND,
EGET_TREEVIEW_NODE_COLLAPS,
EGET_COUNT
New enum
enum E_MOUSE_BUTTON_STATE_MASK
New members
bool Shift:1;
bool Control:1;
u32 ButtonStates;
New methods
bool isLeftPressed() const { return 0 != ( ButtonStates & EMBSM_LEFT ); }
bool isRightPressed() const { return 0 != ( ButtonStates & EMBSM_RIGHT ); }
bool isMiddlePressed() const { return 0 != ( ButtonStates & EMBSM_MIDDLE ); }
Types changed
bool PressedDown:1;
bool Shift:1;
bool Control:1;
IGUISpriteBank.h
New method
virtual void draw2DSpriteBatch(const core::array<u32>& indices, const core::array<core::position2di>& pos,
const core::rect<s32>* clip=0,
const video::SColor& color= video::SColor(255,255,255,255),
u32 starttime=0, u32 currenttime=0,
bool loop=true, bool center=false) = 0;
SMaterial.h
New enums
enum E_COMPARISON_FUNC
enum E_COLOR_PLANE
enum E_ALPHA_SOURCE
enum E_ANTI_ALIASING_MODE
enum E_COLOR_MATERIAL
New parameters
inline f32 pack_texureBlendFunc ( const E_BLEND_FACTOR srcFact, const E_BLEND_FACTOR dstFact, const E_MODULATE_FUNC modulate=EMFN_MODULATE_1X, const u32 alphaSource=EAS_TEXTURE )
inline void unpack_texureBlendFunc ( E_BLEND_FACTOR &srcFact, E_BLEND_FACTOR &dstFact,
E_MODULATE_FUNC &modulo, u32& alphaSource, const f32 param )
New methods
inline bool textureBlendFunc_hasAlpha ( const E_BLEND_FACTOR factor )
Default value set elsewhere now (see IrrCompileConfig.h)
const u32 MATERIAL_MAX_TEXTURES = _IRR_MATERIAL_MAX_TEXTURES_;
Types changed
u8 ZBuffer;
bool Wireframe:1;
bool PointCloud:1;
bool GouraudShading:1;
bool Lighting:1;
bool ZWriteEnable:1;
bool BackfaceCulling:1;
bool FrontfaceCulling:1;
bool FogEnable:1;
bool NormalizeNormals:1;
New members
u8 AntiAliasing;
u8 ColorMask:4;
u8 ColorMaterial:3;
New constant
IRRLICHT_API extern SMaterial IdentityMaterial;
IGUISkin.h
New enum values
EGDS_TITLEBARTEXT_DISTANCE_X,
EGDS_TITLEBARTEXT_DISTANCE_Y,
quaternion.h
New parameters
void getMatrix( matrix4 &dest, const vector3df &translation ) const;
New method
void getMatrixCenter( matrix4 &dest, const vector3df ¢er, const vector3df &translation ) const;
ISceneNodeAnimatorCameraFPS.h
New method
virtual void setInvertMouse(bool invert) = 0;
IImage.h
New enum values
/** Floating Point formats. The following formats may only be used for render target textures. */
ECF_R16F,
ECF_G16R16F,
ECF_A16B16G16R16F,
ECF_R32F,
ECF_G32R32F,
ECF_A32B32G32R32F,
ECF_UNKNOWN
Signedness change
virtual const core::dimension2d<u32>& getDimension() const = 0;
virtual void copyToScaling(void* target, u32 width, u32 height, ECOLOR_FORMAT format=ECF_A8R8G8B8, u32 pitch=0) =0;
New parameter
virtual void setPixel(u32 x, u32 y, const SColor &color, bool blend = false ) = 0;
New method
virtual void copyToScalingBoxFilter(IImage* target, s32 bias = 0, bool blend = false) = 0;
static u32 getBitsPerPixelFromFormat(const ECOLOR_FORMAT format)
static bool isRenderTargetOnlyFormat(const ECOLOR_FORMAT format)
IVideoDriver.h
New enum values (only existing if _IRR_MATERIAL_MAX_TEXTURES_ large enough)
ETS_TEXTURE_4
ETS_TEXTURE_5
ETS_TEXTURE_6
ETS_TEXTURE_7
New enums
enum E_RENDER_TARGET
enum E_FOG_TYPE
New type
struct SOverrideMaterial
New methods
virtual u32 getImageLoaderCount() const = 0;
virtual IImageLoader* getImageLoader(u32 n) = 0;
virtual u32 getImageWriterCount() const = 0;
virtual IImageWriter* getImageWriter(u32 n) = 0;
virtual bool setRenderTarget(E_RENDER_TARGET target, bool clearTarget=true,
bool clearZBuffer=true, SColor color=video::SColor(0,0,0,0)) =0;
virtual void draw2DVertexPrimitiveList(const void* vertices, u32 vertexCount,
const void* indexList, u32 primCount,
E_VERTEX_TYPE vType=EVT_STANDARD,
scene::E_PRIMITIVE_TYPE pType=scene::EPT_TRIANGLES,
E_INDEX_TYPE iType=EIT_16BIT) =0;
virtual void draw2DImageBatch(const video::ITexture* texture,
const core::array<core::position2d<s32> >& positions,
const core::array<core::rect<s32> >& sourceRects,
const core::rect<s32>* clipRect=0,
SColor color=SColor(255,255,255,255),
bool useAlphaChannelOfTexture=false) =0;
virtual void turnLightOn(s32 lightIndex, bool turnOn) =0;
virtual bool writeImageToFile(IImage* image, io::IWriteFile* file, u32 param =0) =0;
virtual IImage* createImage(ITexture* texture,
const core::position2d<s32>& pos, const core::dimension2d<u32>& size) =0;
virtual void setMinHardwareBufferVertexCount(u32 count) =0;
virtual SOverrideMaterial& getOverrideMaterial() =0;
Changed parameters to use io::path
virtual ITexture* getTexture(const io::path& filename) = 0;
virtual void renameTexture(ITexture* texture, const io::path& newName) = 0;
virtual ITexture* addTexture(const io::path& name, IImage* image) = 0;
virtual IImage* createImageFromFile(const io::path& filename) = 0;
virtual bool writeImageToFile(IImage* image, const io::path& filename, u32 param = 0) = 0;
virtual video::ITexture* findTexture(const io::path& filename) = 0;
Changed signedness
virtual ITexture* addTexture(const core::dimension2d<u32>& size,
const io::path& name, ECOLOR_FORMAT format = ECF_A8R8G8B8) = 0;
virtual const core::dimension2d<u32>& getScreenSize() const =0;
virtual const core::dimension2d<u32>& getCurrentRenderTargetSize() const =0;
virtual IImage* createImageFromData(ECOLOR_FORMAT format,
const core::dimension2d<u32>& size, void *data,
bool ownForeignMemory=false,
bool deleteMemory = true) =0;
virtual IImage* createImage(ECOLOR_FORMAT format, const core::dimension2d<u32>& size) =0;
virtual IImage* createImage(IImage* imageToCopy,
const core::position2d<s32>& pos,
const core::dimension2d<u32>& size) =0;
virtual void OnResize(const core::dimension2d<u32>& size) =0;
Changed signedness and usage of io::path
virtual ITexture* addRenderTargetTexture(const core::dimension2d<u32>& size,
const io::path& name = "rt", const ECOLOR_FORMAT format = ECF_UNKNOWN) =0;
Removed deprecated method
virtual ITexture* createRenderTargetTexture(const core::dimension2d<s32>& size,
const c8* name=0) =0;
New parameter
virtual void makeColorKeyTexture(video::ITexture* texture,
video::SColor color, bool zeroTexels = false) const =0;
virtual void makeColorKeyTexture(video::ITexture* texture,
core::position2d<s32> colorKeyPixelPos, bool zeroTexels = false) const =0;
Changed parameters
virtual void setFog(SColor color=SColor(0,255,255,255),
E_FOG_TYPE fogType=EFT_FOG_LINEAR,
f32 start=50.0f, f32 end=100.0f, f32 density=0.01f,
bool pixelFog=false, bool rangeFog=false) =0;
Changed return types
virtual s32 addDynamicLight(const SLight& light) =0;
EDriverFeatures.h
New enum values
EVDF_ALPHA_TO_COVERAGE,
EVDF_COLOR_MASK,
IGUIScrollBar.h
New methods
virtual void setMin(s32 max) = 0;
virtual s32 getMin() const = 0;
IQ3LevelMesh.h
Removed method
virtual void releaseMesh(s32 index) = 0;
Made return value non-const
virtual quake3::tQ3EntityList& getEntityList() = 0;
ISceneCollisionManager.h
New parameter
virtual bool getCollisionPoint(const core::line3d<f32>& ray,
ITriangleSelector* selector, core::vector3df& outCollisionPoint,
core::triangle3df& outTriangle, const ISceneNode*& outNode) =0;
virtual core::vector3df getCollisionResultPosition(
ITriangleSelector* selector,
const core::vector3df &ellipsoidPosition,
const core::vector3df& ellipsoidRadius,
const core::vector3df& ellipsoidDirectionAndSpeed,
core::triangle3df& triout,
core::vector3df& hitPosition,
bool& outFalling,
const ISceneNode*& outNode,
f32 slidingSpeed = 0.0005f,
const core::vector3df& gravityDirectionAndSpeed = core::vector3df(0.0f, 0.0f, 0.0f)) = 0;
Made parameter const&
virtual core::line3d<f32> getRayFromScreenCoordinates(
const core::position2d<s32> & pos, ICameraSceneNode* camera = 0) = 0;
virtual core::position2d<s32> getScreenCoordinatesFrom3DPosition(
const core::vector3df & pos, ICameraSceneNode* camera=0) = 0;
Made parameter const& and added new parameter
virtual ISceneNode* getSceneNodeFromScreenCoordinatesBB(const core::position2d<s32>& pos,
s32 idBitMask=0, bool bNoDebugObjects=false, ISceneNode* root=0) =0;
virtual ISceneNode* getSceneNodeFromRayBB(const core::line3d<f32>& ray,
s32 idBitMask=0, bool bNoDebugObjects=false, ISceneNode* root=0) =0;
New method
virtual ISceneNode* getSceneNodeAndCollisionPointFromRay(
core::line3df ray, core::vector3df & outCollisionPoint,
core::triangle3df & outTriangle, s32 idBitMask = 0,
ISceneNode * collisionRootNode = 0, bool noDebugObjects = false) = 0;
irrlicht.h
Changed interface of method (qualifiers and signedness)
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDevice(
video::E_DRIVER_TYPE deviceType = video::EDT_SOFTWARE,
// parantheses are necessary for some compilers
const core::dimension2d<u32>& windowSize = (core::dimension2d<u32>(640,480)),
u32 bits = 16,
bool fullscreen = false,
bool stencilbuffer = false,
bool vsync = false,
IEventReceiver* receiver = 0);
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDeviceEx(
const SIrrlichtCreationParameters& parameters);
IImageLoader.h
Changed parameters to use io::path
virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
IGUIWindow.h
New methods
virtual bool isDraggable() const = 0;
virtual void setDraggable(bool draggable) = 0;
virtual void setDrawBackground(bool draw) = 0;
virtual bool getDrawBackground() const = 0;
virtual void setDrawTitlebar(bool draw) = 0;
virtual bool getDrawTitlebar() const = 0;
ICameraSceneNode.h
New methods
virtual void setViewMatrixAffector(const core::matrix4& affector) =0;
virtual const core::matrix4& getViewMatrixAffector() const =0;
EGUIElementTypes.h
New enum value
EGUIET_TREE_VIEW,
IImageWriter.h
Changed parameters to use io::path
virtual bool isAWriteableFileExtension(const io::path& filename) const = 0;
SIrrCreationParameters.h
Added members
E_DEVICE_TYPE DeviceType;
bool Doublebuffer;
bool Stereobuffer;
Changed signedness
core::dimension2d<u32> WindowSize;
Changed type (from bool)
u8 AntiAlias;
matrix4.h
New methods
bool isOrthogonal() const;
CMatrix4<T>& buildRotateFromTo(const core::vector3df& from, const core::vector3df& to);
void setRotationCenter(const core::vector3df& center, const core::vector3df& translate);
void buildAxisAlignedBillboard( const core::vector3df& camPos,
const core::vector3df& center, const core::vector3df& translation,
const core::vector3df& axis, const core::vector3df& from);
IWriteFile.h
Changed parameters to use io::path
virtual const path& getFileName() const = 0;
IGUITable.h
New methods
virtual void setSelected( s32 index ) = 0;
Changed type (from wide c string)
virtual void setCellText(u32 rowIndex, u32 columnIndex, const core::stringw& text) = 0;
virtual void setCellText(u32 rowIndex, u32 columnIndex, const core::stringw& text, video::SColor color) = 0;
SKeyMap.h
New enum value
EKA_CROUCH,
IGUIFont.h
Changed type (from wide c string)
virtual void draw(const core::stringw& text, const core::rect<s32>& position,
video::SColor color, bool hcenter=false, bool vcenter=false,
const core::rect<s32>* clip=0) = 0;
Changed signedness
virtual core::dimension2d<u32> getDimension(const wchar_t* text) const = 0;
New method
virtual void setInvisibleCharacters( const wchar_t *s ) = 0;
IMeshCache.h
Changed parameters to use io::path
virtual void addMesh(const io::path& filename, IAnimatedMesh* mesh) = 0;
virtual IAnimatedMesh* getMeshByFilename(const io::path& filename) = 0;
virtual const io::path& getMeshFilename(u32 index) const = 0;
virtual const io::path& getMeshFilename(const IAnimatedMesh* const mesh) const = 0;
virtual const io::path& getMeshFilename(const IMesh* const mesh) const = 0;
virtual bool setMeshFilename(u32 index, const io::path& filename) = 0;
virtual bool setMeshFilename(const IAnimatedMesh* const mesh, const io::path& filename) = 0;
virtual bool setMeshFilename(const IMesh* const mesh, const io::path& filename) = 0;
virtual bool isMeshLoaded(const io::path& filename) = 0;
IGUIButton.h
Added default value
virtual void setImage(video::ITexture* image=0) = 0;
virtual void setPressedImage(video::ITexture* image=0) = 0;
virtual void setSpriteBank(IGUISpriteBank* bank=0) = 0;
virtual void setIsPushButton(bool isPushButton=true) = 0;
virtual void setPressed(bool pressed=true) = 0;
virtual void setUseAlphaChannel(bool useAlphaChannel=true) = 0;
virtual void setDrawBorder(bool border=true) = 0;
New methods
virtual void setScaleImage(bool scaleImage=true) = 0;
virtual bool isScalingImage() const = 0;
position2d.h
Replaced by vector2d
IGUIImageList.h
New interface
class IGUIImageList : public virtual IReferenceCounted
rect.h
Added second template parameter to allow mismatched signedness
template <class U>
rect(const position2d<T>& pos, const dimension2d<U>& size)
IParticleEmitter.h
Removed wrong overrides
virtual void serializeAttributes(io::IAttributes* out,
io::SAttributeReadWriteOptions* options=0) const {}
virtual s32 deserializeAttributes(s32 startIndex, io::IAttributes* in,
io::SAttributeReadWriteOptions* options=0) { return 0; }
IOSOperator.h
Return const string
virtual const c8* getTextFromClipboard() const = 0;
IGUIElement.h
Signedness change
void setMaxSize(core::dimension2du size)
void setMinSize(core::dimension2du size)
IReadFile.h
Changed parameters to use io::path
virtual const io::path& getFileName() const = 0;
IReadFile* createReadFile(const io::path& fileName);
IReadFile* createLimitReadFile(const io::path& fileName, IReadFile* alreadyOpenedFile, long pos, long areaSize);
IReadFile* createMemoryReadFile(void* memory, long size, const io::path& fileName, bool deleteMemoryWhenDropped);
IGUITabControl.h
New methods
virtual void setTabMaxWidth(s32 width ) = 0;
virtual s32 getTabMaxWidth() const = 0;
IParticleAffector.h
Removed wrong overrides
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const {}
virtual s32 deserializeAttributes(s32 startIndex, io::IAttributes* in, io::SAttributeReadWriteOptions* options=0) { return 0; }
ILogger.h
New method
virtual void log(const c8* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION) = 0;
vector2d.h
New methods
vector2d(const dimension2d<T>& other) : X(other.Width), Y(other.Height) {}
vector2d<T>& operator=(const dimension2d<T>& other) { X = other.Width; Y = other.Height; return *this; }
vector2d<T> operator+(const dimension2d<T>& other) const { return vector2d<T>(X + other.Width, Y + other.Height); }
vector2d<T>& operator+=(const dimension2d<T>& other) { X += other.Width; Y += other.Height; return *this; }
vector2d<T> operator-(const dimension2d<T>& other) const { return vector2d<T>(X - other.Width, Y - other.Height); }
vector2d<T>& operator-=(const dimension2d<T>& other) { X -= other.Width; Y -= other.Height; return *this; }
// These methods are declared in dimension2d, but need definitions of vector2d
template<class T>
dimension2d<T>::dimension2d(const vector2d<T>& other) : Width(other.X), Height(other.Y) { }
template<class T>
bool dimension2d<T>::operator==(const vector2d<T>& other) const { return Width == other.X && Height == other.Y; }
Changes for Version 1.6.1
-------------------------
This is again just a bugfix release. However, some minor API changes have happened. The most important one is the removal of lins anti-aliasing from SMaterial's default values. Please add that line smoothing flag to the materials you want to be smoothed. But note that this may lead to drastically reduced performance, if no multi-sampling is active.
IFileList.h
new methods
virtual u32 getID(u32 index) const = 0;
virtual u32 addItem(const io::path& fullPath, u32 size, bool isDirectory, u32 id=0) = 0;
virtual void sort() = 0;
IrrCompileConfig.h
Removed auto recognition of Solaris OS, please define the setting on your own if you need it
_IRR_SOLARIS_PLATFORM_
IGUITreeView.h
removed methods (use automatically generated versions)
IGUITreeViewNode() {}
virtual ~IGUITreeViewNode() {}
virtual ~IGUITreeView() {}
IFileSystem.h
new method
virtual IFileList* createEmptyFileList(const io::path& path, bool ignoreCase, bool ignorePaths) =0;
SMaterial.h
Removed default value (EAAM_LINE_SMOOTH from AntiAliasing)
ZBuffer(ECFN_LESSEQUAL), AntiAliasing(EAAM_SIMPLE), ColorMask(ECP_ALL),
IGUISkin.h
new enum value
EGST_COUNT
Changes for Version 1.7
-------------------------
This version has less API-breaking changes than the previous major changes. It has many new features, which simply add methods. All those changes, which affect old methods or structures are mostly put in parallel to the old (and now deprecated) methods. Only a few things are changed without backward compatibility: The texture wrap mode is split into separate U and V modes. The beginScene void* parameter has been replaced by an SExposedVideoData. Simply wrap the pointer with this struct and it should work again.
EMIE_LMOUSE_DOUBLE_CLICK replaces EMIE_MOUSE_DOUBLE_CLICK and EMIE_LMOUSE_TRIPLE_CLICK replaces EMIE_MOUSE_TRIPLE_CLICK
Elements used in the array container need now to have an operator=
Here comes the full list:
path.h
New type
struct SNamedPath
triangle3d.h
New method
bool isTotalOutsideBox(const aabbox3d<T>& box) const
ESceneNodeTypes.h
Changed enum value (from octt)
ESNT_OCTREE = MAKE_IRR_ID('o','c','t','r'),
SColor.h
New method
f32 getLightness() const
driverChoice.h
New method
static irr::video::E_DRIVER_TYPE driverChoiceConsole(bool allDrivers=true)
ITexture.h
New parameter
virtual void regenerateMipMapLevels(void* mipmapData=0) = 0;
Changed return value (from io:path)
const io::SNamedPath& getName() const { return NamedPath; }
SceneParameters.h
New scene parameters
const c8* const OBJ_TEXTURE_PATH = "OBJ_TexturePath";
const c8* const B3D_TEXTURE_PATH = "B3D_TexturePath";
IMeshManipulator.h
Not virtual anymore
void setVertexColorAlpha(IMesh* mesh, s32 alpha) const
void setVertexColors(IMesh* mesh, video::SColor color) const
void scale(IMeshBuffer* buffer, const core::vector3df& factor) const
void scaleMesh(IMesh* mesh, const core::vector3df& factor) const
void scaleTCoords(scene::IMesh* mesh, const core::vector2df& factor, u32 level=1) const
void scaleTCoords(scene::IMeshBuffer* buffer, const core::vector2df& factor, u32 level=1) const
void transform(IMesh* mesh, const core::matrix4& m) const
void transform(IMeshBuffer* buffer, const core::matrix4& m) const
New method
template <typename Functor>
bool apply(const Functor& func, IMeshBuffer* buffer, bool boundingBoxUpdate=false) const
template <typename Functor>
bool apply(const Functor& func, IMesh* mesh, bool boundingBoxUpdate=false) const
virtual void recalculateTangents(IMesh* mesh, bool recalculateNormals=false,
bool smooth=false, bool angleWeighted=false) const=0;
void scale(IMesh* mesh, const core::vector3df& factor) const
New parameter
virtual IMesh* createMeshWithTangents(IMesh* mesh, bool recalculateNormals=false, bool smooth=false, bool angleWeighted=false, bool recalculateTangents=true) const = 0;
coreutil.h
Changed return type and parameters (from stringc/w)
inline io::path& cutFilenameExtension ( io::path &dest, const io::path &source )
inline io::path& getFileNameExtension ( io::path &dest, const io::path &source )
inline io::path& deletePathFromFilename(io::path& filename)
Fixed behavior
inline io::path& deletePathFromPath(io::path& filename, s32 pathCount)
ICursorControl.h
Return const-ref
virtual const core::position2d<s32>& getPosition() = 0;
irrArray.h
Fixed allocator template usage
array(const array<T, TAlloc>& other) : data(0)
const array<T, TAlloc>& operator=(const array<T, TAlloc>& other)
bool operator == (const array<T, TAlloc>& other) const
bool operator != (const array<T, TAlloc>& other) const
Changed behavior for free_when_destroyed
void set_pointer(T* newPointer, u32 size, bool _is_sorted=false, bool _free_when_destroyed=true)
void set_free_when_destroyed(bool f)
irrMap.h
Renamed method (from isEmpty)
bool empty() const
New method
void swap(map<KeyType, ValueType>& other)
IAnimatedMesh.h
virtual f32 getAnimationSpeed() const =0;
IAttributes.h
Made parameters const-ref
virtual void addArray(const c8* attributeName, const core::array<core::stringw>& value) = 0;
virtual void setAttribute(const c8* attributeName, const core::array<core::stringw>& value) = 0;
virtual void setAttribute(s32 index, const core::array<core::stringw>& value) = 0;
ISceneManager.h
Renamed method (from OctTree)
virtual IMeshSceneNode* addOctreeSceneNode(IAnimatedMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=512, bool alsoAddIfMeshPointerZero=false) = 0;
virtual IMeshSceneNode* addOctreeSceneNode(IMesh* mesh, ISceneNode* parent=0,
s32 id=-1, s32 minimalPolysPerNode=256, bool alsoAddIfMeshPointerZero=false) = 0;
virtual ITriangleSelector* createOctreeTriangleSelector(IMesh* mesh,
ISceneNode* node, s32 minimalPolysPerNode=32) = 0;
New parameter (makeActive)
virtual ICameraSceneNode* addCameraSceneNode(ISceneNode* parent = 0,
const core::vector3df& position = core::vector3df(0,0,0),
const core::vector3df& lookat = core::vector3df(0,0,100),
s32 id=-1, bool makeActive=true) = 0;
virtual ICameraSceneNode* addCameraSceneNodeMaya(ISceneNode* parent = 0,
f32 rotateSpeed = -1500.0f, f32 zoomSpeed = 200.0f,
f32 translationSpeed = 1500.0f, s32 id=-1,
bool makeActive=true) = 0;
virtual ICameraSceneNode* addCameraSceneNodeFPS(ISceneNode* parent = 0,
f32 rotateSpeed = 100.0f, f32 moveSpeed = 0.5f, s32 id=-1,
SKeyMap* keyMapArray=0, s32 keyMapSize=0, bool noVerticalMovement=false,
f32 jumpSpeed = 0.f, bool invertMouse=false,
bool makeActive=true) = 0;
Make parameter const
virtual IMeshSceneNode* addQuake3SceneNode(const IMeshBuffer* meshBuffer, const quake3::IShader * shader,
ISceneNode* parent=0, s32 id=-1) = 0;
New parameter (loop, pingpong)
virtual ISceneNodeAnimator* createFollowSplineAnimator(s32 startTime,
const core::array< core::vector3df >& points,
f32 speed = 1.0f, f32 tightness = 0.5f, bool loop=true, bool pingpong=false) = 0;
SMaterialLayer.h
New clamp modes
ETC_MIRROR_CLAMP, ETC_MIRROR_CLAMP_TO_EDGE, ETC_MIRROR_CLAMP_TO_BORDER
New material layer modes (replaces TextureWrap)
TextureWrapU(ETC_REPEAT), TextureWrapV(ETC_REPEAT)
vector3d.h
Use tolerance to compare, changed order function to total order
bool operator<=(const vector3d<T>&other) const
bool operator>=(const vector3d<T>&other) const
bool operator<(const vector3d<T>&other) const
bool operator>(const vector3d<T>&other) const
New method
vector3d<T> getSphericalCoordinateAngles()
New method specializations
template <>
inline vector3d<s32> vector3d<s32>::operator /(s32 val) const {return core::vector3d<s32>(X/val,Y/val,Z/val);}
template <>
inline vector3d<s32>& vector3d<s32>::operator /=(s32 val) {X/=val;Y/=val;Z/=val; return *this;}
SExposedVideoData.h
New constructors
SExposedVideoData() {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=0;}
explicit SExposedVideoData(void* Window) {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=Window;}
IGUIEnvironment.h
New method
virtual IGUIFont* addFont(const io::path& name, IGUIFont* font) = 0;
New parameter (image)
virtual IGUIWindow* addMessageBox(const wchar_t* caption, const wchar_t* text=0,
bool modal = true, s32 flags = EMBF_OK, IGUIElement* parent=0, s32 id=-1, video::ITexture* image=0) = 0;
IGeometryCreator.h
New method
IMesh* createPlaneMesh(const core::dimension2d<f32>& tileSize,
const core::dimension2d<u32>& tileCount,
video::SMaterial* material,
const core::dimension2d<f32>& textureRepeatCount) const
IFileArchive.h
New archive type
EFAT_NPK = MAKE_IRR_ID('N','P','K', 0),
New member for storing the password of AES-encrypted archives
core::stringc Password;
IFileSystem.h
New parameter (password)
virtual bool addFileArchive(const path& filename, bool ignoreCase=true,
bool ignorePaths=true,
E_FILE_ARCHIVE_TYPE archiveType=EFAT_UNKNOWN,
const core::stringc& password="") =0;
IrrlichtDevice.h
New method
virtual void clearSystemMessages() = 0;
irrMath.h
Changed constant (from 1)
const s32 ROUNDING_ERROR_S32 = 0;
New method
template <class T>
inline void swap(T& a, T& b)
IGPUProgrammingServices.h
New parameters (for geometry shaders)
virtual s32 addHighLevelShaderMaterial
virtual s32 addHighLevelShaderMaterialFromFiles
virtual s32 addHighLevelShaderMaterialFromFiles
New overload (for calling with geometry shaders)
s32 addHighLevelShaderMaterial
s32 addHighLevelShaderMaterialFromFiles
s32 addHighLevelShaderMaterialFromFiles
ISceneNode.h
New types
typedef core::list<ISceneNode*> ISceneNodeList;
typedef core::list<ISceneNodeAnimator*> ISceneNodeAnimatorList;
IEventReceiver.h
Renamed events (split from EMIE_MOUSE_*)
EMIE_LMOUSE_DOUBLE_CLICK,
EMIE_RMOUSE_DOUBLE_CLICK,
EMIE_MMOUSE_DOUBLE_CLICK,
EMIE_LMOUSE_TRIPLE_CLICK,
EMIE_RMOUSE_TRIPLE_CLICK,
EMIE_MMOUSE_TRIPLE_CLICK,
IGUISpriteBank.h
New method
virtual s32 addTextureAsSprite(video::ITexture* texture) = 0;
virtual void clear() = 0;
SMaterial.h
Changed binary packing (non-visible from user calls)
inline f32 pack_texureBlendFunc ( const E_BLEND_FACTOR srcFact, const E_BLEND_FACTOR dstFact, const E_MODULATE_FUNC modulate=EMFN_MODULATE_1X, const u32 alphaSource=EAS_TEXTURE )
IGUISkin.h
New values
EGDS_MESSAGE_BOX_GAP_SPACE,
EGDS_MESSAGE_BOX_MIN_TEXT_WIDTH,
EGDS_MESSAGE_BOX_MAX_TEST_WIDTH,
EGDS_MESSAGE_BOX_MIN_TEXT_HEIGHT,
EGDS_MESSAGE_BOX_MAX_TEXT_HEIGHT,
New parameter (checkClientArea)
virtual core::rect<s32> draw3DWindowBackground(IGUIElement* element,
bool drawTitleBar, video::SColor titleBarColor,
const core::rect<s32>& rect,
const core::rect<s32>* clip=0,
core::rect<s32>* checkClientArea=0) = 0;
quaternion.h
New operator
bool operator!=(const quaternion& other) const;
New method
inline quaternion& set(const core::quaternion& quat);
inline bool equals(const quaternion& other,
const f32 tolerance = ROUNDING_ERROR_f32 ) const;
irrList.h
New method
u32 size() const
void swap(list<T>& other)
IVideoDriver.h
New render targets
ERT_MULTI_RENDER_TEXTURES
New class
struct IRenderTarget
Changed parameter (from void*)
virtual bool beginScene(bool backBuffer=true, bool zBuffer=true,
SColor color=SColor(255,0,0,0),
const SExposedVideoData& videoData=SExposedVideoData(),
core::rect<s32>* sourceRect=0) =0;
New parameter (mipmapData)
virtual ITexture* addTexture(const io::path& name, IImage* image, void* mipmapData=0) = 0;
New method
virtual bool setRenderTarget(const core::array<video::IRenderTarget>& texture,
bool clearBackBuffer=true, bool clearZBuffer=true,
SColor color=video::SColor(0,0,0,0)) =0;
void drawIndexedTriangleFan(const S3DVertexTangents* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount)
virtual void getFog(SColor& color, E_FOG_TYPE& fogType,
f32& start, f32& end, f32& density,
bool& pixelFog, bool& rangeFog) = 0;
virtual SMaterial& getMaterial2D() =0;
virtual void enableMaterial2D(bool enable=true) =0;
virtual core::dimension2du getMaxTextureSize() const =0;
Made non-virtual
void drawIndexedTriangleList(const S3DVertex* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount)
void drawIndexedTriangleList(const S3DVertex2TCoords* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount)
void drawIndexedTriangleList(const S3DVertexTangents* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount)
void drawIndexedTriangleFan(const S3DVertex* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount)
void drawIndexedTriangleFan(const S3DVertex2TCoords* vertices,
u32 vertexCount, const u16* indexList, u32 triangleCount)
EDriverFeatures.h
New driver feature enums
EVDF_MULTIPLE_RENDER_TARGETS,
EVDF_MRT_BLEND,
EVDF_MRT_COLOR_MASK,
EVDF_MRT_BLEND_FUNC,
EVDF_GEOMETRY_SHADER,
IGUIWindow.h
New method
virtual core::rect<s32> getClientRect() const = 0;
IGUIContextMenu.h
New enum
enum ECONTEXT_MENU_CLOSE
New method
virtual void setCloseHandling(ECONTEXT_MENU_CLOSE onClose) = 0;
virtual ECONTEXT_MENU_CLOSE getCloseHandling() const = 0;
virtual u32 insertItem(u32 idx, const wchar_t* text, s32 commandId=-1, bool enabled=true,
bool hasSubMenu=false, bool checked=false, bool autoChecking=false) = 0;
virtual s32 findItemWithCommandId(s32 commandId, u32 idxStartSearch=0) const = 0;
virtual void setItemAutoChecking(u32 idx, bool autoChecking) = 0;
virtual bool getItemAutoChecking(u32 idx) const = 0;
virtual void setEventParent(IGUIElement *parent) = 0;
New parameter
virtual u32 addItem(const wchar_t* text, s32 commandId=-1, bool enabled=true,
bool hasSubMenu=false, bool checked=false, bool autoChecking=false) = 0;
SIrrCreationParameters.h
New parameter (LoggingLevel)
createDevice
matrix4.h
New method
bool equals(const core::CMatrix4<T>& other, const T tolerance=(T)ROUNDING_ERROR_f64) const;
SSkinMeshBuffer.h
Renamed method (from MoveTo_2TCoords)
virtual void convertTo2TCoords()
Renamed method (from MoveTo_Tangents)
virtual void convertToTangents()
SVertexManipulator.h
New classes (for vertex manipulation)
class SVertexColorSetManipulator : public IVertexManipulator
class SVertexColorSetAlphaManipulator : public IVertexManipulator
class SVertexColorInvertManipulator : public IVertexManipulator
class SVertexColorThresholdManipulator : public IVertexManipulator
class SVertexColorBrightnessManipulator : public IVertexManipulator
class SVertexColorContrastManipulator : public IVertexManipulator
class SVertexColorContrastBrightnessManipulator : public IVertexManipulator
class SVertexColorGammaManipulator : public IVertexManipulator
;
class SVertexColorScaleManipulator : public IVertexManipulator
class SVertexColorDesaturateToLightnessManipulator : public IVertexManipulator
class SVertexColorDesaturateToAverageManipulator : public IVertexManipulator
class SVertexColorDesaturateToLuminanceManipulator : public IVertexManipulator
class SVertexColorInterpolateLinearManipulator : public IVertexManipulator
class SVertexColorInterpolateQuadraticManipulator : public IVertexManipulator
class SVertexPositionScaleManipulator : public IVertexManipulator
;
class SVertexPositionScaleAlongNormalsManipulator : public IVertexManipulator
class SVertexPositionTransformManipulator : public IVertexManipulator
class SVertexTCoordsScaleManipulator : public IVertexManipulator
IMeshCache.h
Renamed method (from getMeshByFilename)
virtual IAnimatedMesh* getMeshByName(const io::path& name) = 0;
Renamed method and changed return type (from getMeshFilename/io::path)
virtual const io::SNamedPath& getMeshName(u32 index) const = 0;
virtual const io::SNamedPath& getMeshName(const IAnimatedMesh* const mesh) const = 0;
virtual const io::SNamedPath& getMeshName(const IMesh* const mesh) const = 0;
Renamed method (from setMeshFilename)
virtual bool renameMesh(u32 index, const io::path& name) = 0;
virtual bool renameMesh(const IAnimatedMesh* const mesh, const io::path& name) = 0;
virtual bool renameMesh(const IMesh* const mesh, const io::path& name) = 0;
IGUIElement.h
Changed parameter (to const-ref)
IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment* environment, IGUIElement* parent,
s32 id, const core::rect<s32>& rectangle)
New method
virtual bool hasType(EGUI_ELEMENT_TYPE type) const
irrString.h
Changed parameter (to template with allocator) in all methods with templates
Made destructor non-virtual
~string()
Added parameter
s32 find(const B* const str, const u32 start = 0) const
New method
void remove(T c)
void remove(const string<T,TAlloc> toRemove)
void removeChars(const string<T,TAlloc> & characters)
template<class container>
u32 split(container& ret, const T* const c, u32 count=1, bool ignoreEmptyTokens=true, bool keepSeparators=false) const
vector2d.h
Use tolerance to compare, changed order function to total order
bool operator<=(const vector2d<T>&other) const
bool operator>=(const vector2d<T>&other) const
bool operator<(const vector2d<T>&other) const
bool operator>(const vector2d<T>&other) const
|