1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
|
//
// Generated By: dol2asm
// Translation Unit: J2DMatBlock
//
#include "JSystem/J2DGraph/J2DMatBlock.h"
#include "JSystem/JUtility/JUTPalette.h"
#include "JSystem/JUtility/JUTResFont.h"
#include "JSystem/JUtility/JUTTexture.h"
#include "dol2asm.h"
#include "dolphin/gx.h"
//
// Forward References:
//
extern "C" void initialize__13J2DColorBlockFv();
extern "C" void setGX__13J2DColorBlockFv();
extern "C" void initialize__14J2DTexGenBlockFv();
extern "C" void setGX__14J2DTexGenBlockFv();
extern "C" void __dt__14J2DTexGenBlockFv();
extern "C" void setTexMtx__14J2DTexGenBlockFUlR9J2DTexMtx();
extern "C" void getTexMtx__14J2DTexGenBlockFUlR9J2DTexMtx();
extern "C" bool getTexture__11J2DTevBlockFUl();
extern "C" bool getPalette__11J2DTevBlockFUl();
extern "C" void __ct__12J2DTevBlock1Fv();
extern "C" void __dt__12J2DTevBlock1Fv();
extern "C" void initialize__12J2DTevBlock1Fv();
extern "C" void prepareTexture__12J2DTevBlock1FUc();
extern "C" void insertTexture__12J2DTevBlock1FUlPC7ResTIMGP10JUTPalette();
extern "C" void insertTexture__12J2DTevBlock1FUlP10JUTTexture();
extern "C" void setTexture__12J2DTevBlock1FUlPC7ResTIMG();
extern "C" void setTexture__12J2DTevBlock1FUlP10JUTTexture();
extern "C" void removeTexture__12J2DTevBlock1FUl();
extern "C" void setFont__12J2DTevBlock1FP7ResFONT();
extern "C" void setFont__12J2DTevBlock1FP7JUTFont();
extern "C" void setPalette__12J2DTevBlock1FUlPC7ResTLUT();
extern "C" void shiftDeleteFlag__12J2DTevBlock1FUcb();
extern "C" void setGX__12J2DTevBlock1Fv();
extern "C" void loadTexture__12J2DTevBlock1F11_GXTexMapIDUl();
extern "C" void __ct__12J2DTevBlock2Fv();
extern "C" void __dt__12J2DTevBlock2Fv();
extern "C" void initialize__12J2DTevBlock2Fv();
extern "C" void prepareTexture__12J2DTevBlock2FUc();
extern "C" void insertTexture__12J2DTevBlock2FUlPC7ResTIMGP10JUTPalette();
extern "C" void insertTexture__12J2DTevBlock2FUlP10JUTTexture();
extern "C" void setTexture__12J2DTevBlock2FUlPC7ResTIMG();
extern "C" void setTexture__12J2DTevBlock2FUlP10JUTTexture();
extern "C" void removeTexture__12J2DTevBlock2FUl();
extern "C" void setFont__12J2DTevBlock2FP7ResFONT();
extern "C" void setFont__12J2DTevBlock2FP7JUTFont();
extern "C" void setPalette__12J2DTevBlock2FUlPC7ResTLUT();
extern "C" void shiftDeleteFlag__12J2DTevBlock2FUcb();
extern "C" void setGX__12J2DTevBlock2Fv();
extern "C" void loadTexture__12J2DTevBlock2F11_GXTexMapIDUl();
extern "C" void __ct__12J2DTevBlock4Fv();
extern "C" void __dt__12J2DTevBlock4Fv();
extern "C" void initialize__12J2DTevBlock4Fv();
extern "C" void prepareTexture__12J2DTevBlock4FUc();
extern "C" void insertTexture__12J2DTevBlock4FUlPC7ResTIMGP10JUTPalette();
extern "C" void insertTexture__12J2DTevBlock4FUlP10JUTTexture();
extern "C" void setTexture__12J2DTevBlock4FUlPC7ResTIMG();
extern "C" void setTexture__12J2DTevBlock4FUlP10JUTTexture();
extern "C" void removeTexture__12J2DTevBlock4FUl();
extern "C" void setFont__12J2DTevBlock4FP7ResFONT();
extern "C" void setFont__12J2DTevBlock4FP7JUTFont();
extern "C" void setPalette__12J2DTevBlock4FUlPC7ResTLUT();
extern "C" void shiftDeleteFlag__12J2DTevBlock4FUcb();
extern "C" void setGX__12J2DTevBlock4Fv();
extern "C" void loadTexture__12J2DTevBlock4F11_GXTexMapIDUl();
extern "C" void __ct__12J2DTevBlock8Fv();
extern "C" void __dt__12J2DTevBlock8Fv();
extern "C" void initialize__12J2DTevBlock8Fv();
extern "C" void prepareTexture__12J2DTevBlock8FUc();
extern "C" void insertTexture__12J2DTevBlock8FUlPC7ResTIMGP10JUTPalette();
extern "C" void insertTexture__12J2DTevBlock8FUlP10JUTTexture();
extern "C" void setTexture__12J2DTevBlock8FUlPC7ResTIMG();
extern "C" void setTexture__12J2DTevBlock8FUlP10JUTTexture();
extern "C" void removeTexture__12J2DTevBlock8FUl();
extern "C" void setFont__12J2DTevBlock8FP7ResFONT();
extern "C" void setFont__12J2DTevBlock8FP7JUTFont();
extern "C" void setPalette__12J2DTevBlock8FUlPC7ResTLUT();
extern "C" void shiftDeleteFlag__12J2DTevBlock8FUcb();
extern "C" void setGX__12J2DTevBlock8Fv();
extern "C" void loadTexture__12J2DTevBlock8F11_GXTexMapIDUl();
extern "C" void __ct__13J2DTevBlock16Fv();
extern "C" void __dt__13J2DTevBlock16Fv();
extern "C" void initialize__13J2DTevBlock16Fv();
extern "C" void prepareTexture__13J2DTevBlock16FUc();
extern "C" void insertTexture__13J2DTevBlock16FUlPC7ResTIMGP10JUTPalette();
extern "C" void insertTexture__13J2DTevBlock16FUlP10JUTTexture();
extern "C" void setTexture__13J2DTevBlock16FUlPC7ResTIMG();
extern "C" void setTexture__13J2DTevBlock16FUlP10JUTTexture();
extern "C" void removeTexture__13J2DTevBlock16FUl();
extern "C" void setFont__13J2DTevBlock16FP7ResFONT();
extern "C" void setFont__13J2DTevBlock16FP7JUTFont();
extern "C" void setPalette__13J2DTevBlock16FUlPC7ResTLUT();
extern "C" void shiftDeleteFlag__13J2DTevBlock16FUcb();
extern "C" void setGX__13J2DTevBlock16Fv();
extern "C" void loadTexture__13J2DTevBlock16F11_GXTexMapIDUl();
extern "C" void initialize__15J2DIndBlockFullFv();
extern "C" void setGX__15J2DIndBlockFullFv();
extern "C" void initialize__10J2DPEBlockFv();
extern "C" void setGX__10J2DPEBlockFv();
extern "C" void __ct__14J2DIndTevStageFv();
extern "C" void __ct__19J2DTevSwapModeTableFv();
extern "C" void __ct__11J2DTevStageFv();
extern "C" void setTevStageInfo__11J2DTevStageFRC15J2DTevStageInfo();
extern "C" void __ct__11J2DTevOrderFv();
extern "C" void __ct__13J2DGXColorS10Fv();
extern "C" void getType__15J2DIndBlockFullFv();
extern "C" void setIndTexStageNum__15J2DIndBlockFullFUc();
extern "C" void getIndTexStageNum__15J2DIndBlockFullCFv();
extern "C" void setIndTexOrder__15J2DIndBlockFullFUl14J2DIndTexOrder();
extern "C" void getIndTexOrder__15J2DIndBlockFullFUl();
extern "C" void setIndTexMtx__15J2DIndBlockFullFUl12J2DIndTexMtx();
extern "C" void getIndTexMtx__15J2DIndBlockFullFUl();
extern "C" void setIndTexCoordScale__15J2DIndBlockFullFUl19J2DIndTexCoordScale();
extern "C" void getIndTexCoordScale__15J2DIndBlockFullFUl();
extern "C" void __dt__15J2DIndBlockFullFv();
extern "C" void getType__13J2DTevBlock16Fv();
extern "C" s32 getMaxStage__13J2DTevBlock16Fv();
extern "C" void setTexNo__13J2DTevBlock16FUlUs();
extern "C" void getTexNo__13J2DTevBlock16CFUl();
extern "C" void setFontNo__13J2DTevBlock16FUs();
extern "C" void getFontNo__13J2DTevBlock16CFv();
extern "C" void setTevOrder__13J2DTevBlock16FUl11J2DTevOrder();
extern "C" void getTevOrder__13J2DTevBlock16FUl();
extern "C" void setTevColor__13J2DTevBlock16FUl13J2DGXColorS10();
extern "C" void getTevColor__13J2DTevBlock16FUl();
extern "C" void setTevKColor__13J2DTevBlock16FUlQ28JUtility6TColor();
extern "C" void getTevKColor__13J2DTevBlock16FUl();
extern "C" void setTevKColorSel__13J2DTevBlock16FUlUc();
extern "C" void getTevKColorSel__13J2DTevBlock16FUl();
extern "C" void setTevKAlphaSel__13J2DTevBlock16FUlUc();
extern "C" void getTevKAlphaSel__13J2DTevBlock16FUl();
extern "C" void setTevStageNum__13J2DTevBlock16FUc();
extern "C" void getTevStageNum__13J2DTevBlock16CFv();
extern "C" void setTevStage__13J2DTevBlock16FUl11J2DTevStage();
extern "C" void getTevStage__13J2DTevBlock16FUl();
extern "C" void setTevSwapModeInfo__13J2DTevBlock16FUl18J2DTevSwapModeInfo();
extern "C" void setTevSwapModeTable__13J2DTevBlock16FUl19J2DTevSwapModeTable();
extern "C" void getTevSwapModeTable__13J2DTevBlock16FUl();
extern "C" void setIndTevStage__13J2DTevBlock16FUl14J2DIndTevStage();
extern "C" void getIndTevStage__13J2DTevBlock16FUl();
extern "C" void insertTexture__13J2DTevBlock16FUlPC7ResTIMG();
extern "C" void getTexture__13J2DTevBlock16FUl();
extern "C" void getPalette__13J2DTevBlock16FUl();
extern "C" void getFont__13J2DTevBlock16Fv();
extern "C" void setUndeleteFlag__13J2DTevBlock16FUc();
extern "C" void setFontUndeleteFlag__13J2DTevBlock16Fv();
extern "C" void getType__12J2DTevBlock8Fv();
extern "C" s32 getMaxStage__12J2DTevBlock8Fv();
extern "C" void setTexNo__12J2DTevBlock8FUlUs();
extern "C" void getTexNo__12J2DTevBlock8CFUl();
extern "C" void setFontNo__12J2DTevBlock8FUs();
extern "C" void getFontNo__12J2DTevBlock8CFv();
extern "C" void setTevOrder__12J2DTevBlock8FUl11J2DTevOrder();
extern "C" void getTevOrder__12J2DTevBlock8FUl();
extern "C" void setTevColor__12J2DTevBlock8FUl13J2DGXColorS10();
extern "C" void getTevColor__12J2DTevBlock8FUl();
extern "C" void setTevKColor__12J2DTevBlock8FUlQ28JUtility6TColor();
extern "C" void getTevKColor__12J2DTevBlock8FUl();
extern "C" void setTevKColorSel__12J2DTevBlock8FUlUc();
extern "C" void getTevKColorSel__12J2DTevBlock8FUl();
extern "C" void setTevKAlphaSel__12J2DTevBlock8FUlUc();
extern "C" void getTevKAlphaSel__12J2DTevBlock8FUl();
extern "C" void setTevStageNum__12J2DTevBlock8FUc();
extern "C" void getTevStageNum__12J2DTevBlock8CFv();
extern "C" void setTevStage__12J2DTevBlock8FUl11J2DTevStage();
extern "C" void getTevStage__12J2DTevBlock8FUl();
extern "C" void setTevSwapModeInfo__12J2DTevBlock8FUl18J2DTevSwapModeInfo();
extern "C" void setTevSwapModeTable__12J2DTevBlock8FUl19J2DTevSwapModeTable();
extern "C" void getTevSwapModeTable__12J2DTevBlock8FUl();
extern "C" void setIndTevStage__12J2DTevBlock8FUl14J2DIndTevStage();
extern "C" void getIndTevStage__12J2DTevBlock8FUl();
extern "C" void insertTexture__12J2DTevBlock8FUlPC7ResTIMG();
extern "C" void getTexture__12J2DTevBlock8FUl();
extern "C" void getPalette__12J2DTevBlock8FUl();
extern "C" void getFont__12J2DTevBlock8Fv();
extern "C" void setUndeleteFlag__12J2DTevBlock8FUc();
extern "C" void setFontUndeleteFlag__12J2DTevBlock8Fv();
extern "C" void getType__12J2DTevBlock4Fv();
extern "C" s32 getMaxStage__12J2DTevBlock4Fv();
extern "C" void setTexNo__12J2DTevBlock4FUlUs();
extern "C" void getTexNo__12J2DTevBlock4CFUl();
extern "C" void setFontNo__12J2DTevBlock4FUs();
extern "C" void getFontNo__12J2DTevBlock4CFv();
extern "C" void setTevOrder__12J2DTevBlock4FUl11J2DTevOrder();
extern "C" void getTevOrder__12J2DTevBlock4FUl();
extern "C" void setTevColor__12J2DTevBlock4FUl13J2DGXColorS10();
extern "C" void getTevColor__12J2DTevBlock4FUl();
extern "C" void setTevKColor__12J2DTevBlock4FUlQ28JUtility6TColor();
extern "C" void getTevKColor__12J2DTevBlock4FUl();
extern "C" void setTevKColorSel__12J2DTevBlock4FUlUc();
extern "C" void getTevKColorSel__12J2DTevBlock4FUl();
extern "C" void setTevKAlphaSel__12J2DTevBlock4FUlUc();
extern "C" void getTevKAlphaSel__12J2DTevBlock4FUl();
extern "C" void setTevStageNum__12J2DTevBlock4FUc();
extern "C" void getTevStageNum__12J2DTevBlock4CFv();
extern "C" void setTevStage__12J2DTevBlock4FUl11J2DTevStage();
extern "C" void getTevStage__12J2DTevBlock4FUl();
extern "C" void setTevSwapModeInfo__12J2DTevBlock4FUl18J2DTevSwapModeInfo();
extern "C" void setTevSwapModeTable__12J2DTevBlock4FUl19J2DTevSwapModeTable();
extern "C" void getTevSwapModeTable__12J2DTevBlock4FUl();
extern "C" void setIndTevStage__12J2DTevBlock4FUl14J2DIndTevStage();
extern "C" void getIndTevStage__12J2DTevBlock4FUl();
extern "C" void insertTexture__12J2DTevBlock4FUlPC7ResTIMG();
extern "C" void getTexture__12J2DTevBlock4FUl();
extern "C" void getPalette__12J2DTevBlock4FUl();
extern "C" void getFont__12J2DTevBlock4Fv();
extern "C" void setUndeleteFlag__12J2DTevBlock4FUc();
extern "C" void setFontUndeleteFlag__12J2DTevBlock4Fv();
extern "C" void getType__12J2DTevBlock2Fv();
extern "C" s32 getMaxStage__12J2DTevBlock2Fv();
extern "C" void setTexNo__12J2DTevBlock2FUlUs();
extern "C" void getTexNo__12J2DTevBlock2CFUl();
extern "C" void setFontNo__12J2DTevBlock2FUs();
extern "C" void getFontNo__12J2DTevBlock2CFv();
extern "C" void setTevOrder__12J2DTevBlock2FUl11J2DTevOrder();
extern "C" void getTevOrder__12J2DTevBlock2FUl();
extern "C" void setTevColor__12J2DTevBlock2FUl13J2DGXColorS10();
extern "C" void getTevColor__12J2DTevBlock2FUl();
extern "C" void setTevKColor__12J2DTevBlock2FUlQ28JUtility6TColor();
extern "C" void getTevKColor__12J2DTevBlock2FUl();
extern "C" void setTevKColorSel__12J2DTevBlock2FUlUc();
extern "C" void getTevKColorSel__12J2DTevBlock2FUl();
extern "C" void setTevKAlphaSel__12J2DTevBlock2FUlUc();
extern "C" void getTevKAlphaSel__12J2DTevBlock2FUl();
extern "C" void setTevStageNum__12J2DTevBlock2FUc();
extern "C" void getTevStageNum__12J2DTevBlock2CFv();
extern "C" void setTevStage__12J2DTevBlock2FUl11J2DTevStage();
extern "C" void getTevStage__12J2DTevBlock2FUl();
extern "C" void setTevSwapModeInfo__12J2DTevBlock2FUl18J2DTevSwapModeInfo();
extern "C" void setTevSwapModeTable__12J2DTevBlock2FUl19J2DTevSwapModeTable();
extern "C" void getTevSwapModeTable__12J2DTevBlock2FUl();
extern "C" void setIndTevStage__12J2DTevBlock2FUl14J2DIndTevStage();
extern "C" void getIndTevStage__12J2DTevBlock2FUl();
extern "C" void insertTexture__12J2DTevBlock2FUlPC7ResTIMG();
extern "C" void getTexture__12J2DTevBlock2FUl();
extern "C" void getPalette__12J2DTevBlock2FUl();
extern "C" void getFont__12J2DTevBlock2Fv();
extern "C" void setUndeleteFlag__12J2DTevBlock2FUc();
extern "C" void setFontUndeleteFlag__12J2DTevBlock2Fv();
extern "C" void getType__12J2DTevBlock1Fv();
extern "C" bool getMaxStage__12J2DTevBlock1Fv();
extern "C" void setTexNo__12J2DTevBlock1FUlUs();
extern "C" void getTexNo__12J2DTevBlock1CFUl();
extern "C" void setFontNo__12J2DTevBlock1FUs();
extern "C" void getFontNo__12J2DTevBlock1CFv();
extern "C" void setTevOrder__12J2DTevBlock1FUl11J2DTevOrder();
extern "C" void getTevOrder__12J2DTevBlock1FUl();
extern "C" void setTevColor__12J2DTevBlock1FUl13J2DGXColorS10();
extern "C" void getTevColor__12J2DTevBlock1FUl();
extern "C" void setTevKColor__12J2DTevBlock1FUlQ28JUtility6TColor();
extern "C" void getTevKColor__12J2DTevBlock1FUl();
extern "C" void setTevKColorSel__12J2DTevBlock1FUlUc();
extern "C" void getTevKColorSel__12J2DTevBlock1FUl();
extern "C" void setTevKAlphaSel__12J2DTevBlock1FUlUc();
extern "C" void getTevKAlphaSel__12J2DTevBlock1FUl();
extern "C" void setTevStageNum__12J2DTevBlock1FUc();
extern "C" bool getTevStageNum__12J2DTevBlock1CFv();
extern "C" void setTevStage__12J2DTevBlock1FUl11J2DTevStage();
extern "C" void getTevStage__12J2DTevBlock1FUl();
extern "C" void setTevSwapModeInfo__12J2DTevBlock1FUl18J2DTevSwapModeInfo();
extern "C" void setTevSwapModeTable__12J2DTevBlock1FUl19J2DTevSwapModeTable();
extern "C" void getTevSwapModeTable__12J2DTevBlock1FUl();
extern "C" void setIndTevStage__12J2DTevBlock1FUl14J2DIndTevStage();
extern "C" void getIndTevStage__12J2DTevBlock1FUl();
extern "C" void insertTexture__12J2DTevBlock1FUlPC7ResTIMG();
extern "C" void getTexture__12J2DTevBlock1FUl();
extern "C" void getPalette__12J2DTevBlock1FUl();
extern "C" void getFont__12J2DTevBlock1Fv();
extern "C" void setUndeleteFlag__12J2DTevBlock1FUc();
extern "C" void setFontUndeleteFlag__12J2DTevBlock1Fv();
extern "C" void initialize__11J2DTevBlockFv();
extern "C" void loadTexture__11J2DTevBlockF11_GXTexMapIDUl();
extern "C" void setFontNo__11J2DTevBlockFUs();
extern "C" void setTevOrder__11J2DTevBlockFUl11J2DTevOrder();
extern "C" void setTevKColorSel__11J2DTevBlockFUlUc();
extern "C" void setTevKAlphaSel__11J2DTevBlockFUlUc();
extern "C" void setTevStageNum__11J2DTevBlockFUc();
extern "C" void setTevStage__11J2DTevBlockFUl11J2DTevStage();
extern "C" void setTevSwapModeInfo__11J2DTevBlockFUl18J2DTevSwapModeInfo();
extern "C" void setTevSwapModeTable__11J2DTevBlockFUl19J2DTevSwapModeTable();
extern "C" void setIndTevStage__11J2DTevBlockFUl14J2DIndTevStage();
extern "C" bool insertTexture__11J2DTevBlockFUlP10JUTTexture();
extern "C" bool insertTexture__11J2DTevBlockFUlPC7ResTIMGP10JUTPalette();
extern "C" bool insertTexture__11J2DTevBlockFUlPC7ResTIMG();
extern "C" bool setTexture__11J2DTevBlockFUlP10JUTTexture();
extern "C" bool setTexture__11J2DTevBlockFUlPC7ResTIMG();
extern "C" bool removeTexture__11J2DTevBlockFUl();
extern "C" bool setFont__11J2DTevBlockFP7JUTFont();
extern "C" bool setFont__11J2DTevBlockFP7ResFONT();
extern "C" bool setPalette__11J2DTevBlockFUlPC7ResTLUT();
extern "C" bool prepareTexture__11J2DTevBlockFUc();
extern "C" bool getFont__11J2DTevBlockFv();
extern "C" void shiftDeleteFlag__11J2DTevBlockFUcb();
extern "C" void setUndeleteFlag__11J2DTevBlockFUc();
extern "C" void setFontUndeleteFlag__11J2DTevBlockFv();
//
// External References:
//
extern "C" void __ct__Q28JUtility6TColorFv();
extern "C" void* __nw__FUl();
extern "C" void __dl__FPv();
extern "C" void __dt__10JUTTextureFv();
extern "C" void storeTIMG__10JUTTextureFPC7ResTIMGUc();
extern "C" void storeTIMG__10JUTTextureFPC7ResTIMGP10JUTPalette();
extern "C" void attachPalette__10JUTTextureFP10JUTPalette();
extern "C" void load__10JUTTextureF11_GXTexMapID();
extern "C" void storeTLUT__10JUTPaletteF7_GXTlutP7ResTLUT();
extern "C" void __ct__10JUTResFontFPC7ResFONTP7JKRHeap();
extern "C" void load__9J2DTexMtxFUl();
extern "C" void calc__9J2DTexMtxFv();
extern "C" void load__14J2DIndTevStageFUc();
extern "C" void load__12J2DIndTexMtxFUc();
extern "C" void load__19J2DIndTexCoordScaleFUc();
extern "C" void load__14J2DIndTexOrderFUc();
extern "C" bool getTevSwapModeTable__11J2DTevBlockFUl();
extern "C" bool getTevStage__11J2DTevBlockFUl();
extern "C" bool getTevColor__11J2DTevBlockFUl();
extern "C" bool getTevOrder__11J2DTevBlockFUl();
extern "C" bool getTevKAlphaSel__11J2DTevBlockFUl();
extern "C" bool getTevKColorSel__11J2DTevBlockFUl();
extern "C" bool getTevKColor__11J2DTevBlockFUl();
extern "C" void getFontNo__11J2DTevBlockCFv();
extern "C" void getTexNo__11J2DTevBlockCFUl();
extern "C" bool getTevStageNum__11J2DTevBlockCFv();
extern "C" bool getIndTevStage__11J2DTevBlockFUl();
extern "C" void __dt__11J2DTevBlockFv();
extern "C" void setGX__11J2DTevBlockFv();
extern "C" void setTevKColor__11J2DTevBlockFUlQ28JUtility6TColor();
extern "C" void setTevColor__11J2DTevBlockFUl13J2DGXColorS10();
extern "C" void setTexNo__11J2DTevBlockFUlUs();
extern "C" void __dt__19J2DIndTexCoordScaleFv();
extern "C" void __dt__12J2DIndTexMtxFv();
extern "C" void __destroy_arr();
extern "C" void __construct_array();
extern "C" void _savegpr_25();
extern "C" void _savegpr_26();
extern "C" void _savegpr_27();
extern "C" void _savegpr_28();
extern "C" void _savegpr_29();
extern "C" void _restgpr_25();
extern "C" void _restgpr_26();
extern "C" void _restgpr_27();
extern "C" void _restgpr_28();
extern "C" void _restgpr_29();
extern "C" extern J2DTexCoordInfo const j2dDefaultTexCoordInfo[8];
extern "C" extern J2DTevStageInfo const j2dDefaultTevStageInfo;
extern "C" extern J2DIndTevStageInfo const j2dDefaultIndTevStageInfo;
extern "C" extern void* __vt__11J2DIndBlock[14];
//
// Declarations:
//
/* 802EB394-802EB424 2E5CD4 0090+00 0/0 1/1 0/0 .text initialize__13J2DColorBlockFv */
// instruction order
#ifdef NONMATCHING
void J2DColorBlock::initialize() {
for (int i = 0; i < 2; i++) {
mMatColor[i] = JUtility::TColor(j2dDefaultColInfo);
}
mColorChanNum = 2;
for (int i = 0; i < 4; i++) {
mColorChan[i].setColorChanInfo(j2dDefaultColorChanInfo);
}
mCullMode = GX_CULL_NONE;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void J2DColorBlock::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__13J2DColorBlockFv.s"
}
#pragma pop
#endif
/* 802EB424-802EB510 2E5D64 00EC+00 0/0 1/1 0/0 .text setGX__13J2DColorBlockFv */
void J2DColorBlock::setGX() {
for (int i = 0; i < 2; i++) {
GXSetChanMatColor(GXChannelID(GX_COLOR0A0 + i), mMatColor[i]);
}
GXSetNumChans(mColorChanNum);
const GXChannelID mapping[4] = {GX_COLOR0, GX_ALPHA0, GX_COLOR1, GX_ALPHA1};
for (int i = 0; i < mColorChanNum << 1; i++) {
GXSetChanCtrl(mapping[i], GX_DISABLE, GX_SRC_REG, (GXColorSrc)mColorChan[i].getMatSrc(), GX_LIGHT_NULL, GX_DF_NONE, GX_AF_NONE);
}
GXSetCullMode((GXCullMode)mCullMode);
}
/* 802EB510-802EB570 2E5E50 0060+00 0/0 1/1 0/0 .text initialize__14J2DTexGenBlockFv */
void J2DTexGenBlock::initialize() {
mTexGenNum = 0;
for (int i = 0; i < 8; i++) {
mTexGenCoord[i].setTexCoordInfo(j2dDefaultTexCoordInfo[0]);
}
for (int i = 0; i < 8; i++) {
mTexMtx[i] = NULL;
}
}
/* 802EB570-802EB620 2E5EB0 00B0+00 0/0 1/1 0/0 .text setGX__14J2DTexGenBlockFv */
void J2DTexGenBlock::setGX() {
GXSetNumTexGens(mTexGenNum);
for (int i = 0; i < mTexGenNum; i++) {
GXSetTexCoordGen((GXTexCoordID)i, (GXTexGenType)mTexGenCoord[i].getTexGenType(), (GXTexGenSrc)mTexGenCoord[i].getTexGenSrc(), mTexGenCoord[i].getTexGenMtx());
}
for (u8 i = 0; i < 8; i++) {
if (mTexMtx[i]) {
mTexMtx[i]->load(i);
}
}
}
/* ############################################################################################## */
/* 803CCA90-803CCAC8 029BB0 0038+00 1/1 1/1 0/0 .data __vt__15J2DIndBlockFull */
SECTION_DATA extern void* __vt__15J2DIndBlockFull[14] = {
(void*)NULL /* RTTI */,
(void*)NULL,
(void*)initialize__15J2DIndBlockFullFv,
(void*)setGX__15J2DIndBlockFullFv,
(void*)getType__15J2DIndBlockFullFv,
(void*)setIndTexStageNum__15J2DIndBlockFullFUc,
(void*)getIndTexStageNum__15J2DIndBlockFullCFv,
(void*)setIndTexOrder__15J2DIndBlockFullFUl14J2DIndTexOrder,
(void*)getIndTexOrder__15J2DIndBlockFullFUl,
(void*)setIndTexMtx__15J2DIndBlockFullFUl12J2DIndTexMtx,
(void*)getIndTexMtx__15J2DIndBlockFullFUl,
(void*)setIndTexCoordScale__15J2DIndBlockFullFUl19J2DIndTexCoordScale,
(void*)getIndTexCoordScale__15J2DIndBlockFullFUl,
(void*)__dt__15J2DIndBlockFullFv,
};
/* 803CCAC8-803CCB84 029BE8 00BC+00 2/2 0/0 0/0 .data __vt__13J2DTevBlock16 */
SECTION_DATA extern void* __vt__13J2DTevBlock16[47] = {
(void*)NULL /* RTTI */,
(void*)NULL,
(void*)initialize__13J2DTevBlock16Fv,
(void*)setGX__13J2DTevBlock16Fv,
(void*)loadTexture__13J2DTevBlock16F11_GXTexMapIDUl,
(void*)getType__13J2DTevBlock16Fv,
(void*)getMaxStage__13J2DTevBlock16Fv,
(void*)setTexNo__13J2DTevBlock16FUlUs,
(void*)getTexNo__13J2DTevBlock16CFUl,
(void*)setFontNo__13J2DTevBlock16FUs,
(void*)getFontNo__13J2DTevBlock16CFv,
(void*)setTevOrder__13J2DTevBlock16FUl11J2DTevOrder,
(void*)getTevOrder__13J2DTevBlock16FUl,
(void*)setTevColor__13J2DTevBlock16FUl13J2DGXColorS10,
(void*)getTevColor__13J2DTevBlock16FUl,
(void*)setTevKColor__13J2DTevBlock16FUlQ28JUtility6TColor,
(void*)getTevKColor__13J2DTevBlock16FUl,
(void*)setTevKColorSel__13J2DTevBlock16FUlUc,
(void*)getTevKColorSel__13J2DTevBlock16FUl,
(void*)setTevKAlphaSel__13J2DTevBlock16FUlUc,
(void*)getTevKAlphaSel__13J2DTevBlock16FUl,
(void*)setTevStageNum__13J2DTevBlock16FUc,
(void*)getTevStageNum__13J2DTevBlock16CFv,
(void*)setTevStage__13J2DTevBlock16FUl11J2DTevStage,
(void*)getTevStage__13J2DTevBlock16FUl,
(void*)setTevSwapModeInfo__13J2DTevBlock16FUl18J2DTevSwapModeInfo,
(void*)setTevSwapModeTable__13J2DTevBlock16FUl19J2DTevSwapModeTable,
(void*)getTevSwapModeTable__13J2DTevBlock16FUl,
(void*)setIndTevStage__13J2DTevBlock16FUl14J2DIndTevStage,
(void*)getIndTevStage__13J2DTevBlock16FUl,
(void*)insertTexture__13J2DTevBlock16FUlPC7ResTIMG,
(void*)insertTexture__13J2DTevBlock16FUlPC7ResTIMGP10JUTPalette,
(void*)insertTexture__13J2DTevBlock16FUlP10JUTTexture,
(void*)setTexture__13J2DTevBlock16FUlPC7ResTIMG,
(void*)setTexture__13J2DTevBlock16FUlP10JUTTexture,
(void*)removeTexture__13J2DTevBlock16FUl,
(void*)setFont__13J2DTevBlock16FP7ResFONT,
(void*)setFont__13J2DTevBlock16FP7JUTFont,
(void*)setPalette__13J2DTevBlock16FUlPC7ResTLUT,
(void*)prepareTexture__13J2DTevBlock16FUc,
(void*)getTexture__13J2DTevBlock16FUl,
(void*)getPalette__13J2DTevBlock16FUl,
(void*)getFont__13J2DTevBlock16Fv,
(void*)shiftDeleteFlag__13J2DTevBlock16FUcb,
(void*)setUndeleteFlag__13J2DTevBlock16FUc,
(void*)setFontUndeleteFlag__13J2DTevBlock16Fv,
(void*)__dt__13J2DTevBlock16Fv,
};
/* 803CCB84-803CCC40 029CA4 00BC+00 2/2 0/0 0/0 .data __vt__12J2DTevBlock8 */
SECTION_DATA extern void* __vt__12J2DTevBlock8[47] = {
(void*)NULL /* RTTI */,
(void*)NULL,
(void*)initialize__12J2DTevBlock8Fv,
(void*)setGX__12J2DTevBlock8Fv,
(void*)loadTexture__12J2DTevBlock8F11_GXTexMapIDUl,
(void*)getType__12J2DTevBlock8Fv,
(void*)getMaxStage__12J2DTevBlock8Fv,
(void*)setTexNo__12J2DTevBlock8FUlUs,
(void*)getTexNo__12J2DTevBlock8CFUl,
(void*)setFontNo__12J2DTevBlock8FUs,
(void*)getFontNo__12J2DTevBlock8CFv,
(void*)setTevOrder__12J2DTevBlock8FUl11J2DTevOrder,
(void*)getTevOrder__12J2DTevBlock8FUl,
(void*)setTevColor__12J2DTevBlock8FUl13J2DGXColorS10,
(void*)getTevColor__12J2DTevBlock8FUl,
(void*)setTevKColor__12J2DTevBlock8FUlQ28JUtility6TColor,
(void*)getTevKColor__12J2DTevBlock8FUl,
(void*)setTevKColorSel__12J2DTevBlock8FUlUc,
(void*)getTevKColorSel__12J2DTevBlock8FUl,
(void*)setTevKAlphaSel__12J2DTevBlock8FUlUc,
(void*)getTevKAlphaSel__12J2DTevBlock8FUl,
(void*)setTevStageNum__12J2DTevBlock8FUc,
(void*)getTevStageNum__12J2DTevBlock8CFv,
(void*)setTevStage__12J2DTevBlock8FUl11J2DTevStage,
(void*)getTevStage__12J2DTevBlock8FUl,
(void*)setTevSwapModeInfo__12J2DTevBlock8FUl18J2DTevSwapModeInfo,
(void*)setTevSwapModeTable__12J2DTevBlock8FUl19J2DTevSwapModeTable,
(void*)getTevSwapModeTable__12J2DTevBlock8FUl,
(void*)setIndTevStage__12J2DTevBlock8FUl14J2DIndTevStage,
(void*)getIndTevStage__12J2DTevBlock8FUl,
(void*)insertTexture__12J2DTevBlock8FUlPC7ResTIMG,
(void*)insertTexture__12J2DTevBlock8FUlPC7ResTIMGP10JUTPalette,
(void*)insertTexture__12J2DTevBlock8FUlP10JUTTexture,
(void*)setTexture__12J2DTevBlock8FUlPC7ResTIMG,
(void*)setTexture__12J2DTevBlock8FUlP10JUTTexture,
(void*)removeTexture__12J2DTevBlock8FUl,
(void*)setFont__12J2DTevBlock8FP7ResFONT,
(void*)setFont__12J2DTevBlock8FP7JUTFont,
(void*)setPalette__12J2DTevBlock8FUlPC7ResTLUT,
(void*)prepareTexture__12J2DTevBlock8FUc,
(void*)getTexture__12J2DTevBlock8FUl,
(void*)getPalette__12J2DTevBlock8FUl,
(void*)getFont__12J2DTevBlock8Fv,
(void*)shiftDeleteFlag__12J2DTevBlock8FUcb,
(void*)setUndeleteFlag__12J2DTevBlock8FUc,
(void*)setFontUndeleteFlag__12J2DTevBlock8Fv,
(void*)__dt__12J2DTevBlock8Fv,
};
/* 803CCC40-803CCCFC 029D60 00BC+00 2/2 0/0 0/0 .data __vt__12J2DTevBlock4 */
SECTION_DATA extern void* __vt__12J2DTevBlock4[47] = {
(void*)NULL /* RTTI */,
(void*)NULL,
(void*)initialize__12J2DTevBlock4Fv,
(void*)setGX__12J2DTevBlock4Fv,
(void*)loadTexture__12J2DTevBlock4F11_GXTexMapIDUl,
(void*)getType__12J2DTevBlock4Fv,
(void*)getMaxStage__12J2DTevBlock4Fv,
(void*)setTexNo__12J2DTevBlock4FUlUs,
(void*)getTexNo__12J2DTevBlock4CFUl,
(void*)setFontNo__12J2DTevBlock4FUs,
(void*)getFontNo__12J2DTevBlock4CFv,
(void*)setTevOrder__12J2DTevBlock4FUl11J2DTevOrder,
(void*)getTevOrder__12J2DTevBlock4FUl,
(void*)setTevColor__12J2DTevBlock4FUl13J2DGXColorS10,
(void*)getTevColor__12J2DTevBlock4FUl,
(void*)setTevKColor__12J2DTevBlock4FUlQ28JUtility6TColor,
(void*)getTevKColor__12J2DTevBlock4FUl,
(void*)setTevKColorSel__12J2DTevBlock4FUlUc,
(void*)getTevKColorSel__12J2DTevBlock4FUl,
(void*)setTevKAlphaSel__12J2DTevBlock4FUlUc,
(void*)getTevKAlphaSel__12J2DTevBlock4FUl,
(void*)setTevStageNum__12J2DTevBlock4FUc,
(void*)getTevStageNum__12J2DTevBlock4CFv,
(void*)setTevStage__12J2DTevBlock4FUl11J2DTevStage,
(void*)getTevStage__12J2DTevBlock4FUl,
(void*)setTevSwapModeInfo__12J2DTevBlock4FUl18J2DTevSwapModeInfo,
(void*)setTevSwapModeTable__12J2DTevBlock4FUl19J2DTevSwapModeTable,
(void*)getTevSwapModeTable__12J2DTevBlock4FUl,
(void*)setIndTevStage__12J2DTevBlock4FUl14J2DIndTevStage,
(void*)getIndTevStage__12J2DTevBlock4FUl,
(void*)insertTexture__12J2DTevBlock4FUlPC7ResTIMG,
(void*)insertTexture__12J2DTevBlock4FUlPC7ResTIMGP10JUTPalette,
(void*)insertTexture__12J2DTevBlock4FUlP10JUTTexture,
(void*)setTexture__12J2DTevBlock4FUlPC7ResTIMG,
(void*)setTexture__12J2DTevBlock4FUlP10JUTTexture,
(void*)removeTexture__12J2DTevBlock4FUl,
(void*)setFont__12J2DTevBlock4FP7ResFONT,
(void*)setFont__12J2DTevBlock4FP7JUTFont,
(void*)setPalette__12J2DTevBlock4FUlPC7ResTLUT,
(void*)prepareTexture__12J2DTevBlock4FUc,
(void*)getTexture__12J2DTevBlock4FUl,
(void*)getPalette__12J2DTevBlock4FUl,
(void*)getFont__12J2DTevBlock4Fv,
(void*)shiftDeleteFlag__12J2DTevBlock4FUcb,
(void*)setUndeleteFlag__12J2DTevBlock4FUc,
(void*)setFontUndeleteFlag__12J2DTevBlock4Fv,
(void*)__dt__12J2DTevBlock4Fv,
};
/* 803CCCFC-803CCDB8 029E1C 00BC+00 2/2 0/0 0/0 .data __vt__12J2DTevBlock2 */
SECTION_DATA extern void* __vt__12J2DTevBlock2[47] = {
(void*)NULL /* RTTI */,
(void*)NULL,
(void*)initialize__12J2DTevBlock2Fv,
(void*)setGX__12J2DTevBlock2Fv,
(void*)loadTexture__12J2DTevBlock2F11_GXTexMapIDUl,
(void*)getType__12J2DTevBlock2Fv,
(void*)getMaxStage__12J2DTevBlock2Fv,
(void*)setTexNo__12J2DTevBlock2FUlUs,
(void*)getTexNo__12J2DTevBlock2CFUl,
(void*)setFontNo__12J2DTevBlock2FUs,
(void*)getFontNo__12J2DTevBlock2CFv,
(void*)setTevOrder__12J2DTevBlock2FUl11J2DTevOrder,
(void*)getTevOrder__12J2DTevBlock2FUl,
(void*)setTevColor__12J2DTevBlock2FUl13J2DGXColorS10,
(void*)getTevColor__12J2DTevBlock2FUl,
(void*)setTevKColor__12J2DTevBlock2FUlQ28JUtility6TColor,
(void*)getTevKColor__12J2DTevBlock2FUl,
(void*)setTevKColorSel__12J2DTevBlock2FUlUc,
(void*)getTevKColorSel__12J2DTevBlock2FUl,
(void*)setTevKAlphaSel__12J2DTevBlock2FUlUc,
(void*)getTevKAlphaSel__12J2DTevBlock2FUl,
(void*)setTevStageNum__12J2DTevBlock2FUc,
(void*)getTevStageNum__12J2DTevBlock2CFv,
(void*)setTevStage__12J2DTevBlock2FUl11J2DTevStage,
(void*)getTevStage__12J2DTevBlock2FUl,
(void*)setTevSwapModeInfo__12J2DTevBlock2FUl18J2DTevSwapModeInfo,
(void*)setTevSwapModeTable__12J2DTevBlock2FUl19J2DTevSwapModeTable,
(void*)getTevSwapModeTable__12J2DTevBlock2FUl,
(void*)setIndTevStage__12J2DTevBlock2FUl14J2DIndTevStage,
(void*)getIndTevStage__12J2DTevBlock2FUl,
(void*)insertTexture__12J2DTevBlock2FUlPC7ResTIMG,
(void*)insertTexture__12J2DTevBlock2FUlPC7ResTIMGP10JUTPalette,
(void*)insertTexture__12J2DTevBlock2FUlP10JUTTexture,
(void*)setTexture__12J2DTevBlock2FUlPC7ResTIMG,
(void*)setTexture__12J2DTevBlock2FUlP10JUTTexture,
(void*)removeTexture__12J2DTevBlock2FUl,
(void*)setFont__12J2DTevBlock2FP7ResFONT,
(void*)setFont__12J2DTevBlock2FP7JUTFont,
(void*)setPalette__12J2DTevBlock2FUlPC7ResTLUT,
(void*)prepareTexture__12J2DTevBlock2FUc,
(void*)getTexture__12J2DTevBlock2FUl,
(void*)getPalette__12J2DTevBlock2FUl,
(void*)getFont__12J2DTevBlock2Fv,
(void*)shiftDeleteFlag__12J2DTevBlock2FUcb,
(void*)setUndeleteFlag__12J2DTevBlock2FUc,
(void*)setFontUndeleteFlag__12J2DTevBlock2Fv,
(void*)__dt__12J2DTevBlock2Fv,
};
/* 803CCDB8-803CCE74 029ED8 00BC+00 2/2 0/0 0/0 .data __vt__12J2DTevBlock1 */
SECTION_DATA extern void* __vt__12J2DTevBlock1[47] = {
(void*)NULL /* RTTI */,
(void*)NULL,
(void*)initialize__12J2DTevBlock1Fv,
(void*)setGX__12J2DTevBlock1Fv,
(void*)loadTexture__12J2DTevBlock1F11_GXTexMapIDUl,
(void*)getType__12J2DTevBlock1Fv,
(void*)getMaxStage__12J2DTevBlock1Fv,
(void*)setTexNo__12J2DTevBlock1FUlUs,
(void*)getTexNo__12J2DTevBlock1CFUl,
(void*)setFontNo__12J2DTevBlock1FUs,
(void*)getFontNo__12J2DTevBlock1CFv,
(void*)setTevOrder__12J2DTevBlock1FUl11J2DTevOrder,
(void*)getTevOrder__12J2DTevBlock1FUl,
(void*)setTevColor__12J2DTevBlock1FUl13J2DGXColorS10,
(void*)getTevColor__12J2DTevBlock1FUl,
(void*)setTevKColor__12J2DTevBlock1FUlQ28JUtility6TColor,
(void*)getTevKColor__12J2DTevBlock1FUl,
(void*)setTevKColorSel__12J2DTevBlock1FUlUc,
(void*)getTevKColorSel__12J2DTevBlock1FUl,
(void*)setTevKAlphaSel__12J2DTevBlock1FUlUc,
(void*)getTevKAlphaSel__12J2DTevBlock1FUl,
(void*)setTevStageNum__12J2DTevBlock1FUc,
(void*)getTevStageNum__12J2DTevBlock1CFv,
(void*)setTevStage__12J2DTevBlock1FUl11J2DTevStage,
(void*)getTevStage__12J2DTevBlock1FUl,
(void*)setTevSwapModeInfo__12J2DTevBlock1FUl18J2DTevSwapModeInfo,
(void*)setTevSwapModeTable__12J2DTevBlock1FUl19J2DTevSwapModeTable,
(void*)getTevSwapModeTable__12J2DTevBlock1FUl,
(void*)setIndTevStage__12J2DTevBlock1FUl14J2DIndTevStage,
(void*)getIndTevStage__12J2DTevBlock1FUl,
(void*)insertTexture__12J2DTevBlock1FUlPC7ResTIMG,
(void*)insertTexture__12J2DTevBlock1FUlPC7ResTIMGP10JUTPalette,
(void*)insertTexture__12J2DTevBlock1FUlP10JUTTexture,
(void*)setTexture__12J2DTevBlock1FUlPC7ResTIMG,
(void*)setTexture__12J2DTevBlock1FUlP10JUTTexture,
(void*)removeTexture__12J2DTevBlock1FUl,
(void*)setFont__12J2DTevBlock1FP7ResFONT,
(void*)setFont__12J2DTevBlock1FP7JUTFont,
(void*)setPalette__12J2DTevBlock1FUlPC7ResTLUT,
(void*)prepareTexture__12J2DTevBlock1FUc,
(void*)getTexture__12J2DTevBlock1FUl,
(void*)getPalette__12J2DTevBlock1FUl,
(void*)getFont__12J2DTevBlock1Fv,
(void*)shiftDeleteFlag__12J2DTevBlock1FUcb,
(void*)setUndeleteFlag__12J2DTevBlock1FUc,
(void*)setFontUndeleteFlag__12J2DTevBlock1Fv,
(void*)__dt__12J2DTevBlock1Fv,
};
/* 802EB620-802EB6A4 2E5F60 0084+00 1/0 1/1 0/0 .text __dt__14J2DTexGenBlockFv */
J2DTexGenBlock::~J2DTexGenBlock() {
for (int i = 0; i < 8; i++) {
if (mTexMtx[i] != NULL) {
delete mTexMtx[i];
}
}
}
/* 802EB6A4-802EB7E0 2E5FE4 013C+00 0/0 3/3 0/0 .text setTexMtx__14J2DTexGenBlockFUlR9J2DTexMtx */
void J2DTexGenBlock::setTexMtx(u32 param_0, J2DTexMtx& param_1) {
if (!mTexMtx[param_0]) {
mTexMtx[param_0] = new J2DTexMtx(param_1.getTexMtxInfo());
if (!mTexMtx[param_0]) {
return;
}
} else {
mTexMtx[param_0]->setTexMtxInfo(param_1.getTexMtxInfo());
}
mTexMtx[param_0]->calc();
}
/* 802EB7E0-802EB87C 2E6120 009C+00 0/0 1/1 0/0 .text getTexMtx__14J2DTexGenBlockFUlR9J2DTexMtx */
void J2DTexGenBlock::getTexMtx(u32 param_0, J2DTexMtx& param_1) {
if (mTexMtx[param_0]) {
param_1.setTexMtxInfo(mTexMtx[param_0]->getTexMtxInfo());
}
}
/* 802EB87C-802EB884 2E61BC 0008+00 1/0 0/0 0/0 .text getTexture__11J2DTevBlockFUl */
JUTTexture* J2DTevBlock::getTexture(u32) {
return NULL;
}
/* 802EB884-802EB88C 2E61C4 0008+00 1/0 0/0 0/0 .text getPalette__11J2DTevBlockFUl */
JUTPalette* J2DTevBlock::getPalette(u32) {
return NULL;
}
/* 802EB88C-802EB998 2E61CC 010C+00 0/0 1/1 0/0 .text __ct__12J2DTevBlock1Fv */
J2DTevBlock1::J2DTevBlock1() {
mTexture[0] = NULL;
mUndeleteFlag = 0;
initialize();
}
/* 802EB998-802EBA50 2E62D8 00B8+00 1/0 0/0 0/0 .text __dt__12J2DTevBlock1Fv */
J2DTevBlock1::~J2DTevBlock1() {
if (mUndeleteFlag & 1) {
delete mTexture[0];
}
delete mPalette[0];
if (mUndeleteFlag & 0x80) {
delete mFont;
}
}
/* 802EBA50-802EBC0C 2E6390 01BC+00 1/0 0/0 0/0 .text initialize__12J2DTevBlock1Fv */
// inlines
#ifdef NONMATCHING
void J2DTevBlock1::initialize() {
mTexNo[0] = -1;
mFontNo = -1;
mTevOrder[0].setTevOrderInfo(j2dDefaultTevOrderInfoNull);
for (int i = 0; i < 4; i++) {
mTevColor[i] = j2dDefaultTevColor;
}
mTevStage[0].setStageNo(0);
for (int i = 0; i < 4; i++) {
mTevKColor[i] = j2dDefaultTevKColor;
}
mTevKColorSel[0] = -1;
mTevKAlphaSel[0] = -1;
for (int i = 0; i < 4; i++) {
mTevSwapModeTable[i].setTevSwapModeTableInfo(j2dDefaultTevSwapModeTable);
}
mIndTevStage[0].setIndTevStageInfo(j2dDefaultIndTevStageInfo);
mPalette[0] = NULL;
mFont = NULL;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void initialize__12J2DTevBlock1Fv() {
// asm void J2DTevBlock1::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__12J2DTevBlock1Fv.s"
}
#pragma pop
#endif
/* 802EBC0C-802EBCC0 2E654C 00B4+00 1/0 0/0 0/0 .text prepareTexture__12J2DTevBlock1FUc
*/
bool J2DTevBlock1::prepareTexture(u8 param_0) {
if (param_0 == 0) {
return true;
}
if (mTexture[0] == NULL) {
mTexture[0] = new JUTTexture();
if (mTexture[0] == NULL) {
return false;
}
mUndeleteFlag = (mUndeleteFlag & 0x80) | 1;
}
return param_0 <= 1;
}
/* 802EBCC0-802EBDE4 2E6600 0124+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock1FUlPC7ResTIMGP10JUTPalette */
bool J2DTevBlock1::insertTexture(u32 param_0, ResTIMG const* p_timg, JUTPalette* p_tlut) {
if (param_0 != 0 || p_timg == NULL) {
return false;
}
if (mTexture[0] != NULL && mTexture[0]->getTexInfo() != NULL) {
return false;
}
if (mTexture[0] == NULL) {
mTexture[0] = new JUTTexture(p_timg, 0);
if (mTexture[0] == NULL) {
return false;
}
if (p_tlut != NULL) {
mTexture[0]->storeTIMG(p_timg, p_tlut);
}
} else if (p_tlut == NULL) {
mTexture[0]->storeTIMG(p_timg, (u8)0);
} else {
mTexture[0]->storeTIMG(p_timg, p_tlut);
}
mUndeleteFlag = (mUndeleteFlag & 0x80) | 1;
mPalette[0] = NULL;
mTexNo[0] = -1;
return true;
}
/* 802EBDE4-802EBE8C 2E6724 00A8+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock1FUlP10JUTTexture */
bool J2DTevBlock1::insertTexture(u32 param_0, JUTTexture* p_tex) {
if (mTexture[0] != NULL && mTexture[0]->getTexInfo() != NULL) {
return false;
}
if (param_0 != 0 || p_tex == NULL) {
return false;
}
if (mUndeleteFlag & 1) {
delete mTexture[0];
}
mTexture[0] = p_tex;
mUndeleteFlag &= 0x80;
mPalette[0] = NULL;
mTexNo[0] = -1;
return true;
}
/* 802EBE8C-802EC01C 2E67CC 0190+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock1FUlPC7ResTIMG */
bool J2DTevBlock1::setTexture(u32 param_0, ResTIMG const* p_timg) {
if (param_0 != 0) {
return false;
}
if (mTexture[0] == NULL) {
if (p_timg != NULL) {
mTexture[0] = new JUTTexture(p_timg, 0);
if (mTexture[0] == NULL) {
return false;
}
mUndeleteFlag = (mUndeleteFlag & 0x80) | 1;
} else {
mUndeleteFlag &= 0x80;
}
} else if (mUndeleteFlag & 1) {
if (p_timg != NULL) {
mTexture[0]->storeTIMG(p_timg, (u8)0);
} else {
delete mTexture[0];
mTexture[0] = NULL;
mUndeleteFlag &= 0x80;
}
} else {
mTexture[0] = NULL;
if (p_timg != NULL) {
mTexture[0] = new JUTTexture(p_timg, 0);
if (mTexture[0] == NULL) {
return false;
}
mUndeleteFlag = (mUndeleteFlag & 0x80) | 1;
}
}
delete mPalette[0];
mPalette[0] = NULL;
mTexNo[0] = -1;
return true;
}
/* 802EC01C-802EC0A8 2E695C 008C+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock1FUlP10JUTTexture
*/
bool J2DTevBlock1::setTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 != 0) {
return false;
}
if (mUndeleteFlag & 1) {
delete mTexture[0];
}
mTexture[0] = p_tex;
mUndeleteFlag &= 0x80;
delete mPalette[0];
mPalette[0] = NULL;
mTexNo[0] = -1;
return true;
}
/* 802EC0A8-802EC124 2E69E8 007C+00 1/0 0/0 0/0 .text removeTexture__12J2DTevBlock1FUl */
bool J2DTevBlock1::removeTexture(u32 param_0) {
if (param_0 >= 1) {
return false;
}
if (mUndeleteFlag & 1) {
delete mTexture[0];
}
mTexture[0] = NULL;
mUndeleteFlag &= 0x80;
delete mPalette[0];
mTexNo[0] = -1;
return true;
}
/* 802EC124-802EC1D8 2E6A64 00B4+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock1FP7ResFONT
*/
bool J2DTevBlock1::setFont(ResFONT* p_font) {
if (p_font == NULL) {
return false;
}
JUTResFont* resFont = new JUTResFont(p_font, NULL);
if (resFont == NULL) {
return false;
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
mFont = resFont;
mUndeleteFlag = (mUndeleteFlag & 0x7F) | 0x80;
return true;
}
/* 802EC1D8-802EC258 2E6B18 0080+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock1FP7JUTFont
*/
bool J2DTevBlock1::setFont(JUTFont* p_font) {
if (p_font == NULL) {
return false;
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
mFont = (JUTResFont*)p_font;
mUndeleteFlag = mUndeleteFlag & 0x7F;
return true;
}
/* 802EC258-802EC318 2E6B98 00C0+00 1/0 0/0 0/0 .text setPalette__12J2DTevBlock1FUlPC7ResTLUT */
bool J2DTevBlock1::setPalette(u32 param_0, ResTLUT const* p_tlut) {
if (param_0 != 0) {
return false;
}
if (p_tlut != NULL) {
if (mPalette[0] == NULL) {
mPalette[0] = new JUTPalette(GX_TLUT0, (ResTLUT*)p_tlut);
if (mPalette[0] == NULL) {
return false;
}
} else {
mPalette[0]->storeTLUT(GX_TLUT0, (ResTLUT*)p_tlut);
}
if (mTexture[0] != NULL) {
mTexture[0]->attachPalette(mPalette[0]);
}
} else {
delete mPalette[0];
mPalette[0] = NULL;
}
return true;
}
/* 802EC318-802EC328 2E6C58 0010+00 1/0 0/0 0/0 .text shiftDeleteFlag__12J2DTevBlock1FUcb
*/
void J2DTevBlock1::shiftDeleteFlag(u8, bool) {
mUndeleteFlag &= 0x80;
}
/* 802EC328-802EC570 2E6C68 0248+00 1/0 0/0 0/0 .text setGX__12J2DTevBlock1Fv */
void J2DTevBlock1::setGX() {
loadTexture(GX_TEXMAP0, 0);
GXSetTevOrder(GX_TEVSTAGE0, mTevOrder[0].getTexCoord(), mTevOrder[0].getTexMap(), mTevOrder[0].getColor());
for (int i = 0; i < 4; i++) {
GXSetTevColorS10(i != 3 ? GXTevRegID(i + 1) : GX_TEVPREV, mTevColor[i]);
}
GXSetNumTevStages(1);
GXSetTevColorIn(GX_TEVSTAGE0, GXTevColorArg(mTevStage[0].getColorA()),
GXTevColorArg(mTevStage[0].getColorB()),
GXTevColorArg(mTevStage[0].getColorC()),
GXTevColorArg(mTevStage[0].getColorD()));
GXSetTevAlphaIn(GX_TEVSTAGE0, GXTevAlphaArg(mTevStage[0].getAlphaA()),
GXTevAlphaArg(mTevStage[0].getAlphaB()),
GXTevAlphaArg(mTevStage[0].getAlphaC()),
GXTevAlphaArg(mTevStage[0].getAlphaD()));
GXSetTevColorOp(GX_TEVSTAGE0, GXTevOp(mTevStage[0].getCOp()),
GXTevBias(mTevStage[0].getCBias()), GXTevScale(mTevStage[0].getCScale()),
mTevStage[0].getCClamp(), GXTevRegID(mTevStage[0].getCReg()));
GXSetTevAlphaOp(GX_TEVSTAGE0, (GXTevOp)mTevStage[0].getAOp(),
GXTevBias(mTevStage[0].getABias()), GXTevScale(mTevStage[0].getAScale()),
mTevStage[0].getAClamp(), GXTevRegID(mTevStage[0].getAReg()));
GXSetTevKColorSel(GX_TEVSTAGE0, mTevKColorSel[0] != 0xff ? GXTevKColorSel(mTevKColorSel[0]) : GX_TEV_KCSEL_1);
GXSetTevKAlphaSel(GX_TEVSTAGE0, mTevKAlphaSel[0] != 0xff ? GXTevKAlphaSel(mTevKAlphaSel[0]) : GX_TEV_KASEL_1);
for (int i = 0; i < 4; i++) {
GXSetTevKColor(GXTevKColorID(i), mTevKColor[i]);
}
GXSetTevSwapMode(GX_TEVSTAGE0, GXTevSwapSel(mTevStage[0].getRasSel()), GXTevSwapSel(mTevStage[0].getTexSel()));
for (int i = 0; i < 4; i++) {
GXSetTevSwapModeTable(GXTevSwapSel(i), GXTevColor(mTevSwapModeTable[i].getR()),
GXTevColor(mTevSwapModeTable[i].getG()),
GXTevColor(mTevSwapModeTable[i].getB()),
GXTevColor(mTevSwapModeTable[i].getA()));
}
mIndTevStage->load(0);
}
/* 802EC570-802EC5B8 2E6EB0 0048+00 1/0 0/0 0/0 .text loadTexture__12J2DTevBlock1F11_GXTexMapIDUl
*/
void J2DTevBlock1::loadTexture(GXTexMapID texmapID, u32 texIndex) {
if (texIndex == 0 && mTexture[texIndex] != NULL && mTexture[texIndex]->getTexInfo() != NULL) {
mTexture[texIndex]->load(texmapID);
}
}
/* 802EC5B8-802EC6C8 2E6EF8 0110+00 0/0 1/1 0/0 .text __ct__12J2DTevBlock2Fv */
J2DTevBlock2::J2DTevBlock2() {
mTexture[0] = NULL;
mTexture[1] = NULL;
mUndeleteFlag = 0;
initialize();
}
/* 802EC6C8-802EC7A0 2E7008 00D8+00 1/0 0/0 0/0 .text __dt__12J2DTevBlock2Fv */
J2DTevBlock2::~J2DTevBlock2() {
if (mUndeleteFlag & 1) {
delete mTexture[0];
}
if (mUndeleteFlag & 2) {
delete mTexture[1];
}
delete mPalette[0];
delete mPalette[1];
if (mUndeleteFlag & 0x80) {
delete mFont;
}
}
/* 802EC7A0-802ECA18 2E70E0 0278+00 1/0 0/0 0/0 .text initialize__12J2DTevBlock2Fv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void initialize__12J2DTevBlock2Fv() {
// asm void J2DTevBlock2::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__12J2DTevBlock2Fv.s"
}
#pragma pop
/* 802ECA18-802ECAE8 2E7358 00D0+00 1/0 0/0 0/0 .text prepareTexture__12J2DTevBlock2FUc
*/
bool J2DTevBlock2::prepareTexture(u8 param_0) {
for (u8 i = 0; i < param_0; i++) {
if (i >= 2) {
return false;
}
if (mTexture[i] == NULL) {
mTexture[i] = new JUTTexture();
if (mTexture[i] == NULL) {
return false;
}
mUndeleteFlag |= (1 << i);
}
}
return true;
}
/* 802ECAE8-802ECDE8 2E7428 0300+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock2FUlPC7ResTIMGP10JUTPalette */
bool J2DTevBlock2::insertTexture(u32 param_0, ResTIMG const* p_timg, JUTPalette* p_tlut) {
if (param_0 >= 2 || p_timg == NULL) {
return false;
}
u8 texNo = 0;
for (; texNo < 2; texNo++) {
if (mTexture[texNo] == NULL || mTexture[texNo]->getTexInfo() == NULL) {
break;
}
}
if (texNo < param_0) {
return false;
}
if (texNo == 2) {
return false;
}
JUTTexture* tex;
u8 tlutid = 0;
if (p_timg->indexTexture && p_tlut == NULL) {
tex = mTexture[0];
if (tex != NULL && tex->getTexInfo() != NULL && tex->getTexInfo()->indexTexture) {
int tlutname = tex->getTlutName();
if (tlutname == GX_TLUT0 || tlutname == GX_BIGTLUT0) {
tlutid = 1;
}
}
}
tex = mTexture[texNo];
if (tex == NULL) {
JUTTexture* newtex = new JUTTexture(p_timg, tlutid);
if (newtex == NULL) {
return false;
}
if (p_tlut != NULL) {
newtex->storeTIMG(p_timg, p_tlut);
}
if (param_0 == 0) {
mTexture[1] = mTexture[0];
mPalette[1] = mPalette[0];
mTexNo[1] = mTexNo[0];
}
mTexture[param_0] = newtex;
shiftDeleteFlag(param_0, true);
mUndeleteFlag |= (1 << param_0);
} else {
if (p_tlut == NULL) {
tex->storeTIMG(p_timg, tlutid);
} else {
tex->storeTIMG(p_timg, p_tlut);
}
bool local_28[2];
for (u8 i = 0; i < 2; i++) {
local_28[i] = mUndeleteFlag & (1 << i);
}
if (param_0 == 0 && texNo == 1) {
mTexture[1] = mTexture[0];
mPalette[1] = mPalette[0];
mTexNo[1] = mTexNo[0];
local_28[1] = local_28[0];
}
mTexture[param_0] = tex;
mUndeleteFlag &= 0x80;
for (u8 i = 0; i < 2; i++) {
if (local_28[i]) {
mUndeleteFlag |= (1 << i);
}
}
mUndeleteFlag |= (1 << param_0);
}
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
/* 802ECDE8-802ECF48 2E7728 0160+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock2FUlP10JUTTexture */
bool J2DTevBlock2::insertTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 2 || p_tex == NULL) {
return false;
}
u8 texNo = 0;
for (; texNo < 2; texNo++) {
if (mTexture[texNo] == NULL || mTexture[texNo]->getTexInfo() == NULL) {
break;
}
}
if (texNo < param_0) {
return false;
}
if (texNo == 2) {
return false;
}
if (mTexture[1] != NULL && mTexture[1]->getTexInfo() == NULL) {
if (mUndeleteFlag & 2) {
delete mTexture[1];
}
mUndeleteFlag &= ~2;
}
if (param_0 == 0) {
mTexture[1] = mTexture[0];
mPalette[1] = mPalette[0];
mTexNo[1] = mTexNo[0];
}
mTexture[param_0] = p_tex;
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
shiftDeleteFlag(param_0, true);
mUndeleteFlag &= ~(1 << param_0);
return true;
}
/* 802ECF48-802ED16C 2E7888 0224+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock2FUlPC7ResTIMG */
// instruction order
#ifdef NONMATCHING
bool J2DTevBlock2::setTexture(u32 param_0, ResTIMG const* p_timg) {
if (param_0 >= 2) {
return false;
}
u8 tlutid = 0;
if (p_timg != NULL && p_timg->indexTexture) {
if (mTexture[param_0 == 0] != NULL) {
const ResTIMG* timg = mTexture[param_0 == 0]->getTexInfo();
if (timg != NULL && timg->indexTexture) {
int tlutname = mTexture[param_0 == 0]->getTlutName();
u8 var_r0 = 0;
if (tlutname >= 16) {
var_r0 = 16;
}
if (tlutname - var_r0 == 0) {
tlutid = 1;
}
}
}
}
if (mTexture[param_0] == NULL) {
if (p_timg != NULL) {
mTexture[param_0] = new JUTTexture(p_timg, tlutid);
if (mTexture[param_0] == NULL) {
return false;
}
mUndeleteFlag |= (1 << param_0);
} else {
mUndeleteFlag &= ~(1 << param_0);
}
} else if (mUndeleteFlag & (1 << param_0)) {
if (p_timg != NULL) {
mTexture[param_0]->storeTIMG(p_timg, tlutid);
} else {
delete mTexture[param_0];
mTexture[param_0] = NULL;
mUndeleteFlag &= ~(1 << param_0);
}
} else {
mTexture[param_0] = NULL;
if (p_timg != NULL) {
mTexture[param_0] = new JUTTexture(p_timg, 0);
if (mTexture[param_0] == NULL) {
return false;
}
mUndeleteFlag |= (1 << param_0);
}
}
delete mPalette[param_0];
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock2::setTexture(u32 param_0, ResTIMG const* param_1) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/setTexture__12J2DTevBlock2FUlPC7ResTIMG.s"
}
#pragma pop
#endif
/* 802ED16C-802ED21C 2E7AAC 00B0+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock2FUlP10JUTTexture
*/
bool J2DTevBlock2::setTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 2) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
mTexture[param_0] = p_tex;
mUndeleteFlag &= ~(1 << param_0);
delete mPalette[param_0];
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
/* 802ED21C-802ED2F0 2E7B5C 00D4+00 1/0 0/0 0/0 .text removeTexture__12J2DTevBlock2FUl */
bool J2DTevBlock2::removeTexture(u32 param_0) {
if (param_0 >= 2) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
delete mPalette[param_0];
if (param_0 == 0) {
mTexture[0] = mTexture[1];
mPalette[0] = mPalette[1];
mTexNo[0] = mTexNo[1];
}
mTexture[1] = NULL;
mPalette[1] = NULL;
mTexNo[1] = -1;
shiftDeleteFlag(param_0, false);
return true;
}
/* 802ED2F0-802ED3A4 2E7C30 00B4+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock2FP7ResFONT
*/
bool J2DTevBlock2::setFont(ResFONT* p_font) {
if (p_font == NULL) {
return false;
}
JUTResFont* resFont = new JUTResFont(p_font, NULL);
if (resFont == NULL) {
return false;
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
mFont = resFont;
mUndeleteFlag = (mUndeleteFlag & 0x7F) | 0x80;
return true;
}
/* 802ED3A4-802ED424 2E7CE4 0080+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock2FP7JUTFont
*/
bool J2DTevBlock2::setFont(JUTFont* p_font) {
if (p_font == NULL) {
return false;
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
mFont = (JUTResFont*)p_font;
mUndeleteFlag = mUndeleteFlag & 0x7F;
return true;
}
/* 802ED424-802ED4FC 2E7D64 00D8+00 1/0 0/0 0/0 .text setPalette__12J2DTevBlock2FUlPC7ResTLUT */
bool J2DTevBlock2::setPalette(u32 param_0, ResTLUT const* p_tlut) {
if (param_0 >= 2) {
return false;
}
if (p_tlut != NULL) {
if (mPalette[param_0] == NULL) {
mPalette[param_0] = new JUTPalette((GXTlut)param_0, (ResTLUT*)p_tlut);
if (mPalette[param_0] == NULL) {
return false;
}
} else {
mPalette[param_0]->storeTLUT(GX_TLUT0, (ResTLUT*)p_tlut);
}
if (mTexture[param_0] != NULL) {
mTexture[param_0]->attachPalette(mPalette[param_0]);
}
} else {
delete mPalette[param_0];
mPalette[param_0] = NULL;
}
return true;
}
/* 802ED4FC-802ED584 2E7E3C 0088+00 1/0 0/0 0/0 .text shiftDeleteFlag__12J2DTevBlock2FUcb
*/
void J2DTevBlock2::shiftDeleteFlag(u8 param_0, bool param_1) {
u8 tmpFlags = mUndeleteFlag & 0x80;
mUndeleteFlag = mUndeleteFlag & 0x7F;
if (param_1) {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << param_0) - 1)) * 2);
} else {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << (param_0 + 1)) - 1)) >> 1);
}
mUndeleteFlag |= tmpFlags;
}
/* 802ED584-802ED874 2E7EC4 02F0+00 1/0 0/0 0/0 .text setGX__12J2DTevBlock2Fv */
void J2DTevBlock2::setGX() {
for (int i = 0; i < 2; i++) {
loadTexture(GXTexMapID(i), i);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevOrder(GXTevStageID(i), mTevOrder[i].getTexCoord(), mTevOrder[i].getTexMap(), mTevOrder[i].getColor());
}
for (int i = 0; i < 4; i++) {
GXSetTevColorS10(i != 3 ? GXTevRegID(i + 1) : GX_TEVPREV, mTevColor[i]);
}
GXSetNumTevStages(mTevStageNum);
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevColorIn(GXTevStageID(i), GXTevColorArg(mTevStage[i].getColorA()),
GXTevColorArg(mTevStage[i].getColorB()),
GXTevColorArg(mTevStage[i].getColorC()),
GXTevColorArg(mTevStage[i].getColorD()));
GXSetTevAlphaIn(GXTevStageID(i), GXTevAlphaArg(mTevStage[i].getAlphaA()),
GXTevAlphaArg(mTevStage[i].getAlphaB()),
GXTevAlphaArg(mTevStage[i].getAlphaC()),
GXTevAlphaArg(mTevStage[i].getAlphaD()));
GXSetTevColorOp(GXTevStageID(i), GXTevOp(mTevStage[i].getCOp()),
GXTevBias(mTevStage[i].getCBias()), GXTevScale(mTevStage[i].getCScale()),
mTevStage[i].getCClamp(), GXTevRegID(mTevStage[i].getCReg()));
GXSetTevAlphaOp(GXTevStageID(i), (GXTevOp)mTevStage[i].getAOp(),
GXTevBias(mTevStage[i].getABias()), GXTevScale(mTevStage[i].getAScale()),
mTevStage[i].getAClamp(), GXTevRegID(mTevStage[i].getAReg()));
GXSetTevKColorSel(GXTevStageID(i), mTevKColorSel[i] != 0xff ? GXTevKColorSel(mTevKColorSel[i]) : GX_TEV_KCSEL_1);
GXSetTevKAlphaSel(GXTevStageID(i), mTevKAlphaSel[i] != 0xff ? GXTevKAlphaSel(mTevKAlphaSel[i]) : GX_TEV_KASEL_1);
}
for (int i = 0; i < 4; i++) {
GXSetTevKColor(GXTevKColorID(i), mTevKColor[i]);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevSwapMode(GXTevStageID(i), GXTevSwapSel(mTevStage[i].getRasSel()), GXTevSwapSel(mTevStage[i].getTexSel()));
}
for (int i = 0; i < 4; i++) {
GXSetTevSwapModeTable(GXTevSwapSel(i), GXTevColor(mTevSwapModeTable[i].getR()),
GXTevColor(mTevSwapModeTable[i].getG()),
GXTevColor(mTevSwapModeTable[i].getB()),
GXTevColor(mTevSwapModeTable[i].getA()));
}
for (u8 i = 0; i < mTevStageNum; i++) {
mIndTevStage[i].load(i);
}
}
/* 802ED874-802ED8BC 2E81B4 0048+00 1/0 0/0 0/0 .text loadTexture__12J2DTevBlock2F11_GXTexMapIDUl
*/
void J2DTevBlock2::loadTexture(GXTexMapID texmapID, u32 texIndex) {
if (texIndex < 2 && mTexture[texIndex] != NULL && mTexture[texIndex]->getTexInfo() != NULL) {
mTexture[texIndex]->load(texmapID);
}
}
/* 802ED8BC-802ED9E4 2E81FC 0128+00 0/0 1/1 0/0 .text __ct__12J2DTevBlock4Fv */
J2DTevBlock4::J2DTevBlock4() {
for (int i = 0; i < 4; i++) {
mTexture[i] = NULL;
}
mUndeleteFlag = 0;
initialize();
}
/* 802ED9E4-802EDAC4 2E8324 00E0+00 1/0 0/0 0/0 .text __dt__12J2DTevBlock4Fv */
J2DTevBlock4::~J2DTevBlock4() {
for (int i = 0; i < 4; i++) {
if (mUndeleteFlag & (1 << i)) {
delete mTexture[i];
}
delete mPalette[i];
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
}
/* 802EDAC4-802EDD34 2E8404 0270+00 1/0 0/0 0/0 .text initialize__12J2DTevBlock4Fv */
// inlines
#ifdef NONMATCHING
void J2DTevBlock4::initialize() {
for (int i = 0; i < 4; i++) {
mTexNo[i] = -1;
}
mFontNo = -1;
for (int i = 0; i < 4; i++) {
mTevOrder[i].setTevOrderInfo(j2dDefaultTevOrderInfoNull);
}
for (int i = 0; i < 4; i++) {
mTevColor[i] = j2dDefaultTevColor;
}
mTevStageNum = 1;
for (int i = 0; i < 4; i++) {
mTevStage[i].setStageNo(i);
}
for (int i = 0; i < 4; i++) {
mTevKColor[i] = j2dDefaultTevKColor;
}
for (int i = 0; i < 4; i++) {
mTevKColorSel[i] = -1;
mTevKAlphaSel[i] = -1;
}
for (int i = 0; i < 4; i++) {
mTevSwapModeTable[i].setTevSwapModeTableInfo(j2dDefaultTevSwapModeTable);
}
for (int i = 0; i < 4; i++) {
mIndTevStage[i].setIndTevStageInfo(j2dDefaultIndTevStageInfo);
}
for (int i = 0; i < 4; i++) {
mPalette[i] = NULL;
}
mFont = NULL;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void initialize__12J2DTevBlock4Fv() {
// asm void J2DTevBlock4::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__12J2DTevBlock4Fv.s"
}
#pragma pop
#endif
/* 802EDD34-802EDE04 2E8674 00D0+00 1/0 0/0 0/0 .text prepareTexture__12J2DTevBlock4FUc
*/
bool J2DTevBlock4::prepareTexture(u8 param_0) {
for (u8 i = 0; i < param_0; i++) {
if (i >= 4) {
return 0;
}
if (mTexture[i] == NULL) {
mTexture[i] = new JUTTexture();
if (mTexture[i] == NULL) {
return false;
}
mUndeleteFlag |= (1 << i);
}
}
return true;
}
/* 802EDE04-802EE1D4 2E8744 03D0+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock4FUlPC7ResTIMGP10JUTPalette */
// local_3c
#ifdef NONMATCHING
bool J2DTevBlock4::insertTexture(u32 param_0, ResTIMG const* p_timg, JUTPalette* p_tlut) {
if (param_0 >= 4 || !p_timg) {
return false;
}
u8 idx;
for (idx = 0; idx < 4; idx++) {
if (!mTexture[idx] || !mTexture[idx]->getTexInfo()) {
break;
}
}
if (idx < param_0) {
return false;
}
if (idx == 4) {
return false;
}
u8 local_43 = 0;
if (p_timg->indexTexture && !p_tlut) {
u8 local_44 = 0;
for (int i = 0; i < 3; i++) {
if (!mTexture[i]) {
continue;
}
const ResTIMG* texInfo = mTexture[i]->getTexInfo();
if (!texInfo) {
continue;
}
if (!texInfo->indexTexture) {
continue;
}
u8 tlutName = mTexture[i]->getTlutName();
int local_3c = tlutName >= 0x10 ? 0x10 : 0;
u8 bVar1 = tlutName - local_3c;
if (bVar1 < 4) {
local_44 |= 1 << bVar1;
}
}
for (u8 i = 0; i < 4; i++) {
if ((local_44 & 1 << i) == 0) {
local_43 = i;
break;
}
}
}
if (!mTexture[idx]) {
JUTTexture* texture = new JUTTexture(p_timg, local_43);
if (!texture) {
return false;
}
if (p_tlut) {
texture->storeTIMG(p_timg, p_tlut);
}
for (u8 i = 3; i > param_0; i--) {
mTexture[i] = mTexture[i - 1];
mPalette[i] = mPalette[i - 1];
mTexNo[i] = mTexNo[i - 1];
}
mTexture[param_0] = texture;
shiftDeleteFlag(param_0, true);
mUndeleteFlag |= 1 << param_0;
} else {
JUTTexture* texture = mTexture[idx];
if (!p_tlut) {
texture->storeTIMG(p_timg, local_43);
} else {
texture->storeTIMG(p_timg, p_tlut);
}
u8 local_38[4];
for (u8 i = 0; i < 4; i++) {
local_38[i] = -(mUndeleteFlag & 1 << i) >> 0x1f;
}
for (; idx > param_0; idx--) {
mTexture[idx] = mTexture[idx - 1];
mPalette[idx] = mPalette[idx - 1];
mTexNo[idx] = mTexNo[idx - 1];
local_38[idx] = local_38[idx - 1];
}
mTexture[param_0] = texture;
mUndeleteFlag &= 0x80;
for (u8 i = 0; i < 4; i++) {
if (local_38[i]) {
mUndeleteFlag |= 1 << i;
}
}
mUndeleteFlag |= 1 << param_0;
}
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock4::insertTexture(u32 param_0, ResTIMG const* param_1, JUTPalette* param_2) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/insertTexture__12J2DTevBlock4FUlPC7ResTIMGP10JUTPalette.s"
}
#pragma pop
#endif
/* 802EE1D4-802EE364 2E8B14 0190+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock4FUlP10JUTTexture */
bool J2DTevBlock4::insertTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 4 || p_tex == NULL) {
return false;
}
u8 texNo = 0;
for (; texNo < 4; texNo++) {
if (mTexture[texNo] == NULL || mTexture[texNo]->getTexInfo() == NULL) {
break;
}
}
if (texNo < param_0) {
return false;
}
if (texNo == 4) {
return false;
}
if (mTexture[3] != NULL && mTexture[3]->getTexInfo() == NULL) {
if (mUndeleteFlag & 8) {
delete mTexture[3];
}
mUndeleteFlag &= ~8;
}
for (u8 i = 3; i > param_0; i--) {
mTexture[i] = mTexture[i - 1];
mPalette[i] = mPalette[i - 1];
mTexNo[i] = mTexNo[i - 1];
}
mTexture[param_0] = p_tex;
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
shiftDeleteFlag(param_0, true);
mUndeleteFlag &= ~(1 << param_0);
return true;
}
/* 802EE364-802EE5F0 2E8CA4 028C+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock4FUlPC7ResTIMG */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock4::setTexture(u32 param_0, ResTIMG const* param_1) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/setTexture__12J2DTevBlock4FUlPC7ResTIMG.s"
}
#pragma pop
/* 802EE5F0-802EE6A0 2E8F30 00B0+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock4FUlP10JUTTexture
*/
bool J2DTevBlock4::setTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 4) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
mTexture[param_0] = p_tex;
mUndeleteFlag &= ~(1 << param_0);
delete mPalette[param_0];
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
/* 802EE6A0-802EE798 2E8FE0 00F8+00 1/0 0/0 0/0 .text removeTexture__12J2DTevBlock4FUl */
bool J2DTevBlock4::removeTexture(u32 param_0) {
if (param_0 >= 4) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
delete mPalette[param_0];
for (u32 i = param_0; i < 3; i++) {
mTexture[i] = mTexture[i + 1];
mPalette[i] = mPalette[i + 1];
mTexNo[i] = mTexNo[i + 1];
}
mTexture[3] = NULL;
mPalette[3] = NULL;
mTexNo[3] = -1;
shiftDeleteFlag(param_0, false);
return true;
}
/* 802EE798-802EE84C 2E90D8 00B4+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock4FP7ResFONT
*/
bool J2DTevBlock4::setFont(ResFONT* p_font) {
if (p_font == NULL) {
return false;
}
JUTResFont* resFont = new JUTResFont(p_font, NULL);
if (resFont == NULL) {
return false;
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
mFont = resFont;
mUndeleteFlag = (mUndeleteFlag & 0x7F) | 0x80;
return true;
}
/* 802EE84C-802EE8CC 2E918C 0080+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock4FP7JUTFont
*/
bool J2DTevBlock4::setFont(JUTFont* p_font) {
if (p_font == NULL) {
return false;
}
if (mUndeleteFlag & 0x80) {
delete mFont;
}
mFont = (JUTResFont*)p_font;
mUndeleteFlag = mUndeleteFlag & 0x7F;
return true;
}
/* 802EE8CC-802EE9A4 2E920C 00D8+00 1/0 0/0 0/0 .text setPalette__12J2DTevBlock4FUlPC7ResTLUT */
bool J2DTevBlock4::setPalette(u32 param_0, ResTLUT const* p_tlut) {
if (param_0 >= 4) {
return false;
}
if (p_tlut != NULL) {
if (mPalette[param_0] == NULL) {
mPalette[param_0] = new JUTPalette((GXTlut)param_0, (ResTLUT*)p_tlut);
if (mPalette[param_0] == NULL) {
return false;
}
} else {
mPalette[param_0]->storeTLUT(GX_TLUT0, (ResTLUT*)p_tlut);
}
if (mTexture[param_0] != NULL) {
mTexture[param_0]->attachPalette(mPalette[param_0]);
}
} else {
delete mPalette[param_0];
mPalette[param_0] = NULL;
}
return true;
}
/* 802EE9A4-802EEA2C 2E92E4 0088+00 1/0 0/0 0/0 .text shiftDeleteFlag__12J2DTevBlock4FUcb
*/
void J2DTevBlock4::shiftDeleteFlag(u8 param_0, bool param_1) {
u8 tmpFlags = mUndeleteFlag & 0x80;
mUndeleteFlag = mUndeleteFlag & 0x7F;
if (param_1) {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << param_0) - 1)) * 2);
} else {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << (param_0 + 1)) - 1)) >> 1);
}
mUndeleteFlag |= tmpFlags;
}
/* 802EEA2C-802EED1C 2E936C 02F0+00 1/0 0/0 0/0 .text setGX__12J2DTevBlock4Fv */
void J2DTevBlock4::setGX() {
for (int i = 0; i < 4; i++) {
loadTexture(GXTexMapID(i), i);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevOrder(GXTevStageID(i), mTevOrder[i].getTexCoord(), mTevOrder[i].getTexMap(), mTevOrder[i].getColor());
}
for (int i = 0; i < 4; i++) {
GXSetTevColorS10(i != 3 ? GXTevRegID(i + 1) : GX_TEVPREV, mTevColor[i]);
}
GXSetNumTevStages(mTevStageNum);
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevColorIn(GXTevStageID(i), GXTevColorArg(mTevStage[i].getColorA()),
GXTevColorArg(mTevStage[i].getColorB()),
GXTevColorArg(mTevStage[i].getColorC()),
GXTevColorArg(mTevStage[i].getColorD()));
GXSetTevAlphaIn(GXTevStageID(i), GXTevAlphaArg(mTevStage[i].getAlphaA()),
GXTevAlphaArg(mTevStage[i].getAlphaB()),
GXTevAlphaArg(mTevStage[i].getAlphaC()),
GXTevAlphaArg(mTevStage[i].getAlphaD()));
GXSetTevColorOp(GXTevStageID(i), GXTevOp(mTevStage[i].getCOp()),
GXTevBias(mTevStage[i].getCBias()), GXTevScale(mTevStage[i].getCScale()),
mTevStage[i].getCClamp(), GXTevRegID(mTevStage[i].getCReg()));
GXSetTevAlphaOp(GXTevStageID(i), (GXTevOp)mTevStage[i].getAOp(),
GXTevBias(mTevStage[i].getABias()), GXTevScale(mTevStage[i].getAScale()),
mTevStage[i].getAClamp(), GXTevRegID(mTevStage[i].getAReg()));
GXSetTevKColorSel(GXTevStageID(i), mTevKColorSel[i] != 0xff ? GXTevKColorSel(mTevKColorSel[i]) : GX_TEV_KCSEL_1);
GXSetTevKAlphaSel(GXTevStageID(i), mTevKAlphaSel[i] != 0xff ? GXTevKAlphaSel(mTevKAlphaSel[i]) : GX_TEV_KASEL_1);
}
for (int i = 0; i < 4; i++) {
GXSetTevKColor(GXTevKColorID(i), mTevKColor[i]);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevSwapMode(GXTevStageID(i), GXTevSwapSel(mTevStage[i].getRasSel()), GXTevSwapSel(mTevStage[i].getTexSel()));
}
for (int i = 0; i < 4; i++) {
GXSetTevSwapModeTable(GXTevSwapSel(i), GXTevColor(mTevSwapModeTable[i].getR()),
GXTevColor(mTevSwapModeTable[i].getG()),
GXTevColor(mTevSwapModeTable[i].getB()),
GXTevColor(mTevSwapModeTable[i].getA()));
}
for (u8 i = 0; i < mTevStageNum; i++) {
mIndTevStage[i].load(i);
}
}
/* 802EED1C-802EED64 2E965C 0048+00 1/0 0/0 0/0 .text loadTexture__12J2DTevBlock4F11_GXTexMapIDUl
*/
void J2DTevBlock4::loadTexture(GXTexMapID texmapID, u32 texIndex) {
if (texIndex < 4 && mTexture[texIndex] != NULL && mTexture[texIndex]->getTexInfo() != NULL) {
mTexture[texIndex]->load(texmapID);
}
}
/* 802EED64-802EEE8C 2E96A4 0128+00 0/0 1/1 0/0 .text __ct__12J2DTevBlock8Fv */
J2DTevBlock8::J2DTevBlock8() {
for (int i = 0; i < 8; i++) {
mTexture[i] = NULL;
}
mUndeleteFlag = 0;
initialize();
}
/* 802EEE8C-802EEF6C 2E97CC 00E0+00 1/0 0/0 0/0 .text __dt__12J2DTevBlock8Fv */
J2DTevBlock8::~J2DTevBlock8() {
for (int i = 0; i < 8; i++) {
if (mUndeleteFlag & (1 << i)) {
delete mTexture[i];
}
delete mPalette[i];
}
if (mFontUndeleteFlag) {
delete mFont;
}
}
/* 802EEF6C-802EF1E0 2E98AC 0274+00 1/0 0/0 0/0 .text initialize__12J2DTevBlock8Fv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void initialize__12J2DTevBlock8Fv() {
// asm void J2DTevBlock8::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__12J2DTevBlock8Fv.s"
}
#pragma pop
/* 802EF1E0-802EF2B0 2E9B20 00D0+00 1/0 0/0 0/0 .text prepareTexture__12J2DTevBlock8FUc
*/
bool J2DTevBlock8::prepareTexture(u8 param_0) {
for (u8 i = 0; i < param_0; i++) {
if (i >= 8) {
return 0;
}
if (mTexture[i] == NULL) {
mTexture[i] = new JUTTexture();
if (mTexture[i] == NULL) {
return false;
}
mUndeleteFlag |= (1 << i);
}
}
return true;
}
/* 802EF2B0-802EF67C 2E9BF0 03CC+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock8FUlPC7ResTIMGP10JUTPalette */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock8::insertTexture(u32 param_0, ResTIMG const* param_1, JUTPalette* param_2) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/insertTexture__12J2DTevBlock8FUlPC7ResTIMGP10JUTPalette.s"
}
#pragma pop
/* 802EF67C-802EF80C 2E9FBC 0190+00 1/0 0/0 0/0 .text
* insertTexture__12J2DTevBlock8FUlP10JUTTexture */
bool J2DTevBlock8::insertTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 8 || p_tex == NULL) {
return false;
}
u8 texNo = 0;
for (; texNo < 8; texNo++) {
if (mTexture[texNo] == NULL || mTexture[texNo]->getTexInfo() == NULL) {
break;
}
}
if (texNo < param_0) {
return false;
}
if (texNo == 8) {
return false;
}
if (mTexture[7] != NULL && mTexture[7]->getTexInfo() == NULL) {
if (mUndeleteFlag & 0x80) {
delete mTexture[7];
}
mUndeleteFlag &= 0x7F;
}
for (u8 i = 7; i > param_0; i--) {
mTexture[i] = mTexture[i - 1];
mPalette[i] = mPalette[i - 1];
mTexNo[i] = mTexNo[i - 1];
}
mTexture[param_0] = p_tex;
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
shiftDeleteFlag(param_0, true);
mUndeleteFlag &= ~(1 << param_0);
return true;
}
/* 802EF80C-802EFA98 2EA14C 028C+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock8FUlPC7ResTIMG */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock8::setTexture(u32 param_0, ResTIMG const* param_1) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/setTexture__12J2DTevBlock8FUlPC7ResTIMG.s"
}
#pragma pop
/* 802EFA98-802EFB48 2EA3D8 00B0+00 1/0 0/0 0/0 .text setTexture__12J2DTevBlock8FUlP10JUTTexture
*/
bool J2DTevBlock8::setTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 8) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
mTexture[param_0] = p_tex;
mUndeleteFlag &= ~(1 << param_0);
delete mPalette[param_0];
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
/* 802EFB48-802EFC40 2EA488 00F8+00 1/0 0/0 0/0 .text removeTexture__12J2DTevBlock8FUl */
bool J2DTevBlock8::removeTexture(u32 param_0) {
if (param_0 >= 8) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
delete mPalette[param_0];
for (u32 i = param_0; i < 7; i++) {
mTexture[i] = mTexture[i + 1];
mPalette[i] = mPalette[i + 1];
mTexNo[i] = mTexNo[i + 1];
}
mTexture[7] = NULL;
mPalette[7] = NULL;
mTexNo[7] = -1;
shiftDeleteFlag(param_0, false);
return true;
}
/* 802EFC40-802EFCEC 2EA580 00AC+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock8FP7ResFONT
*/
bool J2DTevBlock8::setFont(ResFONT* p_font) {
if (p_font == NULL) {
return false;
}
JUTResFont* resFont = new JUTResFont(p_font, NULL);
if (resFont == NULL) {
return false;
}
if (mFontUndeleteFlag) {
delete mFont;
}
mFont = resFont;
mFontUndeleteFlag = true;
return true;
}
/* 802EFCEC-802EFD68 2EA62C 007C+00 1/0 0/0 0/0 .text setFont__12J2DTevBlock8FP7JUTFont
*/
bool J2DTevBlock8::setFont(JUTFont* p_font) {
if (p_font == NULL) {
return false;
}
if (mFontUndeleteFlag) {
delete mFont;
}
mFont = (JUTResFont*)p_font;
mFontUndeleteFlag = false;
return true;
}
/* 802EFD68-802EFE40 2EA6A8 00D8+00 1/0 0/0 0/0 .text setPalette__12J2DTevBlock8FUlPC7ResTLUT */
bool J2DTevBlock8::setPalette(u32 param_0, ResTLUT const* p_tlut) {
if (param_0 >= 8) {
return false;
}
if (p_tlut != NULL) {
if (mPalette[param_0] == NULL) {
mPalette[param_0] = new JUTPalette((GXTlut)param_0, (ResTLUT*)p_tlut);
if (mPalette[param_0] == NULL) {
return false;
}
} else {
mPalette[param_0]->storeTLUT(GX_TLUT0, (ResTLUT*)p_tlut);
}
if (mTexture[param_0] != NULL) {
mTexture[param_0]->attachPalette(mPalette[param_0]);
}
} else {
delete mPalette[param_0];
mPalette[param_0] = NULL;
}
return true;
}
/* 802EFE40-802EFEAC 2EA780 006C+00 1/0 0/0 0/0 .text shiftDeleteFlag__12J2DTevBlock8FUcb
*/
void J2DTevBlock8::shiftDeleteFlag(u8 param_0, bool param_1) {
if (param_1) {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << param_0) - 1)) * 2);
} else {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << (param_0 + 1)) - 1)) >> 1);
}
}
/* 802EFEAC-802F019C 2EA7EC 02F0+00 1/0 0/0 0/0 .text setGX__12J2DTevBlock8Fv */
void J2DTevBlock8::setGX() {
for (int i = 0; i < 8; i++) {
loadTexture(GXTexMapID(i), i);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevOrder(GXTevStageID(i), mTevOrder[i].getTexCoord(), mTevOrder[i].getTexMap(), mTevOrder[i].getColor());
}
for (int i = 0; i < 4; i++) {
GXSetTevColorS10(i != 3 ? GXTevRegID(i + 1) : GX_TEVPREV, mTevColor[i]);
}
GXSetNumTevStages(mTevStageNum);
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevColorIn(GXTevStageID(i), GXTevColorArg(mTevStage[i].getColorA()),
GXTevColorArg(mTevStage[i].getColorB()),
GXTevColorArg(mTevStage[i].getColorC()),
GXTevColorArg(mTevStage[i].getColorD()));
GXSetTevAlphaIn(GXTevStageID(i), GXTevAlphaArg(mTevStage[i].getAlphaA()),
GXTevAlphaArg(mTevStage[i].getAlphaB()),
GXTevAlphaArg(mTevStage[i].getAlphaC()),
GXTevAlphaArg(mTevStage[i].getAlphaD()));
GXSetTevColorOp(GXTevStageID(i), GXTevOp(mTevStage[i].getCOp()),
GXTevBias(mTevStage[i].getCBias()), GXTevScale(mTevStage[i].getCScale()),
mTevStage[i].getCClamp(), GXTevRegID(mTevStage[i].getCReg()));
GXSetTevAlphaOp(GXTevStageID(i), (GXTevOp)mTevStage[i].getAOp(),
GXTevBias(mTevStage[i].getABias()), GXTevScale(mTevStage[i].getAScale()),
mTevStage[i].getAClamp(), GXTevRegID(mTevStage[i].getAReg()));
GXSetTevKColorSel(GXTevStageID(i), mTevKColorSel[i] != 0xff ? GXTevKColorSel(mTevKColorSel[i]) : GX_TEV_KCSEL_1);
GXSetTevKAlphaSel(GXTevStageID(i), mTevKAlphaSel[i] != 0xff ? GXTevKAlphaSel(mTevKAlphaSel[i]) : GX_TEV_KASEL_1);
}
for (int i = 0; i < 4; i++) {
GXSetTevKColor(GXTevKColorID(i), mTevKColor[i]);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevSwapMode(GXTevStageID(i), GXTevSwapSel(mTevStage[i].getRasSel()), GXTevSwapSel(mTevStage[i].getTexSel()));
}
for (int i = 0; i < 4; i++) {
GXSetTevSwapModeTable(GXTevSwapSel(i), GXTevColor(mTevSwapModeTable[i].getR()),
GXTevColor(mTevSwapModeTable[i].getG()),
GXTevColor(mTevSwapModeTable[i].getB()),
GXTevColor(mTevSwapModeTable[i].getA()));
}
for (u8 i = 0; i < mTevStageNum; i++) {
mIndTevStage[i].load(i);
}
}
/* 802F019C-802F01E4 2EAADC 0048+00 1/0 0/0 0/0 .text loadTexture__12J2DTevBlock8F11_GXTexMapIDUl
*/
void J2DTevBlock8::loadTexture(GXTexMapID texmapID, u32 texIndex) {
if (texIndex < 8 && mTexture[texIndex] != NULL && mTexture[texIndex]->getTexInfo() != NULL) {
mTexture[texIndex]->load(texmapID);
}
}
/* 802F01E4-802F030C 2EAB24 0128+00 0/0 1/1 0/0 .text __ct__13J2DTevBlock16Fv */
J2DTevBlock16::J2DTevBlock16() {
for (int i = 0; i < 8; i++) {
mTexture[i] = NULL;
}
mUndeleteFlag = 0;
initialize();
}
/* 802F030C-802F03EC 2EAC4C 00E0+00 1/0 0/0 0/0 .text __dt__13J2DTevBlock16Fv */
J2DTevBlock16::~J2DTevBlock16() {
for (int i = 0; i < 8; i++) {
if (mUndeleteFlag & (1 << i)) {
delete mTexture[i];
}
delete mPalette[i];
}
if (mFontUndeleteFlag) {
delete mFont;
}
}
/* 802F03EC-802F0660 2EAD2C 0274+00 1/0 0/0 0/0 .text initialize__13J2DTevBlock16Fv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void initialize__13J2DTevBlock16Fv() {
// asm void J2DTevBlock16::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__13J2DTevBlock16Fv.s"
}
#pragma pop
/* 802F0660-802F0730 2EAFA0 00D0+00 1/0 0/0 0/0 .text prepareTexture__13J2DTevBlock16FUc
*/
bool J2DTevBlock16::prepareTexture(u8 param_0) {
for (u8 i = 0; i < param_0; i++) {
if (i >= 8) {
return 0;
}
if (mTexture[i] == NULL) {
mTexture[i] = new JUTTexture();
if (mTexture[i] == NULL) {
return false;
}
mUndeleteFlag |= (1 << i);
}
}
return true;
}
/* 802F0730-802F0AFC 2EB070 03CC+00 1/0 0/0 0/0 .text
* insertTexture__13J2DTevBlock16FUlPC7ResTIMGP10JUTPalette */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock16::insertTexture(u32 param_0, ResTIMG const* param_1, JUTPalette* param_2) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/insertTexture__13J2DTevBlock16FUlPC7ResTIMGP10JUTPalette.s"
}
#pragma pop
/* 802F0AFC-802F0C8C 2EB43C 0190+00 1/0 0/0 0/0 .text
* insertTexture__13J2DTevBlock16FUlP10JUTTexture */
bool J2DTevBlock16::insertTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 8 || p_tex == NULL) {
return false;
}
u8 texNo = 0;
for (; texNo < 8; texNo++) {
if (mTexture[texNo] == NULL || mTexture[texNo]->getTexInfo() == NULL) {
break;
}
}
if (texNo < param_0) {
return false;
}
if (texNo == 8) {
return false;
}
if (mTexture[7] != NULL && mTexture[7]->getTexInfo() == NULL) {
if (mUndeleteFlag & 0x80) {
delete mTexture[7];
}
mUndeleteFlag &= 0x7F;
}
for (u8 i = 7; i > param_0; i--) {
mTexture[i] = mTexture[i - 1];
mPalette[i] = mPalette[i - 1];
mTexNo[i] = mTexNo[i - 1];
}
mTexture[param_0] = p_tex;
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
shiftDeleteFlag(param_0, true);
mUndeleteFlag &= ~(1 << param_0);
return true;
}
/* 802F0C8C-802F0F18 2EB5CC 028C+00 1/0 0/0 0/0 .text setTexture__13J2DTevBlock16FUlPC7ResTIMG */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm bool J2DTevBlock16::setTexture(u32 param_0, ResTIMG const* param_1) {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/setTexture__13J2DTevBlock16FUlPC7ResTIMG.s"
}
#pragma pop
/* 802F0F18-802F0FC8 2EB858 00B0+00 1/0 0/0 0/0 .text setTexture__13J2DTevBlock16FUlP10JUTTexture
*/
bool J2DTevBlock16::setTexture(u32 param_0, JUTTexture* p_tex) {
if (param_0 >= 8) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
mTexture[param_0] = p_tex;
mUndeleteFlag &= ~(1 << param_0);
delete mPalette[param_0];
mPalette[param_0] = NULL;
mTexNo[param_0] = -1;
return true;
}
/* 802F0FC8-802F10C0 2EB908 00F8+00 1/0 0/0 0/0 .text removeTexture__13J2DTevBlock16FUl
*/
bool J2DTevBlock16::removeTexture(u32 param_0) {
if (param_0 >= 8) {
return false;
}
if (mUndeleteFlag & (1 << param_0)) {
delete mTexture[param_0];
}
delete mPalette[param_0];
for (u32 i = param_0; i < 7; i++) {
mTexture[i] = mTexture[i + 1];
mPalette[i] = mPalette[i + 1];
mTexNo[i] = mTexNo[i + 1];
}
mTexture[7] = NULL;
mPalette[7] = NULL;
mTexNo[7] = -1;
shiftDeleteFlag(param_0, false);
return true;
}
/* 802F10C0-802F116C 2EBA00 00AC+00 1/0 0/0 0/0 .text setFont__13J2DTevBlock16FP7ResFONT
*/
bool J2DTevBlock16::setFont(ResFONT* p_font) {
if (p_font == NULL) {
return false;
}
JUTResFont* resFont = new JUTResFont(p_font, NULL);
if (resFont == NULL) {
return false;
}
if (mFontUndeleteFlag) {
delete mFont;
}
mFont = resFont;
mFontUndeleteFlag = true;
return true;
}
/* 802F116C-802F11E8 2EBAAC 007C+00 1/0 0/0 0/0 .text setFont__13J2DTevBlock16FP7JUTFont
*/
bool J2DTevBlock16::setFont(JUTFont* p_font) {
if (p_font == NULL) {
return false;
}
if (mFontUndeleteFlag) {
delete mFont;
}
mFont = (JUTResFont*)p_font;
mFontUndeleteFlag = false;
return true;
}
/* 802F11E8-802F12C0 2EBB28 00D8+00 1/0 0/0 0/0 .text setPalette__13J2DTevBlock16FUlPC7ResTLUT */
bool J2DTevBlock16::setPalette(u32 param_0, ResTLUT const* p_tlut) {
if (param_0 >= 8) {
return false;
}
if (p_tlut != NULL) {
if (mPalette[param_0] == NULL) {
mPalette[param_0] = new JUTPalette((GXTlut)param_0, (ResTLUT*)p_tlut);
if (mPalette[param_0] == NULL) {
return false;
}
} else {
mPalette[param_0]->storeTLUT(GX_TLUT0, (ResTLUT*)p_tlut);
}
if (mTexture[param_0] != NULL) {
mTexture[param_0]->attachPalette(mPalette[param_0]);
}
} else {
delete mPalette[param_0];
mPalette[param_0] = NULL;
}
return true;
}
/* 802F12C0-802F132C 2EBC00 006C+00 1/0 0/0 0/0 .text shiftDeleteFlag__13J2DTevBlock16FUcb */
void J2DTevBlock16::shiftDeleteFlag(u8 param_0, bool param_1) {
if (param_1) {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << param_0) - 1)) * 2);
} else {
mUndeleteFlag = (mUndeleteFlag & ((1 << param_0) - 1)) | ((mUndeleteFlag & ~((1 << (param_0 + 1)) - 1)) >> 1);
}
}
/* 802F132C-802F161C 2EBC6C 02F0+00 1/0 0/0 0/0 .text setGX__13J2DTevBlock16Fv */
void J2DTevBlock16::setGX() {
for (int i = 0; i < 8; i++) {
loadTexture(GXTexMapID(i), i);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevOrder(GXTevStageID(i), mTevOrder[i].getTexCoord(), mTevOrder[i].getTexMap(), mTevOrder[i].getColor());
}
for (int i = 0; i < 4; i++) {
GXSetTevColorS10(i != 3 ? GXTevRegID(i + 1) : GX_TEVPREV, mTevColor[i]);
}
GXSetNumTevStages(mTevStageNum);
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevColorIn(GXTevStageID(i), GXTevColorArg(mTevStage[i].getColorA()),
GXTevColorArg(mTevStage[i].getColorB()),
GXTevColorArg(mTevStage[i].getColorC()),
GXTevColorArg(mTevStage[i].getColorD()));
GXSetTevAlphaIn(GXTevStageID(i), GXTevAlphaArg(mTevStage[i].getAlphaA()),
GXTevAlphaArg(mTevStage[i].getAlphaB()),
GXTevAlphaArg(mTevStage[i].getAlphaC()),
GXTevAlphaArg(mTevStage[i].getAlphaD()));
GXSetTevColorOp(GXTevStageID(i), GXTevOp(mTevStage[i].getCOp()),
GXTevBias(mTevStage[i].getCBias()), GXTevScale(mTevStage[i].getCScale()),
mTevStage[i].getCClamp(), GXTevRegID(mTevStage[i].getCReg()));
GXSetTevAlphaOp(GXTevStageID(i), (GXTevOp)mTevStage[i].getAOp(),
GXTevBias(mTevStage[i].getABias()), GXTevScale(mTevStage[i].getAScale()),
mTevStage[i].getAClamp(), GXTevRegID(mTevStage[i].getAReg()));
GXSetTevKColorSel(GXTevStageID(i), mTevKColorSel[i] != 0xff ? GXTevKColorSel(mTevKColorSel[i]) : GX_TEV_KCSEL_1);
GXSetTevKAlphaSel(GXTevStageID(i), mTevKAlphaSel[i] != 0xff ? GXTevKAlphaSel(mTevKAlphaSel[i]) : GX_TEV_KASEL_1);
}
for (int i = 0; i < 4; i++) {
GXSetTevKColor(GXTevKColorID(i), mTevKColor[i]);
}
for (int i = 0; i < mTevStageNum; i++) {
GXSetTevSwapMode(GXTevStageID(i), GXTevSwapSel(mTevStage[i].getRasSel()), GXTevSwapSel(mTevStage[i].getTexSel()));
}
for (int i = 0; i < 4; i++) {
GXSetTevSwapModeTable(GXTevSwapSel(i), GXTevColor(mTevSwapModeTable[i].getR()),
GXTevColor(mTevSwapModeTable[i].getG()),
GXTevColor(mTevSwapModeTable[i].getB()),
GXTevColor(mTevSwapModeTable[i].getA()));
}
for (u8 i = 0; i < mTevStageNum; i++) {
mIndTevStage[i].load(i);
}
}
/* 802F161C-802F1664 2EBF5C 0048+00 1/0 0/0 0/0 .text loadTexture__13J2DTevBlock16F11_GXTexMapIDUl
*/
void J2DTevBlock16::loadTexture(GXTexMapID texmapID, u32 texIndex) {
if (texIndex < 8 && mTexture[texIndex] != NULL && mTexture[texIndex]->getTexInfo() != NULL) {
mTexture[texIndex]->load(texmapID);
}
}
/* 802F1664-802F1730 2EBFA4 00CC+00 1/0 0/0 0/0 .text initialize__15J2DIndBlockFullFv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void initialize__15J2DIndBlockFullFv() {
// asm void J2DIndBlockFull::initialize() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/initialize__15J2DIndBlockFullFv.s"
}
#pragma pop
/* 802F1730-802F17FC 2EC070 00CC+00 1/0 0/0 0/0 .text setGX__15J2DIndBlockFullFv */
void J2DIndBlockFull::setGX() {
GXSetNumIndStages(mIndTexStageNum);
for (u8 i = 0; i < mIndTexStageNum; i++) {
mIndTexMtx[i].load(i);
}
for (u8 i = 0; i < mIndTexStageNum; i++) {
mTexCoordScale[i].load(i);
}
for (u8 i = 0; i < mIndTexStageNum; i++) {
mIndTexOrder[i].load(i);
}
}
/* 802F17FC-802F1840 2EC13C 0044+00 0/0 1/1 0/0 .text initialize__10J2DPEBlockFv */
void J2DPEBlock::initialize() {
mAlphaComp = J2DAlphaComp();
mBlend.setBlendInfo(j2dDefaultBlendInfo);
mDither = j2dDefaultPEBlockDither;
}
/* 802F1840-802F18A0 2EC180 0060+00 0/0 1/1 0/0 .text setGX__10J2DPEBlockFv */
void J2DPEBlock::setGX() {
GXSetAlphaCompare(GXCompare(mAlphaComp.getComp0()), mAlphaComp.getRef0(), GXAlphaOp(mAlphaComp.getOp()), GXCompare(mAlphaComp.getComp1()), mAlphaComp.getRef1());
GXSetBlendMode(GXBlendMode(mBlend.getType()), GXBlendFactor(mBlend.getSrcFactor()), GXBlendFactor(mBlend.getDstFactor()), GXLogicOp(mBlend.getOp()));
GXSetDither(mDither);
}
/* 802F18A0-802F1934 2EC1E0 0094+00 5/5 0/0 0/0 .text __ct__14J2DIndTevStageFv */
// should be inline
#ifdef NONMATCHING
J2DIndTevStage::J2DIndTevStage() {
mFlags = J2DCalcIndTevStage(j2dDefaultIndTevStageInfo);
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void __ct__14J2DIndTevStageFv() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/__ct__14J2DIndTevStageFv.s"
}
#pragma pop
#endif
/* 802F1934-802F1940 2EC274 000C+00 5/5 0/0 0/0 .text __ct__19J2DTevSwapModeTableFv */
// Should be inline
#ifdef NONMATCHING
J2DTevSwapModeTable::J2DTevSwapModeTable() {
field_0x0 = data_804561AC;
}
#else
asm void __ct__19J2DTevSwapModeTableFv() {
#include "asm/JSystem/J2DGraph/J2DMatBlock/__ct__19J2DTevSwapModeTableFv.s"
}
#endif
/* 802F1940-802F19A8 2EC280 0068+00 5/5 1/1 0/0 .text __ct__11J2DTevStageFv */
J2DTevStage::J2DTevStage() {
setTevStageInfo(j2dDefaultTevStageInfo);
setTevSwapModeInfo(j2dDefaultTevSwapMode);
}
/* 802F19A8-802F1B70 2EC2E8 01C8+00 1/1 1/1 0/0 .text
* setTevStageInfo__11J2DTevStageFRC15J2DTevStageInfo */
void J2DTevStage::setTevStageInfo(J2DTevStageInfo const& info) {
setColorABCD(info.mColorA, info.mColorB, info.mColorC, info.mColorD);
setTevColorOp(info.mCOp, info.mCBias, info.mCScale, info.mCClamp, info.mCReg);
setAlphaABCD(info.mAlphaA, info.mAlphaB, info.mAlphaC, info.mAlphaD);
setTevAlphaOp(info.mAOp, info.mABias, info.mAScale, info.mAClamp, info.mAReg);
}
/* 802F1B70-802F1B90 2EC4B0 0020+00 5/5 0/0 0/0 .text __ct__11J2DTevOrderFv */
// Matching but should be inline
#ifdef NONMATCHING
J2DTevOrder::J2DTevOrder() {
mTevOrderInfo = j2dDefaultTevOrderInfoNull;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
// J2DTevOrder::J2DTevOrder() {
asm void __ct__11J2DTevOrderFv() {
nofralloc
#include "asm/JSystem/J2DGraph/J2DMatBlock/__ct__11J2DTevOrderFv.s"
}
#pragma pop
#endif
/* 802F1B90-802F1B94 2EC4D0 0004+00 5/5 0/0 0/0 .text __ct__13J2DGXColorS10Fv */
// Most likely inlined
//J2DGXColorS10::J2DGXColorS10() {
void __ct__13J2DGXColorS10Fv() {
/* empty function */
}
/* 802F1B94-802F1BA0 2EC4D4 000C+00 1/0 0/0 0/0 .text getType__15J2DIndBlockFullFv */
u32 J2DIndBlockFull::getType() {
return 'IBLF';
}
/* 802F1BA0-802F1BA8 -00001 0008+00 0/0 0/0 0/0 .text setIndTexStageNum__15J2DIndBlockFullFUc */
void J2DIndBlockFull::setIndTexStageNum(u8 num) {
mIndTexStageNum = num;
}
/* 802F1BA8-802F1BB0 2EC4E8 0008+00 1/0 0/0 0/0 .text getIndTexStageNum__15J2DIndBlockFullCFv */
u8 J2DIndBlockFull::getIndTexStageNum() const {
return mIndTexStageNum;
}
/* 802F1BB0-802F1BCC 2EC4F0 001C+00 1/0 0/0 0/0 .text
* setIndTexOrder__15J2DIndBlockFullFUl14J2DIndTexOrder */
void J2DIndBlockFull::setIndTexOrder(u32 param_0, J2DIndTexOrder param_1) {
mIndTexOrder[param_0] = param_1;
}
/* 802F1BCC-802F1BE0 2EC50C 0014+00 1/0 0/0 0/0 .text getIndTexOrder__15J2DIndBlockFullFUl */
J2DIndTexOrder* J2DIndBlockFull::getIndTexOrder(u32 param_0) {
return &mIndTexOrder[param_0];
}
/* 802F1BE0-802F1C38 2EC520 0058+00 1/0 0/0 0/0 .text
* setIndTexMtx__15J2DIndBlockFullFUl12J2DIndTexMtx */
void J2DIndBlockFull::setIndTexMtx(u32 param_0, J2DIndTexMtx param_1) {
mIndTexMtx[param_0] = param_1;
}
/* 802F1C38-802F1C4C 2EC578 0014+00 1/0 0/0 0/0 .text getIndTexMtx__15J2DIndBlockFullFUl
*/
J2DIndTexMtx* J2DIndBlockFull::getIndTexMtx(u32 param_0) {
return &mIndTexMtx[param_0];
}
/* 802F1C4C-802F1C68 2EC58C 001C+00 1/0 0/0 0/0 .text
* setIndTexCoordScale__15J2DIndBlockFullFUl19J2DIndTexCoordScale */
void J2DIndBlockFull::setIndTexCoordScale(u32 param_0, J2DIndTexCoordScale param_1) {
mTexCoordScale[param_0] = param_1;
}
/* 802F1C68-802F1C7C 2EC5A8 0014+00 1/0 0/0 0/0 .text getIndTexCoordScale__15J2DIndBlockFullFUl */
J2DIndTexCoordScale* J2DIndBlockFull::getIndTexCoordScale(u32 param_0) {
return &mTexCoordScale[param_0];
}
/* 802F1C7C-802F1D18 2EC5BC 009C+00 1/0 0/0 0/0 .text __dt__15J2DIndBlockFullFv */
J2DIndBlockFull::~J2DIndBlockFull() {}
/* 802F1D18-802F1D24 2EC658 000C+00 1/0 0/0 0/0 .text getType__13J2DTevBlock16Fv */
u32 J2DTevBlock16::getType() {
return 'TV16';
}
/* 802F1D24-802F1D2C 2EC664 0008+00 1/0 0/0 0/0 .text getMaxStage__13J2DTevBlock16Fv */
u8 J2DTevBlock16::getMaxStage() {
return 16;
}
/* 802F1D2C-802F1D3C 2EC66C 0010+00 1/0 0/0 0/0 .text setTexNo__13J2DTevBlock16FUlUs */
void J2DTevBlock16::setTexNo(u32 index, u16 texNo) {
mTexNo[index] = texNo;
}
/* 802F1D3C-802F1D4C 2EC67C 0010+00 1/0 0/0 0/0 .text getTexNo__13J2DTevBlock16CFUl */
u32 J2DTevBlock16::getTexNo(u32 index) const {
return mTexNo[index];
}
/* 802F1D4C-802F1D54 -00001 0008+00 0/0 0/0 0/0 .text setFontNo__13J2DTevBlock16FUs */
void J2DTevBlock16::setFontNo(u16 fontNo) {
mFontNo = fontNo;
}
/* 802F1D54-802F1D5C 2EC694 0008+00 1/0 0/0 0/0 .text getFontNo__13J2DTevBlock16CFv */
u16 J2DTevBlock16::getFontNo() const {
return mFontNo;
}
/* 802F1D5C-802F1D80 2EC69C 0024+00 1/0 0/0 0/0 .text setTevOrder__13J2DTevBlock16FUl11J2DTevOrder
*/
void J2DTevBlock16::setTevOrder(u32 index, J2DTevOrder order) {
mTevOrder[index].mTevOrderInfo.mTexCoord = order.mTevOrderInfo.mTexCoord;
mTevOrder[index].mTevOrderInfo.mTexMap = order.mTevOrderInfo.mTexMap;
mTevOrder[index].mTevOrderInfo.mColor = order.mTevOrderInfo.mColor;
}
/* 802F1D80-802F1D94 2EC6C0 0014+00 1/0 0/0 0/0 .text getTevOrder__13J2DTevBlock16FUl */
J2DTevOrder* J2DTevBlock16::getTevOrder(u32 index) {
return &mTevOrder[index];
}
/* 802F1D94-802F1DC0 2EC6D4 002C+00 1/0 0/0 0/0 .text
* setTevColor__13J2DTevBlock16FUl13J2DGXColorS10 */
void J2DTevBlock16::setTevColor(u32 index, J2DGXColorS10 color) {
mTevColor[index] = color;
}
/* 802F1DC0-802F1DD4 2EC700 0014+00 1/0 0/0 0/0 .text getTevColor__13J2DTevBlock16FUl */
J2DGXColorS10* J2DTevBlock16::getTevColor(u32 index) {
return &mTevColor[index];
}
/* 802F1DD4-802F1E00 2EC714 002C+00 1/0 0/0 0/0 .text
* setTevKColor__13J2DTevBlock16FUlQ28JUtility6TColor */
void J2DTevBlock16::setTevKColor(u32 index, JUtility::TColor color) {
mTevKColor[index].r = color.r;
mTevKColor[index].g = color.g;
mTevKColor[index].b = color.b;
mTevKColor[index].a = color.a;
}
/* 802F1E00-802F1E14 2EC740 0014+00 1/0 0/0 0/0 .text getTevKColor__13J2DTevBlock16FUl */
JUtility::TColor* J2DTevBlock16::getTevKColor(u32 index) {
return &mTevKColor[index];
}
/* 802F1E14-802F1E20 2EC754 000C+00 1/0 0/0 0/0 .text setTevKColorSel__13J2DTevBlock16FUlUc */
void J2DTevBlock16::setTevKColorSel(u32 index, u8 sel) {
mTevKColorSel[index] = sel;
}
/* 802F1E20-802F1E2C 2EC760 000C+00 1/0 0/0 0/0 .text getTevKColorSel__13J2DTevBlock16FUl
*/
u8 J2DTevBlock16::getTevKColorSel(u32 index) {
return mTevKColorSel[index];
}
/* 802F1E2C-802F1E38 2EC76C 000C+00 1/0 0/0 0/0 .text setTevKAlphaSel__13J2DTevBlock16FUlUc */
void J2DTevBlock16::setTevKAlphaSel(u32 index, u8 sel) {
mTevKAlphaSel[index] = sel;
}
/* 802F1E38-802F1E44 2EC778 000C+00 1/0 0/0 0/0 .text getTevKAlphaSel__13J2DTevBlock16FUl
*/
u8 J2DTevBlock16::getTevKAlphaSel(u32 index) {
return mTevKAlphaSel[index];
}
/* 802F1E44-802F1E4C -00001 0008+00 0/0 0/0 0/0 .text setTevStageNum__13J2DTevBlock16FUc
*/
void J2DTevBlock16::setTevStageNum(u8 stageNum) {
mTevStageNum = stageNum;
}
/* 802F1E4C-802F1E54 2EC78C 0008+00 1/0 0/0 0/0 .text getTevStageNum__13J2DTevBlock16CFv
*/
u8 J2DTevBlock16::getTevStageNum() const {
return mTevStageNum;
}
/* 802F1E54-802F1E90 2EC794 003C+00 1/0 0/0 0/0 .text setTevStage__13J2DTevBlock16FUl11J2DTevStage
*/
void J2DTevBlock16::setTevStage(u32 index, J2DTevStage stage) {
mTevStage[index] = stage;
}
/* 802F1E90-802F1EA4 2EC7D0 0014+00 1/0 0/0 0/0 .text getTevStage__13J2DTevBlock16FUl */
J2DTevStage* J2DTevBlock16::getTevStage(u32 index) {
return &mTevStage[index];
}
/* 802F1EA4-802F1EDC 2EC7E4 0038+00 1/0 0/0 0/0 .text
* setTevSwapModeInfo__13J2DTevBlock16FUl18J2DTevSwapModeInfo */
void J2DTevBlock16::setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
mTevStage[index].setTevSwapModeInfo(info);
}
/* 802F1EDC-802F1EEC 2EC81C 0010+00 1/0 0/0 0/0 .text
* setTevSwapModeTable__13J2DTevBlock16FUl19J2DTevSwapModeTable */
void J2DTevBlock16::setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
mTevSwapModeTable[index] = table;
}
/* 802F1EEC-802F1EFC 2EC82C 0010+00 1/0 0/0 0/0 .text getTevSwapModeTable__13J2DTevBlock16FUl */
J2DTevSwapModeTable* J2DTevBlock16::getTevSwapModeTable(u32 index) {
return &mTevSwapModeTable[index];
}
/* 802F1EFC-802F1F10 2EC83C 0014+00 1/0 0/0 0/0 .text
* setIndTevStage__13J2DTevBlock16FUl14J2DIndTevStage */
void J2DTevBlock16::setIndTevStage(u32 index, J2DIndTevStage stage) {
mIndTevStage[index] = stage;
}
/* 802F1F10-802F1F24 2EC850 0014+00 1/0 0/0 0/0 .text getIndTevStage__13J2DTevBlock16FUl
*/
J2DIndTevStage* J2DTevBlock16::getIndTevStage(u32 index) {
return &mIndTevStage[index];
}
/* 802F1F24-802F1F54 2EC864 0030+00 1/0 0/0 0/0 .text insertTexture__13J2DTevBlock16FUlPC7ResTIMG
*/
bool J2DTevBlock16::insertTexture(u32 index, ResTIMG const* p_timg) {
return insertTexture(index, p_timg, NULL);
}
/* 802F1F54-802F1F74 2EC894 0020+00 1/0 0/0 0/0 .text getTexture__13J2DTevBlock16FUl */
JUTTexture* J2DTevBlock16::getTexture(u32 index) {
if (index >= 8) {
return NULL;
}
return mTexture[index];
}
/* 802F1F74-802F1F94 2EC8B4 0020+00 1/0 0/0 0/0 .text getPalette__13J2DTevBlock16FUl */
JUTPalette* J2DTevBlock16::getPalette(u32 index) {
if (index >= 8) {
return NULL;
}
return mPalette[index];
}
/* 802F1F94-802F1F9C 2EC8D4 0008+00 1/0 0/0 0/0 .text getFont__13J2DTevBlock16Fv */
JUTFont* J2DTevBlock16::getFont() {
return mFont;
}
/* 802F1F9C-802F1FAC 2EC8DC 0010+00 1/0 0/0 0/0 .text setUndeleteFlag__13J2DTevBlock16FUc
*/
void J2DTevBlock16::setUndeleteFlag(u8 flag) {
mUndeleteFlag &= flag;
}
/* 802F1FAC-802F1FB8 2EC8EC 000C+00 1/0 0/0 0/0 .text setFontUndeleteFlag__13J2DTevBlock16Fv */
void J2DTevBlock16::setFontUndeleteFlag() {
mFontUndeleteFlag = false;
}
/* 802F1FB8-802F1FC4 2EC8F8 000C+00 1/0 0/0 0/0 .text getType__12J2DTevBlock8Fv */
u32 J2DTevBlock8::getType() {
return 'TVB8';
}
/* 802F1FC4-802F1FCC 2EC904 0008+00 1/0 0/0 0/0 .text getMaxStage__12J2DTevBlock8Fv */
u8 J2DTevBlock8::getMaxStage() {
return 8;
}
/* 802F1FCC-802F1FDC 2EC90C 0010+00 1/0 0/0 0/0 .text setTexNo__12J2DTevBlock8FUlUs */
void J2DTevBlock8::setTexNo(u32 index, u16 texNo) {
mTexNo[index] = texNo;
}
/* 802F1FDC-802F1FEC 2EC91C 0010+00 1/0 0/0 0/0 .text getTexNo__12J2DTevBlock8CFUl */
u32 J2DTevBlock8::getTexNo(u32 index) const {
return mTexNo[index];
}
/* 802F1FEC-802F1FF4 -00001 0008+00 0/0 0/0 0/0 .text setFontNo__12J2DTevBlock8FUs */
void J2DTevBlock8::setFontNo(u16 fontNo) {
mFontNo = fontNo;
}
/* 802F1FF4-802F1FFC 2EC934 0008+00 1/0 0/0 0/0 .text getFontNo__12J2DTevBlock8CFv */
u16 J2DTevBlock8::getFontNo() const {
return mFontNo;
}
/* 802F1FFC-802F2020 2EC93C 0024+00 1/0 0/0 0/0 .text setTevOrder__12J2DTevBlock8FUl11J2DTevOrder
*/
void J2DTevBlock8::setTevOrder(u32 index, J2DTevOrder order) {
mTevOrder[index].mTevOrderInfo.mTexCoord = order.mTevOrderInfo.mTexCoord;
mTevOrder[index].mTevOrderInfo.mTexMap = order.mTevOrderInfo.mTexMap;
mTevOrder[index].mTevOrderInfo.mColor = order.mTevOrderInfo.mColor;
}
/* 802F2020-802F2034 2EC960 0014+00 1/0 0/0 0/0 .text getTevOrder__12J2DTevBlock8FUl */
J2DTevOrder* J2DTevBlock8::getTevOrder(u32 index) {
return &mTevOrder[index];
}
/* 802F2034-802F2060 2EC974 002C+00 1/0 0/0 0/0 .text
* setTevColor__12J2DTevBlock8FUl13J2DGXColorS10 */
void J2DTevBlock8::setTevColor(u32 index, J2DGXColorS10 color) {
mTevColor[index] = color;
}
/* 802F2060-802F2074 2EC9A0 0014+00 1/0 0/0 0/0 .text getTevColor__12J2DTevBlock8FUl */
J2DGXColorS10* J2DTevBlock8::getTevColor(u32 index) {
return &mTevColor[index];
}
/* 802F2074-802F20A0 2EC9B4 002C+00 1/0 0/0 0/0 .text
* setTevKColor__12J2DTevBlock8FUlQ28JUtility6TColor */
void J2DTevBlock8::setTevKColor(u32 index, JUtility::TColor color) {
mTevKColor[index].r = color.r;
mTevKColor[index].g = color.g;
mTevKColor[index].b = color.b;
mTevKColor[index].a = color.a;
}
/* 802F20A0-802F20B4 2EC9E0 0014+00 1/0 0/0 0/0 .text getTevKColor__12J2DTevBlock8FUl */
JUtility::TColor* J2DTevBlock8::getTevKColor(u32 index) {
return &mTevKColor[index];
}
/* 802F20B4-802F20C0 2EC9F4 000C+00 1/0 0/0 0/0 .text setTevKColorSel__12J2DTevBlock8FUlUc */
void J2DTevBlock8::setTevKColorSel(u32 index, u8 sel) {
mTevKColorSel[index] = sel;
}
/* 802F20C0-802F20CC 2ECA00 000C+00 1/0 0/0 0/0 .text getTevKColorSel__12J2DTevBlock8FUl
*/
u8 J2DTevBlock8::getTevKColorSel(u32 index) {
return mTevKColorSel[index];
}
/* 802F20CC-802F20D8 2ECA0C 000C+00 1/0 0/0 0/0 .text setTevKAlphaSel__12J2DTevBlock8FUlUc */
void J2DTevBlock8::setTevKAlphaSel(u32 index, u8 sel) {
mTevKAlphaSel[index] = sel;
}
/* 802F20D8-802F20E4 2ECA18 000C+00 1/0 0/0 0/0 .text getTevKAlphaSel__12J2DTevBlock8FUl
*/
u8 J2DTevBlock8::getTevKAlphaSel(u32 index) {
return mTevKAlphaSel[index];
}
/* 802F20E4-802F20EC -00001 0008+00 0/0 0/0 0/0 .text setTevStageNum__12J2DTevBlock8FUc
*/
void J2DTevBlock8::setTevStageNum(u8 stageNum) {
mTevStageNum = stageNum;
}
/* 802F20EC-802F20F4 2ECA2C 0008+00 1/0 0/0 0/0 .text getTevStageNum__12J2DTevBlock8CFv
*/
u8 J2DTevBlock8::getTevStageNum() const {
return mTevStageNum;
}
/* 802F20F4-802F2130 2ECA34 003C+00 1/0 0/0 0/0 .text setTevStage__12J2DTevBlock8FUl11J2DTevStage
*/
void J2DTevBlock8::setTevStage(u32 index, J2DTevStage stage) {
mTevStage[index] = stage;
}
/* 802F2130-802F2144 2ECA70 0014+00 1/0 0/0 0/0 .text getTevStage__12J2DTevBlock8FUl */
J2DTevStage* J2DTevBlock8::getTevStage(u32 index) {
return &mTevStage[index];
}
/* 802F2144-802F217C 2ECA84 0038+00 1/0 0/0 0/0 .text
* setTevSwapModeInfo__12J2DTevBlock8FUl18J2DTevSwapModeInfo */
void J2DTevBlock8::setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
mTevStage[index].setTevSwapModeInfo(info);
}
/* 802F217C-802F218C 2ECABC 0010+00 1/0 0/0 0/0 .text
* setTevSwapModeTable__12J2DTevBlock8FUl19J2DTevSwapModeTable */
void J2DTevBlock8::setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
mTevSwapModeTable[index] = table;
}
/* 802F218C-802F219C 2ECACC 0010+00 1/0 0/0 0/0 .text getTevSwapModeTable__12J2DTevBlock8FUl */
J2DTevSwapModeTable* J2DTevBlock8::getTevSwapModeTable(u32 index) {
return &mTevSwapModeTable[index];
}
/* 802F219C-802F21B0 2ECADC 0014+00 1/0 0/0 0/0 .text
* setIndTevStage__12J2DTevBlock8FUl14J2DIndTevStage */
void J2DTevBlock8::setIndTevStage(u32 index, J2DIndTevStage stage) {
mIndTevStage[index] = stage;
}
/* 802F21B0-802F21C4 2ECAF0 0014+00 1/0 0/0 0/0 .text getIndTevStage__12J2DTevBlock8FUl
*/
J2DIndTevStage* J2DTevBlock8::getIndTevStage(u32 index) {
return &mIndTevStage[index];
}
/* 802F21C4-802F21F4 2ECB04 0030+00 1/0 0/0 0/0 .text insertTexture__12J2DTevBlock8FUlPC7ResTIMG
*/
bool J2DTevBlock8::insertTexture(u32 index, ResTIMG const* p_timg) {
return insertTexture(index, p_timg, NULL);
}
/* 802F21F4-802F2214 2ECB34 0020+00 1/0 0/0 0/0 .text getTexture__12J2DTevBlock8FUl */
JUTTexture* J2DTevBlock8::getTexture(u32 index) {
if (index >= 8) {
return NULL;
}
return mTexture[index];
}
/* 802F2214-802F2234 2ECB54 0020+00 1/0 0/0 0/0 .text getPalette__12J2DTevBlock8FUl */
JUTPalette* J2DTevBlock8::getPalette(u32 index) {
if (index >= 8) {
return NULL;
}
return mPalette[index];
}
/* 802F2234-802F223C 2ECB74 0008+00 1/0 0/0 0/0 .text getFont__12J2DTevBlock8Fv */
JUTFont* J2DTevBlock8::getFont() {
return mFont;
}
/* 802F223C-802F224C 2ECB7C 0010+00 1/0 0/0 0/0 .text setUndeleteFlag__12J2DTevBlock8FUc
*/
void J2DTevBlock8::setUndeleteFlag(u8 flag) {
mUndeleteFlag &= flag;
}
/* 802F224C-802F2258 2ECB8C 000C+00 1/0 0/0 0/0 .text setFontUndeleteFlag__12J2DTevBlock8Fv */
void J2DTevBlock8::setFontUndeleteFlag() {
mFontUndeleteFlag = false;
}
/* 802F2258-802F2264 2ECB98 000C+00 1/0 0/0 0/0 .text getType__12J2DTevBlock4Fv */
u32 J2DTevBlock4::getType() {
return 'TVB4';
}
/* 802F2264-802F226C 2ECBA4 0008+00 1/0 0/0 0/0 .text getMaxStage__12J2DTevBlock4Fv */
u8 J2DTevBlock4::getMaxStage() {
return 4;
}
/* 802F226C-802F227C 2ECBAC 0010+00 1/0 0/0 0/0 .text setTexNo__12J2DTevBlock4FUlUs */
void J2DTevBlock4::setTexNo(u32 index, u16 texNo) {
mTexNo[index] = texNo;
}
/* 802F227C-802F228C 2ECBBC 0010+00 1/0 0/0 0/0 .text getTexNo__12J2DTevBlock4CFUl */
u32 J2DTevBlock4::getTexNo(u32 index) const {
return mTexNo[index];
}
/* 802F228C-802F2294 -00001 0008+00 0/0 0/0 0/0 .text setFontNo__12J2DTevBlock4FUs */
void J2DTevBlock4::setFontNo(u16 fontNo) {
mFontNo = fontNo;
}
/* 802F2294-802F229C 2ECBD4 0008+00 1/0 0/0 0/0 .text getFontNo__12J2DTevBlock4CFv */
u16 J2DTevBlock4::getFontNo() const {
return mFontNo;
}
/* 802F229C-802F22C0 2ECBDC 0024+00 1/0 0/0 0/0 .text setTevOrder__12J2DTevBlock4FUl11J2DTevOrder
*/
void J2DTevBlock4::setTevOrder(u32 index, J2DTevOrder order) {
mTevOrder[index].mTevOrderInfo.mTexCoord = order.mTevOrderInfo.mTexCoord;
mTevOrder[index].mTevOrderInfo.mTexMap = order.mTevOrderInfo.mTexMap;
mTevOrder[index].mTevOrderInfo.mColor = order.mTevOrderInfo.mColor;
}
/* 802F22C0-802F22D4 2ECC00 0014+00 1/0 0/0 0/0 .text getTevOrder__12J2DTevBlock4FUl */
J2DTevOrder* J2DTevBlock4::getTevOrder(u32 index) {
return &mTevOrder[index];
}
/* 802F22D4-802F2300 2ECC14 002C+00 1/0 0/0 0/0 .text
* setTevColor__12J2DTevBlock4FUl13J2DGXColorS10 */
void J2DTevBlock4::setTevColor(u32 index, J2DGXColorS10 color) {
mTevColor[index] = color;
}
/* 802F2300-802F2314 2ECC40 0014+00 1/0 0/0 0/0 .text getTevColor__12J2DTevBlock4FUl */
J2DGXColorS10* J2DTevBlock4::getTevColor(u32 index) {
return &mTevColor[index];
}
/* 802F2314-802F2340 2ECC54 002C+00 1/0 0/0 0/0 .text
* setTevKColor__12J2DTevBlock4FUlQ28JUtility6TColor */
void J2DTevBlock4::setTevKColor(u32 index, JUtility::TColor color) {
mTevKColor[index].r = color.r;
mTevKColor[index].g = color.g;
mTevKColor[index].b = color.b;
mTevKColor[index].a = color.a;
}
/* 802F2340-802F2354 2ECC80 0014+00 1/0 0/0 0/0 .text getTevKColor__12J2DTevBlock4FUl */
JUtility::TColor* J2DTevBlock4::getTevKColor(u32 index) {
return &mTevKColor[index];
}
/* 802F2354-802F2360 2ECC94 000C+00 1/0 0/0 0/0 .text setTevKColorSel__12J2DTevBlock4FUlUc */
void J2DTevBlock4::setTevKColorSel(u32 index, u8 sel) {
mTevKColorSel[index] = sel;
}
/* 802F2360-802F236C 2ECCA0 000C+00 1/0 0/0 0/0 .text getTevKColorSel__12J2DTevBlock4FUl
*/
u8 J2DTevBlock4::getTevKColorSel(u32 index) {
return mTevKColorSel[index];
}
/* 802F236C-802F2378 2ECCAC 000C+00 1/0 0/0 0/0 .text setTevKAlphaSel__12J2DTevBlock4FUlUc */
void J2DTevBlock4::setTevKAlphaSel(u32 index, u8 sel) {
mTevKAlphaSel[index] = sel;
}
/* 802F2378-802F2384 2ECCB8 000C+00 1/0 0/0 0/0 .text getTevKAlphaSel__12J2DTevBlock4FUl
*/
u8 J2DTevBlock4::getTevKAlphaSel(u32 index) {
return mTevKAlphaSel[index];
}
/* 802F2384-802F238C -00001 0008+00 0/0 0/0 0/0 .text setTevStageNum__12J2DTevBlock4FUc
*/
void J2DTevBlock4::setTevStageNum(u8 stageNum) {
mTevStageNum = stageNum;
}
/* 802F238C-802F2394 2ECCCC 0008+00 1/0 0/0 0/0 .text getTevStageNum__12J2DTevBlock4CFv
*/
u8 J2DTevBlock4::getTevStageNum() const {
return mTevStageNum;
}
/* 802F2394-802F23D0 2ECCD4 003C+00 1/0 0/0 0/0 .text setTevStage__12J2DTevBlock4FUl11J2DTevStage
*/
void J2DTevBlock4::setTevStage(u32 index, J2DTevStage stage) {
mTevStage[index] = stage;
}
/* 802F23D0-802F23E4 2ECD10 0014+00 1/0 0/0 0/0 .text getTevStage__12J2DTevBlock4FUl */
J2DTevStage* J2DTevBlock4::getTevStage(u32 index) {
return &mTevStage[index];
}
/* 802F23E4-802F241C 2ECD24 0038+00 1/0 0/0 0/0 .text
* setTevSwapModeInfo__12J2DTevBlock4FUl18J2DTevSwapModeInfo */
void J2DTevBlock4::setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
mTevStage[index].setTevSwapModeInfo(info);
}
/* 802F241C-802F242C 2ECD5C 0010+00 1/0 0/0 0/0 .text
* setTevSwapModeTable__12J2DTevBlock4FUl19J2DTevSwapModeTable */
void J2DTevBlock4::setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
mTevSwapModeTable[index] = table;
}
/* 802F242C-802F243C 2ECD6C 0010+00 1/0 0/0 0/0 .text getTevSwapModeTable__12J2DTevBlock4FUl */
J2DTevSwapModeTable* J2DTevBlock4::getTevSwapModeTable(u32 index) {
return &mTevSwapModeTable[index];
}
/* 802F243C-802F2450 2ECD7C 0014+00 1/0 0/0 0/0 .text
* setIndTevStage__12J2DTevBlock4FUl14J2DIndTevStage */
void J2DTevBlock4::setIndTevStage(u32 index, J2DIndTevStage stage) {
mIndTevStage[index] = stage;
}
/* 802F2450-802F2464 2ECD90 0014+00 1/0 0/0 0/0 .text getIndTevStage__12J2DTevBlock4FUl
*/
J2DIndTevStage* J2DTevBlock4::getIndTevStage(u32 index) {
return &mIndTevStage[index];
}
/* 802F2464-802F2494 2ECDA4 0030+00 1/0 0/0 0/0 .text insertTexture__12J2DTevBlock4FUlPC7ResTIMG
*/
bool J2DTevBlock4::insertTexture(u32 index, ResTIMG const* p_timg) {
return insertTexture(index, p_timg, NULL);
}
/* 802F2494-802F24B4 2ECDD4 0020+00 1/0 0/0 0/0 .text getTexture__12J2DTevBlock4FUl */
JUTTexture* J2DTevBlock4::getTexture(u32 index) {
if (index >= 4) {
return NULL;
}
return mTexture[index];
}
/* 802F24B4-802F24D4 2ECDF4 0020+00 1/0 0/0 0/0 .text getPalette__12J2DTevBlock4FUl */
JUTPalette* J2DTevBlock4::getPalette(u32 index) {
if (index >= 4) {
return NULL;
}
return mPalette[index];
}
/* 802F24D4-802F24DC 2ECE14 0008+00 1/0 0/0 0/0 .text getFont__12J2DTevBlock4Fv */
JUTFont* J2DTevBlock4::getFont() {
return mFont;
}
/* 802F24DC-802F24EC 2ECE1C 0010+00 1/0 0/0 0/0 .text setUndeleteFlag__12J2DTevBlock4FUc
*/
void J2DTevBlock4::setUndeleteFlag(u8 flag) {
mUndeleteFlag &= flag;
}
/* 802F24EC-802F24FC 2ECE2C 0010+00 1/0 0/0 0/0 .text setFontUndeleteFlag__12J2DTevBlock4Fv */
void J2DTevBlock4::setFontUndeleteFlag() {
mUndeleteFlag &= 0x7F;
}
/* 802F24FC-802F2508 2ECE3C 000C+00 1/0 0/0 0/0 .text getType__12J2DTevBlock2Fv */
u32 J2DTevBlock2::getType() {
return 'TVB2';
}
/* 802F2508-802F2510 2ECE48 0008+00 1/0 0/0 0/0 .text getMaxStage__12J2DTevBlock2Fv */
u8 J2DTevBlock2::getMaxStage() {
return 2;
}
/* 802F2510-802F2520 2ECE50 0010+00 1/0 0/0 0/0 .text setTexNo__12J2DTevBlock2FUlUs */
void J2DTevBlock2::setTexNo(u32 index, u16 texNo) {
mTexNo[index] = texNo;
}
/* 802F2520-802F2530 2ECE60 0010+00 1/0 0/0 0/0 .text getTexNo__12J2DTevBlock2CFUl */
u32 J2DTevBlock2::getTexNo(u32 index) const {
return mTexNo[index];
}
/* 802F2530-802F2538 -00001 0008+00 0/0 0/0 0/0 .text setFontNo__12J2DTevBlock2FUs */
void J2DTevBlock2::setFontNo(u16 fontNo) {
mFontNo = fontNo;
}
/* 802F2538-802F2540 2ECE78 0008+00 1/0 0/0 0/0 .text getFontNo__12J2DTevBlock2CFv */
u16 J2DTevBlock2::getFontNo() const {
return mFontNo;
}
/* 802F2540-802F2564 2ECE80 0024+00 1/0 0/0 0/0 .text setTevOrder__12J2DTevBlock2FUl11J2DTevOrder
*/
void J2DTevBlock2::setTevOrder(u32 index, J2DTevOrder order) {
mTevOrder[index].mTevOrderInfo.mTexCoord = order.mTevOrderInfo.mTexCoord;
mTevOrder[index].mTevOrderInfo.mTexMap = order.mTevOrderInfo.mTexMap;
mTevOrder[index].mTevOrderInfo.mColor = order.mTevOrderInfo.mColor;
}
/* 802F2564-802F2578 2ECEA4 0014+00 1/0 0/0 0/0 .text getTevOrder__12J2DTevBlock2FUl */
J2DTevOrder* J2DTevBlock2::getTevOrder(u32 index) {
return &mTevOrder[index];
}
/* 802F2578-802F25A4 2ECEB8 002C+00 1/0 0/0 0/0 .text
* setTevColor__12J2DTevBlock2FUl13J2DGXColorS10 */
void J2DTevBlock2::setTevColor(u32 index, J2DGXColorS10 color) {
mTevColor[index] = color;
}
/* 802F25A4-802F25B8 2ECEE4 0014+00 1/0 0/0 0/0 .text getTevColor__12J2DTevBlock2FUl */
J2DGXColorS10* J2DTevBlock2::getTevColor(u32 index) {
return &mTevColor[index];
}
/* 802F25B8-802F25E4 2ECEF8 002C+00 1/0 0/0 0/0 .text
* setTevKColor__12J2DTevBlock2FUlQ28JUtility6TColor */
void J2DTevBlock2::setTevKColor(u32 index, JUtility::TColor color) {
mTevKColor[index].r = color.r;
mTevKColor[index].g = color.g;
mTevKColor[index].b = color.b;
mTevKColor[index].a = color.a;
}
/* 802F25E4-802F25F8 2ECF24 0014+00 1/0 0/0 0/0 .text getTevKColor__12J2DTevBlock2FUl */
JUtility::TColor* J2DTevBlock2::getTevKColor(u32 index) {
return &mTevKColor[index];
}
/* 802F25F8-802F2604 2ECF38 000C+00 1/0 0/0 0/0 .text setTevKColorSel__12J2DTevBlock2FUlUc */
void J2DTevBlock2::setTevKColorSel(u32 index, u8 sel) {
mTevKColorSel[index] = sel;
}
/* 802F2604-802F2610 2ECF44 000C+00 1/0 0/0 0/0 .text getTevKColorSel__12J2DTevBlock2FUl
*/
u8 J2DTevBlock2::getTevKColorSel(u32 index) {
return mTevKColorSel[index];
}
/* 802F2610-802F261C 2ECF50 000C+00 1/0 0/0 0/0 .text setTevKAlphaSel__12J2DTevBlock2FUlUc */
void J2DTevBlock2::setTevKAlphaSel(u32 index, u8 sel) {
mTevKAlphaSel[index] = sel;
}
/* 802F261C-802F2628 2ECF5C 000C+00 1/0 0/0 0/0 .text getTevKAlphaSel__12J2DTevBlock2FUl
*/
u8 J2DTevBlock2::getTevKAlphaSel(u32 index) {
return mTevKAlphaSel[index];
}
/* 802F2628-802F2630 -00001 0008+00 0/0 0/0 0/0 .text setTevStageNum__12J2DTevBlock2FUc
*/
void J2DTevBlock2::setTevStageNum(u8 stageNum) {
mTevStageNum = stageNum;
}
/* 802F2630-802F2638 2ECF70 0008+00 1/0 0/0 0/0 .text getTevStageNum__12J2DTevBlock2CFv
*/
u8 J2DTevBlock2::getTevStageNum() const {
return mTevStageNum;
}
/* 802F2638-802F2674 2ECF78 003C+00 1/0 0/0 0/0 .text setTevStage__12J2DTevBlock2FUl11J2DTevStage
*/
void J2DTevBlock2::setTevStage(u32 index, J2DTevStage stage) {
mTevStage[index] = stage;
}
/* 802F2674-802F2688 2ECFB4 0014+00 1/0 0/0 0/0 .text getTevStage__12J2DTevBlock2FUl */
J2DTevStage* J2DTevBlock2::getTevStage(u32 index) {
return &mTevStage[index];
}
/* 802F2688-802F26C0 2ECFC8 0038+00 1/0 0/0 0/0 .text
* setTevSwapModeInfo__12J2DTevBlock2FUl18J2DTevSwapModeInfo */
void J2DTevBlock2::setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
mTevStage[index].setTevSwapModeInfo(info);
}
/* 802F26C0-802F26D0 2ED000 0010+00 1/0 0/0 0/0 .text
* setTevSwapModeTable__12J2DTevBlock2FUl19J2DTevSwapModeTable */
void J2DTevBlock2::setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
mTevSwapModeTable[index] = table;
}
/* 802F26D0-802F26E0 2ED010 0010+00 1/0 0/0 0/0 .text getTevSwapModeTable__12J2DTevBlock2FUl */
J2DTevSwapModeTable* J2DTevBlock2::getTevSwapModeTable(u32 index) {
return &mTevSwapModeTable[index];
}
/* 802F26E0-802F26F4 2ED020 0014+00 1/0 0/0 0/0 .text
* setIndTevStage__12J2DTevBlock2FUl14J2DIndTevStage */
void J2DTevBlock2::setIndTevStage(u32 index, J2DIndTevStage stage) {
mIndTevStage[index] = stage;
}
/* 802F26F4-802F2708 2ED034 0014+00 1/0 0/0 0/0 .text getIndTevStage__12J2DTevBlock2FUl
*/
J2DIndTevStage* J2DTevBlock2::getIndTevStage(u32 index) {
return &mIndTevStage[index];
}
/* 802F2708-802F2738 2ED048 0030+00 1/0 0/0 0/0 .text insertTexture__12J2DTevBlock2FUlPC7ResTIMG
*/
bool J2DTevBlock2::insertTexture(u32 index, ResTIMG const* p_timg) {
return insertTexture(index, p_timg, NULL);
}
/* 802F2738-802F2758 2ED078 0020+00 1/0 0/0 0/0 .text getTexture__12J2DTevBlock2FUl */
JUTTexture* J2DTevBlock2::getTexture(u32 index) {
if (index >= 2) {
return NULL;
}
return mTexture[index];
}
/* 802F2758-802F2778 2ED098 0020+00 1/0 0/0 0/0 .text getPalette__12J2DTevBlock2FUl */
JUTPalette* J2DTevBlock2::getPalette(u32 index) {
if (index >= 2) {
return NULL;
}
return mPalette[index];
}
/* 802F2778-802F2780 2ED0B8 0008+00 1/0 0/0 0/0 .text getFont__12J2DTevBlock2Fv */
JUTFont* J2DTevBlock2::getFont() {
return mFont;
}
/* 802F2780-802F2790 2ED0C0 0010+00 1/0 0/0 0/0 .text setUndeleteFlag__12J2DTevBlock2FUc
*/
void J2DTevBlock2::setUndeleteFlag(u8 flag) {
mUndeleteFlag &= flag;
}
/* 802F2790-802F27A0 2ED0D0 0010+00 1/0 0/0 0/0 .text setFontUndeleteFlag__12J2DTevBlock2Fv */
void J2DTevBlock2::setFontUndeleteFlag() {
mUndeleteFlag &= 0x7F;
}
/* 802F27A0-802F27AC 2ED0E0 000C+00 1/0 0/0 0/0 .text getType__12J2DTevBlock1Fv */
u32 J2DTevBlock1::getType() {
return 'TVB1';
}
/* 802F27AC-802F27B4 2ED0EC 0008+00 1/0 0/0 0/0 .text getMaxStage__12J2DTevBlock1Fv */
u8 J2DTevBlock1::getMaxStage() {
return 1;
}
/* 802F27B4-802F27C4 2ED0F4 0010+00 1/0 0/0 0/0 .text setTexNo__12J2DTevBlock1FUlUs */
void J2DTevBlock1::setTexNo(u32 index, u16 texNo) {
mTexNo[index] = texNo;
}
/* 802F27C4-802F27D4 2ED104 0010+00 1/0 0/0 0/0 .text getTexNo__12J2DTevBlock1CFUl */
u32 J2DTevBlock1::getTexNo(u32 index) const {
return mTexNo[index];
}
/* 802F27D4-802F27DC -00001 0008+00 0/0 0/0 0/0 .text setFontNo__12J2DTevBlock1FUs */
void J2DTevBlock1::setFontNo(u16 fontNo) {
mFontNo = fontNo;
}
/* 802F27DC-802F27E4 2ED11C 0008+00 1/0 0/0 0/0 .text getFontNo__12J2DTevBlock1CFv */
u16 J2DTevBlock1::getFontNo() const {
return mFontNo;
}
/* 802F27E4-802F2808 2ED124 0024+00 1/0 0/0 0/0 .text setTevOrder__12J2DTevBlock1FUl11J2DTevOrder
*/
void J2DTevBlock1::setTevOrder(u32 index, J2DTevOrder order) {
mTevOrder[index].mTevOrderInfo.mTexCoord = order.mTevOrderInfo.mTexCoord;
mTevOrder[index].mTevOrderInfo.mTexMap = order.mTevOrderInfo.mTexMap;
mTevOrder[index].mTevOrderInfo.mColor = order.mTevOrderInfo.mColor;
}
/* 802F2808-802F281C 2ED148 0014+00 1/0 0/0 0/0 .text getTevOrder__12J2DTevBlock1FUl */
J2DTevOrder* J2DTevBlock1::getTevOrder(u32 index) {
return &mTevOrder[index];
}
/* 802F281C-802F2848 2ED15C 002C+00 1/0 0/0 0/0 .text
* setTevColor__12J2DTevBlock1FUl13J2DGXColorS10 */
void J2DTevBlock1::setTevColor(u32 index, J2DGXColorS10 color) {
mTevColor[index] = color;
}
/* 802F2848-802F285C 2ED188 0014+00 1/0 0/0 0/0 .text getTevColor__12J2DTevBlock1FUl */
J2DGXColorS10* J2DTevBlock1::getTevColor(u32 index) {
return &mTevColor[index];
}
/* 802F285C-802F2888 2ED19C 002C+00 1/0 0/0 0/0 .text
* setTevKColor__12J2DTevBlock1FUlQ28JUtility6TColor */
void J2DTevBlock1::setTevKColor(u32 index, JUtility::TColor color) {
mTevKColor[index].r = color.r;
mTevKColor[index].g = color.g;
mTevKColor[index].b = color.b;
mTevKColor[index].a = color.a;
}
/* 802F2888-802F289C 2ED1C8 0014+00 1/0 0/0 0/0 .text getTevKColor__12J2DTevBlock1FUl */
JUtility::TColor* J2DTevBlock1::getTevKColor(u32 index) {
return &mTevKColor[index];
}
/* 802F289C-802F28A8 2ED1DC 000C+00 1/0 0/0 0/0 .text setTevKColorSel__12J2DTevBlock1FUlUc */
void J2DTevBlock1::setTevKColorSel(u32 index, u8 sel) {
mTevKColorSel[index] = sel;
}
/* 802F28A8-802F28B4 2ED1E8 000C+00 1/0 0/0 0/0 .text getTevKColorSel__12J2DTevBlock1FUl
*/
u8 J2DTevBlock1::getTevKColorSel(u32 index) {
return mTevKColorSel[index];
}
/* 802F28B4-802F28C0 2ED1F4 000C+00 1/0 0/0 0/0 .text setTevKAlphaSel__12J2DTevBlock1FUlUc */
void J2DTevBlock1::setTevKAlphaSel(u32 index, u8 sel) {
mTevKAlphaSel[index] = sel;
}
/* 802F28C0-802F28CC 2ED200 000C+00 1/0 0/0 0/0 .text getTevKAlphaSel__12J2DTevBlock1FUl
*/
u8 J2DTevBlock1::getTevKAlphaSel(u32 index) {
return mTevKAlphaSel[index];
}
/* 802F28CC-802F28D0 2ED20C 0004+00 1/0 0/0 0/0 .text setTevStageNum__12J2DTevBlock1FUc
*/
void J2DTevBlock1::setTevStageNum(u8) {
/* empty function */
}
/* 802F28D0-802F28D8 2ED210 0008+00 1/0 0/0 0/0 .text getTevStageNum__12J2DTevBlock1CFv
*/
u8 J2DTevBlock1::getTevStageNum() const {
return 1;
}
/* 802F28D8-802F2914 2ED218 003C+00 1/0 0/0 0/0 .text setTevStage__12J2DTevBlock1FUl11J2DTevStage
*/
void J2DTevBlock1::setTevStage(u32 index, J2DTevStage stage) {
mTevStage[index] = stage;
}
/* 802F2914-802F2928 2ED254 0014+00 1/0 0/0 0/0 .text getTevStage__12J2DTevBlock1FUl */
J2DTevStage* J2DTevBlock1::getTevStage(u32 index) {
return &mTevStage[index];
}
/* 802F2928-802F2960 2ED268 0038+00 1/0 0/0 0/0 .text
* setTevSwapModeInfo__12J2DTevBlock1FUl18J2DTevSwapModeInfo */
void J2DTevBlock1::setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
mTevStage[index].setTevSwapModeInfo(info);
}
/* 802F2960-802F2970 2ED2A0 0010+00 1/0 0/0 0/0 .text
* setTevSwapModeTable__12J2DTevBlock1FUl19J2DTevSwapModeTable */
void J2DTevBlock1::setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
mTevSwapModeTable[index] = table;
}
/* 802F2970-802F2980 2ED2B0 0010+00 1/0 0/0 0/0 .text getTevSwapModeTable__12J2DTevBlock1FUl */
J2DTevSwapModeTable* J2DTevBlock1::getTevSwapModeTable(u32 index) {
return &mTevSwapModeTable[index];
}
/* 802F2980-802F2994 2ED2C0 0014+00 1/0 0/0 0/0 .text
* setIndTevStage__12J2DTevBlock1FUl14J2DIndTevStage */
void J2DTevBlock1::setIndTevStage(u32 index, J2DIndTevStage stage) {
mIndTevStage[index] = stage;
}
/* 802F2994-802F29A8 2ED2D4 0014+00 1/0 0/0 0/0 .text getIndTevStage__12J2DTevBlock1FUl
*/
J2DIndTevStage* J2DTevBlock1::getIndTevStage(u32 index) {
return &mIndTevStage[index];
}
/* 802F29A8-802F29D8 2ED2E8 0030+00 1/0 0/0 0/0 .text insertTexture__12J2DTevBlock1FUlPC7ResTIMG
*/
bool J2DTevBlock1::insertTexture(u32 index, ResTIMG const* p_timg) {
return insertTexture(index, p_timg, NULL);
}
/* 802F29D8-802F29F8 2ED318 0020+00 1/0 0/0 0/0 .text getTexture__12J2DTevBlock1FUl */
JUTTexture* J2DTevBlock1::getTexture(u32 index) {
if (index >= 1) {
return NULL;
}
return mTexture[index];
}
/* 802F29F8-802F2A18 2ED338 0020+00 1/0 0/0 0/0 .text getPalette__12J2DTevBlock1FUl */
JUTPalette* J2DTevBlock1::getPalette(u32 index) {
if (index >= 1) {
return NULL;
}
return mPalette[index];
}
/* 802F2A18-802F2A20 2ED358 0008+00 1/0 0/0 0/0 .text getFont__12J2DTevBlock1Fv */
JUTFont* J2DTevBlock1::getFont() {
return mFont;
}
/* 802F2A20-802F2A30 2ED360 0010+00 1/0 0/0 0/0 .text setUndeleteFlag__12J2DTevBlock1FUc
*/
void J2DTevBlock1::setUndeleteFlag(u8 flag) {
mUndeleteFlag &= flag;
}
/* 802F2A30-802F2A40 2ED370 0010+00 1/0 0/0 0/0 .text setFontUndeleteFlag__12J2DTevBlock1Fv */
void J2DTevBlock1::setFontUndeleteFlag() {
mUndeleteFlag &= 0x7F;
}
/* 802F2A40-802F2A44 2ED380 0004+00 1/0 0/0 0/0 .text initialize__11J2DTevBlockFv */
void J2DTevBlock::initialize() {
/* empty function */
}
/* 802F2A44-802F2A48 2ED384 0004+00 1/0 0/0 0/0 .text loadTexture__11J2DTevBlockF11_GXTexMapIDUl
*/
void J2DTevBlock::loadTexture(GXTexMapID, u32) {
/* empty function */
}
/* 802F2A48-802F2A4C 2ED388 0004+00 1/0 0/0 0/0 .text setFontNo__11J2DTevBlockFUs */
void J2DTevBlock::setFontNo(u16) {
/* empty function */
}
/* 802F2A4C-802F2A50 2ED38C 0004+00 1/0 0/0 0/0 .text setTevOrder__11J2DTevBlockFUl11J2DTevOrder
*/
void J2DTevBlock::setTevOrder(u32, J2DTevOrder) {
/* empty function */
}
/* 802F2A50-802F2A54 2ED390 0004+00 1/0 0/0 0/0 .text setTevKColorSel__11J2DTevBlockFUlUc
*/
void J2DTevBlock::setTevKColorSel(u32, u8) {
/* empty function */
}
/* 802F2A54-802F2A58 2ED394 0004+00 1/0 0/0 0/0 .text setTevKAlphaSel__11J2DTevBlockFUlUc
*/
void J2DTevBlock::setTevKAlphaSel(u32, u8) {
/* empty function */
}
/* 802F2A58-802F2A5C 2ED398 0004+00 1/0 0/0 0/0 .text setTevStageNum__11J2DTevBlockFUc */
void J2DTevBlock::setTevStageNum(u8) {
/* empty function */
}
/* 802F2A5C-802F2A60 2ED39C 0004+00 1/0 0/0 0/0 .text setTevStage__11J2DTevBlockFUl11J2DTevStage
*/
void J2DTevBlock::setTevStage(u32, J2DTevStage) {
/* empty function */
}
/* 802F2A60-802F2A64 2ED3A0 0004+00 1/0 0/0 0/0 .text
* setTevSwapModeInfo__11J2DTevBlockFUl18J2DTevSwapModeInfo */
void J2DTevBlock::setTevSwapModeInfo(u32, J2DTevSwapModeInfo) {
/* empty function */
}
/* 802F2A64-802F2A68 2ED3A4 0004+00 1/0 0/0 0/0 .text
* setTevSwapModeTable__11J2DTevBlockFUl19J2DTevSwapModeTable */
void J2DTevBlock::setTevSwapModeTable(u32, J2DTevSwapModeTable) {
/* empty function */
}
/* 802F2A68-802F2A6C 2ED3A8 0004+00 1/0 0/0 0/0 .text
* setIndTevStage__11J2DTevBlockFUl14J2DIndTevStage */
void J2DTevBlock::setIndTevStage(u32, J2DIndTevStage) {
/* empty function */
}
/* 802F2A6C-802F2A74 2ED3AC 0008+00 1/0 0/0 0/0 .text insertTexture__11J2DTevBlockFUlP10JUTTexture
*/
bool J2DTevBlock::insertTexture(u32, JUTTexture*) {
return false;
}
/* 802F2A74-802F2A7C 2ED3B4 0008+00 1/0 0/0 0/0 .text
* insertTexture__11J2DTevBlockFUlPC7ResTIMGP10JUTPalette */
bool J2DTevBlock::insertTexture(u32, ResTIMG const*, JUTPalette*) {
return false;
}
/* 802F2A7C-802F2A84 2ED3BC 0008+00 1/0 0/0 0/0 .text insertTexture__11J2DTevBlockFUlPC7ResTIMG */
bool J2DTevBlock::insertTexture(u32, ResTIMG const*) {
return false;
}
/* 802F2A84-802F2A8C 2ED3C4 0008+00 1/0 0/0 0/0 .text setTexture__11J2DTevBlockFUlP10JUTTexture */
bool J2DTevBlock::setTexture(u32, JUTTexture*) {
return false;
}
/* 802F2A8C-802F2A94 2ED3CC 0008+00 1/0 0/0 0/0 .text setTexture__11J2DTevBlockFUlPC7ResTIMG */
bool J2DTevBlock::setTexture(u32, ResTIMG const*) {
return false;
}
/* 802F2A94-802F2A9C 2ED3D4 0008+00 1/0 0/0 0/0 .text removeTexture__11J2DTevBlockFUl */
bool J2DTevBlock::removeTexture(u32) {
return false;
}
/* 802F2A9C-802F2AA4 2ED3DC 0008+00 1/0 0/0 0/0 .text setFont__11J2DTevBlockFP7JUTFont */
bool J2DTevBlock::setFont(JUTFont*) {
return false;
}
/* 802F2AA4-802F2AAC 2ED3E4 0008+00 1/0 0/0 0/0 .text setFont__11J2DTevBlockFP7ResFONT */
bool J2DTevBlock::setFont(ResFONT*) {
return false;
}
/* 802F2AAC-802F2AB4 2ED3EC 0008+00 1/0 0/0 0/0 .text setPalette__11J2DTevBlockFUlPC7ResTLUT */
bool J2DTevBlock::setPalette(u32, ResTLUT const*) {
return false;
}
/* 802F2AB4-802F2ABC 2ED3F4 0008+00 1/0 0/0 0/0 .text prepareTexture__11J2DTevBlockFUc */
bool J2DTevBlock::prepareTexture(u8) {
return false;
}
/* 802F2ABC-802F2AC4 2ED3FC 0008+00 1/0 0/0 0/0 .text getFont__11J2DTevBlockFv */
JUTFont* J2DTevBlock::getFont() {
return NULL;
}
/* 802F2AC4-802F2AC8 2ED404 0004+00 1/0 0/0 0/0 .text shiftDeleteFlag__11J2DTevBlockFUcb
*/
void J2DTevBlock::shiftDeleteFlag(u8, bool) {
/* empty function */
}
/* 802F2AC8-802F2ACC 2ED408 0004+00 1/0 0/0 0/0 .text setUndeleteFlag__11J2DTevBlockFUc
*/
void J2DTevBlock::setUndeleteFlag(u8) {
/* empty function */
}
/* 802F2ACC-802F2AD0 2ED40C 0004+00 1/0 0/0 0/0 .text setFontUndeleteFlag__11J2DTevBlockFv */
void J2DTevBlock::setFontUndeleteFlag() {
/* empty function */
}
|