1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
|
2008-05-16 David Athay <ko2fan@gmail.com>
* src/gui/popupmenu.cpp: Applied QOAL's patch to fix popups at
bottom of the screen.
2008-05-15 David Athay <ko2fan@gmail.com>
* src/gui/widgets/tabbedarea.h, src/gui/widgets/tab.cpp,
src/gui/widgets/tabbedarea.cpp, src/gui/widgets/tab.h,
src/gui/chat.cpp, src/gui/guildwindow.cpp, src/CMakeLists.txt,
src/Makefile.am, data/graphics/gui/tab.png,
data/graphics/gui/tabselected.png, tmw.cbp: Added tab with image
based on button.
* src/gui/chat.cpp: Fixed chat window scrolling.
2008-05-12 David Athay <ko2fan@gmail.com>
* src/Makefile.am, src/CMakeLists.txt: Fix building on other systems.
2008-05-09 David Athay <ko2fan@gmail.com>
* src/gui/setup_keyboard.cpp, src/gui/setup.cpp,
src/gui/widgets/tabbedarea.h, src/gui/widgets/tabbedarea.cpp,
src/gui/chat.cpp, src/gui/tabbedcontainer.cpp, src/gui/skill.cpp,
src/gui/setup_audio.cpp, src/gui/setup_video.cpp,
src/gui/setup_joystick.cpp, src/gui/tabbedcontainer.h, tmw.cbp:
Changed the tabbedarea to be transparant as before. Changed setup
window and skills dialog to use the new tabbed area. Removed tabbed
container as it is no longer used. Fixed a crash with the chat window.
2008-05-08 David Athay <ko2fan@gmail.com>
* src/net/chathandler.cpp: Fixed initialisation in case.
2008-05-08 Philipp Sehmisch <tmw@crushnet.org>
* src/net/chathandler.cpp: Made say messages from being ID 0 display as
messages from server. Made messages from unknown beings display as from
"Unknown" instead of "John Doe".
2008-05-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/chat.h, src/gui/chat.cpp: Only update the size of chat
window widgets when it is resized.
2008-04-29 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/localplayer.cpp, src/gui/changeemaildialog.h, src/localplayer.h:
Name structs with capital, just like classes.
2008-04-28 David Athay <ko2fan@gmail.com>
* src/gui/partywindow.h, src/gui/partywindow.cpp,
src/net/partyhandler.cpp, src/net/protocol.h,
src/net/chatserver/party.cpp, tmw.cbp: Added party invite dialog.
* src/localplayer.cpp, src/localplayer.h, src/gui/skills.cpp,
src/gui/skills.h: Skills patch by roderic, mantis id=209.
2008-04-26 Yohann Ferreira <bertram@cegetel.net>
* src/CMakeLists.txt, src/Makefile.am, src/gui/char_select.h,
src/gui/char_select.cpp, src/gui/changeemaildialog.h,
src/gui/changeemaildialog.cpp, src/main.h, src/main.cpp,
src/net/protocol.h, src/net/loginhandler.cpp, src/logindata.h,
src/gui/changepassworddialog.cpp: Added client-side Email address
change.
* src/net/accountserver/account.h, src/net/accountserver/account.cpp,
src/net/protocol.h: Made it work nicely with the server.
* src/protocol.h: Generic return values were incomplete client-side.
* src/gui/progressbar.h, src/gui/progressbar.cpp: Made smooth color
changing and smooth progress optional.
2008-04-25 David Athay <ko2fan@gmail.com>
* src/game.cpp, src/gui/partywindow.h, src/gui/partywindow.cpp,
tmw.cbp: Added party window, updated codeblocks project file.
2008-04-23 David Athay <ko2fan@gmail.com>
* src/gui/guildwindow.h, src/net/partyhandler.h,
src/net/guildhandler.h, src/net/partyhandler.cpp,
src/net/guildhandler.cpp: Fixed headers to be GPL (BSD rules!)
2008-04-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt, src/net/accountserver/accountserver.cpp,
src/net/accountserver/account.cpp, src/utils/encryption.h,
src/utils/sha2.h, src/utils/encryption.cpp, src/utils/sha2.cpp,
src/utils/sha256.cpp, src/utils/sha256.h, src/Makefile.am: Switched to
alternative SHA-256 implementation from InspIRCd.
2008-04-21 Yohann Ferreira <bertram@cegetel.net>
* src/utils/encryption.h, src/utils/encryption.cpp, src/utils/sha2.h,
src/utils/sha2.cpp, src/CMakeLists.txt, src/Makefile.am,
src/net/accountserver/accountserver.cpp,
src/net/accountserver/account.h, src/net/accountserver/account.cpp,
src/main.cpp: Added password encryption using SHA256.
2008-04-21 David Athay <ko2fan@gmail.com>
* src/gui/chat.cpp, src/gui/widgets/tabbedarea.cpp,
src/gui/widgets/tabbedarea.h: Fixed chat window size issue.
* src/localplayer.cpp, src/gui/widgets/tabbedarea.h,
src/gui/widgets/tabbedarea.cpp, src/gui/popupmenu.cpp,
src/net/partyhandler.cpp, src/net/protocol.h,
src/net/chatserver/party.cpp, src/net/chatserver/party.h,
src/localplayer.h: Added more support for parties.
2008-04-20 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp: Added --data parameter to be used to specify where to
get the data from when using --skipupdate.
* configure.ac, data/Makefile.am, data/fonts/Makefile.am: Fixed
installing of dejavusans.ttf font.
* src/gui/chat.h, src/gui/chat.cpp: Merged two maps into one, avoid
non-const operator[] and check whether channel was found.
* src/main.cpp, src/net/network.h: Since the connection objects might
not have been created yet when an exception is thrown, check them for
0 before calling disconnect on them.
2008-04-19 Yohann Ferreira <bertram@cegetel.net>
* src/gui/char_select.cpp: Made the client clean characters
information to avoid a freeze at relogin with another account.
2008-04-19 Dennis Friis <peavey@placid.dk>
* src/Makefile.am: Fix a double entry and add missing files.
2008-04-19 Yohann Ferreira <bertram@cegetel.net>
* src/main.h, src/main.cpp, src/net/loginhandler.cpp: Made mislogins
and misregistrations a little bit less annoying for the user.
2008-04-18 Yohann Ferreira <bertram@cegetel.net>
* src/gui/char_select.h, src/gui/char_select.cpp,
src/gui/unregisterdialog.h, src/gui/unregisterdialog.cpp,
src/main.cpp, src/main.h, src/logindata.h,
src/gui/changepassworddialog.h, src/gui/changepassworddialog.cpp,
src/CMakeLists.txt: Added a change password dialog. State code is to
be reworked.
* src/localplayer.h, src/localplayer.cpp: limited keyboard walk message
flooding to one every 1/10 sec.
* src/main.h, src/main.cpp, src/net/loginhandler.cpp,
src/net/logouthandler.cpp, src/gui/unregisterdialog.cpp,
src/gui/changepassworddialog.cpp: Made Unregister and change password
functionnal, at least client-side.
2008-04-18 David Athay <ko2fan@gmail.com>
* src/gui/chat.h, src/gui/widgets/tabbedarea.h,
src/gui/widgets/tabbedarea.cpp, src/gui/chat.cpp,
src/gui/guildwindow.cpp, src/gui/gui.cpp, src/CMakeLists.txt,
src/net/guildhandler.cpp, src/net/chathandler.cpp, src/Makefile.am,
tmw.cbp: Fixed numerous crashes with chat and guild windows using new
tabbed area.
2008-04-17 David Athay <ko2fan@gmail.com>
* src/player.cpp, src/player.h, src/net/partyhandler.h,
src/net/guildhandler.h, src/net/partyhandler.cpp,
src/net/guildhandler.cpp, src/net/chatserver/party.cpp,
src/net/chatserver/party.h, src/localplayer.h: Added basic party
support.
2008-04-17 Yohann Ferreira <bertram@cegetel.net>
* src/gui/progressbar.h, src/gui/progressbar.cpp: Added smooth
changes in progressbar.
* src/net/chatserver/chatserver.h: One file was forgotten into the
private channels removal.
* src/localplayer.h, src/localplayer.cpp, src/gui/viewport.cpp,
src/main.h, src/main.cpp: Added input type parameter to the
LocalPlayer::SetDestination methods in order to keep control over
message flooding to the server with mouse dragging. Moved Mouse calls
flooding control into viewport to avoid calling setDestination
unecessarily.
* Fixed a crash when clicking on 'Quit Guild' Button. Also disabled
the 'Invite user' and 'Quit Guild' buttons when no Guild is created.
2008-04-16 David Athay <ko2fan@gmail.com>
* src/gui/guildlistbox.cpp, src/gui/guildwindow.h,
src/gui/widgets/tabbedarea.cpp, src/gui/chat.cpp,
src/gui/guildlistbox.h, src/gui/guildwindow.cpp, src/guild.cpp,
src/guild.h, src/net/guildhandler.cpp: Fixed online status so that
users are shown as online.
* src/gui/chat.cpp, src/net/protocol.h,
src/net/chatserver/chatserver.cpp: Remove private channels.
2008-04-16 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/npc_text.h, src/gui/textbox.cpp, src/gui/npc_text.cpp,
src/gui/scrollarea.h, src/gui/textbox.h: Restored the text wrapping in
TextBox, since it was based on overriding a method that is no longer
virtual in Guichan 0.8.0.
2008-04-16 Dennis Friis <peavey@placid.dk>
* src/gui/browserbox.cpp: Fix a basic_string::at sometimes being out
of range in BrowserBox::draw when checking for color codes.
2008-04-15 David Athay <ko2fan@gmail.com>
* src/gui/guildlistbox.cpp, src/gui/guildwindow.h
src/gui/widgets/tabbedarea.h, src/gui/widgets/tabbedarea.cpp,
src/gui/guildlistbox.h, src/gui/guildwindow.cpp,
src/net/guildhandler.cpp, src/net/protocol.h, src/net/chathandler.cpp,
src/net/chatserver/chatserver.cpp, src/net/chatserver/chatserver.h,
src/Makefile.am, data/graphics/gui/circle-green.png
data/graphics/gui/circle-gray.png, tmw.cbp: Added online status of
guild members.
2008-04-14 Yohann Ferreira <bertram@cegetel.net>
* src/CMakeLists.txt: Fixed (again) a compilation error using CMake.
2008-04-14 David Athay <ko2fan@gmail.com>
* src/gui/guildwindow.cpp, src/gui/chat.cpp,
src/gui/widgets/tabbedarea.h, src/gui/widgets/tabbedarea.cpp,
src/gui/chat.h, src/gui/guildwindow.h, src/net/chathandler.cpp:
Added new TabbedArea which extends gui::TabbedArea. Changed Guild and
Chat windows to use new TabbedArea. Added private messaging.
2008-04-14 Philipp Sehmisch <tmw@crushnet.org>
* src/resources/dye.cpp: Fixed multi-channel dyeing (patch by fate)
2008-04-12 Yohann Ferreira <bertram@cegetel.net>
* src/CMakeLists.txt: Fixed a compilation error using Cmake.
* src/gui/radiobutton.h, src/gui/radiobutton.cpp: Remove the rhomb
around the radio buttons.
2008-04-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/widgets/layout.h, src/gui/skill.cpp, src/gui/trade.h,
src/log.h, src/resources/mapreader.cpp, src/resources/spritedef.cpp:
Fixed some compiler warnings and don't try to load particle effects
when no file is set.
* src/gui/itemshortcutcontainer.h, src/gui/itemshortcutcontainer.cpp,
src/gui/itemshortcutwindow.cpp, src/gui/scrollarea.h,
src/gui/scrollarea.cpp, src/gui/itemshortcutwindow.h: Fixed display of
item shortcut container. gcn::Widget::setWidth is no longer virtual.
2008-04-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/shoplistbox.cpp, src/gui/shoplistbox.h: Fixed problem with
row height in shop list box.
2008-04-08 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp, src/gui/viewport.cpp, src/tileset.h, src/map.h,
src/resources/imageset.cpp, src/resources/mapreader.cpp,
src/resources/imageset.h, src/resources/mapreader.h,
data/maps/new_3-1.tmx, data/maps/new_1-1.tmx: Implemented support for
an arbitrary number of map layers. The only layer requirement for map
layers are now that the fringe layer is called "Fringe" and that the
collision layer is called "Collision".
2008-04-07 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/particle.cpp, src/utils/xml.cpp, src/utils/xml.h,
src/resources/mapreader.cpp, src/resources/spritedef.cpp,
src/resources/npcdb.h, src/resources/monsterdb.cpp,
src/resources/itemdb.cpp, src/resources/npcdb.cpp,
src/resources/spritedef.h: Added XML::Document class which simplifies
parsing an XML document and automatically cleans it up again.
* src/resources/spritedef.cpp, src/resources/spritedef.h,
data/graphics/sprites/item008.xml: Added support for basing one sprite
definition on another by including it.
* data/help/changes.txt, data/help/header.txt, NEWS: Updates to news
from 0.0.24.1 release.
* src/being.cpp: Fixed crash on trying to show out of range emoticon.
2008-04-03 Philipp Sehmisch <tmw@crushnet.org>
* src/localplayer.cpp: Spawning a particle effect whenever the client
sends a move message to the server to visualize the extreme flooding
of the server with move message when the user moves with the mouse.
2008-04-03 David Athay <ko2fan@gmail.com>
* src/game.cpp: Tweaked disconnect dialog, hoping to fix a crash bug.
* src/localplayer.cpp, src/gui/popupmenu.cpp, src/localplayer.h,
tmw.cbp: Added ability to right click a player and invite to guild.
* src/gui/connection.cpp, src/gui/login.cpp,
src/gui/char_select.cpp, src/main.cpp: Added patch from
postalworker bug id=117 to fix cancel connecting to a sick server.
* src/net/guildhandler.cpp, src/net/protocol.h: Added updating guild
member list.
2008-04-01 David Athay <ko2fan@gmail.com>
* src/game.cpp, src/gui/guildwindow.h, src/gui/chat.cpp,
src/gui/guildwindow.cpp, src/net/guildhandler.cpp: Fixed up chat
and guilds.
* src/gui/chat.cpp: Made it possible to move the chat window.
2008-03-31 Philipp Sehmisch <tmw@crushnet.org>
* src/main.cpp, src/npc.cpp, src/npc.h, src/resources/npcdb.h,
src/resources/npcdb.cpp, data/npcs.xml, src/Makefile.am, tmc.cbp:
Implemented NPC XML database which maps NPC IDs to one or more
animation files and thus enables animated NPCs.
* data/graphics/sprites/npc-test.png,
data/graphics/sprites/npc-test.xml,
data/graphics/sprites/npc-treasurebox.png,
data/graphics/sprites/npc-treasurebox.xml: Added some animated NPCs by
lost soul for testing purpose.
* data/test.lua: Removed the +100 offset of NPC IDs (relict from
eAthena)
2008-03-30 Dennis Friis <peavey@placid.dk>
* configure.ac: Updated for tmwdata split.
2008-03-28 David Athay <ko2fan@gmail.com>
* tmw.cbp, src/gui/guildwindow.cpp, src/gui/shop.cpp: Updated
project file and added some headers to help compiling on gcc 4.3.
2008-03-27 Dennis Friis <peavey@placid.dk>
* src/gui/progressbar.cpp, src/gui/scrollarea.cpp: Revert progress bar
changes and initialize mWalkTime.
2008-03-26 Dennis Friis <peavey@placid.dk>
* src/gui/progressbar.cpp, src/localplayer.cpp: Initialized some
uninitialized variables.
2008-03-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.h: Updated default account server name.
* INSTALL: Added SDL_ttf dependency.
2008-03-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* AUTHORS: Updated (but still not complete).
2008-03-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/skill.cpp, tmw.cbp: Restored previous project file and fixed
a warning along the way.
2008-03-15 Philipp Sehmisch <tmw@crushnet.org>
* src/map.cpp: Fixed a crash caused by the new blocking system.
* data/new_1-1.tmx: Fixed warp to map 15 (patch by peavey).
* src/npc.hpp: Added pathblocking rules for NPCs.
2008-03-13 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp, src/being.h, src/gui/viewport.cpp,
src/localplayer.cpp, src/map.cpp, src/map.h, src/monster.cpp,
src/monster.h, src/net/beinghandler.cpp, src/net/playerhandler.cpp.
src/player.cpp, src/player.h: Unified route finding algorithmns
with those used by the server to minimize asynchronisation.
* src/map.cpp, src/gui/viewport.cpp: Improved path debugging tool
by displaying a raster and showing blocked tiles when it is
activated (alt+F).
2008-03-12 David Athay <ko2fan@gmail.com>
* src/gui/guildwindow.cpp, src/gui/guildwindow.h,
src/net/guildhandler.cpp, src/net/guildhandler.h,
src/net/chatserver.cpp, src/net/chatserver.h: Added ability to
quit guilds.
2008-03-11 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/gui/CMakeLists.txt, data/graphics/gui/Makefile.am:
Removed unused image here too.
2008-03-11 Eugenio Favalli <elvenprogrammer@themanaworld.org>
* data/graphics/gui/attack_target.png: Removed unused image.
2008-03-09 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h, src/utils/minmax.h: Implemented possibility
to rotate particle emitters.
* src/being.cpp, src/being.h, src/monster.cpp, src/monster.h,
src/net/beinghandler.cpp, src/resources/monsterinfo.cpp,
src/resources/monsterinfo.h: Implemented interpretation of the
attacktype parameter of attack messages and visualize monster attacks
other than id 1 with a particle effect. Prepared to get attack
particle effects and animation types from the monster database.
* src/resources/monsterdb.cpp, src/resources/monsterinfo.cpp,
src/resources/monsterinfo.h, src/resources/spritedef.h: Actions and
particle effect for monster attacks are now obtained from the monster
database.
* data/monsters.xml, data/graphics/sprites/scorpion.cpp,
data/graphics/sprites/scorpion.xml: Gave the tail attack of the
scorpion a custom animation and a particle effect.
2008-03-09 Dennis Friis <peavey@placid.dk>
* src/game.cpp: Pressing escape in the quit dialog closes the dialog.
* src/gui/chat.cpp, src/gui/chat.h: Fixed a bug with chat messages
without a sender which include semicolons.
* src/chat.cpp: Added "/clear" command to clear chat window.
2008-03-08 Philipp Sehmisch <tmw@crushnet.org>
* tools/tmxcopy/main.cpp, tools/tmxcopy/main.map.cpp,
tools/tmxcopy/zlibutils.cpp: Fixed some width/height mixups in
TMXCopy.
2008-03-07 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/*: Moved dynamically released data to its own module (tmwdata).
2008-03-07 Eugenio Favalli <elvenprogrammer@themanaworld.org>
* data/equipment.xml, data/graphics/items/armor-legs-chaps.png,
data/graphics/items/armour-head-cowboyblack.png,
data/graphics/items/armour-head-cowboywhite.png,
data/graphics/items/generic-snakeskin.png,
data/graphics/sprites/head-cowboyblack.png,
data/graphics/sprites/head-cowboyblack.xml,
data/graphics/sprites/head-cowboywhite.png,
data/graphics/sprites/head-cowboywhite.xml,
data/graphics/sprites/leg-chaps-female.png,
data/graphics/sprites/leg-chaps-female.xml,
data/graphics/sprites/leg-chaps-male.png,
data/graphics/sprites/leg-chaps-male.xml,
data/graphics/sprites/monster-snake.png,
data/graphics/sprites/monster-snake.xml,
data/graphics/sprites/npcs.png, data/items.xml, data/monsters.xml:
Added new items by Black Don, new xml definitions by Peavey.
2008-03-06 David Athay <ko2fan@gmail.com>
* src/net/guildhandler.cpp, src/net/guildhandler.hpp: Fixed
rejoining guilds after quitting.
2008-03-05 David Athay <ko2fan@gmail.com>
* src/game.cpp, src/gui/guildwindow.cpp: Fixed key presses during text
dialog in guild window and changed license to standard GPL.
* src/localplayer.cpp, src/localplayer.h, src/player.cpp,
src/player.h, src/gui/guildwindow.cpp, src/net/guildhandler.cpp: Fixed
guild creation.
2008-03-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt, data/graphics/gui/CMakeLists.txt,
data/fonts/CMakeLists.txt, data/CMakeLists.txt: Accepted patch by
roderic to fix building/installing with CMake.
2008-03-03 Philipp Sehmisch <tmw@crushnet.org>
* src/localplayer.h: Added natural HP regeneration
* src/net/beinghandler.cpp: Added 3 new death messages which were
suggested by dabe and blueberry on the forum.
2008-03-03 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/skill.cpp, src/gui/skill.h: Skill gui beautifications by
roderic.
* src/localplayer.cpp: Made skill names translateable.
* data/graphics/sprites/monster-maggot.xml: Made maggot attack
animation finite.
2008-03-02 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/leg-jeans-female.png: Fixed transparency
issue.
2008-03-01 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/textdialog.cpp, src/gui/textdialog.h: Replaced the basic
guichan text field class with our derivate class.
2008-02-27 Philipp Sehmisch <tmw@crushnet.org>
* src/net/beinghandler.cpp, src/net/gamehandler/player.cpp,
src/net/gamehandler/player.h, src/net/protocol.h: Implemented player
respawn.
2008-02-27 Eugenio Favalli <elvenprogrammer@gmail.com>
* po/da.po, po/pt.po, po/ru.po, po/sv.po, po/tmw-da.po,
po/tmw-pt.po, po/tmw-ru.po, po/tmw-sv.po, tmw.cbp: Fixed translation
file names.
* po/it.po: Some fixes by Shaili.
2008-02-26 Eugenio Favalli <elvenprogrammer@themanaworld.org>
* src/gui/minimap.cpp: Keep minimap status. Based on a patch by Knivey.
* data/graphics/tiles/tulimshar1.png, data/maps/new_3-1.tmx: Added
Modanung's mud tileset and applied to some houses in Tulimshar.
2008-02-26 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/maps/new_14-1.tmx: Fixed some monster traps on
southwest woodland.
2008-02-24 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/skill.cpp, src/gui/skill.h: Optical enhancements based on
a patch by rodge.
* src/net/playerhandler.cpp: Fixed a bug which caused an incorrect
display of character correction points in some situations.
2008-02-23 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/items/generic-ironore.png, data/items.xml:
Implemented iron ore item.
* data/maps/new_10-1.tmx, data/maps/new_11-1.tmx,
data/maps/new_12-1.tmx, data/maps/new_21-1.tmx: Map fixes by
QOAL.
* data/graphics/sprites/head-mask.xml,
data/graphics/sprites/head-warlordhelm.xml:
Animaton fixes by QOAL.
* data/monsters.xml: Added a 2nd attack to the scorpion to test new
monster AI.
2008-02-22 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/skill.cpp, src/localplayer.cpp, src/localplayer.h:
Implemented skill name display in skill dialog and xp messages (based
on a patch by rodge)
* src/gui/char_select.cpp, src/gui/char_select.h, src/player.h: Merged
creation of female characters from Legend of Mazzeroth.
* src/net/beinghandler.cpp, src/net/charserverhandler.cpp,
src/player.cpp, src/player.h, src/resources/itemdb.cpp,
src/resources/iteminfo.cpp, src/resources/iteminfo.h: Handling gender
with an enum everywhere.
2008-02-21 Philipp Sehmisch <tmw@crushnet.org>
* data/items.xml: Gave the hair sprites and the player sprite the
item types "hairstyle" and "racesprite". added some missing item
types.
* data/monsters.xml: Added attack properties to scorpions.
* src/gui/gui.cpp: Showing a visible error message to the user when
the font file can't be found.
2008-02-19 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_22-1.tmx: Map fixes at snake dungeon by QOAL.
2008-02-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* INSTALL: Added notes about installing gettext and cvs and updated
required ENet version to 1.2.
2008-02-18 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/hairstyle7-female.xml, src/sound.cpp,
src/utils/strprintf.cpp, tmw.cbp: Fixed image name.
2008-02-13 Philipp Sehmisch <tmw@crushnet.org>
* data/equipment.xml, data/items.xml,
data/graphics/items/armor-head-crusaderhelm.png,
data/graphics/items/armor-head-infantryhelm.png,
data/graphics/items/armor-head-knighthelm.png,
data/graphics/items/armor-head-warlordhelm.png,
data/graphics/sprites/head-crusaderhelm.png,
data/graphics/sprites/head-infantryhelm.png,
data/graphics/sprites/head-knighthelm.png,
data/graphics/sprites/head-warlordhelm.png,
data/graphics/sprites/head-crusaderhelm.xml,
data/graphics/sprites/head-infantryhelm.xml,
data/graphics/sprites/head-knighthelm.xml,
data/graphics/sprites/head-warlordhelm.xml: Added new headgears by
Black Don (thanks to QOAL for testing and implementation)
* data/monsters.xml: Converted movement speed to pixels per second.
2008-02-12 Philipp Sehmisch <tmw@crushnet.org>
* data/monsters.xml: Added size and speed to the first four monsters.
2008-02-12 Dennis Friis <peavey@placid.dk>
* src/localplayer.cpp, src/map.cpp, src/gui/viewport.cpp, src/being.cpp
src/map.h: Made pathfinding not halt on collision destination tile,
made moving around with mouse smoother. Added possibility to pass
through players with key controls.
2008-02-11 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_22-1.tmx: Added music and overlay to snake dungeon.
2008-02-10 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_23-1.tmx: Added Dimonds Cove outdoor map by MerlinX420.
2008-02-08 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_14-1.tmx, data/maps/new_22-1.tmx: Added Dimonds Cove
outdoor map by MerlinX420. Fixed some map bugs in snake dungeon.
* data/items.xml: Added chicken leg meta information.
2008-02-07 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/skill.cpp: Fixed unix compilation problem.
* data/monsters.xml: Added different behaviors to maggots,
scorpions, red scorpions and green slimes.
2008-02-05 Philipp Sehmisch <tmw@crushnet.org>
* data/monsters.xml: Added attributes to maggot (complete) and
scorpion (incomplete) for testing server-sided monster attribute
parsing.
2008-01-28 Philipp Sehmisch <tmw@crushnet.org>
* src/game.cpp, src/game.h, src/net/skillhandler.cpp,
src/net/skillhandler.h, src/Makefile.am, src/CMakeLists.txt:
Removed skill handler (relict from eAthena)
* src/gui/skill.cpp, src/gui/skill.h: Implemented provisorical
dialog for viewing skill experience and skill levels.
* src/gui/status.cpp, src/gui/status.h: Implemented raising and
correcting of attributes in the character status GUI.
* src/localplayer.cpp, src/localplayer.h,
src/net/charserverhandler.cpp, src/net/gameserver/player.cpp,
src/net/gameserver/player.h, src/net/playerhandler.cpp,
src/net/protocol.h: Implemented netcode for skill system and
attribute increase system.
* src/resources/itemdp.cpp, src/resources/iteminfo.cpp,
src/resources/iteminfo.h: Updated skill palette to the latest
design decisions.
* data/items.xml: Fixed a few messed up slot numbers.
2008-01-28 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/sell.cpp, src/gui/window.cpp, src/gui/inventorywindow.h,
src/gui/buy.h, src/gui/itemshortcutwindow.cpp,
src/gui/inventorywindow.cpp, src/gui/buy.cpp, src/gui/sell.h,
src/gui/window.h, src/gui/windowlistener.h,
src/gui/itemshortcutwindow.h, src/CMakeLists.txt, src/Makefile.am:
Used the gcn::WidgetListener instead of our WindowListener.
2008-01-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/truetypefont.cpp: Image alpha should also be set to 1, in
case it was changed before.
* src/gui/truetypefont.h: Corrected documentation.
* src/game.h, src/localplayer.h: Fixed a GCC 4.3 compile error and
constified the usage of auto_ptr, since that's the way in which we are
using them.
2008-01-26 Philipp Sehmisch <tmw@crushnet.org>
* scr/gui/truetypefont.cpp: Added support for alpha blending to
true type font rendering.
2008-01-24 Philipp Sehmisch <tmw@crushnet.org>
* src/net/beinghandler.cpp, src/resources/spritedef.h: Fixed
broken communication of attack directions.
2008-01-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/char_server.cpp, src/gui/window.cpp, src/gui/checkbox.h,
src/gui/playerbox.h, src/gui/button.cpp, src/gui/chat.cpp,
src/gui/slider.cpp, src/gui/tabbedcontainer.cpp, src/gui/textfield.h,
src/gui/shoplistbox.cpp, src/gui/register.cpp,
src/gui/radiobutton.cpp, src/gui/textbox.cpp, src/gui/login.cpp,
src/gui/setup_audio.cpp, src/gui/setup_video.cpp,
src/gui/textfield.cpp, src/gui/playerbox.cpp,
src/gui/setup_joystick.cpp, src/gui/scrollarea.h,
src/gui/windowlistener.h, src/gui/checkbox.cpp,
src/gui/scrollarea.cpp: Compile against Guichan 0.8.0. Some issues
with ShopListBox left and not trying to use their new TabbedArea,
SelectionListener and WidgetListener yet. Also needs more testing.
* src/gui/trade.cpp, src/gui/sell.cpp, src/gui/inventorywindow.h,
src/gui/selectionlistener.h, src/gui/itemcontainer.h,
src/gui/shoplistbox.cpp, src/gui/shoplistbox.h, src/gui/listbox.h,
src/gui/buy.h, src/gui/inventorywindow.cpp, src/gui/buy.cpp,
src/gui/itemcontainer.cpp, src/gui/sell.h, src/gui/trade.h,
src/gui/listbox.cpp, src/CMakeLists.txt, src/Makefile.am: Used the
gcn::SelectionListener instead of our own.
2008-01-20 Philipp Sehmisch <tmw@crushnet.org>
* data/items.xml: Added max-per-slot property to all items.
2008-01-19 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_10-1.tmx, data/maps/new_11-1.tmx: Map fixes by 5t3v3 at
the new snow maps. Added hot spring particle effect to pond south of
snow village.
* data/graphics/particles/bubbles_32px,
data/graphics/particles/bubbles_12px,
data/graphics/particles/bubbles_8px,
data/graphics/particles/whirlpool.particle.xml: Added bubble particle
effect.
* src/resources/itemdb.cpp: Fixed interpretation of weapon types in
items.xml.
2008-01-14 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_10-1.tmx, data/maps/new_11-1.tmx: Added new versions of
snow maps by 5t3v3.
* src/sound.cpp: Fixed an error in Davids last commit (couldn't compile
that way).
2008-01-13 David Athay <ko2fan@gmail.com>
* src/resources/resourcemanager.h, src/resources/resourcemanager.cpp,
src/main.cpp, src/sound.cpp, src/engine.cpp: Fixed music loading from
non-default location.
2008-01-10 Philipp Sehmisch <tmw@crushnet.org>
* src/resources/itemdb.cpp, src/resources/iteminfo.cpp,
src/resources/iteminfo.h: Item types and weapon types are now
identified by name instead of numbers in the items.xml.
* data/items.xml: Removed entries for eAthena compatiblity (the
database isn't eAthena compatible anymore), added item type and
weapon-type properties to all items. All healing items now have a
healing effect.
2008-01-09 Philipp Sehmisch <tmw@crushnet.org>
* data/items.xml: Added weapon_type properties to weapons so that
attack animations are displayed properly.
2008-01-07 Philipp Sehmisch <tmw@crushnet.org>
* src/localplayer.h: Implemented new attribute enumerations of
last server update.
* data/items.xml: Added item types and attribute modifiers to
items for troubleshooting the equipment system. Reformated the
file for easier editing.
* data/graphics/items/armor-ring-agility-rough.png,
data/graphics/items/armor-ring-dexterity-rough.png,
data/graphics/items/armor-ring-intelligence-rough.png,
data/graphics/items/armor-ring-strength-rough.png,
data/graphics/items/armor-ring-willpower-rough.png,
data/graphics/items/armor-ring-vitality-rough.png:
Added basic attribute-enhancing rings for troubleshooting
basic attribute modifiers.
* tmw.cbp: Updated Code::Blocks project file to include libintl.
2008-01-03 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_1-1.tmx, data/maps/new_3-1.tmx: Some map bugs reported
by Strump, fixed by Zipon.
2007-12-30 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_22-1.tmx: Some mapping fixes at snake dungeon map.
* src/game.cpp, src/beingmanager.cpp, src/beingmanager.h,
src/keyboardconfig.cpp, src/keyboardconfig.h: Added a key for targeting
the nearest player character based on patches by Trinexx.
* src/gui/viewport.cpp: Added config options to set the scroll center.
* src/gui/viewport.h, src/net/playerhandler.cpp: Retained scroll
offset during map change for smoother map transitions.
2007-12-28 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_7-1.tmx, data/maps/new_22-1.tmx: Added new map by
5t3v3 (east desert cave) and enhanced version of eastern desert by
Len.
* data/maps/new_3-1.tmx: Some mapping errors fixed by Zipon.
* src/being.cpp, src/monster.cpp, src/resources/monsterinfo.cpp,
src/resources/monsterinfo.h: Added the possibility to assign particle
effects to monsters in the monster database.
* data/monsters.xml: Added flame particle effect to fire goblin as a
proof of concept.
2007-12-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/help/header.txt: Fixed year. :)
2007-12-24 David Athay <ko2fan@gmail.com>
* src/game.cpp: Fixed dialog for disconnections, so it says Ok, not
yes/no.
* src/openglgraphics.cpp: Changed type so it would compile on Leopard.
2007-12-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/particleemitter.cpp: Fix compile warning.
2007-12-23 Philipp Sehmisch <tmw@crushnet.org>
* src/particleemitter.cpp, src/particleemitter.h: Particle images are
now reference-counted properly.
* src/resources/spritedef.cpp: Error placeholder is now used when
attempting to load a sprite definition file that doesn't exist.
* src/monster.cpp, src/player.cpp: Avoided attempts to load
"data/graphics/" when a monster or equipment piece has no sprite.
* data/graphics/particles/cookingfire.particle.xml: Removed some
particle properties that did nothing because they were misspelled.
2007-12-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/chathandler.cpp, NEWS: Make sure chat messages are also
trimmed for the local player.
2007-12-21 David Athay <ko2fan@gmail.com>
* src/game.cpp, src/gui/updatewindow.cpp: Attempted to fix client
freeze when unable to connect to update host, and added exit dialog
when client loses connection.
2007-12-21 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/shoplistbox.cpp: Fixed shop list box not to scroll up when
the selection is removed.
* src/resources/resourcemanager.h, src/resources/resourcemanager.cpp:
Added logging of error on PHYSFS_addToSearchPath.
* src/main.cpp: Increased default chat log length.
2007-12-19 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_18-1.tmx: Fixed a map bug (monster trap) on
map 18 (woodland village surrounding)
2007-12-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tools/upalyzer/analyse.php: Fixed association of entries to update,
added no-cache headers, added a bit of error reporting in case of
invalid zip files, kept original ordering of the update list and
sorted the list of entries on their filename.
* tools/upalyzer/analyse.php: Added list of files in each update with
indication on whether they are still used.
2007-12-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tools/upalyzer/analyse.php: Added initial version of the update
analysis tool upalyzer.
* tools/upalyzer/analyse.php: Optimized with single loop approach and
nicer printing calls, inspired by doener's version. Also added list of
update entries and their respective update.
2007-12-18 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/status.cpp, src/gui/status.h, src/localplayer.h,
src/net/accountserver/account.cpp,
src/net/accountserver/account.h, src/net/beinghandler.cpp:
Updated attribute system to the latest design decisions
(removed charisma, kept agility in)
2007-12-14 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/head-mask.png,
data/graphics/sprites/head-mask.xml,
data/graphics/sprites/head-mushroom.xml,
data/graphics/sprites/head-shroom.xml, data/items.xml,
data/equipment.xml: Fixed some problems with the new items.
2007-12-12 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/cave.png, data/graphics/tiles/cave_x2.png:
Fixed the blurred outlines of the new tiles.
2007-12-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/tiles/cave.png, data/graphics/tiles/cave_x2.png,
data/maps/new_4-1.tmx: Added two new cave tiles by yosuhara.
2007-12-12 Philipp Sehmisch <tmw@crushnet.org>
* tools/tmxcopy/base64.cpp,
tools/tmxcopy/base64.h, tools/tmxcopy/main.cpp,
tools/tmxcopy/map.cpp, tools/tmxcopy/map.hpp,
tools/tmxcopy/readme.txt, tools/tmxcopy/tmxcopy.cbp,
tools/tmxcopy/tostring.h, tools/tmxcopy/xmlutils.cpp,
tools/tmxcopy/xmlutils.h, tools/tmxcopy/zlibutils.cpp,
tools/tmxcopy/zlibutils.h: Added my tmxcopy tool for copying
parts of maps to other maps.
2007-12-10 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp: Include cassert header.
2007-12-10 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp, src/being.h, src/net/beinghandler.cpp,
src/net/charserverhandler.cpp, src/net/equipmenthandler.cpp,
src/player.cpp, src/player.h, data/items.xml: Simplified player
subsprite handling by treating equipment, hairstyle and base
sprites alike. This also enables gender-specific hairstyles.
* src/game.cpp, src/gui/chat.cpp, src/gui/chat.h, src/log.cpp,
src/log.h: Added an option to show log messages in the chat console.
* data/items.xml,
data/graphics/sprites/hairstyle1.png,
data/graphics/sprites/hairstyle1.xml,
data/graphics/sprites/hairstyle1-male.png,
data/graphics/sprites/hairstyle1-male.xml,
data/graphics/sprites/hairstyle1-female.png,
data/graphics/sprites/hairstyle1-female.xml,
data/graphics/sprites/hairstyle2.png,
data/graphics/sprites/hairstyle2.xml,
data/graphics/sprites/hairstyle2-male.png,
data/graphics/sprites/hairstyle2-male.xml,
data/graphics/sprites/hairstyle2-female.png,
data/graphics/sprites/hairstyle2-female.xml,
data/graphics/sprites/hairstyle3.png,
data/graphics/sprites/hairstyle3.xml,
data/graphics/sprites/hairstyle3-male.png,
data/graphics/sprites/hairstyle3-male.xml,
data/graphics/sprites/hairstyle3-female.png,
data/graphics/sprites/hairstyle3-female.xml,
data/graphics/sprites/hairstyle4.png,
data/graphics/sprites/hairstyle4.xml,
data/graphics/sprites/hairstyle4-male.png,
data/graphics/sprites/hairstyle4-male.xml,
data/graphics/sprites/hairstyle4-female.png,
data/graphics/sprites/hairstyle4-female.xml,
data/graphics/sprites/hairstyle5.png,
data/graphics/sprites/hairstyle5.xml,
data/graphics/sprites/hairstyle5-male.png,
data/graphics/sprites/hairstyle5-male.xml,
data/graphics/sprites/hairstyle5-female.png,
data/graphics/sprites/hairstyle5-female.xml,
data/graphics/sprites/hairstyle6.png,
data/graphics/sprites/hairstyle6.xml,
data/graphics/sprites/hairstyle6-male.png,
data/graphics/sprites/hairstyle6-male.xml,
data/graphics/sprites/hairstyle6-female.png,
data/graphics/sprites/hairstyle6-female.xml,
data/graphics/sprites/hairstyle7.png,
data/graphics/sprites/hairstyle7.xml,
data/graphics/sprites/hairstyle7-male.png,
data/graphics/sprites/hairstyle7-male.xml,
data/graphics/sprites/hairstyle7-female.png,
data/graphics/sprites/hairstyle7-female.xml:
Implemented female hairstyles.
2007-12-09 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/head-funkywinter.png,
data/graphics/sprites/head-funkywinter.xml,
data/graphics/sprites/head-xmaself.png,
data/graphics/sprites/head-xmaself.xml: New versions of funky hat
and elf hat by QOAL.
2007-12-09 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/CMakeLists.txt: Add missing source files.
2007-12-07 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/items/generic-santacookie.png,
data/items.xml: Added a new drop item for the christmas event.
2007-12-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp, src/map.h: Fix drawing of very high fringe tiles by
keeping track of the maximum tile height.
* src/itemshortcut.h, src/gui/itemshortcutcontainer.h,
src/gui/itemshortcutcontainer.cpp, src/gui/itemshortcutwindow.cpp,
src/gui/itemshortcutwindow.h, src/itemshortcut.cpp: Random cleanups.
2007-12-04 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/head-funkywinter.png,
data/graphics/sprites/head-funkywinter.xml,
data/graphics/sprites/head-mask.png,
data/graphics/sprites/head-mask.xml,
data/graphics/sprites/head-mushroom.png,
data/graphics/sprites/head-mushroom.xml,
data/graphics/sprites/head-shroom.png,
data/graphics/sprites/head-shroom.xml,
data/graphics/sprites/head-tophat.png,
data/graphics/sprites/head-tophat.xml,
data/graphics/sprites/head-xmaself.png,
data/graphics/sprites/head-xmaself.xml,
data/graphics/items/armor-head-xmaself.png,
data/graphics/items/armor-head-mask.png,
data/items.xml: Added/renamed some headgears for the christmas event.
2007-11-21 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/properties.h, src/net/charserverhandler.cpp, src/being.h: Small
lingering changes made while merging to 0.0.
* src/localplayer.cpp, src/npc.cpp,
src/net/accountserver/accountserver.cpp,
src/net/accountserver/account.cpp, src/net/loginhandler.cpp,
src/net/messageout.cpp, src/net/buysellhandler.cpp,
src/net/messagein.h, src/net/beinghandler.cpp,
src/net/inventoryhandler.cpp, src/net/itemhandler.cpp,
src/net/tradehandler.cpp, src/net/charserverhandler.cpp,
src/net/logouthandler.cpp, src/net/messagein.cpp,
src/net/skillhandler.cpp, src/net/chathandler.cpp,
src/net/npchandler.cpp, src/net/gameserver/gameserver.cpp,
src/net/gameserver/player.cpp, src/net/messageout.h,
src/net/chatserver/chatserver.cpp, src/net/playerhandler.cpp: Renamed
{read,write}{Byte,Short,Long} to {read,write}{Int8,Int16,Int32}. This
is less confusing in 64-bit context and less conflicting with the 0.0
client.
2007-11-21 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/being.cpp: Added interpolation of tile offset for intermediate
steps in long moves.
2007-11-20 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/maps/new_1-1.tmx,
data/graphics/maps/new_3-1.tmx,
data/graphics/maps/new_15-1.tmx: Updated desert maps with new
tiles by Len.
2007-11-16 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/resources/resourcemanager.h, src/resources/resource.h,
src/resources/resourcemanager.cpp, src/resources/resource.cpp: Delayed
resource deletion by 30 seconds.
* src/net/connection.cpp, src/resources/mapreader.cpp,
src/net/network.cpp: Reduced noise in log file.
* src/resources/image.cpp: Sped up recoloring of transparent pixels.
2007-11-16 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/log.cpp, src/utils/wingettimeofday.h: Removed useless win32
implementation of gettimeofday.
* src/log.cpp, tmw.cbp: Fixed minor issues.
2007-11-16 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/floor_item.cpp, src/localplayer.cpp, src/item.cpp,
src/inventory.h, src/gui/sell.cpp, src/gui/equipmentwindow.cpp,
src/gui/shop.cpp, src/gui/shoplistbox.cpp, src/gui/shop.h,
src/gui/itemshortcutcontainer.cpp, src/gui/buy.cpp,
src/gui/itemcontainer.cpp, src/inventory.cpp, src/item.h,
src/equipment.h, src/shopitem.cpp, src/CMakeLists.txt,
src/floor_item.h, src/net/inventoryhandler.cpp, src/equipment.cpp,
src/localplayer.h, src/Makefile.am, src/resources/iteminfo.h,
src/resources/itemdb.cpp, src/resources/iteminfo.cpp, src/shopitem.h:
Moved item icon from ItemInfo class to the Item class, so that it can
be loaded on demand. Results in faster startup time and reduced memory
usage.
2007-11-15 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/main.cpp: Disabled update loading.
2007-11-15 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_4-1.tmx: Added npc.
* data/maps/new_5-1.tmx: Added npcs.
* data/maps/new_5-1.tmx, data/maps/new_6-1.tmx: Added monsters on map 5
and some fixes, added npcs to map 6.
2007-11-14 Eugenio Favalli <elvenprogrammer@gmail.com>
* po/it.po: Updated Italian translation.
2007-11-14 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/chat.cpp: Fixed up and down arrows in chat box.
* src/gui/inttextbox.h, src/gui/inttextbox.cpp: Changed to textfield so
that it is visibly editable.
* src/gui/item_amount.cpp: Converted to layout handler.
* src/game.cpp, src/gui/viewport.cpp, src/gui/popupmenu.cpp: Removed
tests on current_npc.
2007-11-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_1-1.tmx, data/maps/new_10-1.tmx,
data/maps/new_11-1.tmx, data/maps/new_12-1.tmx, data/maps/new_13-1.tmx,
data/maps/new_14-1.tmx, data/maps/new_15-1.tmx, data/maps/new_16-1.tmx,
data/maps/new_17-1.tmx, data/maps/new_18-1.tmx, data/maps/new_19-1.tmx,
data/maps/new_2-1.tmx, data/maps/new_3-1.tmx, data/maps/new_4-1.tmx,
data/maps/new_5-1.tmx, data/maps/new_6-1.tmx, data/maps/new_7-1.tmx,
data/maps/new_8-1.tmx, data/maps/new_9-1.tmx, tmw.cbp:
Started porting warps to the new server, updated project file.
* data/maps/new_1-1.tmx: Fixed object type and added npcs.
* data/maps/new_1-1.tmx, data/maps/new_2-1.tmx: Fixed shop on map 1 and
added npcs on map 2.
2007-11-11 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* data/items.xml: Fixed types of equipable items.
2007-11-09 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/chest-chainmail-male,
data/graphics/sprites/chest-chainmail-female,
data/graphics/sprites/chest-cotton-male,
data/graphics/sprites/chest-cotton-female,
data/graphics/sprites/chest-leather-male,
data/graphics/sprites/chest-leather-female,
data/graphics/sprites/chest-tnecksweater-male,
data/graphics/sprites/chest-tnecksweater-female,
data/graphics/sprites/chest-vnecksweater-male,
data/graphics/sprites/chest-vnecksweater-female:
Modifications at the back shading of shirt sprites by Pauan.
2007-11-08 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/equipmentwindow.cpp: Ensured "unequip" button is visible.
2007-11-04 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/resources/dye.cpp, src/resources/resourcemanager.cpp: Moved
palette qualifiers to the right as the code appends things on the left.
* src/resources/spritedef.cpp, src/resources/spritedef.h,
src/resources/resourcemanager.h: Added propagation of palettes through
sprite resource names.
* data/monsters.xml, data/graphics/sprites/monster-scorpion.xml: Used
palettes on sprite names.
* data/graphics/sprites/monster-scorpion-black.xml,
data/graphics/sprites/monster-scorpion-red.xml: Removed obsolete files.
* src/player.cpp: Added hair colors.
* data/graphics/sprites/hairstyle*.xml: Removed sprite variants. Set
replaceable color.
* data/graphics/sprites/hairstyle*.png: Reduced image sizes.
* data/monsters.xml, data/graphics/sprites/monster-slime.xml,
data/graphics/sprites/monster-slime.png: Added generic slime.
* data/graphics/sprites/monster-slime-{green,red,yellow}.png,
data/graphics/sprites/monster-slime-{green,red,yellow}.xml: Removed
obsolete files.
2007-11-03 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/player.cpp, src/player.h, src/gui/char_select.cpp: Factored code.
* src/net/beinghandler.cpp, src/net/charserverhandler.cpp: Fixed double
load of hair graphics.
* src/Makefile.am, src/resources/dye.cpp, src/resources/dye.h: Added
palette holder and linear interpolator of colors.
* src/resources/image.h, src/resources/image.cpp: Added palette-based
recoloring of images.
* src/resources/resourcemanager.h, src/resources/resourcemanager.cpp:
Added automatic recoloring of images depending on their names.
* data/graphics/sprites/monster-scorpion.png: Flattened colors.
* data/graphics/sprites/monster-scorpion-black.png,
data/graphics/sprites/monster-scorpion-red.png: Removed obsolete files.
* data/graphics/sprites/monster-scorpion.xml,
data/graphics/sprites/monster-scorpion-black.xml,
data/graphics/sprites/monster-scorpion-red.xml: Added automatic
recoloring of scorpions.
2007-11-01 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/particles/aniblaze.png,
data/graphics/particles/cookingfire.particle.xml,
data/graphics/particles/fireplace.particle.xml,
data/graphics/particles/flame.particle.xml: Improved fire particle
effects by using animated particles.
2007-10-31 Philipp Sehmisch <tmw@crushnet.org>
* data/items.xml, data/graphics/sprites/leg-skirt.png,
data/graphics/sprites/leg-skirt.xml,
data/graphics/items/armor-leg-skirt.png: Added skirt by Saphy.
ViewID is 26, item ID is 632, item properties are c&p from jeans
shorts.
2007-10-28 Matthias Hartmann <hartmann.matthias@gmail.com>
* po/de.po: Updated german translation.
2007-10-28 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/widgets/layout.h, src/gui/widgets/layout.cpp: Separated
auto-resizing into two categories: "set" and "add".
* src/gui/sell.cpp, src/gui/inventorywindow.cpp, src/gui/buy.cpp:
Removed useless code. Updated constant names.
* src/gui/trade.cpp, src/gui/trade.h: Converted to layout handler.
Fixed money handling. Fixed transaction handling.
* src/net/tradehandler.cpp, src/net/gameserver/player.h,
src/net/gameserver/player.cpp: Implemented missing trade messages.
* po/POTFILES.in: Marked trade window as translatable.
* po/tmw.pot, po/*.po: Updated translation objects.
* po/fr.po: Updated French translation.
2007-10-28 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/debugwindow.cpp, tmw.cbp: Fixed coordinates in the debug
window and updated project file.
2007-10-28 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/textfield.cpp: Fixed a windows compilation problem
caused by a define macro of the Windows API that conflicts
with a guichan identifier.
2007-10-27 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/properties.h, src/game.cpp, src/channel.h, src/log.cpp,
src/gui/window.cpp, src/gui/setup.cpp, src/gui/button.cpp,
src/gui/chat.h, src/gui/widgets/dropdown.cpp, src/gui/chat.cpp,
src/gui/tabbedcontainer.cpp, src/gui/windowcontainer.cpp,
src/gui/skill.cpp, src/gui/serverdialog.cpp, src/gui/textfield.cpp,
src/gui/playerbox.cpp, src/gui/scrollarea.cpp, src/beingmanager.cpp,
src/flooritemmanager.cpp, src/channelmanager.cpp, src/main.cpp,
src/particle.cpp, src/net/messageout.cpp, src/channel.cpp,
src/localplayer.h, src/resources/imageset.cpp,
src/resources/buddylist.cpp, src/resources/monsterinfo.h,
src/resources/iteminfo.h, src/resources/monsterdb.cpp,
src/resources/monsterinfo.cpp, src/resources/itemdb.cpp: Fixed missing
dependencies, spurious const qualifiers, and weak brackets, so that it
compiles with GCC 4.3.
* src/gui/widgets/layout.h, src/gui/widgets/layout.cpp: Improved layout
handler to support trees of nested arrays.
* src/gui/window.cpp, src/gui/window.h: Removed unused function
updateContentSize. Simplified layout accessors.
* src/gui/char_select.cpp: Replaced flushed-layout hack with a tree.
* src/gui/serverdialog.cpp, src/gui/buy.cpp: Simplified layouts.
2007-10-26 Philipp Sehmisch <tmw@crushnet.org>
* src/browserbox.cpp, src/browserbox.h, src/chat.h, src/main.cpp:
Added possibility of length limitation to browserbox and used it
for the chatlog (length set by the config option "ChatLogLength").
* src/chat.cpp, src/chat.h: Removed some completely useless code
from the chat class.
* src/monster.cpp, src/monster.h, data/sfx/logmonster-hurt1.ogg,
data/sfx/logmonster-hurt2.ogg, data/sfx/logmonster-hurt3.ogg,
data/sfx/logmonster-hurt4.ogg, data/sfx/logmonster-hurt5.ogg:
Implemented monster hurt sounds and added new sound effects by
Cosmostrator.
2007-10-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* po/nl.po: Completed Dutch translation.
* po/de.po: Some small fixes.
2007-10-24 Philipp Sehmisch <tmw@crushnet.org>
* data/items.xml, data/graphics/items/generic-darkcrystal.png:
Added a new quest loot item for the halloween event.
2007-10-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt: Added Layout source files.
2007-10-22 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/particle.cpp: Plugged memory leak.
* src/gui/connection.cpp, src/gui/connection.h: Simplified code.
Plugged memory leak.
* src/configuration.cpp, src/main.cpp: Plugged memory leak. Cleaned
code.
* src/gui/serverdialog.cpp, src/gui/serverdialog.h: Plugged memory
leak. Simplified code. Removed annoying reset of text fields. Changed
error message and marked it as translatable.
2007-10-21 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/window.cpp, src/gui/window.h: Removed redundant resizable
flag. Factored moving/resizing code, so that events are fired only
once per size change. Added automatic layout reflowing on resize.
* src/gui/widgets/layout.cpp: Allowed for decreasing sizes in layout.
* src/gui/inventorywindow.cpp, src/gui/inventorywindow.cpp: Delegated
resizing events to layout handler.
* src/gui/widgets/layout.cpp, src/gui/widgets/layout.h: Renamed padding
to spacing. Added margin around layout. Constified code.
* src/gui/window.cpp, src/gui/login.cpp, src/gui/char_select.cpp,
src/gui/serverdialog.cpp, src/gui/inventorywindow.cpp: Removed window
padding and replaced it by layout margin, so that the grip on resizable
window is not outside the inner clip area.
* src/engine.cpp, src/engine.h, src/game.cpp: Fixed current map not
deleted on server change.
* src/gui/inventorywindow.cpp, src/gui/inventorywindow.h: Removed
redundant destructor.
* src/resources/monsterdb.cpp: Plugged memory leak in database reader.
* src/resources/spritedef.cpp: Plugged memory leak in sprites.
* src/gui/quitdialog.cpp: Plugged memory leak in quit dialog.
* src/resources/iteminfo.cpp, src/resources/iteminfo.h: Plugged memory
leak in equipment sound.
* src/resources/action.cpp: Fixed double-free of sprite actions.
* data/maps/new_1-1.tmx: Added back a Lua script for testing.
* src/gui/trade.cpp: Added persistent positioning.
* src/gui/menuwindow.cpp: Fixed missing pixels at bottom and right.
* src/gui/window.cpp, src/gui/window.h: Changed to use default values
when restoring missing settings.
* src/gui/buy.cpp, src/gui/buy.h, src/gui/sell.cpp, src/gui/sell.h:
Converted to layout handler.
* src/gui/shoplistbox.cpp, src/gui/listbox.cpp: Fixed invisible text.
2007-10-20 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/widgets/layout.h, src/gui/widgets/layout.cpp,
src/Makefile.am: Added a layout handler for automatically positioning
widgets in a window.
* src/gui/window.h, src/gui/window.cpp: Removed garbage-collected
container. Fixed dangling resize widget. Added layout handler.
* src/gui/login.cpp: Fixed layout of login dialog box when native
language is not English.
* src/gui/playerbox.cpp: Centered sprite inside selection box.
* src/gui/char_select.cpp: Reworked layout of dialog box.
* src/gui/serverdialog.cpp: Converted to layout handler.
2007-10-19 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* data/equipment.xml: Removed obsolete file.
* data/items.xml: Fixed equipment types.
* src/item.h: Fixed invalid item ID.
* src/gui/inventorywindow.cpp, src/gui/itemcontainer.cpp: Fixed key
special values.
* src/gui/itemcontainer.cpp: Reduced amount of spurious item
deselections.
* src/gui/itemcontainer.cpp, src/gui/itemcontainer.h: Allowed dragging
of already selected items.
* src/gui/buy.cpp, src/gui/sell.cpp, po/POTFILES.in: Marked buy and
sell dialog boxes as translatable.
* src/resources/resource.cpp, src/resources/resource.h,
src/resources/imageset.cpp, src/resources/imageset.h: Removed mandatory
identifier path.
* src/resources/resourcemanager.cpp, src/resources/resourcemanager.h:
Factored code between resource handlers.
* src/resources/soundeffect.h, src/resources/soundeffect.cpp,
src/resources/music.h, src/resources/music.cpp, src/resources/image.h,
src/resources/image.cpp: Reworked resource loaders.
* src/resources/spritedef.h, src/resources/spritedef.cpp: Implemented
a failure-friendly loader.
* src/gui/truetypefont.cpp, src/resources/imageloader.cpp,
src/tileset.h: Removed dummy parameter.
2007-10-19 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/truetypefont.cpp: Increased text chunk cache size to improve
performance when a lot of text is on the screen.
* data/graphics/images/ambient/fog.png: Added fog effect overlay
graphic.
2007-10-18 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/beingmanager.h, src/beingmanager.cpp, src/net/beinghandler.cpp:
Removed guess of being type from class number. Factored handler for new
beings.
* src/gui/truetypefont.cpp: Fixed double-free of true-type resources.
* src/monster.cpp: Removed compatibility hack.
* data/monsters.xml: Merged client and server monster data.
* data/items.xml: Merged server item data. Removed obsolete fields.
* src/localplayer.cpp, src/localplayer.h: Moved equipment and inventory
storage to local player. Removed specific type.
* src/gui/viewport.cpp, src/gui/minimap.cpp: Changed identification of
local player to a check of player_node.
* src/animatedsprite.cpp, src/animatedsprite.h, src/npc.cpp,
src/player.cpp, src/monster.cpp, src/resources/resourcemanager.cpp:
Prevented client from exiting on missing sprites.
* src/being.cpp, src/being.h, src/player.h, src/net/beinghandler.cpp,
src/net/charserverhandler.cpp: Removed hair style, hair color, gender,
and equipment from generic being.
* src/resources/spritedef.cpp: Added filename to fatal error messages.
* src/resources/iteminfo.cpp, src/resources/iteminfo.h,
src/resources/itemdb.cpp, data/items.xml: Merged weapon_type and
attacktype field.
* src/resources/iteminfo.h, src/resources/itemdb.cpp: Removed unused
slot field.
* src/resources/itemdb.cpp: Added automatic generation of description
strings for item effects.
* po/POTFILES.in: Marked effect strings as translatable.
2007-10-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/net/tradehandler.h, src/net/tradehandler.cpp:
Implemented automatic denying of trade requests based on a patch
submitted by Quiche_on_a_leash.
2007-10-15 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/viewport.h, src/gui/viewport.cpp: Put drawing of debug path
into a private method.
* po/LINGUAS, po/nl.po: Added Dutch translation (incomplete).
2007-10-07 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/maps/new_18-1.tmx: Fixed some collision layer problems.
2007-10-01 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/item.cpp, src/gui/itemcontainer.cpp, src/resources/itemdb.cpp:
Fixed inventory display so that empty slots are not unknown items.
Adjusted "type" meaning to tmwserv one.
* src/game.cpp: Fixed attacking with keyboard.
2007-09-30 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/desert_x3.png: Removed the purple line from the
ruin tile.
2007-09-27 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/desert2.png, data/graphics/tiles/desert_x3.png,
data/graphics/tiles/desert_x5.png: Added new desert tiles by Len.
2007-09-25 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/browserbox.cpp: Fix wrapping of UTF-8 multi-byte characters.
2007-09-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/inventory.h, src/inventory.cpp: Added some const qualifiers.
2007-09-22 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/browserbox.cpp: Removed some useless things.
* src/logindata.h, src/gui/linkhandler.h, src/channelmanager.h,
src/channelmanager.cpp, src/utils/minmax.h: Fixed missing includes and
cleaned a bit.
2007-09-21 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/chat.cpp: Fixed resizing of chat window.
2007-09-21 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/CMakeLists.txt: Added new files to build, removed old files and
added SDL_tff to the required libraries.
* src/gui/truetypefont.h: Remove duplicated contents.
* src/gui/browserbox.cpp: Refactor the way in which browser box text
is drawn and wrapped.
2007-09-20 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/browserbox.cpp: Fixed missing const qualifier.
* src/gui/windowlistener.h: Reduced warning about unused parameter.
* src/particle.h, src/particle.cpp: Moved function out of header file.
* src/net/chathandler.cpp: Removed useless include.
* src/utils/trim.h: Fixed storage qualifier.
* src/Makefile.am, src/gui/sdlinput.cpp, src/gui/sdlinput.h: Modified
Guichan SDL input handler, so that it supports high characters.
* src/gui/textfield.cpp, src/gui/textfield.h: Took over handling of
keypresses in textfields, so that utf8 characters are supported.
* src/gui/browserbox.cpp: Fixed improper splitting of characters.
* src/gui/gui.cpp, src/gui/gui.h, src/game.cpp, src/main.cpp: Changed
the input handler. Moved away from image font so that non-latin
characters are supported.
2007-09-20 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/equipment.xml, data/graphics/items/armor-head-funkyhat.png,
data/graphics/items/armor-head-mushroomhat.png,
data/graphics/items/armor-head-shroomhat.png,
data/graphics/items/armor-head-tophat.png,
data/graphics/sprites/item019.png, data/graphics/sprites/item019.xml,
data/graphics/sprites/item020.png, data/graphics/sprites/item020.xml,
data/graphics/sprites/item021.png, data/graphics/sprites/item021.xml,
data/graphics/sprites/item022.png, data/graphics/sprites/item022.xml,
data/items.xml, data/maps/new_21-1.tmx: Added 4 new items and a new ice
cave map.
2007-09-16 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/button.cpp: Fixed improper const qualifier.
2007-09-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/items.xml, data/equipment.xml: Added temporary weapon IDs below
256 to use as view-ID in eAthena's item DB.
* src/gui/shoplistbox.cpp, src/gui/buy.h, src/gui/buy.cpp: Allowed
selection of items that cannot be afforded, so that their descriptions
are still accessible. Also made sure the player's money value of
ShopItemList gets updated.
2007-09-11 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/chat.cpp, tmw.cbp: Fixed admin commands.
2007-09-10 Eugenio Favalli <elvenprogrammer@gmail.com>
* configure.ac, data/fonts/dejavusans.ttf,
src/gui/browserbox.cpp, src/gui/browserbox.h, src/gui/gui.cpp,
src/gui/truetypefont.cpp, src/gui/truetypefont.h, src/gui/window.cpp,
src/main.cpp, src/Makefile.am, src/openglgraphics.cpp, tmw.cbp: Added
support for True Type Fonts.
* po/it.po, po/LINGUAS, po/pl.po: Added Polish translation and fixed
Italian one.
* src/gui/minimap.cpp: Fixed minimap coordinates and improved look.
2007-09-08 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* po/LINGUAS: Added German to the list of available languages.
* po/de.po: Fixed two syntax errors preventing compilation.
2007-09-08 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/particles/aniblaze.png,
data/graphics/particles/cookingfire.particle.xml,
data/graphics/particles/fireplace.particle.xml,
data/graphics/particles/flame.particle.xml: Improved fire effects by
using animated particles.
2007-09-06 Philipp Sehmisch <tmw@crushnet.org>
* src/animationparticle.cpp, src/imageparticle.cpp: Fixed animated
particles.
2007-09-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/Makefile.am: Fixed the entry for windowlistener.h.
2007-08-30 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/localplayer.cpp, src/player.cpp, src/main.cpp, src/being.cpp,
src/CMakeLists.txt, src/Makefile.am, src/resources/iteminfo.h,
src/resources/equipmentdb.h, src/resources/equipmentinfo.h,
src/resources/itemdb.cpp, src/resources/iteminfo.cpp,
src/resources/equipmentdb.cpp, src/resources/equipmentinfo.cpp,
src/resources/spritedef.h, src/being.h, data/items.xml,
data/equipment.xml: Merged equipment database with items database and
got rid of the unused item art attribute.
* src/net/beinghandler.cpp, src/net/charserverhandler.cpp: Removed the
now unnecessary multiplication of weapon IDs with 10000.
* src/resources/iteminfo.cpp, data/graphics/items/unknown.png: Added
fallback item icon and use it for unknown items or when item image
fails to load.
* NEWS: Updated with changes since last update.
* data/items.xml, data/equipment.xml: Reverted equipment database and
included original low-ID items in items.xml for compatibility with
eAthena, which doesn't support View ID to come above 255.
* src/resources/itemdb.cpp: Accept items without a name.
2007-08-29 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/sell.cpp, src/gui/inventorywindow.cpp, src/gui/sell.h: Made
sell dialog resizable and tweaked inventory resize code a bit.
* data/items.xml: Fixed typo in chainmail description.
2007-08-28 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/window.cpp, src/gui/inventorywindow.h,
src/gui/selectionlistener.h, src/gui/buy.h,
src/gui/itemshortcutwindow.cpp, src/gui/inventorywindow.cpp,
src/gui/buy.cpp, src/gui/window.h, src/gui/windowlistener.h,
src/gui/itemshortcutwindow.h, src/CMakeLists.txt, src/Makefile.am:
Made buy dialog resizable and added a WindowListener class for
listening for window resize and move events.
* src/textparticle.h, src/particle.h, src/CMakeLists.txt,
src/particle.cpp, src/imageparticle.cpp, src/vector.h,
src/textparticle.cpp, src/Makefile.am: Added Vector class and used it
in the particle engine.
2007-08-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/engine.cpp, src/resources/mapreader.cpp: Made client search for
both compressed and non-compressed map files.
2007-08-27 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp: Assigned unused emotions to Alt +/-. (applied a patch
by Quiche_on_a_leash).
* data/maps/new_1-1.tmx, data/maps/new_1-1.tmx.gz,
data/maps/new_10-1.tmx, data/maps/new_10-1.tmx.gz,
data/maps/new_11-1.tmx, data/maps/new_11-1.tmx.gz,
data/maps/new_12-1.tmx, data/maps/new_12-1.tmx.gz,
data/maps/new_13-1.tmx, data/maps/new_13-1.tmx.gz,
data/maps/new_14-1.tmx, data/maps/new_14-1.tmx.gz,
data/maps/new_15-1.tmx, data/maps/new_15-1.tmx.gz,
data/maps/new_16-1.tmx, data/maps/new_16-1.tmx.gz,
data/maps/new_17-1.tmx, data/maps/new_17-1.tmx.gz,
data/maps/new_18-1.tmx, data/maps/new_18-1.tmx.gz,
data/maps/new_19-1.tmx, data/maps/new_19-1.tmx.gz,
data/maps/new_2-1.tmx, data/maps/new_2-1.tmx.gz,
data/maps/new_20-1.tmx, data/maps/new_20-1.tmx.gz,
data/maps/new_3-1.tmx, data/maps/new_3-1.tmx.gz,
data/maps/new_4-1.tmx, data/maps/new_4-1.tmx.gz,
data/maps/new_5-1.tmx, data/maps/new_5-1.tmx.gz,
data/maps/new_6-1.tmx, data/maps/new_6-1.tmx.gz,
data/maps/new_7-1.tmx, data/maps/new_7-1.tmx.gz,
data/maps/new_8-1.tmx, data/maps/new_8-1.tmx.gz,
data/maps/new_9-1.tmx, data/maps/new_9-1.tmx.gz: Replaced compressed
maps with layer compressed maps.
* data/maps/new_1-1.tmx.gz: Added test npcs.
* src/openglgraphics.cpp, tmw.cbp: Fixed compilation with old OpenGL
headers.
* po/it.po: Updated italian translation.
2007-08-27 Matthias Hartmann <hartmann.matthias@gmail.com>
* po/de.po: Added German translation.
2007-08-27 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/chat.h, src/gui/chat.cpp: Added "/admin" chat command for
sending raw messages to the game server.
* src/engine.cpp, src/resources/mapreader.cpp: Ported patch from 0.0,
in order to support missing extensions and uncompressed maps.
2007-08-26 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/updatewindow.cpp, src/main.cpp, tmw.cbp: Removed home dir
from config file to avoid encoding issues.
2007-08-26 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/button.cpp: Fixed incorrect button dimensions, as they mess
OpenGL display with rectangle textures.
* src/graphics.cpp, src/openglgraphics.h, src/graphics.h,
src/openglgraphics.cpp: Fixed fonts not being recolored by adding an
explicit parameter to require it.
2007-08-25 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* configure.ac: Removed dependency on Guichan's OpenGL library.
* src/Makefile.am, src/resources/sdlimageloader.cpp,
src/resources/sdlimageloader.h, src/resources/openglsdlimageloader.h,
src/resources/openglsdlimageloader.cpp, src/resources/imageloader.cpp,
src/resources/imageloader.h, src/gui/gui.cpp, src/gui/gui.h: Replaced
Guichan's image loaders with our owns, so that we have control over all
the images used as textures.
* src/resources/image.cpp, src/openglgraphics.h, src/resources/image.h,
src/openglgraphics.cpp, src/graphics.cpp, src/graphics.h: Added support
for rectangle OpenGL textures when available, in order to reduce video
memory usage.
2007-08-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/gui.h, src/gui/gui.cpp: Removed useless logic method and
reverted mouse cursor to non-static since there can be only one Gui
instance so there is no point in supporting a shared resource.
* src/gui/window.cpp, src/gui/gui.h: Removed unnecessary
Gui::isCustomCursor method.
* src/gui/char_select.h, src/gui/char_select.cpp, src/utils/trim.h:
Added trimming of name for new character creation.
* src/net/chathandler.cpp: Added trimming of chat messages appearing
above players.
* src/gui/window.cpp, src/gui/window.h: Improved resize mouse cursor
indication, removing duplicated code and fixing indicator above resize
grip.
2007-08-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/viewport.h, src/gui/viewport.cpp: Removed two useless popup
related methods.
* src/gui/debugwindow.h, src/gui/debugwindow.cpp: Use generic close
button functionality.
* src/particle.h, src/particleemitter.cpp, src/particle.cpp: Renamed
Particle::mVector to Particle::mVelocity for clarity.
* src/localplayer.cpp, src/gui/ministatus.cpp, src/gui/status.cpp,
src/being.cpp, src/net/charserverhandler.cpp,
src/net/playerhandler.cpp, src/localplayer.h, src/being.h: Changed XP
gaining effect to appear on the player instead.
* data/graphics/gui/hits_yellow.png: Restored shadow of yellow font.
2007-08-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/itemshortcutcontainer.h: Fixed compiler warning.
* src/CMakeLists.txt, src/Makefile.am: Updated source lists.
* data/graphics/gui/CMakeLists.txt, data/graphics/gui/Makefile.am:
Added close button and item shortcut backgrounds to files that will be
installed.
* src/gui/itemshortcutcontainer.cpp: Make sure mGridWidth and
mGridHeight are initialized properly (fixes arithmetic exception in
ItemShortcutContainer::draw).
* src/keyboardconfig.cpp: Changed default sitting key back to 's'.
* src/net/equipmenthandler.cpp: Removed a line that attempted to set
the player's weapon sprite with each kind of equipment. Seems to work
fine without as well.
* src/gui/chat.cpp, src/utils/trim.h, src/CMakeLists.txt,
src/Makefile.am: Added trimming of chat messages.
2007-08-22 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/chest-lightplatemail-male.png,
data/graphics/sprites/chest-lightplatemail-female.png,
data/graphics/items/armor-chest-lightplatemail.png,
data/graphics/tiles/woodland_indoor_x2.png: Another color correction
at the light platemail (looks more metalic now)
* data/maps/new_18-1.tmx.gz, data/maps/new_19-1.tmx.gz,
data/images/minimap_new_18-1.png, data/images/minimap_new_19-1.png:
Removed a tree that prevented people from sitting on one of the
benches properly. Added correct minimap to woodland village and
surrounding.
2007-08-22 Joshua Langley <joshlangley[at]optusnet.com.au>
* data/graphics/gui/item_shortcut_bgr.png, src/game.cpp,
src/gui/gui.cpp, src/gui/itemcontainer.cpp,
src/gui/itemshortcutcontainer.cpp, src/gui/itemshortcutcontainer.h,
src/gui/itemshortcutwindow.cpp, src/gui/itemshortcutwindow.h,
src/gui/menuwindow.cpp, src/gui/setup_keyboard.cpp, src/gui/window.h,
src/itemshortcut.cpp, src/itemshortcut.h, src/keyboardconfig.cpp,
src/keyboardconfig.h, src/localplayer.cpp, src/localplayer.h,
src/main.cpp, src/net/inventoryhandler.cpp, src/utils/tostring.h,
tmw.cbp: Added item shortcut bar.
2007-08-20 Joshua Langley <joshlangley[at]optusnet.com.au>
* data/graphics/gui/mouse.png, src/gui/equipmentwindow.cpp,
src/gui/gui.cpp, src/gui/gui.h, src/gui/inventorywindow.cpp,
src/gui/setup.cpp, src/gui/skill.cpp, src/gui/skill.h,
src/gui/status.cpp, src/gui/window.cpp, src/gui/window.h,
data/graphics/gui/close_button.png: Added close button functionality,
resize cursor cues.
* data/graphics/gui/hits_yellow.png, src/being.cpp, src/being.h,
src/gui/gui.cpp, src/localplayer.cpp, src/localplayer.h,
src/net/charserverhandler.cpp, src/net/playerhandler.cpp,
src/particle.cpp, src/particle.h: Added monster killed xp notification
effect.
2007-08-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/equipment.xml: Fixed typo in female light plate mail.
* NEWS: Updated with changes since 0.0.23.
* src/CMakeLists.txt: Updated CMake file.
2007-08-19 Joshua Langley <joshlangley[at]optusnet.com.au>
* src/keyboardconfig.cpp, src/keyboardconfig.h: Minor cleanup.
* src/gui/buy.cpp, src/gui/sell.cpp: Buy/sell fixed minimum quantity.
* src/gui/setup_keyboard.cpp, src/gui/setup_keyboard.h: Fixed bug -
reverts unassigned key.
2007-08-19 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/localplayer.h: Fixed typo.
2007-08-18 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/localplayer.cpp, src/gui/status.cpp, src/net/protocol.h,
src/net/playerhandler.cpp, src/localplayer.h: Adapted to new server
handling of character attributes.
2007-08-17 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tools/adler32.c: Added little program for calculating adler32
checksums of files.
* src/gui/setup_keyboard.cpp: Fixed compile issue related to array
bound not being an integer constant.
2007-08-15 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/npcs.png, data/graphics/sprites/npc.xml:
Added farmer NPC for woodland village.
2007-08-14 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/popupmenu.cpp, src/gui/viewport.cpp, src/gui/viewport.h,
tmw.cbp: Fixed popup menu requiring one more click after being used.
2007-08-14 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/messagein.h, src/net/messagein.cpp: Fixed error-prone
interface.
* src/net/inventoryhandler.cpp: Handled money as an inventory part.
* src/gui/sell.cpp, src/gui/buy.cpp, src/net/gameserver/player.h,
src/net/gameserver/player.cpp: Enabled buying and selling from NPCs.
* src/gui/trade.cpp, src/gui/trade.h, src/net/tradehandler.cpp,
src/net/protocol.h: Removed old code. Added support for money received
while trading.
2007-08-14 Josh Langley <joshlangley[at]optusnet.com.au>
* gui/button.cpp, gui/inventorywindow.cpp, gui/inventorywindow.h,
gui/item_amount.cpp, gui/item_amount.h, gui/itemcontainer.cpp,
gui/itemcontainer.h, gui/popupmenu.cpp, gui/trade.cpp, inventory.cpp,
inventory.h, localplayer.cpp, localplayer.h, net/gameserver/player.cpp,
net/gameserver/player.h, net/protocol.h: Inventory Window Slots created.
2007-08-13 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* po/tmw.pot, po/fr.po: Updated .po files, so that people can start
translating the whole interface, almost.
* po/fr.po: Updated French translation.
* src/gui/sell.cpp, src/gui/shop.cpp, src/gui/shop.h, src/gui/buy.h,
src/gui/buy.cpp, src/gui/sell.h, src/net/buysellhandler.cpp,
src/net/protocol.h: Started conversion of buy/sell to new server.
2007-08-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/main.cpp, tmw.cbp: Fixed internationalization support on Windows.
* po/it.po, po/LINGUAS: Added first draft of Italian translation.
2007-08-10 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/npclistdialog.cpp, src/gui/npclistdialog.h,
src/net/npchandler.cpp: Removed colon in NPC choice messages.
2007-08-09 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/chest-lightplatemail-male.png,
data/graphics/sprites/chest-lightplatemail-female.png,
data/graphics/items/armor-chest-lightplatemail.png,
data/graphics/tiles/woodland_indoor_x2.png: Gave the platemail
armor a blue tint. Looks less boring and makes recoloring through
hue shifting possible.
2007-08-09 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* po/POTFILES.in: Updated list of translatable source files.
2007-08-08 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/equipmentwindow.cpp, data/graphics/gui/Makefile.am,
data/graphics/images/EquipBackground.png: Moved equipment background
to the gui directory. Changed name to lowercase only.
* src/localplayer.cpp, src/equipment.h, src/equipment.cpp: Ensured
that equipment is cleared at the same time as the inventory.
* src/net/beinghandler.cpp: Fixed position of the cleaning bit for
looks, so that it actually fits into network data.
2007-08-08 Josh Langley <joshlangley[at]optusnet.com.au>
* src/equipment.h, src/gui/equipmentwindow.cpp,
src/gui/equipmentwindow.h, src/localplayer.cpp,
src/net/gameserver/player.cpp, src/net/gameserver/player.h,
data/graphics/images/EquipBackground.png: Re-designed equipment
window, un-equip created.
2007-08-08 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/particles/cookingfire.particle.xml,
data/graphics/particles/fireplace.particle.xml,
data/maps/new_20-1.tmx.gz: Added particle effects and music to the
woodland village indoor map.
* data/maps/new_19-1.tmx.gz: Added overlay effect and music to
woodland village outdoor map.
* data/maps/new_18-1.tmx.gz: Fixed some collision map errors and added
music and overlay effect to the surrounding of the woodland village.
2007-08-07 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/npcs.png: Added two new NPCs and gave some
of the older NPCs a makeover to look more like the style of the new
playerset.
* data/maps/new_20-1.tmx.gz: Corrected a few mapping errors in the
new woodland village.
* data/items.xml: Tweaked description and values of the scythe.
2007-08-07 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* po/Makevars, src/main.cpp: Replaced PACKAGE by tmw to reduce
preprocessing hell. Set gettext charset to utf8.
* src/gui/menuwindow.cpp, src/gui/connection.cpp,
src/gui/register.cpp, src/gui/equipmentwindow.cpp,
src/gui/quitdialog.cpp, src/gui/login.cpp, src/gui/item_amount.cpp,
src/gui/npclistdialog.cpp, src/gui/setup.cpp, src/gui/char_select.cpp,
src/gui/setup_audio.cpp, src/gui/npc_text.cpp,
src/gui/setup_video.cpp, src/gui/ministatus.cpp,
src/gui/ok_dialog.cpp, src/gui/confirm_dialog.cpp,
src/gui/setup_joystick.cpp, src/gui/serverdialog.cpp,
src/gui/minimap.cpp, src/gui/popupmenu.cpp: Marked as translatable.
* src/gui/trade.cpp, src/gui/equipmentwindow.cpp, src/gui/window.cpp,
src/gui/inventorywindow.h, src/gui/chat.cpp, src/gui/debugwindow.cpp,
src/gui/skill.cpp, src/gui/help.cpp, src/gui/inventorywindow.cpp,
src/gui/window.h, src/gui/status.cpp, src/gui/popupmenu.cpp,
src/gui/minimap.cpp: Fixed window dimensions not being restored at
start time. Cleaned resizing notification. Improved access control on
window members.
* data/items.xml, data/equipment.xml: Modified item database, so that
equipment can be tested.
2007-08-06 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/Makefile.am, src/utils/strprintf.h, src/utils/strprintf.cpp:
Added a helper function for printf-formatting a (gettext) C string
into a dynamically-sized C++ string.
* src/gui/inventory.cpp: Completed marking of translatable strings for
inventory window.
* po/tmw.pot: Updated with new translatable strings.
* po/fr.po: Completed translation of inventory window in French.
* src/resources/gettext.h, src/main.cpp: Moved header to utils
directory.
* src/utils/tostring.h: Fixed typo in macro guard.
* po/Makefile.in.in, po/remove-potcdate.sin, configure.ac,
Makefile.am, autogen.sh: Used autopoint for generating gettext
environment, and removed conflicting files.
2007-08-05 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/woodland_indoor.png,
data/graphics/tiles/woodland_indoor_x2.png,
data/graphics/tiles/woodland_indoor_x3.png: Added woodland
village indoor tilesets.
* data/maps/new_20-1.tmx.gz: Added woodland village indoor map.
2007-08-05 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* configure.ac, Makefile.am, po, src/Makefile.am, src/main.cpp,
src/resources/gettext.h: Added support for internationalization.
* src/gui/inventorywindow.cpp: Marked a few strings as translatable
for testing purpose.
* po/tmw.pot: Generated the main template.
* po/LINGUAS, po/fr.po: Added French translation.
2007-08-01 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/item.cpp, src/item.h: Fixed update of equipment flag, so that
items can be equipped properly.
2007-07-31 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/equipmenthandler.cpp, src/net/equipmenthandler.h,
src/Makefile.am, src/game.h, src/game.cpp: Deleted dead handler.
* src/net/buysellhandler.cpp, src/net/skillhandler.cpp,
src/net/protocol.h: No need to compile legacy handlers.
* src/localplayer.cpp, src/item.cpp, src/inventory.h,
src/gui/trade.cpp, src/gui/equipmentwindow.cpp, src/item.h,
src/gui/inventorywindow.cpp, src/gui/itemcontainer.cpp,
src/gui/trade.h, src/gui/popupmenu.cpp, src/inventory.cpp,
src/equipment.h, src/net/tradehandler.cpp, src/equipment.cpp,
src/localplayer.h: Removed legacy inventory code.
* src/net/inventoryhandler.cpp: Added display of equipment.
2007-07-29 Björn Steinbrink <B.Steinbrink@gmx.de>
* CMake/Modules/FindLibXml2.cmake, CMake/Modules/FindLibcurl.cmake,
src/CMakeLists.txt: Switch to upstream CMake modules for libxml2 and
curl.
2007-07-29 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/localplayer.cpp, src/gui/trade.cpp, src/net/tradehandler.cpp,
src/net/gameserver/player.h, src/net/gameserver/player.cpp,
src/net/protocol.h: Converted trading to new server.
2007-07-27 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/resources/image.cpp: Added support for subimages of subimages.
* src/gui/equipmentwindow.cpp, src/gui/button.cpp, src/gui/slider.cpp,
src/gui/widgets/resizegrip.cpp, src/gui/widgets/dropdown.cpp,
src/gui/progressbar.cpp, src/gui/browserbox.cpp, src/gui/gui.cpp,
src/gui/radiobutton.cpp, src/gui/textfield.cpp, src/gui/playerbox.cpp,
src/gui/itemcontainer.cpp, src/gui/checkbox.cpp, src/gui/minimap.cpp,
src/gui/scrollarea.cpp, src/gui/popupmenu.cpp: Removed useless yet
costly dynamic casts.
2007-07-25 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/beinghandler.cpp, src/net/protocol.h: Added being speed to
protocol.
2007-07-25 Joshua Langley <joshlangley[at]optusnet.com.au>
* src/gui/setup.cpp, src/gui/setup_keyboard.cpp,
src/gui/setup_keyboard.h, src/keyboardconfig.cpp,
src/keyboardconfig.h, src/main.cpp: Minor changes to keyboard config,
keyboard setup gui re-designed.
2007-07-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt, src/Makefile.am: Added setup_keyboard.* and
keyboardconfig.* to the list of source files.
* src/keyboardconfig.h: Fixed initialization order.
2007-07-23 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_1-1.tar.gz, data/maps/new_3-1.tar.gz: Fixed warp
coordinates.
2007-07-23 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/main.cpp, src/game.cpp: Fixed segfault on exit when OpenGL
configuration changed.
* src/beingmanager.cpp: Removed dead code.
* src/npc.cpp, src/npc.h, src/net/protocol.h, src/net/npchandler.cpp,
src/net/gameserver/player.cpp, src/net/gameserver/player.h: Converted
to new server.
* src/beinghandler.cpp: Added support for NPCs.
2007-07-22 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_1-1.tar.gz: Fixed insecure filenames.
2007-07-17 Joshua Langley <joshlangley[at]optusnet.com.au>
* src/game.cpp: Only one key per function.
* src/main.cpp: Keyboard configuration included.
* src/gui/button.cpp, src/gui/button.h: Default constructor and
init function added.
* src/gui/setup.cpp: Keyboard setup tab added.
* src/gui/setup_keyboard.cpp, src/gui/setup_keyboard.h: Add to project
file, it is the keyboard setup tab.
* src/keyboardconfig.cpp, src/keyboardconfig.h: Add to project file,
the main keyboard config operations.
2007-07-16 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/items.xml: Fixed description of silk headband.
* data/maps/new_1-1.tar.gz, data/maps/new_3-1.tar.gz: Added warp and
spawn areas.
2007-07-14 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/beinghandler.cpp, src/net/protocol.h: Reduced size of
equipment packets.
2007-07-12 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/beinghandler.cpp, src/net/beinghandler.h,
src/net/protocol.h: Added support for visible equipment.
2007-07-11 Philipp Sehmisch <tmw@crushnet.org>
* src/resources/monsterdb.cpp, src/resources/monsterinfo.cpp,
src/resources/monsterinfo.h, src/monster.cpp: Renamed SoundEvent
to MonsterSoundEvent.
* src/resources/equipmentdb.cpp, src/resources/equipmentinfo.cpp,
src/resources/equipmentinfo.h: EquipmentDB now holds the type of
attack animation and the sounds of weapons.
* src/being.cpp. src/being.h, src/localplayer.cpp,
src/net/beinghandler.cpp, src/net/charserverhandler.cpp,
src/net/equipmenthandler.cpp, src/player.cpp, src/player.h: The
type of weapon player characters are using is now set using
setVisibleEquipment() instead of setWeapon() or setWeaponById().
* src/CMakeLists.txt, src/Makefile.AM, tmw.cbp, The Mana World.dev:
Updated project files and buildscripts.
* data/graphics/images/login-wallpaper.png: Replaced login wallpaper
with a new one by Irukard.
2007-07-11 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/window.cpp: Fixed resizing windows by their resize grip.
2007-07-08 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/player.cpp, src/player.h, src/localplayer.h, src/being.h:
Changed signatures to prevent the wrong members to be overloaded on
architectures with 64-bit integers and to shut some compiler warnings.
* src/localplayer.cpp: Fixed some uninitialized variables.
2007-07-07 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/gui.cpp, src/gui/chatinput.h, src/gui/chatinput.cpp,
INSTALL: Ported to Guichan 0.7.0. Unfortunately, since Guichan 0.6.x
didn't have a FocusListener, compatibility with older versions is
broken.
2007-06-30 Philipp Sehmisch <tmw@crushnet.org>
* src/main.cpp: Changed include order to avoid a problem with guichan
on windows.
* src/net/beinghandler.cpp: Implemented getting the direction of
attacks from the server.
2007-06-29 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particleemitter.cpp: Corrected some
perspective issues of the particle engine and fixed a crash caused by
particles with child emitters that have an image than isn't used
elsewhere.
* data/maps/new-3-1.tmx.gz: Added a particle effect at the spawn point
in Tulimshar.
2007-06-21 Philipp Sehmisch <tmw@crushnet.org>
* data/monsters.xml, data/graphics/sprites/monster-logmonster.png,
data/graphics/sprites/monster-logmonster.xml: Added logmonster by
Enigmatik (Monster ID is 23).
* data/items.xml, data/equipment.xml,
data/graphics/items/armor-chest-lightplatemail.png,
data/graphics/sprites/chest-lightplatemail-male.xml,
data/graphics/sprites/chest-lightplatemail-male.png,
data/graphics/sprites/chest-lightplatemail-female.png,
data/graphics/sprites/chest-lightplatemail-female.xml:
Added light platemail (see entry in items.xml for proposed specs).
2007-06-16 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/resources/image.cpp: Set GL texture index to zero when an image
uses the SDL backend.
2007-06-15 Eugenio Favalli <elvenprogrammer@gmail.com>
* tmw.cbp: Updated Code::Blocks project file.
2007-06-13 Philipp Sehmisch <tmw@crushnet.org>
* The Mana World.dev: Updated DevCpp project file.
2007-06-13 Philipp Sehmisch <tmw@crushnet.org>
* src/main.cpp: Added logging of version number.
2007-06-12 David Athay <ko2fan@gmail.com>
* data/icons/The Mana World.icns: Added Mac OSX icon.
2007-06-11 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.h, src/being.cpp: Fixed a bug that prevented
being-controlled particles from being deleted (thanks to tuchs for
reporting).
2007-06-06 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/items.xml: Fixed defense of silk headband.
2007-06-04 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/maps/new_17-1.tmx.gz: Changed the minimap image of the
lamp snake cave to the correct one.
2007-06-03 David Athay <ko2fan@gmail.com>
* src/main.cpp, src/game.cpp: Fixed screenshot taking on OSX.
2007-06-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt, src/Makefile.am, docs/Makefile.am: Added some
files to be included with the release.
* src/utils/fastsqrt.h: Fixed warning about strict-aliasing rules.
* src/Makefile.am: Don't die on warnings by default.
* src/resources/image.cpp: Fixed image loading in software mode to not
check for alpha layer when images aren't 32-bit.
* src/graphics.cpp, src/graphics.h, src/imageparticle.cpp: Removed
drawImageTransparent from Graphics class, should be set on image.
* src/imageparticle.h, src/particleemitter.h, src/particle.h,
src/particleemitter.cpp, src/particle.cpp, src/imageparticle.cpp: Have
ParticleEmitter load a possible particle image early on and don't
cause a crash when the image can't be found.
2007-06-02 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/winver.h, README, NEWS, CMakeLists.txt, configure.ac,
data/help/changes.txt, data/help/header.txt: Updated version and
release date and summarized changes.
* src/gui/chat.h, src/gui/chat.cpp: Changed color of chat messages in
OpenGL mode from orange to black.
* src/gui/sell.cpp, src/gui/buy.h, src/gui/buy.cpp, src/gui/sell.h:
Some cleanup of buy/sell dialog code.
2007-06-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/gui/CMakeLists.txt, data/graphics/gui/Makefile.am:
Added target cursors to installed files.
2007-05-31 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_16-1.tmx.gz: Fixed an inconsistency with the neighbor
map (no new walkmap required).
2007-05-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/sell.cpp, src/gui/buy.cpp, src/being.cpp: A bunch of
lingering syntactical changes.
* src/gui/viewport.cpp: Added a missing include and fixed a bug with
cleaning up target cursor animations.
2007-05-23 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/viewport.cpp,
data/graphics/gui/target-cursor-blue-s.png,
data/graphics/gui/target-cursor-blue-m.png,
data/graphics/gui/target-cursor-blue-l.png,
data/graphics/gui/target-cursor-red-s.png,
data/graphics/gui/target-cursor-red-m.png,
data/graphics/gui/target-cursor-red-l.png: Replaced target cursor
graphics with higher quality ones by Pauan.
* src/particle.cpp: Made bouncing particles immune against death by
ground contact and removed a nonsensical debugging log message. Made
text splash effects fade out.
* src/textparticle.cpp: Implemented fading in and out for text
particles.
* src/being.cpp, src/particle.cpp, src/particle.h,
src/textparticle.cpp, src/textparticle.h: The color values of text
particles are now stored in 3 integers instead of a Guichan color
structure.
2007-05-20 Eugenio Favalli <elvenprogrammer@gmail.com>
* tmw.cbp: Updated Code::Blocks project file.
2007-05-20 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/buy.cpp, src/gui/sell.cpp: Unified some differences between
buy and sell dialog. Money label now shows money after transaction
instead of current money.
* src/gui/sell.cpp: Fixed the amount-not-reset-when-using-scrollwheel
bug.
* src/being.h, src/gui/viewport.cpp, src/gui/viewport.h: Added 3
different target cursor sizes.
* src/monster.h, src/monster.cpp, src/resources/monsterdb.cpp,
scr/resources/monsterinfo.h, data/monsters.xml: Target cursor size for
monster is read from the monsters.xml.
* data/graphics/gui/target-cursor-blue-s.png,
data/graphics/gui/target-cursor-blue-m.png,
data/graphics/gui/target-cursor-blue-l.png,
data/graphics/gui/target-cursor-red-s.png,
data/graphics/gui/target-cursor-red-m.png,
data/graphics/gui/target-cursor-red-l.png: Added temporary
placeholders for small and large target cursors until better versions
based on the original SVG are available.
2007-05-08 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/monster-bat.png,
data/graphics/sprites/monster-bat.xml,
data/graphics/sprites/monster-flower.xml,
data/graphics/sprites/monster-fluffy.xml,
data/graphics/sprites/monster-fluffy.png,
data/graphics/sprites/monster-goblin-fire.xml,
data/graphics/sprites/monster-maggot-giant.xml,
data/graphics/sprites/monster-maggot.xml,
data/graphics/sprites/monster-mountsnake.xml,
data/graphics/sprites/monster-mushroom-red.xml,
data/graphics/sprites/monster-mushroom-spiky.xml,
data/graphics/sprites/monster-pinkie.xml,
data/graphics/sprites/monster-scorpion-black.xml,
data/graphics/sprites/monster-scorpion-red.png,
data/graphics/sprites/monster-scorpion-red.xml,
data/graphics/sprites/monster-skull-poison.xml,
data/graphics/sprites/monster-slime-green.xml,
data/graphics/sprites/monster-slime-red.xml,
data/graphics/sprites/monster-slime-rudolph.xml,
data/graphics/sprites/monster-slime-santa.png,
data/graphics/sprites/monster-slime-santa.xml,
data/graphics/sprites/monster-slime-yellow.xml,
data/graphics/sprites/monster-snake-cave.png,
data/graphics/sprites/monster-snake-cave.xml,
data/graphics/sprites/monster-snake.xml,
data/graphics/sprites/monster-spider.xml:
Adjusted offsets of monster sprites (thanks to Pauan for finding out
the correct offsets - I just subtracted 6 of all x offsets to take the
new position of the target circle in account) and committed some
modifications at some monster graphics by Pauan.
2007-05-02 Philipp Sehmisch <tmw@crushnet.org>
* src/sprite.h, src/being.cpp, src/being.h, src/animatedsprite.cpp,
src/animatedsprite.h: Added methods to get the width and height of the
graphical representation of a sprite.
* src/gui/viewport.cpp: Fixed positioning of monster names and target
circles.
2007-05-02 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp: Fixed a compiler warning.
2007-05-02 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am: Add the new particle subclasses to the automake
configuration.
* src/imageparticle.h, src/textparticle.h, src/particle.h,
src/animationparticle.h, src/CMakeLists.txt, src/particleemitter.cpp,
src/animationparticle.cpp, src/particle.cpp, src/imageparticle.cpp,
src/textparticle.cpp, src/utils/xml.cpp, src/utils/xml.h: Split the
particle class into subclasses based on their appearance.
2007-04-24 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h: Some minor code cleanups, speed
optimizations and a bit of documentation.
2007-04-23 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/particles/flame.particle.xml,
data/graphics/particles/blaze.png: Added two files I forgot with the
last commit.
* src/resources/mapreader.cpp, src/particle.cpp,
src/particleemitter.cpp: Using XML child node iteration macro.
2007-04-22 Björn Steinbrink <B.Steinbrink@gmx.de>
* CMake/Modules/FindENet.cmake: Fixed ENet status always being set to
"found".
* src/configuration.cpp, src/utils/xml.h, src/resources/mapreader.cpp,
src/resources/spritedef.cpp, src/resources/monsterdb.cpp,
src/resources/itemdb.cpp, src/resources/equipmentdb.cpp: Added a macro
for XML child node iterations to make the code more terse and easier
to read.
* src/resources/itemdb.cpp: Made the parameter checks more terse and
manageable.
2007-04-19 Philipp Sehmisch <tmw@crushnet.org>
* src/resources/mapreader.cpp: Emitter positions are now read from map
files.
* src/engine.cpp: Removed the player follow effect used for testing.
* data/maps/new_4-1.tmx.gz, data/maps/new_5-1.tmx.gz: Added flame
effect to all lamps on the cave maps
* data/maps/new_9-1.tmx.gz: Added waterfall effect to the upper right
corner of NW woodland map.
2007-04-15 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/openglgraphics.cpp: Rely on default 0 value for z axis.
* src/CMakeLists.txt, src/gui/window.cpp, src/gui/widgets,
src/gui/widgets/resizegrip.cpp, src/gui/widgets/resizegrip.h,
src/gui/inventorywindow.cpp, src/gui/window.h, src/Makefile.am:
Reimplemented window resizing. It is now once again possible to resize
windows using their borders (except for the top one, since that's the
title bar for Guichan) and the resize grip in the bottom right is much
easier to grab.
* src/gui/window.cpp: Increased minimum window height and fixed a
problem with setting window content size which was introduced with the
new resize grip.
2007-04-13 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/gui/CMakeLists.txt: Added target cursor graphics to
the set of files to be installed.
2007-04-05 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/main.cpp: Unified storage of configuration, updates and
screenshots in home directory.
2007-04-03 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/items/generic-easteregg-blue.png,
data/graphics/items/generic-easteregg-green.png,
data/graphics/items/generic-easteregg-pink.png,
data/graphics/items/generic-easteregg-red.png,
data/graphics/items/generic-easteregg-teal.png,
data/graphics/items/generic-easteregg-yellow.png,
data/items.xml: Added six different easter egg item graphics for the
easter event. Item IDs are 1208 - 1213.
* data/graphics/sprites/npcs.png: Added bunny girl npc for the easter
event.
2007-04-01 Philipp Sehmisch <tmw@crushnet.org>
* src/game.cpp: Screenshots are no longer saved directly in the users
home directory on UNIX systems but in the sub folder /.tmw/. A chatlog
message about the success of the screenshot saving does appear now.
Based on a patch by Patrick "the-me" Matthäi.
2007-03-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp: Icon loading doesn't necessarily succeed, so better
not crash when it doesn't.
2007-03-25 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Improved programming style and documentation
and added some small tweaks.
* src/engine.cpp, src/map.cpp, src/map.h, src/resources/mapreader.cpp:
Prepared getting the emitter positions from the map file by storing
them in the Map class and setting them up from the MapReader.
2007-03-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp: Changed the order of network message handling and
logic, in order to prevent an incoming character delete message from
deleting the player character that was about to be drawn.
* src/gui/char_select.cpp: Removed useless lock/unlock calls.
* src/net/charserverhandler.cpp: Fixed crash since now logic is called
after non-selected characters are deleted, by properly setting deleted
instances to 0 and going back to initial selection.
* src/gui/register.h, src/gui/register.cpp: Only enable Register
button when all necessary fields are filled in.
2007-03-23 Eugenio Favalli <elvenprogrammer@gmail.com>
* tmw.cbp: Updated and fixed Code::Blocks project file.
2007-03-23 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/char_select.cpp, src/gui/inventorywindow.cpp,
src/gui/ministatus.cpp, src/gui/ministatus.h, src/gui/skill.cpp,
src/gui/skill.h, src/gui/status.cpp, src/gui/status.h,
src/localplayer.cpp, src/localplayer.h, src/net/buysellhandler:
Redesigned the localplayer class to use getters and setters instead of
direct access to the member variables.
* src/net/charserverhandler.cpp, src/net/playerhandler.cpp,
src/net/protocol.h: Implemented communication of attributes between
server and client.
2007-03-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/char_select.cpp, src/gui/char_select.h,
src/net/charserverhandler.h, src/net/charserverhandler.cpp: Made sure
the character creation dialog doesn't close when creation failed.
2007-03-22 Philipp Sehmisch <tmw@crushnet.org>
* src/simpleanimation.cpp, src/simpleanimation.h: Added new
constructor for simple animation that allows to build the animation
based on an xmlNodePtr pointing to an <animation> node.
* src/particle.cpp, src/particle.h: Added support for <image> and
<animation> childtags for effect root particles.
* data/graphics/particles/playerglow.particle.xml: New player follow
effect that demonstrates an animated root particle with an emitter.
2007-03-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/login.cpp, src/gui/login.h, src/gui/register.h,
src/gui/register.cpp: Only enable login button when a username,
password and server are filled in. Pass username, password and server
on to the register dialog. Made the register dialog a bit wider.
* src/main.cpp, data/icons/CMakeLists.txt, data/icons/Makefile.am,
data/icons/tmw-32x32.png: Use a 32x32 non-alpha layered window icon.
* tmw.cbp: Updated project file.
* data/icons/CMakeLists.txt, data/icons/Makefile.am, src/main.cpp,
data/icons/tmw-32x32.png: Removed 32x32 non-alpha layered window icon
again, and instead used the icon in the executable on Windows.
2007-03-21 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp, src/gui/viewport.cpp, src/resources/image.h,
src/resources/image.cpp: Reduced amount of useless logging, calculate
nearest power of two in a function and only do the alpha check in
software mode.
* src/gui/login.cpp: Fixed small issue where default server didn't fit
in the server entry field properly.
* src/main.cpp: Display the version using a gcn::Label.
* src/gui/viewport.cpp, src/monster.h: Avoiding magic numbers where
possible (1002) and also display the target when other players are
targeted.
* src/floor_item.cpp, src/being.cpp, src/main.cpp, src/CMakeLists.txt,
src/gui/equipmentwindow.cpp, src/gui/viewport.cpp,
src/gui/itemcontainer.cpp, src/gui/viewport.h, src/engine.cpp,
src/animatedsprite.cpp, src/tileset.h, src/npc.cpp, src/Makefile.am,
src/being.h, src/resources/imageset.cpp, src/resources/animation.h,
src/resources/spritedef.cpp, src/resources/resourcemanager.h,
src/resources/spriteset.h, src/resources/imageset.h,
src/resources/resourcemanager.cpp, src/resources/spriteset.cpp,
src/resources/spritedef.h: Renamed Spriteset to ImageSet.
2007-03-20 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/updatewindow.cpp: Cancel button is now disabled after
downloading is finished.
2007-03-20 David Athay <ko2fan@gmail.com>
* src/gui/viewport.cpp: Fixed target cursor animation, and changed
which layer it is drawn after.
* src/gui/viewport.cpp, src/gui/viewport.h: Split drawing the target
cursor and target name into functions.
2007-03-20 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/gui/mouse.png: Positioned the cursor image more
accurate.
* src/gui/char_select.cpp, src/gui/char_select.h,
src/net/charserverhandler.cpp, src/net/protocol.h: Implemented a GUI
for distributing the characters attributes at character creation.
2007-03-19 David Athay <ko2fan@gmail.com>
* src/localplayer.cpp, src/gui/viewport.cpp, src/gui/viewport.h,
src/net/equipmenthandler.cpp, src/localplayer.h,
src/net/protocol.h: Added target cursor.
2007-03-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* docs/Makefile.am, docs/tmw.6: Added man page by Patrick Matthäi.
* src/resources/image.cpp: Restored alpha layer check, since it should
be more efficient in software mode when SDL knows an image doesn't use
the alpha layer.
* data/graphics/gui/thickborder.png,
data/graphics/gui/vscroll_grey.png, data/graphics/gui/slider.png,
data/graphics/gui/vscroll_blue.png, data/graphics/gui/vscroll_red.png,
data/graphics/gui/deepbox.png,
data/graphics/sprites/monster-slime-red.png,
data/graphics/sprites/monster-scorpion-black.png,
data/graphics/sprites/monster-scorpion.png,
data/graphics/sprites/monster-slime-rudolph.png,
data/graphics/sprites/monster-snake.png,
data/graphics/sprites/monster-slime-santa.png,
data/graphics/sprites/monster-maggot.png,
data/graphics/sprites/monster-spider.png,
data/graphics/sprites/monster-scorpion-red.png,
data/graphics/sprites/monster-slime-yellow.png,
data/graphics/sprites/monster-slime-green.png,
data/graphics/sprites/monster-maggot-giant.png: Replaced pink pixels
with transparent ones.
2007-03-18 Rogier Polak <rogier.l.a.polak@gmail.com>
* src/main.cpp: Added (-v) version to the arguments. (Applied a patch
by Patrick Matthäi).
* src/resources/image.cpp: Deleted the "pink code", which added
transparancy with SDL_SetColorKey.
2007-03-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* icons/tmw.ico, icons/tmw.png, icons/tmw.xpm: Replaced icons with the
green globe that is also used on the website.
2007-03-16 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/char_select.cpp, src/net/accountserver/account.cpp,
src/net/accountserver/account.hpp: Implemented 7 attribute system
in character creation.
2007-03-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp, src/tmw.rc, data/icons/tmw-icon.png,
data/icons/tmw-icon.xpm, data/icons/tmw.ico, data/icons/tmw-icon.ico,
data/icons/Makefile.am, data/icons/tmw.png, data/icons/tmw.xpm,
data/icons/CMakeLists.txt: Renamed icons to make things easier for
Debian packaging, and the "-icon" part was superfluous anyway.
2007-03-12 Philipp Sehmisch <tmw@crushnet.org>
* src/simpleanimation.cpp, src/simpleanimation.h, src/CmakeLists.txt,
src/Makefile.am: Added a simple animation class that hosts a looping
animation without the action and direction stuff from AnimatedSprite.
* src/particle.cpp, src/particle.h, src/particleemitter.cpp: Used said
simple animation class for animated particles.
2007-03-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/items/armor-head-rangerhat.png: New version of ranger
hat icon by Pauan.
2007-03-11 Philipp Sehmisch <tmw@crushnet.org>
* src/map.cpp, src/gui/viewport.cpp: Fixed a bug that made the engine
not draw the last row and column of the map.
2007-03-09 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp: Reimplemented physics mode that uses the default
square root function as fallback for systems where the fastInvSqrt
function doesn't work properly.
* src/particle.cpp, src/particle.h: Some performance optimizations
suggested by Rogier "Avaniel" Polak.
2007-03-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/gui/target-cursor-blue.png,
data/graphics/gui/target-cursor-red.png: Added targeting cursors by
Pauan.
* data/graphics/sprites/chest-cotton-male.png,
data/graphics/sprites/chest-cotton-female.png: Replaced cotton shirt
with improved version by Pauan.
2007-03-03 Rogier Polak <rogier.l.a.polak@gmail.com>
* src/main.cpp: Fixed a minor annoyance regarding
auto-character-select and switch_character.
2007-03-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt: Updated CMake file.
* src/Makefile.am: Updated Makefile.
2007-03-01 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp, src/being.h, src/localplayer.cpp, src/monster.cpp,
src/monster.h, src/net/beinghandler.cpp, src/net/beinghandler.h,
src/net/gameserver/player.cpp, src/net/gameserver/player.h,
src/net/protocol.h: Implemented communication of being action changes.
2007-02-27 Philipp Sehmisch <tmw@crushnet.org>
* gui/button.cpp, src/guibutton.h,
src/gui/tabbedcontainer.cpp, src/gui/tabbedcontainer.h:: Tabbed
containers now display the button of the active tab pressed all
the time.
* src/game.cpp, src/gui/chat.cpp, src/gui/chat.h, src/chathandler.cpp,
src/net/chatserver/chatserver.cpp, src/net/chatserver/chatserver.h,
src/channel.cpp, src/channel.h, src/channelmanager.cpp,
src/channelmanager.h src/net/protocol.h: Implementation of chat
channels by Trapdoor.
* src/graphics.h: MSVC Compilation fix by Trapdoor.
2007-02-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac: Made OpenGL enabled by default.
2007-02-26 Philipp Sehmisch <tmw@crushnet.org>
* data/sfx/maggot-dying1.ogg, data/sfx/maggot-hit1.ogg,
data/sfx/maggot-hit2.ogg, data/sfx/maggot-miss1.ogg,
data/sfx/pinkie-hit1.ogg, data/sfx/pinkie-miss1.ogg,
data/monsters.xml: New sound effects by Cosmostrator.
2007-02-25 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.h, src/particleemitter.h: Just some documentation work.
2007-02-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt: Updated CMake file.
2007-02-25 Rogier Polak <rogier.l.a.polak@gmail.com>
* src/main.h, src/main.cpp, src/game.h, src/game.cpp,
src/gui/char_select.cpp, src/net/charserverhandler.cpp: Fixed small
issue concerning SDL timers, removed a useless variable.
2007-02-23 Rogier Polak <rogier.l.a.polak@gmail.com>
* src/gui/char_select.h, src/gui/char_select.cpp,
src/gui/unregisterdialog.h, src/gui/unregisterdialog.cpp,
src/net/accountserver/account.h, src/net/accountserver/account.cpp,
src/gui/quitdialog.h, src/gui/quitdialog.cpp,
src/net/accountserver/accountserver.h,
src/net/accountserver/accountserver.cpp, src/net/loginhandler.cpp,
src/net/logouthandler.h, src/net/logouthandler.cpp, src/net/protocol.h,
src/net/gameserver/gameserver.h, src/net/gameserver/gameserver.cpp,
src/game.cpp, src/main.h, src/main.cpp: Added unregistering,
logout_then_exit, switch_character and switch_accountserver.
* src/lockedarray.h: Added a clear function that keeps the original
size and data type.
* src/logindata.h: Added a clear function.
2007-02-22 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Added new particle property "bounce" that makes
particles bounce off the ground and use it with the damage numbers.
2007-02-21 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/char-server.cpp, src/gui/updatewindow.cpp, src/gui/main.cpp,
src/gui/main.h: Added a new state "LOADDATA_STATE" that loads the XML
databases.
* src/resourcemanager.cpp, src/resourcemanager.h, src/main.cpp,
customdata/: Added a customdata dir that allows to add custom user
data easily. Just create a zip file with the same structure like the
update archives and drop it in the customdata folder and the files in
it override the default data and the updates.
2007-02-20 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/log.cpp: Applied patch by trapdoor to fix the usage of a
deprecated function on MacOS X 10.4 and later.
* src/being.cpp, src/monster.cpp, src/net/beinghandler.cpp,
src/localplayer.h, src/being.h, src/monster.h: Now different sounds
can play when a monster misses the player.
* src/main.cpp: Applied patch by trapdoor which makes TMW use a more
standard location for the data on MacOS X.
2007-02-17 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/help/header.txt, NEWS, README: Updated release date.
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/CMakeLists.txt, data/graphics/CMakeLists.txt:
Excluded sprites directory from installed files.
2007-02-16 Rogier Polak <rogier.l.a.polak@gmail.com>
* src/gui/updatewindow.cpp: Fixed the update bug (hopefully), by
modifying the usage of the synchronisation between threads. Added a
check for existence of the updated file.
2007-02-15 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/winver.h, README, configure.ac, data/help/header.txt, NEWS,
CMakeLists.txt: Changed version to 0.0.22.2.
2007-02-15 Philipp Sehmisch <tmw@crushnet.org>
* src/engine.cpp: The name conflict problem with Guichan seems to be
solved with version 0.6.1.
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Added support for animated particles.
* data/graphics/particles/playerglow.particle.xml: Created a new
player follow particle that spawns a swarm of animated bats that
follow the player.
2007-02-13 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/register.cpp, src/logindata.h, src/main.cpp: Fixed the _M/_F
username bug.
2007-02-11 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_1-9.tmx.gz, data/maps/new_1-14.tmx.gz,
data/maps/new_1-16.tmx.gz: Restored the cloud shadow overlays in the
woodland that got lost somehow during the halloween and christmas chaos.
2007-02-11 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/chest_cotton_female.png: Removed this strange
duplicate.
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/CMakeLists.txt: Some updates.
2007-02-10 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/viewport.cpp: Fixed the bug in the scrolling limitation that
made it possible to scroll outside of the map in the south and east.
2007-02-09 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp: Fixed a misspelled include and another
optimisation at the vector calculation.
2007-02-08 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/utils/fastsqrt.h: Added a faster function to
calculate square roots and using it for hypotenuse calculations.
Thanks to Rogier aka Avaniel for finding the function.
2007-02-07 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp: Renamed
Particle::MAX_PARTICLES to Particle::maxCount and read the value from
config ("particleMaxCount")
* src/particle.cpp: Added fast physics mode that replaces the
trigonometric calculations made for calculating the acceleration by
much less cpu intense but also less accurate formulas. To enable it
set the config option "particleFastPhysics" to "1".
* src/particle.cpp: Added the config option "particleEmitterSkip" that
allows to reduces the output of the emitters by making them spawn
particles only every n-th game tick.
* src/graphics.cpp, src/graphics.h: Added a new method
"drawImageTransparent" to the graphic engine that blits an image with
an alpha factor.
* src/particle.cpp: Using new drawImageTransparent method.
2007-02-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/menuwindow.cpp: Fixed a small glitch when dragging the menu
window.
2007-02-03 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/player-female-base.png: Made the standing and
walking of the female characters more feminine.
* data/equipment.xml, data/graphics/sprites/leg-cotton-male.png,
data/graphics/sprites/leg-cotton-male.xml,
data/graphics/sprites/leg-cotton-female.png,
data/graphics/sprites/leg-cotton-female.xml,
data/graphics/sprites/leg-jeans-male.png,
data/graphics/sprites/leg-jeans-male.xml,
data/graphics/sprites/leg-jeans-female.png,
data/graphics/sprites/leg-jeans-female.xml: Added different sprites
for male and female pants.
2007-02-02 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/engine.h, src/engine.cpp, src/being.h, src/being.cpp: Moved
responsibility of loading emoticons to the Being class.
2007-02-01 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/updatewindow.cpp: File handle should be closed before
attempting to remove/rename files.
* src/gui/button.h: Fixed buttons loosing focus.
2007-02-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp, src/gui/updatewindow.h: A bit of cleanup
and defined a helper function for calculating the alder32 checksum of
a file. Probably not fixing any bug though.
2007-02-01 Philipp Sehmisch <tmw@crushnet.org>
* data/equipment.xml, data/items.xml,
data/graphics/items/armor-chest-chainmail.png,
data/graphics/sprites/chest-chainmail-female.png,
data/graphics/sprites/chest-chainmail-female.xml,
data/graphics/sprites/chest-chainmail-male.png,
data/graphics/sprites/chest-chainmail-male.xml: Added chainmail by
"The Judge". The proposed values are: Item ID: 625, Sprite ID: 25,
Defence: 12, Weight: 120.
* data/graphics/sprites/chest-cotton-female.png: Huh? Shouldn't this
be on svn for ages?
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Implemented die-distance (particles are deleted
when they reached a certain proximity to their target)
* src/particle.cpp: Fixed a bug in the acceleration vector calculation.
* src/particle.cpp, src/particle.h: Fixed a problem with particles with
unlimited lifetime and fade-in.
* data/graphics/particles/playerglow.particle.xml: And again a new
player follow particle. This time it demonstrates die-distance and the
fixed acceleration vector calculation.
* src/engine.cpp, data/graphics/particles/snow.particle.xml,
data/graphics/particles/snowflake.png: I can't stand the begging
anymore. Now it snows in the snow area... and the forest... and the
desert... and under the earth... and indoors... Are you happy now,
Rotonen and Elven? ;-)
* src/particle.cpp: Removed some debug log messages.
* src/being.cpp: Avoided crash when attempting to control an invalid
particle.
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Cleaned the includes up.
2007-01-31 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Changed some variable names.
* data/graphics/particles/waterfall.particle.xml,
data/graphics/particles/waterfall-a.png: New waterfall with Modanungs
waterfall particle.
* src/particle.cpp: forgot to remove a svn conflict marker and changed
the order of initialisations to fix some compiler warnings.
2007-01-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* tmw.cbp: Updated Code::blocks project.
2007-01-30 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/CMakeLists.txt, src/Makefile.am, src/net/packet.h,
src/net/packet.cpp, src/net/messageout.cpp: Removed unused Packet
class.
* src/properties.h, src/being.cpp, src/beingmanager.h, src/sound.h,
src/gui/window.h, src/sound.cpp, src/main.h, src/being.h,
src/resources/soundeffect.h, src/resources/image.h,
src/resources/mapreader.h, src/resources/music.h: Some trivial
documentation work. Fixes all Doxygen warnings.
2007-01-30 Philipp Sehmisch <tmw@crushnet.org>
* src/net/beinghandler.cpp,
data/graphics/particles/skillup.particle.xml: Added different particle
effect for job levelup.
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Renamed "alphafade" to "fade-out", added new
property "fade-in".
* data/graphics/particles/playerglow.particle.xml: Added a new player
effect (a fire) demonstrating how to use fade-in and fade-out to fade
one color into another.
2007-01-29 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Added a new particle property "alphafade" that
makes the particles fade into alpha before their lifetime ends.
* src/particle.cpp, src/particle.h: fixed an issue with particles that
have a lifetime of 0 and an issue with the momentum property.
* data/graphics/particles/waterfall.particle.xml,
data/graphics/particles/fog-medium-white-a.png,
data/graphics/particles/fog-medium-white-b.png,
data/graphics/particles/fog-medium-white-c.png: Added fog to the
waterfall effect demonstrating the new alphafade feature.
2007-01-28 Philipp Sehmisch <tmw@crushnet.org>
* src/utils/xml.cpp, src/utils/xml.h, src/particleemitter.cpp: Most
values are now read as floating point values from the emitter files.
* data/graphics/particles/fountain.particle.xml,
data/graphics/particles/hit.particle.xml,
data/graphics/particles/playerglow.particle.xml: Changed some values
as floating point values. Made the player follow effect magenta to
improve the visibility of the hit effects.
* src/engine.cpp, data/graphics/particles/waterfall.particle.xml:
Removed the fountain and added a waterfall instead.
* src/particle.h: Corrected the drawing order of the particles in
relation to the other sprites.
* src/gui/debugwindow.cpp, src/gui/debugwindow.h: Added particle count
to debug window.
* src/particle.cpp: Allowed momentum without acceleration and
implement the acceleration properly.
* src/utils/minmax.h, src/particleemitter.cpp, src/particleemitter.h:
Added a structure to hold a pair of numeric minimum and maximum values
and used it to store all numeric emitter properties.
* src/utils/randbetween.h: Removed (the functionality is now in struct
MinMax)
2007-01-28 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/char_select.h, src/net/messagein.h,
src/net/messagehandler.h, src/net/network.h, src/net/connection.h,
src/net/messageout.h, src/utils/xml.h, src/main.h,
src/resources/monsterdb.h, src/resources/itemdb.h,
src/resources/equipmentdb.h: Some work on documentation.
* data/maps/new_8-1.tmx.gz, data/maps/new_11-1.tmx.gz: Map fixes by
Pauan.
2007-01-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/shoplistbox.cpp: Fixed compilation against Guichan 0.6.1.
* src/utils/randbetween.h: Fixed integer overflow causing the
randBetween function not to work properly on Linux.
2007-01-27 Philipp Sehmisch <tmw@crushnet.org>
* src/net/beinghandler.cpp: Fixed a compiler issue.
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h, src/engine.cpp: Emitter data is read from
external xml files. Reimplemented target-based particles with the
difference that they don't target beings or locations but other
particles (at the moment the host particle of the effect).
* src/being.cpp: Beings now move controlled particles to their center
instead of their upper left corner.
* data/graphics/particles/orb*: Added a bunch of new particles.
* data/graphics/particles/fountain.particle.xml: Reimplementation of
the fountain effect in XML.
* data/graphics/particles/playerglow.particle.xml: New effect that
spawns orbs that orbit around the origin.
* src/being.cpp, data/graphics/particles/hit.particle.xml: Added
particle effect on hit.
* src/net/beinghandler.cpp,
data/graphics/particles/levelup.particle.xml: Added particle effect on
levelup (own or other player).
2007-01-24 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp: Initialized all variables of the particles in the
constructor.
* src/particleemitter.cpp, src/particleemitter.h: minor cleanups.
2007-01-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/shoplistbox.cpp, docs/INSTALL/win32.txt, INSTALL, NEWS:
Upgraded to Guichan 0.6.1.
2007-01-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp: Identify ourselves when requesting files
from the update server.
2007-01-22 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp, src/being.h, src/particle.cpp, src/particle.h
src/particleemitter.cpp, src/particleemitter.h, src/engine.cpp:
Particle effects are now created in child particles of the root
particle. Particle emitters have no longer a being they check every
frame. Instead beings have the ability to take control of particles.
2007-01-19 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h, src/particleemitter.cpp,
src/particleemitter.h: Implemented emitters that follow a being.
* src/engine.cpp: Added an emitter that follows the local player.
* src/particle.cpp: Fixed the crash on exit (reason was that the
mSpriteIterator wasn't initialized in every case)
2007-01-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/properties.h, src/being.cpp, src/beingmanager.h, src/sound.h,
src/gui/window.h, src/sound.cpp, src/main.h, src/being.h,
src/resources/soundeffect.h, src/resources/image.h,
src/resources/mapreader.h, src/resources/music.h: Some trivial
documentation work. Fixes all Doxygen warnings.
* src/particle.h, src/particle.cpp, src/CMakeLists.txt,
src/Makefile.am: Fixed compilation issues on Linux.
* src/gui/char_select.h, src/net/messagein.h,
src/net/messagehandler.h, src/net/network.h, src/net/connection.h,
src/net/messageout.h, src/utils/xml.h, src/main.h,
src/resources/monsterdb.h, src/resources/itemdb.h,
src/resources/equipmentdb.h: Some work on documentation.
* data/maps/new_8-1.tmx.gz, data/maps/new_11-1.tmx.gz: Map fixes by
Pauan.
2007-01-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* docs/win32-release.txt, src/gui/register.cpp, src/main.cpp: Changed
default server.
2007-01-15 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/viewport.cpp, src/gui/viewport.h: Fixed issue where the
player stops walking.
* docs/INSTALL/win32.txt, INSTALL: Updated to mention Guichan 0.6.0.
2007-01-15 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/help/header.txt, NEWS, README: Updated release date.
2007-01-15 Philipp Sehmisch <tmw@crushnet.org>
* src/game.cpp, src/particle.cpp, src/particle.h,
src/particleemitter.h: Made the particle count global and more
performant.
2007-01-14 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/updatewindow.cpp, src/main.cpp, tmw.cbp: Fixed windows
headers issues.
2007-01-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/main.cpp, src/gui/trade.cpp, src/gui/sell.cpp,
src/gui/connection.cpp, src/gui/buddywindow.cpp, src/gui/browserbox.h,
src/gui/char_server.cpp, src/gui/window.cpp, src/gui/login.cpp,
src/gui/inttextbox.h, src/gui/viewport.cpp, src/gui/button.h,
src/gui/shoplistbox.h, src/gui/skill.h, src/gui/item_amount.h,
src/gui/setup_audio.h, src/gui/newskill.cpp, src/gui/listbox.h,
src/gui/register.h, src/gui/setup.cpp, src/gui/npclistdialog.h,
src/gui/updatewindow.cpp, src/gui/button.cpp, src/gui/char_select.cpp,
src/gui/login.h, src/gui/setup_audio.cpp, src/gui/item_amount.cpp,
src/gui/setup_joystick.h, src/gui/chat.h, src/gui/npc_text.cpp,
src/gui/setup_video.cpp, src/gui/ok_dialog.cpp,
src/gui/inventorywindow.h, src/gui/gccontainer.cpp,
src/gui/newskill.h, src/gui/buy.h, src/gui/setup.h,
src/gui/itemcontainer.h, src/gui/confirm_dialog.cpp,
src/gui/debugwindow.cpp, src/gui/chat.cpp, src/gui/setup_joystick.cpp,
src/gui/updatewindow.h, src/gui/char_select.h, src/gui/buysell.h,
src/gui/tabbedcontainer.cpp, src/gui/inventorywindow.cpp,
src/gui/help.cpp, src/gui/status.h, src/gui/npc_text.h,
src/gui/setup_video.h, src/gui/menuwindow.cpp, src/gui/browserbox.cpp,
src/gui/ok_dialog.h, src/gui/buy.cpp, src/gui/itemcontainer.cpp,
src/gui/gccontainer.h, src/gui/buddywindow.h, src/gui/sell.h,
src/gui/trade.h, src/gui/inttextbox.cpp, src/gui/char_server.h,
src/gui/window.h, src/gui/shoplistbox.cpp, src/gui/skill.cpp,
src/gui/buysell.cpp, src/gui/confirm_dialog.h, src/gui/debugwindow.h,
src/gui/status.cpp, src/gui/listbox.cpp, src/gui/register.cpp,
src/gui/viewport.h, src/gui/tabbedcontainer.h,
src/gui/npclistdialog.cpp, src/gui/help.h, src/gui/chatinput.h,
src/gui/chatinput.cpp, src/net/tradehandler.cpp,
src/net/playerhandler.cpp: Upgraded to Guichan 0.6.0 (merge from
guichan-0.6.0 branch).
* src/winver.h, configure.ac, data/help/header.txt, NEWS, README,
CMakeLists.txt: Updated version to 0.0.22.1.
2007-01-14 Philipp Sehmisch <tmw@crushnet.org>
* src/particle.cpp, src/particle.h; src/particleemitter.cpp,
src/particleemitter.h, src/utils/randbetween.h:
Implemented particle engine.
* src/engine.cpp, src/game.cpp: added calls to the particle engine
* data/graphics/particles/*: added a bunch of particle graphics for
testing purpose.
* particleengine-todo.txt: Added particle engine todo list (please
omit when merging)
2007-01-13 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/CMakeLists.txt: Updated with regard to renaming
of cotton equipment.
2007-01-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/debugwindow.cpp, src/gui/viewport.h: Fixed mouse coordinates
display in debug window.
2007-01-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/viewport.cpp: Fixed initialization of mPlayerFollowMouse,
the lack of which sometimes caused the player to start walking when
clicking on the GUI.
2007-01-11 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/images/ambient/CMakeLists.txt,
data/graphics/sprites/CMakeLists.txt: Synchronized CMake configuration
with autotools configuration.
2007-01-11 Rogier Polak <rogier.l.a.polak@gmail.com>
* src/gui/char_select.cpp, src/net/accountserver/account.h,
src/net/accountserver/account.cpp, src/player.cpp: Fixed issues
with out of range hair style and color, as well as their ordering.
* data/graphics/gui/Makefile.am,
data/graphics/images/ambient/Makefile.am,
data/graphics/sprites/Makefile.am: Some corrections to installed
files.
2007-01-09 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/icecave.png: Added new tiles and fixes by Nickman and
made some other cosmetical corrections.
2007-01-07 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/monster-mountsnake.xml,
data/graphics/sprites/monster-mountsnake.png, data/monsters.xml: Added
brown snake by Pauan.
* src/gui/status.h, src/gui/status.cpp, src/localplayer.h:
Synchronized player attributes with Attributes page on the wiki.
Removed job xp bar.
2007-01-07 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/chest-cottonshirt-male.png,
data/graphics/chest-cottonshirt-male.xml,
data/graphics/chest-cottonshirt-female.png,
data/graphics/chest-cottonshirt-female.xml,
data/graphics/item001.png, data/equipment.xml: Added female
cottonshirt sprites.
* data/equipment.xml: Fixed some wrong armor values.
2007-01-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/CMakeLists.txt, data/graphics/sprites/CMakeLists.txt: Fixed
installation when using CMake.
* src/CMakeLists.txt, data/graphics/images/ambient/Makefile.am,
data/graphics/sprites/CMakeLists.txt: Synchronized build files.
2007-01-05 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/gameserver/player.h, src/net/gameserver/player.cpp,
src/net/protocol.h, src/localplayer.cpp: Implemented item dropping.
* src/net/protocol.h, src/net/inventoryhandling.cpp: Added support for
full inventory update.
2007-01-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp, src/map.h: Declared some methods const.
2007-01-04 Eugenio Favalli <elvenprogrammer@gmail.com>
* tools/Purger.java: Removed purger tool.
2007-01-03 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/resources/mapreader.cpp: Fixed memory leak on error.
* src/net/protocol.h, src/net/itemhandler.cpp: Added support for items
dropped on map.
* src/gui/itemcontainer.cpp, src/inventory.cpp: Fixed inventory bounds.
* src/localplayer.cpp, src/net/inventoryhandler.cpp,
src/net/gameserver/player.h, src/net/gameserver/player.cpp,
src/net/protocol.h: Added item pick-up.
2007-01-01 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/being.h, src/being.cpp, src/game.cpp: Made getSpriteDirection
public and trivial. Removed getDirection: its return value does not
match what the user sees, so its use is dubious from a user-interface
point of view.
2006-12-31 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/being.h, src/being.cpp, src/joystick.h: Scrapped static const
integral members and replaced them with enumerations.
* src/gui/viewport.cpp: Removed unused variable.
2006-12-31 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp: Added some variable definitions since they were
reported missing by the linker.
2006-12-30 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/being.h, src/being.cpp: Improved movement smoothness by avoiding
useless changes of sprite direction. Reduced field of direction
components from 180° to 120° when computing being direction.
* src/localplayer.cpp: Changed attack message to send the direction
the player is visually facing. Removed check on beings when setting an
absolute destination.
* src/net/accountserver/account.h, src/net/accountserver/account.cpp,
src/net/protocol.h, src/net/playerhandler.cpp: Updated protocol.
2006-12-29 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/connection.cpp: Fixed displaying of progress dialog.
2006-12-29 Philipp Sehmisch <tmw@crushnet.org>
* src/localplayer.h, src/net/beinghandler.cpp, src/net/beinghandler.h,
src/net/gameserver/player.cpp, src/net/gameserver/player.h,
src/net/protocol.h: Implemented catching and displaying of damage
notifications.
2006-12-27 Philipp Sehmisch <tmw@crushnet.org>
* src/game.cpp, src/gui/popupmenu.cpp, src/gui/viewport.cpp,
src/localplayer.cpp, src/localplayer.h, src/net/beinghandler.cpp,
src/net/beinghandler.h, src/net/connection.cpp, src/net/connection.h,
src/net/gameserver/player.cpp, src/net/gameserver/player.h,
src/net/playerhandler.cpp, src/net/protocol.h: Attacks are now
targetless one-time events. The server is informed when the client
performs an attack and attack messages from the server are received
and displayed.
2006-12-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/tiles/christmastree.png, data/maps/new_11-1.tmx.gz:
Added Christmas tree by Pauan.
* data/graphics/sprites/head-christmastree.xml: Fixed name of image.
* src/resources/spriteset.cpp: Fixed index check to prevent crashing.
* data/graphics/sprites/head-christmastreehat.png,
data/graphics/sprites/head-rangerhat.png,
data/graphics/sprites/head-christmastree.xml,
data/graphics/sprites/head-antlerhat.xml,
data/graphics/sprites/head-santabeardhat.xml,
data/graphics/sprites/head-santabeardhat.png,
data/graphics/sprites/head-rangerhat.xml: Updates to Pauan's recent
sprites by Pauan.
* data/items.xml: Fixes to descriptions and weights by Pauan.
2006-12-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/shoplistbox.cpp: Don't try to draw an icon when it is not
defined or failed to load properly.
* src/resources/image.cpp: Major rendering performance increase in
software mode, by not using RLE compression on loaded images while
most of the time, we're only drawing a small subimage of them.
* README, data/help/header.txt, NEWS: Filled in release dates.
2006-12-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac, data/graphics/items/Makefile.am,
data/graphics/items/CMakeLists.txt, data/graphics/images/Makefile.am,
data/graphics/images/CMakeLists.txt,
data/graphics/sprites/Makefile.am,
data/graphics/sprites/CMakeLists.txt, data/graphics/Makefile.am,
data/graphics/CMakeLists.txt, data/maps/Makefile.am,
data/maps/CMakeLists.txt, data/sfx/Makefile.am,
data/sfx/CMakeLists.txt, data/Makefile.am, data/CMakeLists.txt:
Removed database files, minimaps, items, monster sprites, maps and
sounds from the release. They will be released dynamically only.
* data/graphics/tiles/snow_x3.png: Added bottom of Christmas tree by
pauan.
* src/main.cpp, src/resources/itemdb.h, src/resources/monsterdb.cpp,
src/resources/itemdb.cpp, src/resources/equipmentdb.cpp: Load the
databases at the start of the LOGIN state, after the updates are
loaded.
2006-12-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/items/armor-head-rangerhat.png,
data/graphics/items/generic-redstocking.png,
data/graphics/items/armor-head-christmastree.png,
data/graphics/items/armor-head-antlerhat.png,
data/graphics/items/armor-head-santabeardhat.png,
data/graphics/sprites/head-christmastreehat.png,
data/graphics/sprites/head-rangerhat.png,
data/graphics/sprites/head-christmastree.xml,
data/graphics/sprites/head-antlerhat.xml,
data/graphics/sprites/head-santabeardhat.xml,
data/graphics/sprites/head-antlerhat.png,
data/graphics/sprites/head-santabeardhat.png,
data/graphics/sprites/head-rangerhat.xml, data/items.xml,
data/equipment.xml, data/monsters.xml: Added new Christmas themed
headwear by Pauan.
* data/graphics/items/Makefile.am, data/graphics/items/CMakeLists.txt,
data/graphics/sprites/Makefile.am,
data/graphics/sprites/CMakeLists.txt, data/Makefile.am,
data/CMakeLists.txt: Updated Makefiles.
2006-12-21 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac, CMakeLists.txt, README, data/help/header.txt: Updated
version to 0.0.22.
2006-12-18 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/items/armor-chest-vnecksweater.png: New version of
the inventory icon for the V-neck sweater by Saphy.
2006-12-17 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/sell.cpp, src/gui/shoplistbox.h, src/gui/listbox.h,
src/gui/shop.cpp, src/gui/buy.cpp, src/gui/shoplistbox.cpp,
src/gui/listbox.cpp: Subclassed ShopListBox from ListBox to get rid of
some duplicated code, and fixed a problem with scrolling to the
current selection. Also aligned the text a bit better and put the
price in parenthesis.
2006-12-16 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/connection.cpp, src/gui/chargedialog.cpp: Fixed dialog
visibility.
* src/localplayer.cpp, src/game.cpp, src/localplayer.h: Fixed issues
with walking one tile too many and changing direction towards an
obstacle.
2006-12-15 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/desert1.png: Removed some unused legacy tiles and
added variant tiles for the cliffs.
2006-12-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/engine.h, src/engine.cpp: Removed the rather
useless remaining draw function from the engine class.
* src/being.cpp, src/being.h: Fixed an issue with fading out damage
texts (they were sometimes fully opaque at the end of fading out).
2006-12-12 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
* src/gui/updatewindow.cpp, src/gui/updatewindow.h, src/main.cpp:
Added Adler32 checksum for updates.
* src/net/playerhandler.cpp: Fixed crash when selecting an item after
death.
* data/items.xml: Fixed defense values for sweaters.
* src/net/playerhandler.cpp: Hide all NPC dialogs after death.
2006-12-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/animatedsprite.h, src/CMakeLists.txt, src/animatedsprite.cpp,
src/resources/action.h, src/resources/animation.h,
src/resources/spritedef.cpp, src/resources/action.cpp,
src/resources/animation.cpp, src/resources/spritedef.h: Moved
Action, Animation and Frame (renamed from AnimationPhase) classes into
the resources directory, since they are part of the SpriteDef class.
* src/CMakeLists.txt, src/utils/base64.cpp, src/utils/base64.h,
src/Makefile.am, src/resources/mapreader.cpp: Moved base64 module into
utils directory.
* src/engine.cpp, src/npc.cpp: Cleaned up some unused stuff.
2006-12-12 Philipp Sehmisch <tmw@crushnet.org>
* data/sfx/bat-dying1.ogg, data/sfx/bat-hit1.ogg,
data/sfx/bow_shoot_1.ogg, data/sfx/fire-goblin-hit1.ogg
data/sfx/fire-goblin-hit2.ogg, data/sfx/fire-goblin-miss1.ogg,
data/sfx/fist-swish.ogg, data/sfx/flower-hit1.ogg,
data/sfx/flower-hit2.ogg, data/sfx/flower-miss1.ogg,
data/sfx/fluffy-hit1.ogg, data/sfx/fluffy-hit2.ogg,
data/sfx/fluffy-hit3.ogg, data/sfx/fluffy-hurt1.ogg,
data/sfx/fluffy-miss1.ogg, data/sfx/knife-hit1.ogg,
data/sfx/knife-miss1.ogg, data/sfx/levelup.ogg
data/sfx/scorpion-hit1.ogg, data/sfx/scorpion-hit2.ogg
data/sfx/scorpion-hit3.ogg, data/sfx/scorpion-hit4.ogg
data/sfx/scorpion-miss1.ogg, data/sfx/short-sword-hit1.ogg
data/sfx/short-sword-miss1.ogg, data/sfx/shroom-hit1.ogg
data/sfx/slime-hit1.ogg:
Normalized versions of sound effects by Cosmostrator.
2006-12-11 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp: Fixed visibility of the update window.
2006-12-11 Philipp Sehmisch <tmw@crushnet.org>
* data/equipment.xml, data/items.xml,
data/graphics/sprites/chest-tnecksweater-male.png,
data/graphics/sprites/chest-tnecksweater-female.png,
data/graphics/sprites/chest-vnecksweater-male.png,
data/graphics/sprites/chest-vnecksweater-female.png,
data/graphics/sprites/chest-tnecksweater-male.xml,
data/graphics/sprites/chest-tnecksweater-female.xml,
data/graphics/sprites/chest-vnecksweater-male.xml,
data/graphics/sprites/chest-vnecksweater-female.xml,
data/graphics/sprites/Makefile.AM,
data/graphics/sprites/CMakeLists.txt,
data/graphics/items/armor-chest-vnecksweater.png,
data/graphics/items/armor-chest-tnecksweater.png,
data/graphics/items/armor-chest-woolsweater.png,
data/graphics/items/Makefile.AM, data/graphics/items/CMakeLists.txt:
Added new sweaters by Saphy. Info for server admins: Item IDs are 564
for turtleneck (should already be in there) and 624 for v-neck. The
visible sprite IDs are 19 for turtleneck and 20 for v-neck.
2006-12-11 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/main.h, src/tmw.rc, src/winver.h, The Mana World.dev, tmw.cbp:
Fixed windows binary version.
2006-12-10 Eugenio Favalli <elvenprogrammer@gmail.com>
* docs/INSTALL/win32.txt: Added more detailed instructions for Dev-C++
users.
2006-12-09 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/npcs.png: Added pirate NPC.
2006-12-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/sprite.h, src/gui/playerbox.h, src/gui/char_select.cpp,
src/gui/playerbox.cpp, src/gui/passwordfield.h, src/gui/char_select.h,
src/main.cpp, src/being.cpp, src/player.h, src/floor_item.h,
src/being.h: Use new animation system in character selection/creation.
Shows equipment and allowed for some cleanup. Had a bit of help from
the patch by VictorSan.
2006-12-08 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/base64.cpp, src/base64.h, src/resources/mapreader.cpp:
Downgraded to base64 codec from PHP 3 to resolve licensing issues.
2006-12-06 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
2006-12-06 Philipp Sehmisch <tmw@crushnet.org>
* src/net/beinghandler.cpp: Fixed crashs when changing equipment.
* data/graphics/tiles/desert1.png, data/graphics/tiles/desert2.png:
More tiling related fixes at the cliffs.
2006-12-06 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/item_amount.cpp: Fixed visibility of item amount window.
2006-12-05 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/desert1.png: Improved the tiling behavior
of the cliffs (still not gridless but at least the edges fit
together in the most common situations)
2006-12-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/engine.h, src/gui/windowcontainer.h,
src/gui/viewport.cpp, src/gui/gui.cpp, src/gui/gui.h,
src/gui/debugwindow.cpp, src/gui/inventorywindow.cpp,
src/gui/viewport.h, src/engine.cpp, src/CMakeLists.txt,
src/Makefile.am: Introduced a new class Viewport which combines the
drawing code from Engine with the (rather misplaced) input handling
from the Gui class. Also, it's a Container itself which should allow
for extending it to show Guichan widgets on map coordinates.
2006-12-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/sound.cpp, src/monster.cpp, src/sound.h,
src/resources/soundeffect.cpp, src/resources/resourcemanager.cpp:
Don't try to play empty strings as sounds, and don't return a
SoundEffect instance when Mix_Chunk loading failed.
* src/beingmanager.cpp, src/npc.cpp, src/npc.h: Show NPC names.
* src/game.cpp, src/gui/char_server.cpp, src/gui/window.cpp,
src/gui/login.cpp, src/gui/char_select.cpp, src/gui/ok_dialog.cpp,
src/gui/confirm_dialog.cpp, src/gui/ok_dialog.h, src/gui/window.h,
src/gui/confirm_dialog.h, src/gui/register.cpp: Windows now default
to invisible, since this seems the most common case.
2006-12-02 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/chest-leather-female.png: A little correction
at the female leather shirt by mangamaniac.
2006-12-01 Philipp Sehmisch <tmw@crushnet.org>
* src/net/beinghandler.cpp, src/being.h, src/being.cpp, src/monster.h,
src/gui/gui.cpp: Visible equipment slot numbers are now converted by
the beinghandler from eAthena to our system. No more distinction
between monster attacking and player attacking between beinghandler
and the being classes.
* src/being.cpp, src/monster.cpp, src/being.h, src/monster.h: Moved
the monster specific action handling into the monster class.
* monster.cpp, mosterinfo.cpp, monsterinfo.h: Monsters now make sounds
when they attack, gett hurt or die.
* src/being.cpp: Delayed the damage numbers a bit to synchronize them
better with the hurt sounds.
* data/monsters.xml, data/sfx//bat-dying1.ogg, data/sfx/bat-hit1.ogg,
data/sfx/bow_shoot_1.ogg, data/sfx/fire-goblin-hit1.ogg,
data/sfx/fire-goblin-hit2.ogg, data/sfx/fire-goblin-miss1.ogg,
data/sfx/fist-swish.ogg, data/sfx/flower-hit1.ogg,
data/sfx/flower-hit2.ogg, data/sfx/flower-miss1.ogg,
data/sfx/fluffy-hit1.ogg, data/sfx/fluffy-hit2.ogg,
data/sfx/fluffy-hit3.ogg, data/sfx/fluffy-hurt1.ogg,
data/sfx/fluffy-miss1.ogg, data/sfx/knife-hit1.ogg,
data/sfx/knife-miss1.ogg, data/sfx/levelup.ogg,
data/sfx/scorpion-hit1.ogg, data/sfx/scorpion-hit2.ogg,
data/sfx/scorpion-hit3.ogg, data/sfx/scorpion-hit4.ogg,
data/sfx/scorpion-miss1.ogg, data/sfx/short-sword-hit1.ogg,
data/sfx/short-sword-miss1.ogg, data/sfx/shroom-hit1.ogg,
data/sfx/slime-hit1.ogg, data/sfx/Makefile.AM,
data/sfx/CMakeLists.txt: Added a lot of sound effects by Cosmostrator.
2006-11-30 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/maps/Makefile.am: Fixed small trailing slash issue.
* src/player.cpp: Optimized setSex and setWeapon by first loading the
new sprite and then deleting the old one (prevents potentially
unnecessary reload).
* src/net/beinghandler.cpp: Optimized handling of player walk
messages, by first setting the gender right and then setting the
equipment. Gets rid of reload of complete equipment in the case of
female.
2006-11-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
2006-11-29 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/monster.cpp: Small fix to resource path.
2006-11-29 Philipp Sehmisch <tmw@crushnet.org>
* src/resources/equipment.h: Made getSprite return a constant
reference.
* src/resources/monsterdb.cpp, src/resources/monsterdb.h,
src/resources/monsterinfo.cpp, src/resources/monsterinfo.h,
src/Makefile.AM, src/CMakeLists.txt, src/main.cpp:
Added the MonsterDB namespace that reads the monsters.xml
and maps monster IDs to names, sprite definitions and sound effects.
* src/monster.cpp: Get sprite definition filenames from MonsterDB.
* src/engine.cpp: Show monster name when targeting a monster.
* data/monsters.xml, data/graphics/sprites/Makefile.AM,
data/graphics/sprites/CMakeLists.txt, data/graphics/sprites/monster*:
Renamed all monster sprites to more associative names (whew, we got to
train some monkeys for tasks like that).
2006-11-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tmw.cbp: Updated Code::Blocks project file.
2006-11-27 Philipp Sehmisch <tmw@crushnet.org>
* src/log.cpp, src/util/wingettimeofday.h: Added implementation of
gettimeofday() for windows machines.
2006-11-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/log.cpp: Higher precision log timestamps.
* src/graphics.cpp, src/gui/gui.cpp, src/openglgraphics.cpp,
src/main.cpp, src/resources/equipmentdb.cpp,
src/resources/resourcemanager.cpp: Added some additional log
statements.
* src/resources/itemdb.cpp: Removed usage of READ_PROP in favour of
XML::getProperty and updated log statements.
* src/resources/image.cpp: Added support for loading TGA images.
2006-11-26 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/resources/resourcemanager.cpp: Remove unnecessary check for
file existance, loading will just fail with the correct error message.
2006-11-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/being.cpp, src/net/beinghandler.cpp, src/being.h:
Made Being::mDirection protected, forcing the use of setDirection.
* src/npc.cpp, src/player.cpp, src/animatedsprite.h, src/monster.cpp,
src/resources/resourcemanager.h: Defaulted variant argument to 0 since
this is the most common situation.
* src/resources/spritedef.cpp, src/resources/spritedef.h: Some
refactoring, splitting up the loading into several methods, in
preparation of adding support for including other sprites.
* src/main.cpp: ItemDB needs to be unloaded before deleting the
resource manager instance, since ItemInfo refers to an Image.
2006-11-26 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp, src/being.h, src/engine.cpp, src/main.cpp,
src/player.cpp, src/player.h, src/resources/equipmentdb.h,
src/resources/equipmentdb.cpp, src/resources/equipmentinfo.h,
src/resources/itemdb.cpp, src/resources/itemdb.h,
data/graphics/images/error.png, data/graphics/sprites/error.xml:
Added the EquipmentDB namespace that reads the equipment.xml, maps
equipment IDs to sprite definition files and thus allows gender
specific equipment sprites.
* data/graphics/sprites/chest-leather-female.png,
data/graphics/sprites/chest-leather-male.png,
data/graphics/sprites/chest-leather-female.xml,
data/graphics/sprites/chest-leather-male.xml,
data/equipment.xml: Added and defined male and female leather shirt as
proof of concept of the gender specific equipment.
* data/graphics/images/Makefile.am, data/graphics/sprites/Makefile.am,
data/Makefile.am, src/Makefile.am,
data/graphics/images/CMakeLists.txt,
data/graphics/sprites/CMakeLists.txt, data/CMakeLists.txt,
src/CMakeLists.txt: Updated Makefiles and CMake Lists.
2006-11-24 Philipp Sehmisch <tmw@crushnet.org>
* src/engine.cpp, src/floor_item.cpp, src/item.h, src/main.cpp,
src/gui/buy.cpp, src/gui/popupmenu.cpp, src/gui/sell.cpp,
src/gui/shop.cpp, src/net/inventoryhandler.cpp,
src/resources/itemdb.cpp, src/resources/itemdb.h,
src/resources/iteminfo.h, src/resources/itemmanager.cpp,
src/resources/itemmanager.h: Refactored the Itemmanager class to an
ItemDB namespace.
2006-11-23 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
2006-11-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/setup_joystick.cpp: Fixed joystick option to show enabled
when the joystick is enabled.
* src/localplayer.cpp, src/game.cpp, src/action.h, src/action.cpp,
src/player.cpp, src/animatedsprite.h, src/being.cpp, src/animation.h,
src/monster.cpp, src/CMakeLists.txt, src/player.h,
src/animatedsprite.cpp, src/localplayer.h, src/animation.cpp,
src/Makefile.am, src/being.h, src/resources/resourcemanager.cpp,
src/resources/spritedef.cpp, src/resources/resourcemanager.h,
src/resources/spriteset.h, src/resources/spritedef.cpp: Separated
sprite definition from playback.
2006-11-17 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/sprites/CMakeLists.txt: Fixed some filenames.
2006-11-17 Wai Ling Tsang <simotsa@gmail.com>
* src/gui/gui.cpp: Added mouse following ability/feature under
logic().
* src/gui/gui.h: Added mouseMotion(), mouseRelease() and private
variables for mouse following.
2006-11-15 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/Woodland_village.png,
data/graphics/tiles/Woodland_village_x2.png,
data/graphics/tiles/Woodland_x2.png,
data/graphics/tiles/Makefile.AM,
data/graphics/tiles/CMakeList.txt,
data/maps/new_9-1.tmx.gz, data/maps/new_14-1.tmx.gz,
data/maps/new_15-1.tmx.gz, data/maps/new_16-1.tmx.gz,
data/maps/new_17-1.tmx.gz, data/maps/new_18-1.tmx.gz,
data/maps/new_19-1.tmx.gz, data/maps/CMakeList.txt,
data/maps/Makefile.AM:
Added woodland village outdoor tileset and maps. Modified gates on
the nearby maps.
2006-11-15 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/animatedsprite.h, src/CMakeLists.txt, src/animatedsprite.cpp,
src/utils/xml.cpp, src/utils/xml.h, src/Makefile.am,
src/resources/mapreader.cpp: Separated getProperty method to an XML
utility namespace.
2006-11-15 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
* The Mana World.dev, tmw.cbp: Fixed dynamic linking of libcurl.
2006-11-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/action.h, src/action.cpp, src/animation.h, src/CMakeLists.txt,
src/animatedsprite.cpp, src/animation.cpp, src/Makefile.am: Separated
Action class to its own module.
* src/action.h, src/action.cpp, src/animatedsprite.h, src/animation.h,
src/animatedsprite.cpp, src/animation.cpp: Resolve Image* of animation
phase at load time instead of storing just the spriteset index and
looking it up later (checking validity should still be added). Also
calculate animation length during loading instead of summing it up
each time it is requested.
2006-11-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp, src/map.h: Made pathfinding algorithm cope better with
beings blocking the road. This is done by allowing walking over other
beings, but at an additional cost so that it is preferable to walk
around them.
* src/game.cpp: Worked around a Guichan exception thrown for mice with
many buttons (patch by Roel van Dijk).
2006-11-11 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am: Fixed autotools configuration.
2006-11-09 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/main.cpp, src/net/network.cpp, src/net/network.h,
The Mana World.dev, tmw.cbp: Fixed a conflict with Windows headers and
updated project files.
2006-11-05 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files. Warning: Dev-Cpp
will now build objects in the source folder.
2006-11-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/trade.cpp: Fixed money field to no longer hide below the
bottom of the window.
* src/CMakeLists.txt: Added shoplistbox.h/cpp files.
* src/gui/updatewindow.cpp: Fixed percentage indicator of update
window.
* src/main.cpp, src/net/beinghandler.cpp, src/net/skillhandler.cpp,
src/net/network.cpp: Changed some printf statements to log statements.
2006-11-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/images/login_wallpaper.png: Reverted to standard
wallpaper.
* src/resources/resourcemanager.cpp: More useful logging about
resources that are being loaded (including source).
* src/graphics.cpp, src/gui/window.cpp, src/gui/button.cpp,
src/gui/widgets/dropdown.cpp, src/gui/textfield.cpp,
src/gui/playerbox.cpp, src/gui/progressbar.cpp,
src/gui/scrollarea.cpp, src/graphics.h, src/CMakeLists.txt,
src/Makefile.am, src/graphic, src/graphic/imagerect.h: Merged the
definition of ImageRect into graphics.h.
2006-11-05 Yohann Ferreira <bertram@cegetel.net>
* src/Makefile.am, src/gui/buy.cpp, src/gui/buy.h, src/gui/shop.h,
src/gui/shop.cpp, src/gui/sell.cpp, src/gui/shoplistbox.h,
src/gui/shoplistbox.cpp: Added pictures to items in buy dialogs.
Also too expensive items are highlighted in gray and can't be
selected.
* src/gui/shop.cpp, src/gui/shop.h, src/gui.sell.h, src/gui/sell.cpp,
src/net/buysellhandler.cpp, src/gui/shoplistbox.h,
src/gui/shoplistbox.cpp: Added item's pictures in sell dialogs, and
precisions about the total money in it.
* src/gui/shop.h, src/gui/shop.cpp, src/gui/sell.cpp: Fixes to Sell
dialog.
* src/gui/sell.cpp: Fixes the money value after selling something.
2006-11-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/sprites/Makefile.am: Use tabs instead of spaces as
required by automake (AFAIK).
2006-11-05 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/weapon0.png,
data/graphics/sprites/weapon2.png,
data/graphics/sprites/weapon-bow.xml,
data/graphics/sprites/weapon-dagger.xml,
data/graphics/sprites/weapon-fist.xml,
data/graphics/sprites/weapon-scythe.xml,
data/graphics/items/weapon-polearm-scythe.png, src/player.cpp,
src/player.h, src/being.cpp, src/being.h, data/items.xml: Added scythe
as a permanent weapon (ID: 623)
2006-11-04 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.cpp: Use \n instead of std::endl when writing to stdout.
* src/gui/updatewindow.cpp, src/gui/updatewindow.h: Removed useless
addRow method.
* src/main.cpp: Restore the homeDir config entry (temporarily).
Initialize the logger before libxml2.
* src/main.cpp: Add a libxml2 init wrapper. Use a null-logger function
instead of /dev/null to quieten libxml2. Actually initialize libxml2
before using it to load the configuration.
2006-11-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/maps/new_1-1.tmx.gz, data/maps/new_10-1.tmx.gz,
data/maps/new_11-1.tmx.gz, data/maps/new_14-1.tmx.gz,
data/maps/new_15-1.tmx.gz, data/maps/new_16-1.tmx.gz,
data/maps/new_3-1.tmx.gz, data/maps/new_7-1.tmx.gz,
data/maps/new_9-1.tmx.gz: Reverted Halloween map versions, except for
map 10 and 11 which include the latest fixes by Crush but now have
their night layer removed.
2006-11-04 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_17-1.tmx.gz,
data/graphics/images/minimap_new_17-1.png,
data/graphics/images/Makefile.am,
data/graphics/images/CMakeLists.txt:
Added music and minimap to woodland cave level 2.
* data/maps/new_10-1.tmx.gz, maps/new_11-1.tmx.gz:
Fixed some map bugs (please update server sided walkmap)
2006-11-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp, src/main.cpp: Updated to the new default
updatehost.
2006-11-02 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/register.cpp, src/gui/register.h: Fixed a memory leak and a
double deletion.
* src/main.cpp, src/CMakeLists.txt, src/net/loginhandler.cpp,
src/net/charserverhandler.h, src/net/maploginhandler.h,
src/net/maploginhandler.cpp, src/net/loginhandler.h, src/Makefile.am:
Removed some cruft that was needed for eAthena.
* src/localplayer.cpp, src/game.cpp, src/gui/trade.cpp,
src/gui/sell.cpp, src/gui/char_select.cpp, src/gui/serverdialog.cpp,
src/gui/chat.cpp, src/gui/buy.cpp, src/gui/status.cpp,
src/beingmanager.cpp, src/npc.cpp, src/main.cpp, src/CMakeLists.txt,
src/net/connection.cpp, src/net/accountserver,
src/net/accountserver/account.h, src/net/accountserver/internal.h,
src/net/accountserver/accountserver.cpp,
src/net/accountserver/accountserver.h,
src/net/accountserver/account.cpp, src/net/accountserver/internal.cpp,
src/net/internal.cpp, src/net/network.h,
src/net/charserverhandler.cpp, src/net/connection.h,
src/net/gameserver, src/net/gameserver/gameserver.cpp,
src/net/gameserver/player.h, src/net/gameserver/internal.h,
src/net/gameserver/gameserver.h, src/net/gameserver/internal.cpp,
src/net/gameserver/player.cpp, src/net/internal.h,
src/net/messagehandler.cpp, src/net/chatserver,
src/net/chatserver/internal.h, src/net/chatserver/chatserver.cpp,
src/net/chatserver/chatserver.h, src/net/chatserver/internal.cpp,
src/net/network.cpp, src/Makefile.am: Network layer refactoring.
2006-11-01 Björn Steinbrink <B.Steinbrink@gmx.de>
* CMake/Modules/FindLibXml2.cmake, CMake/Modules/FindENet.cmake,
CMake/Modules/FindLibcurl.cmake, CMake/Modules/FindGuichan.cmake,
src/CMakeLists.txt, src/main.h, data/graphics/tiles/CMakeLists.txt,
data/graphics/items/CMakeLists.txt, data/graphics/gui/CMakeLists.txt,
data/graphics/images/ambient/CMakeLists.txt,
data/graphics/images/CMakeLists.txt,
data/graphics/sprites/CMakeLists.txt, data/graphics/CMakeLists.txt,
data/maps/CMakeLists.txt, data/sfx/CMakeLists.txt,
data/help/CMakeLists.txt, data/icons/CMakeLists.txt,
data/CMakeLists.txt, CMakeLists.txt: Added CMake support.
2006-11-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/gui.cpp, src/gui/browserbox.cpp,
data/graphics/gui/rpgfont_wider.png,
data/graphics/gui/browserfont.png, data/graphics/gui/fixedfont.png:
Added support for å and Å (with help of Håkan Rönn).
2006-10-31 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/desert1.png, data/graphics/tiles/desert_x2.png:
Adding a bunch of graphical improvements made by VxD.
2006-10-31 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/sprites/item011.png,
data/graphics/sprites/item011.xml, data/graphics/sprites/item012.png,
data/graphics/sprites/item018.xml,
data/graphics/sprites/monster21.xml: Fixed some graphical issues,
mostly a cosmetic update.
2006-10-30 Yohann Ferreira <bertram@cegetel.net>
* debian/changelog: Updated the package's version.
2006-10-30 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_9-1.tmx.gz: Removed the night effect that accidentally
sneaked in with the last map change.
2006-10-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/tmw.rc: Updated Windows binary version.
* data/help/header.txt, NEWS, README: Fixed some release dates and
versions.
* data/graphics/items/armor-head-axehat.png,
data/graphics/items/armor-head-bandana.png,
data/graphics/items/armor-head-circlet.png,
data/graphics/items/armor-head-eyepatch.png,
data/graphics/items/armor-head-goggles.png,
data/graphics/items/armor-head-leathergoggles.png,
data/graphics/items/armor-head-piratehat.png,
data/graphics/items/armor-head-pumpkinhelmet.png,
data/graphics/items/Makefile.am, data/items.xml: Added new items.
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/monster21.png,
data/graphics/sprites/monster21.xml,
data/graphics/sprites/monster22.png,
data/graphics/sprites/monster22.xml: Added new monsters.
* data/graphics/sprites/item011.png, data/graphics/sprites/item011.xml,
data/graphics/sprites/item012.png, data/graphics/sprites/item012.xml,
data/graphics/sprites/item013.png, data/graphics/sprites/item013.xml,
data/graphics/sprites/item014.png, data/graphics/sprites/item014.xml,
data/graphics/sprites/item015.png, data/graphics/sprites/item015.xml,
data/graphics/sprites/item016.png, data/graphics/sprites/item016.xml,
data/graphics/sprites/item017.png, data/graphics/sprites/item017.xml,
data/graphics/sprites/item018.png, data/graphics/sprites/item018.xml,
data/graphics/sprites/Makefile.am: Added new visible equipments.
* data/graphics/images/login_wallpaper.png, data/maps/new_1-1.tmx.gz,
data/maps/new_10-1.tmx.gz, data/maps/new_11-1.tmx.gz,
data/maps/new_14-1.tmx.gz, data/maps/new_15-1.tmx.gz,
data/maps/new_16-1.tmx.gz, data/maps/new_3-1.tmx.gz,
data/maps/new_7-1.tmx.gz, data/maps/new_9-1.tmx.gz: Halloween related
contents.
* data/graphics/items/Makefile.am: Fixed wrong filename.
* data/graphics/sprites/Makefile.am: Fixed wrong filenames.
* data/graphics/sprites/weapon0.png: Replaced knife with scythe.
2006-10-30 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/items/CMakeLists.txt: Synced with autotools config.
* data/graphics/items/CMakeLists.txt: Added new items to CMake config.
* src/being.cpp: Properly initialize sprite vector.
2006-10-29 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/player.cpp: Fixed excessive unnecessary reloading of sprites.
2006-10-28 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.c: Reload wallpaper after updates are fetched.
* data/graphics/sprites/Makefile.am: Added monster20.
2006-10-28 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/monster20.png,
data/graphics/sprites/monster20.xml,
data/graphics/sprites/CMakeLists.txt:
Added pumpkin ghost monster for halloween event.
* data/maps/new_9-1.tmx.gz: Fixed a map discrepancy between
new_9-1 and new_14-1 (no new walkmap required). Thanks to QOAL
for reporting.
2006-10-24 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/images/ambient/night.png: added graphic for night
ambient effect.
2006-10-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac: Added zlib check before PhysFS check. The PhysFS check
was failing on MSYS because of a missing -lz.
2006-10-12 Yohann Ferreira <bertram@cegetel.net>
* debian/rules, debian/tmw-data.install, debian/tmw-data.dirs,
debian/tmw-music.install, debian/changelog: Updating Debian files for
bug fixing.
2006-10-12 Frode Lindeijer <f.lindeijer@gmail.com>
* /data/graphics/sprites/npcs.png: Updated the clothes salesman,
it was way out of date.
2006-10-12 Cédric Borgese <cedric.borgese@gmail.com>
* data/graphics/tiles/Woodland_x3.png: Enlarge the trunk and the
base of the trees in the woodland tileset.
2006-10-09 Yohann Ferreira <bertram@cegetel.net>
* src/gui/buysell.cpp, src/gui/buy.cpp: A little tweak to the buy
dialogs.
2006-10-07 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/resources/mapreader.cpp: Added support for gzip compressed map
layers.
* configure.ac, The Mana World.dev: Increased version to 0.0.22.
* src/map.cpp: Removed unused setSize method. Also introduced
initializeOverlays method and removed the confusing setOverlay (which
actually added one).
* src/properties.h: Added convenience method to read a property as a
float.
* src/map.cpp, src/resources/ambientoverlay.cpp,
src/resources/ambientoverlay.h: Resolved some weirdness involving
the terms scroll and speed.
2006-10-07 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
2006-10-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/item006.xml,
data/graphics/sprites/item007.xml,
data/graphics/sprites/item008.xml,
data/graphics/sprites/item009.xml,
data/graphics/sprites/item006.png,
data/graphics/sprites/item007.png,
data/graphics/sprites/item008.png,
data/graphics/sprites/item009.png,
data/graphics/sprites/item010.xml,
data/graphics/sprites/item010.png: Removed empty frames from
headgears.
2006-10-03 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/map.cpp, src/map.h, src/Makefile.am,
src/resources/mapreader.cpp, src/resources/ambientoverlay.cpp,
src/resources/ambientoverlay.h: Turned AmbientOverlay into a class.
Cleaned up the associated code.
2006-10-01 Eugenio Favalli <elvenprogrammer@gmail.com>
* tools/Purger.java: Added a tool to purge old accounts from eAthena's
database files.
2006-10-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/gui/trade.cpp, src/gui/inventorywindow.cpp:
Accepted patches by GDO and VictorSan that fix problems with hiding
windows using h and problems with trade window positioning.
2006-09-28 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/map.cpp: Fix random crashes when map tiles are missing.
2006-09-28 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/maps/new_2-1.tmx.gz: Matt Howe fixed up cave map.
2006-09-26 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/maps/new_6-1.tmx.gz: Alderan fixed a map issue.
2006-09-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/hairstyle*.png,
data/graphics/sprites/hairstyle*.xml, tools/Reorganize.java: Removed
unused frames from the hairsets.
* src/resources/image.h: Defined NO_SDL_GLEXT to prevent a
redefinition when gl.h also tries to define OpenGL extensions (patch
accepted from Rogier Polak).
2006-09-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/maps/new_5-1.tmx.gz: Accepted new version by Matt Howe, fixing
several mapping issues.
2006-09-21 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/tiles/Makefile.am: Added missing tileset.
* src/gui/updatewindow.cpp, src/gui/updatewindow.h: Made canceling the
update process non-blocking (Patch by VictorSan).
2006-09-21 Philipp Sehmisch <tmw@crushnet.org>
* src/animation.cpp, src/animation.h, src/animatedsprite.cpp,
src/animatedsprite.h: Removed some obsolete code and implemented
the posibility to define an <end /> token in the <animation>s
that allows to define an animation that doesn't loop and returns
to the STAND animation when finished.
* data/graphics/sprites/hairstyle*.xml,
data/graphics/sprites/item0*.xml,
data/graphics/sprites/monster*.xml,
data/graphics/sprites/weapons.xml: Used the <end /> token for all
attack animations fixing the problem with looping monster attack
animations.
2006-09-20 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/items/generic-whitefur.png,
data/graphics/items/generic-cavesnakelamp.png,
data/graphics/items/generic-hardspike.png,
data/graphics/items/generic-pinkantennae.png,
data/graphics/items/Makefile.am, data/items.xml: Added drops for new
monsters.
* src/gui/setup.cpp, src/gui/setup_video.cpp,
src/gui/setup_video.h: Added a slider for controlling the overlay
detail to the video setup dialog based on a patch by VictorSan.
* data/maps/new_14-1.tmx.gz, data/maps/new_16-1.tmx.gz: Added cloud
effect and minimap.
* data/images/Makefile.am: Updated makefile.
2006-09-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/Makefile.am: Added missing monster19 sprite.
2006-09-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/Makefile.am: Added missing maps.
* data/maps/new_10-1.tmx.gz: Disabled layer compression.
2006-09-18 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_9-1.tmx.gz: Fixed some mapping bugs (new walkmap
required).
2006-09-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_10-1.tmx.gz: Fixed transparent snow issue (Fix by
Pajarico).
2006-09-17 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp: Stop using the sticky window attribute which is
unneeded for the current implementation, instead adjust the set of
affected windows by the 'hide' shortcut.
2006-09-17 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_14-1.tmx.gz, data/maps/new_15-1.tmx.gz,
data/maps/new_16-1.tmx.gz: fixed some mapping errors.
2006-09-16 Philipp Sehmisch <tmw@crushnet.org>
* src/animatedsprite.cpp, src/animatedsprite.h: Fixed the crash when
attacking without a weapon, some additional stability improvements and
more descriptive variable names in the parsing algorithmn.
2006-09-16 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/help/changes.txt, data/help/header.txt, NEWS, README,
src/tmw.rc: Updated release infos.
2006-09-14 Philipp Sehmisch <tmw@crushnet.org>
* src/animation.h, src/animatedsprite.h,
data/graphics/sprites/weapon.xml: Some modifications at the animation
system. No more "undefined action foo" warnings in the tmw.log. Not
visible actions must now be declared explicitly.
* data/graphics/images/ambient/sandstorm.png,
data/graphics/images/ambient/clouds.png: Improved quality of the overlay
graphics.
2006-09-14 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/char_select.cpp: Remove debug output.
* src/gui/char_select.cpp, src/main.cpp: Fix the character name
matching loop and add support for saving the last used character
(based on a patch by Andrew Harrison).
* src/gui/char_select.cpp, src/gui/char_select.h, src/main.cpp: Clean
up the player selection stuff, it's a bit nicer now.
* src/main.cpp: Fix up the player selection command line option.
2006-09-13 Yohann Ferreira <bertram@cegetel.net>
* src/Makefile.am, src/gui/widgets, src/gui/widgets/dropdown.h,
src/gui/widgets/dropdown.cpp, src/gui/serverdialog.h,
src/gui/serverdialog.cpp: Added a reusable skinned dropdown widget in
the new widgets folder. Other widgets will be be moved there later.
2006-09-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/game.h: Simplified fps limiting a bit and added
some comments. Now based on ConfigListener so that the fpslimit option
doesn't need to be queried the whole time.
* NEWS: Updated with some items.
2006-09-11 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp: Fixed more fps issues.
2006-09-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/gui.cpp: Removed easy targeting functionality since it
interferes with walking around too much. Targeting can still be rather
conveniently done with 'a' or the middle mouse button.
2006-09-09 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/map.cpp: Removed being collisions. Fixed wrong heuristic cost
of the pathfinder.
* src/localplayer.h, src/being.cpp, src/net/beinghandler.cpp,
src/being.h: Fitted being trajectories to synchronization messages.
2006-09-07 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/resources/image.cpp: Fixed a typo.
* src/resources/image.cpp: Worked around a memory leak when using
OpenGL.
2006-09-06 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/item010.png, data/graphics/sprites/item010.xml,
data/graphics/sprites/Makefile.am: Added santa hat sprites and updated
makefile.
2006-09-06 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp, src/gui/setup_video.cpp, src/main.cpp: Fixed fps
limiter issues and increased default limit to 60.
* src/game.cpp: Fixed fps limiter when disabled.
2006-09-05 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/Woodland_ground.png,
data/graphics/tiles/Woodland_x2.png,
data/graphics/tiles/Woodland_x3.png: Some minor improvements and
additions at my tilesets.
* data/graphics/sprites/monster0.xml,
data/graphics/sprites/monster1.xml,
data/graphics/sprites/monster2.xml,
data/graphics/sprites/monster3.xml,
data/graphics/sprites/monster4.xml,
data/graphics/sprites/monster5.xml,
data/graphics/sprites/monster6.xml,
data/graphics/sprites/monster8.xml,
data/graphics/sprites/monster9.xml,
data/graphics/sprites/monster11.xml,
data/graphics/sprites/monster13.xml,
data/graphics/sprites/monster0.xml: Adjusted the animation speed of
several monsters.
2006-09-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/floor_item.cpp, src/gui/equipmentwindow.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/gui/inventorywindow.h,
src/gui/selectionlistener.h, src/gui/itemcontainer.h,
src/gui/inventorywindow.cpp, src/gui/buy.cpp,
src/gui/itemcontainer.cpp, src/gui/popupmenu.cpp, src/item.h,
src/net/inventoryhandler.cpp, src/Makefile.am,
src/resources/itemmanager.h, src/resources/iteminfo.cpp,
src/resources/iteminfo.h, src/resources/itemmanager.cpp: Introduced
SelectionListener to fix updating problem in inventory window (should
also be used to fix similar problem in trade, buy and sell dialogs).
Made the ItemInfo be passed around as a reference instead of a pointer,
since it is never NULL.
* src/gui/trade.cpp, src/gui/trade.h: Fixed updating of labels in
trade window.
* src/gui/sell.cpp, src/gui/listbox.h, src/gui/inventorywindow.h,
src/gui/buy.h, src/gui/buy.cpp, src/gui/sell.h, src/gui/listbox.cpp:
Fixed updating of labels in buy and sell dialogs. Also made our
listbox respond to mouse dragging to change the selection.
2006-09-02 Bernard Lidicky <bernard@matfyz.cz>
* src/game.cpp, src/beingmanager.h, src/gui/gui.cpp,
src/beingmanager.cpp, src/localplayer.h, README,
data/help/commands.txt, NEWS: Added targeting nearest monster with
either keyboard or mouse. Also made clicking beings in general a bit
easier (patch applied by Bjørn Lindeijer).
2006-09-02 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/serverdialog.cpp, src/main.cpp: Fixed crash when using short
versions of server and port command line options and made sure
cancelling the account server connect shows the server dialog.
2006-09-02 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/localplayer.cpp, src/beingmanager.h, src/beingmanager.cpp,
src/npc.cpp, src/player.cpp, src/monster.h, src/being.cpp, src/npc.h,
src/monster.cpp, src/player.h, src/net/beinghandler.cpp, src/being.h,
src/net/charserverhandler.cpp, src/net/protocol.h, src/localplayer.h,
src/net/chathandler.cpp: Switched to short IDs for beings.
* src/net/messagein.h, src/net/beinghandler.cpp, src/net/protocol.h,
src/net/messagein.cpp: Removed pixel-based synchronisation. Added
variable length move messages.
2006-09-01 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/monster19.png,
data/graphics/sprites/monster19.xml, data/graphics/tiles/arena.png,
data/graphics/tiles/cave.png, data/maps/new_17-1.tmx.gz,
data/maps/new_6-1.tmx.gz: Added new big cave map, lamp-snake monster,
improved arena map.
* src/gui/serverdialog.cpp, src/gui/serverdialog.h, src/net/network.h:
Fixed some header issues.
* The Mana World.dev, tmw.cbp: Updated project files.
2006-08-30 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/item007.png,
data/graphics/sprites/item007.xml, data/graphics/sprites/item009.png,
data/graphics/sprites/item009.xml:
Added sprites for miners helm and standard headband.
2006-08-30 Yohann Ferreira <bertram@cegetel.net>
* src/main.cpp, src/main.h, src/Makefile.am, src/gui/connection.h,
src/gui/connection.cpp, src/gui/serverdialog.cpp,
src/gui/serverdialog.h: Added a first version of the server dialog
with an unskinned dropdown. Upgraded also the connection window a bit
to handle Cancelling more gracefully.
2006-08-29 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp, src/beingmanager.h, src/gui/minimap.cpp,
src/engine.cpp, src/beingmanager.cpp: It's better to use a reference
when you don't need a pointer.
* NEWS: Updated with addition of config file option.
2006-08-29 Andrew Harrison <atharris@users.sourceforge.net>
* src/main.cpp: Added command line option to specify which
configuration file to use (patch applied by Bjørn Lindeijer).
2006-08-29 Matthias Hartmann <hartmann.matthias@gmail.com>
* data/graphics/sprites/item006.png,
data/graphics/sprites/item006.xml, data/graphics/sprites/item008.xml:
Fixed fancy hat + silk headband positions.
2006-08-29 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/item008.png,
data/graphics/sprites/item008.xml, data/graphics/sprites/Makefile.am:
Added fancy hat sprite.
2006-08-28 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/setup_video.cpp: Modified the ranges of the ScrollLaziness
and ScrollRadius sliders.
2006-08-28 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/items/*: Changed svn properties.
* data/graphics/sprites/item001.xml, data/graphics/sprites/item002.xml,
data/graphics/sprites/item003.xml, data/graphics/sprites/item004.xml,
data/graphics/sprites/item005.xml, data/graphics/sprites/item006.png,
data/graphics/sprites/item006.xml, data/graphics/sprites/Makefile.am:
Added headband and fixed svn properties.
2006-08-28 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/gui.cpp: Fixed crash when map is not loaded yet.
* src/net/beinghandler.cpp, src/net/protocol.h: Added support for
entering monsters.
2006-08-27 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/localplayer.cpp, src/net/protocol.h: Send move message
whenever a destination is selected.
* src/beinghandler.cpp: Smoothed being trajectories.
* src/localplayer.cpp, src/game.cpp, src/map.cpp, src/gui/gui.cpp,
src/engine.cpp, src/beingmanager.cpp, src/being.cpp, src/being.h,
src/net/beinghandler.cpp, src/net/playerhandler.cpp: Changed beings
tile-based coordinates to pixel-based coordinates (almost, they point
to tile centers for now).
* src/net/beinghandler.cpp, src/net/beinghandler.h: Added support for
leaving beings.
* src/localplayer.cpp, src/beingmanager.cpp, src/player.cpp,
src/monster.cpp, src/net/playerhandler.cpp, src/being.h: Removed
Being::mFrame field.
* src/localplayer.cpp, src/player.cpp, src/monster.h, src/being.cpp,
src/monster.cpp, src/player.h: Cleaned the logic members.
* src/engine.cpp, src/localplayer.cpp, src/gui/gui.cpp, src/being.cpp,
src/being.h: Implemented pixel-grained movements.
* src/engine.cpp, src/gui/gui.cpp: Fixed merge issues: printfs and
inconsistency between view and camera variables. Fixed lazy scrolling:
there is no "freaking out" when the correct function is used.
2006-08-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/inventoryhandler.cpp: Applied patch by Andrew Harrison that
adds item pickup messages to the chat window.
* NEWS: Updated with some recently added and fixed issues. Doesn't
mention any of the recent content updates yet.
* src/localplayer.cpp, src/gui/sell.cpp, src/gui/trade.cpp,
src/gui/char_select.cpp, src/gui/chat.cpp, src/gui/buy.cpp,
src/engine.cpp, src/beingmanager.cpp, src/npc.cpp,
src/net/messageout.cpp, src/net/messageout.h: Got rid of the default
MessageOut constructor, since all messages should have an ID.
* src/net/protocol.cpp, src/net/protocol.h, src/net/messagein.cpp,
src/net/playerhandler.cpp, src/Makefile.am: Got rid of no longer used
protocol.cpp.
* src/gui/login.cpp, src/gui/register.h, src/gui/login.h,
src/gui/register.cpp: Got rid of server input field since connecting
to the account server now happens before the login and register
dialogs.
2006-08-26 Pascal Ganaye <pascalganaye@users.sourceforge.net>
* src/joystick.h, src/joystick.cpp, src/gui/setup.cpp,
src/gui/setup_joystick.h, src/gui/setup_video.cpp,
src/gui/setup_joystick.cpp, src/gui/setup_video.h: Added sliders to
the video section of the setup window to configure the laziness and
radius of the scrolling behaviour. Added a checkbox to the joystick
section to allow enabling/disabling the joystick (patch applied by
Bjørn Lindeijer).
2006-08-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/char_select.cpp, src/gui/playerbox.cpp, src/player.cpp,
src/main.cpp, src/being.cpp, src/net/beinghandler.cpp, src/being.h,
data/graphics/sprites/hairstyle0.xml,
data/graphics/sprites/Makefile.am: Got rid of numerous additions and
substractions to the hair style and color. Hair style 0 was added and
defined as being bald (so bald is no longer a hardcoded style).
* src/player.cpp, src/being.cpp, src/net/charserverhandler.cpp,
src/being.h: Fixed player sprite not showing up.
* src/gui/ministatus.cpp, src/gui/ministatus.h: Applied patch by mrha
(Herbi), adding experience bar to the ministatus in the top left.
* configure.ac, data/graphics/items/Makefile.am,
data/graphics/Makefile.am: Added Makefile.am to make sure the item
icons are installed.
* src/player.cpp, src/animation.h, src/player.h,
src/animatedsprite.cpp, src/animation.cpp: Applied patch by Bahamut81
which implements resetting of Animation, Action and AnimatedSprite.
This fixes the animation synchronization issues.
2006-08-26 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/net/chathandler.cpp, src/gui/chat.cpp, src/net/protocol.h: Added
support for "say around" messages.
* src/net/beinghandler.cpp: Partly implemented being creation, so that
chat works.
* src/game.cpp, src/engine.h, src/beingmanager.h, src/gui/trade.cpp,
src/gui/sell.cpp, src/gui/char_select.cpp, src/gui/chat.h,
src/gui/buy.h, src/gui/chat.cpp, src/gui/char_select.h,
src/gui/buy.cpp, src/gui/sell.h, src/gui/trade.h, src/engine.cpp,
src/beingmanager.cpp, src/npc.cpp, src/main.cpp, src/npc.h,
src/net/tradehandler.h, src/net/messagehandler.h, src/net/network.h,
src/net/charserverhandler.cpp, src/net/messagehandler.cpp,
src/net/network.cpp, src/localplayer.h, src/game.h: Made the Network
class a purely static interface, as there is only one instance.
* src/net/beinghandler.cpp, src/net/beinghandler.h,
src/net/protocol.h: Added support for "beings move" messages.
2006-08-25 Matthias Hartmann <hartmann.matthias@gmail.com>
* src/gui/char_select.cpp, src/gui/char_select.h, src/main.cpp: Added
--playername command line option for selecting the character you want
to play with (patch applied by Bjørn Lindeijer).
2006-08-25 Philipp Sehmisch <tmw@crushnet.org>
* src/engine.cpp, src/map.h, src/map.cpp: Addded new config variable
"OverlayDetail" to control the number of drawn overlays.
2 (or more) = all (default), 1 = only the first one, 0 = none.
2006-08-24 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/help/commands.txt, README, src/game.cpp, src/gui/chat.cpp,
src/gui/window.cpp, src/gui/window.h: Added support for sticky windows
as discussed with doener. Patch by Andrew Harrison.
* data/items.xml: Added jeans shorts.
2006-08-24 Philipp Sehmisch <tmw@crushnet.org>
* src/engine.cpp: Scrolling speed no longer affected by framerate.
* src/map.cpp, scr/map.h: Overlay speed no longer affected by
framerate.
* data/maps/new_1-1.tmx.gz, data/graphics/new_7-1.tmx.gz,
data/graphics/images/ambient/sandstorm.png: Redone sandstorm effect
(larger and more transparent image, tripple layer parallax scrolling)
2006-08-24 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/sprites/item004.png,
data/graphics/sprites/item005.png, data/graphics/sprites/Makefile.am,
data/graphics/items/armor-legs-cottonshorts,
data/graphics/items/armor-legs-jeanshorts: Added the equip graphics of
the short jeans and the cotton shorts and an inventory icon of the
cotton shorts. Also added all added files to the makefile.
2006-08-23 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_7-1.tmx.gz: Fixed a minor mapping bug reported on the
forum (no new walkmap required).
* data/maps/new_9-1.tmx.gz: Fixed two minor mapping bugs (new walkmap
required).
2006-08-22 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac, data/graphics/images/ambient,
data/graphics/images/ambient/Makefile.am,
data/graphics/images/Makefile.am: Updated makefiles to account for new
ambient images and changed the version from 0.0.20.1 to 0.0.21.
2006-08-21 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, tmw.cbp: Updated project files.
2006-08-21 Philipp Sehmisch <tmw@crushnet.org>
* src/mapreader.cpp: Added logic for initialisation of the overlays.
* src/map.cpp, src/map.h: Code for updating and drawing the overlays.
* src/engine.cpp, src/engine.h: Added smooth scrolling and the call
to draw the overlays.
* data/maps/new_1-1.tmx.gz, data/graphics/new_7-1.tmx.gz,
data/graphics/images/ambient/sandstorm.png: Added sandstorm effect
to the desert maps outside of the city (feedback, please).
* data/maps/new_2-1.tmx.gz, data/maps/new_4-1.tmx.gz,
data/maps/new_5-1.tmx.gz, data/graphics/images/ambient/spotlight.png
Added spotlight effect to the cave maps (feedback, please)
* data/graphics/maps/new_9-1.tmx.gz,
data/graphics/images/ambient/clouds.png:
Added cloudshadow effect to the woodland map (feedback, please).
2006-08-20 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac: Moved libpng check before SDL_image check, since the
latter requires the former.
2006-08-20 Yohann Ferreira <bertram@cegetel.net>
* data/graphics/sprites/Makefile.am: Following the splitting from
Philipp, moved out the items.png file from the Makefile.am.
* debian/control, debian/tmw-data.install: Updated debian package
creation process.
* src/Makefile.am: Added iteminfo.cpp to avoid an undefined reference
with gcc 4.1.2. Happy to be back :)
2006-08-20 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/connection.cpp, src/gui/login.cpp, src/gui/gui.cpp,
src/gui/updatewindow.cpp, src/gui/char_select.cpp,
src/gui/register.cpp, src/main.cpp, src/net/loginhandler.cpp,
src/net/messageout.cpp, src/net/network.h,
src/net/charserverhandler.cpp, src/net/maploginhandler.cpp,
src/net/messageout.h, src/net/network.cpp, src/main.h: The Network
can now connect to the three servers and affected methods now take the
server type as a parameter. The MessageOut gained a convenience
constructor (same as was added server side). The game states during
login sequence have been renamed and redone in order to ensure no
communication is attempted to unconnected servers. This allowed the
removal of the outgoing message queue. Connecting to the account
server has been moved before the login/register phase (dialogs will
still need to be updated). Quite a few things are expected to be
broken since I'm rather tired at the moment. I've left many TODO
entries in the code.
* src/net/network.h, src/net/network.cpp: Added documentation and did
a bit of cleanup (peer pointers now stored in an array).
* src/gui/register.cpp, src/main.h: Made cancel button in register
dialog go back to the login dialog and cleaned up two unused states.
* src/game.cpp, src/engine.cpp, src/main.cpp,
src/net/charserverhandler.cpp, src/net/network.cpp, src/main.h: Fixed
selection of player character and implemented sending of game and chat
server tokens. It gets you in the game (or what's left of it), but not
on any map yet.
* src/net/*: Changed MessageHandler::handleMessage to take a reference
instead of a pointer. Removed unused Packet class. Added stub for
handling GPMSG_BEING_ENTER.
* src/engine.cpp, src/net/playerhandler.h, src/net/protocol.h,
src/net/playerhandler.cpp: GPMSG_PLAYER_MAP_CHANGE is now partly
handled.
2006-08-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/net/network.h, src/net/network.cpp: Removed
incoming packets queue. Messages are now processed as they come in.
2006-08-17 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/items/*: Splitted the items.png into separate images
with more distinctive names. (no, i won't list all 114)
* src/itemmanager.cpp, data/items.xml: Replaced indices on the item
spriteset with filenames. added names and descriptions for all missing
items. Changed names and descriptions of some items.
* src/engine.cpp: Removed global item spriteset.
* src/floor_item.cpp, src/floor_item.h, src/iteminfo.cpp,
src/iteminfo.h, src/equipmentwindow.cpp, src/equipmentwindow.h,
src/itemcontainer.cpp, src/itemcontainer.h: The iteminfo class now
provides a pointer to the item icon image instead of providing the
index on the item spriteset.
* data/graphics/tiles/trans_desert-woodland.png: Added transmission
tileset between desert and woodland.
2006-08-15 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/char_select.cpp, src/net/charserverhandler.h,
src/net/charserverhandler.cpp: Some preparations towards supporting
character select and response handling.
* src/net/charserverhandler.cpp: Fixed typo and forgetting to add
APMSG_CHAR_SELECT_RESPONSE to the list of handled messages.
2006-08-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/charserverhandler.h, src/net/charserverhandler.cpp: Fix
warning about jump to case label crossing an initialization.
* src/gui/vbox.cpp: Use std::list#empty since it is more efficient as
pointed out by doener.
2006-08-14 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/being.cpp, src/being.h, src/gui/char_select.cpp,
src/gui/char_select.h, src/gui/playerbox.cpp, src/gui/playerbox.h,
src/gui/status.cpp, src/gui/status.h, src/localplayer.cpp,
src/localplayer.h, src/main.cpp, src/net/buysellhandler.cpp,
src/net/charserverhandler.cpp, src/net/loginhandler.cpp,
src/net/loginhandler.h, src/net/messageout.cpp, src/net/messageout.h,
src/net/network.cpp, src/net/network.h, src/net/playerhandler.cpp,
src/net/protocol.h: Completed porting of character creation/deletion,
fixed some issues with network code.
2006-08-14 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/player.cpp: Verify the gender to prevent crashing when something
is wrong with the communication.
2006-08-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/monster18.png,
data/graphics/sprites/monster18.xml,
data/graphics/sprites/npcs.png: Added new monster and npcs.
* src/gui.cpp, tmw.cbp, The Mana World.dev: Fixed Guichan 0.5.0
compilation issues.
2006-08-13 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/openglgraphics.cpp, src/gui/browserbox.h, src/gui/gui.cpp,
src/gui/chat.cpp, src/resources/image.h: Added include main.h in order
to have USE_OPENGL defined correctly, since it is no longer passed as
a compiler parameter.
2006-08-12 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_9-1.tmx.gz, data/maps/new_14-1.tmx.gz,
data/maps/new_15-1.tmx.gz, data/maps/new_16-1.tmx.gz: Fixed some
inaccessible areas.
2006-08-07 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_9-1.tmx.gz, data/maps/new_14-1.tmx.gz,
data/maps/new_15-1.tmx.gz, data/maps/new_16-1.tmx.gz,
data/graphics/images/minimap_new_9-1.png,
data/graphics/images/minimap_new_14-1.png,
data/graphics/images/minimap_new_15-1.png,
data/graphics/images/minimap_new_16-1.png: Added minimaps for woodland
maps.
2006-08-07 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_1-1.tmx.gz, data/maps/new_14-1.tmx.gz,
data/maps/new_15-1.tmx.gz, data/maps/new_16-1.tmx.gz: Added a new
woodland map and a connection map between desert and woodland.
* data/graphics/woodland_ground.png: Added some new rocks.
2006-08-07 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/gui/chat.h, src/gui/chat.cpp, src/main.cpp: A
bunch of cleanups.
2006-08-06 Bjørn Lindeijer <bjorn@lindeijer.nl>
* INSTALL: Updated required Guichan to version 0.5.0.
2006-08-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/configuration.cpp, src/game.cpp, src/engine.cpp, src/player.cpp,
src/being.cpp, src/resources/mapreader.cpp,
src/resources/itemmanager.cpp: Some cleanups, mostly lowering
indentation.
* src/being.cpp: Small code cleanup.
2006-08-04 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* src/gui/char_select.cpp: Fixed character gender in selection dialog.
2006-08-04 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/animatedsprite.cpp: Fix enum being treated as string.
* src/animation.cpp: Small code cleanups. Removed unused headers.
* src/animatedsprite.cpp: Small code cleanup/lower indentation.
2006-08-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/animatedsprite.cpp: Fixed presence of NULL actions. This is
doener's version of the fix, because it was more efficient in the more
common case.
2006-08-04 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/tiles/desert_x3.png: Replaced the old cactus with
a nice new high-res one.
2006-08-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/player.cpp, src/being.cpp, src/being.h: Removed three
setDirection(mDirection) calls by instead specifically setting the
current direction on the newly added animated sprite. The same might
be done for the action later.
* src/animatedsprite.h, src/animatedsprite.cpp: Since this class isn't
subclassed and has no virtual functions, make protected members
private. Also added a start of a reset function which could be a
solution to unsynchronized animated sprites.
* src/net/network.cpp: Fixed two delete/delete[] errors.
2006-08-02 Guillaume Melquiond <guillaume.melquiond@gmail.com>
* configure.ac, src/Makefile.am: Put object files in subdirectories.
Moved compilation flags to configure script. Added library header
checks.
2006-08-02 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/char_select.cpp, src/gui/char_select.h, src/gui/register.cpp,
src/gui/register.h, src/logindata.h, src/main.cpp, src/main.h,
src/net/charserverhandler.cpp, src/net/loginhandler.cpp,
src/net/protocol.h: Ported account registration to tmwserv. There's
still a disconnection/reconnection between registration and login.
* src/gui/gui.cpp, src/register.cpp, src/register.h: Removed sex
choice.
2006-08-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac: Moved some basic checks above the checks on the
libraries we depend on, in order to get rid of the confusing
rpl_realloc error.
* src/net/beinghandler.cpp, src/net/maploginhandler.cpp,
src/net/protocol.h, src/resources/openglsdlimageloader.cpp,
src/player.cpp: Fixed several compiler warnings and a linker error
when compiling without OpenGL support.
2006-08-01 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/gui.cpp, The Mana World.dev, tmw.cbp: Fixed compilation
issues in windows.
2006-08-01 Philipp Sehmisch <tmw@crushnet.org>
* src/animation.h, src/animation.cpp, src/animatedsprite.h,
src/animatedsprite.cpp, src/being.cpp: Animations and directions
are now passed and stored as enums and no longer as strings.
2006-07-31 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/network.cpp: Corrected an off by one error in packet size.
2006-07-30 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/animatedsprite.h, src/animatedsprite.cpp: Unified the play
methods.
2006-07-30 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_5-1.tmx.gz: Fixed two minor mapping errors (no new
walkmap required).
2006-07-30 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/openglgraphics.cpp, src/game.cpp, src/main.cpp,
src/gui/buddywindow.cpp, src/gui/connection.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/gui/char_server.cpp, src/gui/window.cpp,
src/gui/login.cpp, src/gui/skill.h, src/gui/gui.cpp,
src/gui/item_amount.h, src/gui/setup_audio.h, src/gui/newskill.cpp,
src/gui/register.h, src/gui/setup.cpp, src/gui/npclistdialog.h,
src/gui/updatewindow.cpp, src/gui/char_select.cpp, src/gui/login.h,
src/gui/item_amount.cpp, src/gui/setup_audio.cpp,
src/gui/npc_text.cpp, src/gui/chat.h, src/gui/setup_joystick.h,
src/gui/setup_video.cpp, src/gui/ok_dialog.cpp, src/gui/textfield.cpp,
src/gui/inventorywindow.h, src/gui/newskill.h, src/gui/box.h,
src/gui/ministatus.cpp, src/gui/buy.h, src/gui/setup.h,
src/gui/confirm_dialog.cpp, src/gui/debugwindow.cpp, src/gui/vbox.cpp,
src/gui/chat.cpp, src/gui/setup_joystick.cpp, src/gui/updatewindow.h,
src/gui/char_select.h, src/gui/buysell.h, src/gui/tabbedcontainer.cpp,
src/gui/inventorywindow.cpp, src/gui/help.cpp, src/gui/status.h,
src/gui/npc_text.h, src/gui/setup_video.h, src/gui/menuwindow.cpp,
src/gui/ok_dialog.h, src/gui/buy.cpp, src/gui/buddywindow.h,
src/gui/sell.h, src/gui/trade.h, src/gui/char_server.h,
src/gui/skill.cpp, src/gui/buysell.cpp, src/gui/confirm_dialog.h,
src/gui/debugwindow.h, src/gui/status.cpp, src/gui/register.cpp,
src/gui/scrollarea.cpp, src/gui/tabbedcontainer.h,
src/gui/npclistdialog.cpp, src/gui/help.h, src/net/tradehandler.cpp,
src/net/playerhandler.cpp, src/Makefile.am,
src/resources/sdlimageloader.cpp, src/resources/sdlimageloader.h,
src/resources/openglsdlimageloader.cpp,
src/resources/resourcemanager.cpp,
src/resources/openglsdlimageloader.h, src/resources/resourcemanager.h:
Updated TMW to be compatible with Guichan 0.5.0 (merged from
guichan-0.5.0 branch).
2006-07-29 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/animatedsprite.h, src/animatedsprite.cpp, src/animation.cpp: A
bunch of cleanups.
* src/animation.h, src/animatedsprite.cpp: Moved included from header
to source file.
2006-07-28 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/npc.cpp, src/player.cpp, src/animatedsprite.h, src/animation.h,
src/being.cpp, src/main.cpp, src/monster.cpp, src/animatedsprite.cpp,
src/animation.cpp, src/Makefile.am, src/being.h: Moved AnimatedSprite
into its own files, removed useless includes.
* src/engine.cpp: Removed an unused var.
2006-07-27 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/main.cpp: Modified client version to be an int.
2006-07-26 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/char_server.cpp, src/gui/char_sever.h, src/main.cpp,
src/net/loginhandler.cpp, src/net/loginhandler.h, tmw,cbp: Removed
char server selection dialog, and added character visualization in
character selection dialog.
* data/graphics/sprites/Makefile.am, data/graphics/tiles/Makefile.am,
data/maps/Makefile.am, data/maps/new_13-1.tmx.gz: Added map with
inside of snow village buildings and fixed makefiles.
* src/being.cpp, src/being.h, src/player.cpp: Fixed direction and
action issues when changing appeareance, frames are still out of sync.
* data/maps/Makefile.am, data/maps/new_14-1.tmx.gz,
data/maps/new_9-1.tmx.gz: Added new woodland map by Crush and fixed
connection with the old one.
2006-07-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/maps/new_4-1.tmx.gz: Fixes to the collision layer.
2006-07-26 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/tiles/snowset.png, data/graphics/tiles/snow_x2.png,
data/graphics/tiles/snow_x3.png: Moved the lamppost, the rock and the
bench to seperate tall tilebitmaps.
* data/maps/new_11-1.tmx.gz: Improved the snow village map, main
changes are that the player can now walk better behind houses,
lampposts, rocks and benches.
* data/graphics/sprites/item003.png, data/graphics/sprites/item003.xml:
Added the leather shirt
2006-07-25 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/beingmanager.cpp, src/engine.cpp, src/gui/buy.cpp,
src/gui/char_select.cpp,src/gui/chat.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/localplayer.cpp, src/main.cpp,
src/net/beinghandler.cpp, src/net/buysellhandler.cpp,
src/net/charserverhandler.cpp, src/net/chathandler,
src/net/equipmenthandler.cpp, src/net/inventoryhandler.cpp,
src/net/itemhandler.cpp, src/net/loginhandler.cpp,
src/net/maploginhandler.cpp, src/net/messagein.cpp,
src/net/messagein.h, src/net/messageout.cpp, src/net/messageout.h,
src/net/network.cpp, src/net/network.h, src/net/npchandler.cpp,
src/net/playerhandler.cpp, src/net/protocol.h,
src/net/skillhandler.cpp, src/net/tradehandler.cpp, src/npc.cpp,
tmw.cbp: Switched client to use enet and modified login sequence to
work with the new protocol from tmwserv.
2006-07-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp: Fixed updating on Windows.
* src/net/beinghandler.cpp, src/net/network.cpp, configure.ac: Fixed
Linux compiling issues.
* src/configuration.cpp: Reduced amount of logging.
* src/log.cpp, src/log.h: Added support for writing log to standard
output.
* src/main.cpp: Reorganized initialization somewhat.
* src/resources/resourcemanager.cpp: Take into account singular form.
2006-07-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp: Fixed the loading of updates and made skipping the
update process also skip the loading of updates.
2006-07-24 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/localplayer.cpp, src/being.cpp: Fixed setDirection() semantics.
Removed a printf-leftover.
2006-07-24 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/sprites/npcs.png: Added the organdealer to
the NPCs.
* data/graphics/sprites/player_male_base.png,
data/graphics/sprites/player_female_base.png: Fixed some
transparency issues.
2006-07-24 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/being.cpp, src/being.h, src/localplayer, The Mana World.dev,
tmw.cbp: Removed unused code, fixed "change direction when not walking"
bug, updated project files.
* data/graphics/sprites/monster1.xml: Slowed down scorpions.
* data/graphics/sprites/monster2.xml: Red scorpions have got the same
problem.
* data/graphics/sprites/player_female_base.xml: Fixed female playerset
animation definition.
* data/help/about.txt, data/help/changes.txt, data/help/commands.txt,
data/help/header.txt, data/help/index.txt, data/help/skills.txt,
data/help/support.txt, data/help/team.txt: Forced to use UNIX end of
line character.
* src/net/equipmenthandler.cpp: Equipments now use real slot positions.
2006-07-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/floor_item.cpp, src/animation.h, src/being.cpp, src/main.cpp,
src/gui/equipmentwindow.cpp, src/gui/playerbox.cpp,
src/gui/itemcontainer.cpp, src/engine.cpp, src/tileset.h,
src/animation.cpp, src/Makefile.am, src/resources/mapreader.cpp,
src/resources/resourcemanager.cpp, src/resources/spriteset.cpp,
src/resources/resourcemanager.h, src/resources/spriteset.h,
src/being.h, src/graphic/spriteset.cpp, src/graphic/spriteset.h,
data/graphics/sprites/npc.xml, data/graphics/sprites/weapons.xml:
Implemented caching of spritesets, including a lot of cleanups to the
new animation system. Action now refers to the Spriteset directly and
AnimatedSprite refers to the current Action directly instead of using
the std::map with a std::string constantly. Some methods and
parameters are marked as const. The READ_PROP macro was replaced by
static methods. Warnings are logged when unnamed actions are defined
or when actions refer to undefined imagesets. Code is more tolerant
towards missing actions.
* NEWS: Rearranged some items.
2006-07-21 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/animation.cpp, src/animation.h: Removed unused code, fixed a
numeric conversion, used a more meaningful speed.
2006-07-20 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/help/header.txt, data/help/skills.txt, docs/FAQ.txt, README:
Updated some docs for the 0.0.20 release.
* NEWS: Added new features of 0.0.20.
* data/items.xml: Added shorts.
* src/tmw.rc, The Mana World.dev, tmw.cbp: Added a resource script to
let both Dev-Cpp and Code::Blocks share the same binary icon and
version infos.
* data/graphics/sprites/player_female_base.xml,
data/graphics/sprites/player_male_base.xml, src/animation.cpp,
src/animation.h, src/being.cpp: Fixed left bow attack animation,
made the attack animation stay in sync with attack speed.
2006-07-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/minimap.cpp: Fixed dot size of local player.
* src/engine.cpp: Fixed color of "[TARGET]".
* src/resources/mapreader.cpp, src/resources/mapreader.h,
data/maps/new_12-1.tmx.gz, data/maps/new_3-1.tmx.gz,
data/maps/new_4-1.tmx.gz, data/maps/new_5-1.tmx.gz,
data/maps/new_6-1.tmx.gz, data/maps/new_7-1.tmx.gz,
data/maps/new_8-1.tmx.gz, data/maps/new_9-1.tmx.gz,
data/maps/new_1-1.tmx.gz, data/maps/new_10-1.tmx.gz,
data/maps/new_11-1.tmx.gz, data/maps/new_2-1.tmx.gz: Implemented
loading for the way Tiled saves properties since version 0.6.0 and
updated all current maps.
2006-07-19 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/item001.png, data/graphics/sprites/item001.xml,
data/graphics/sprites/item002.png, data/graphics/sprites/item002.xml,
data/graphics/sprites/item1202.png, data/graphics/sprites/Makefile.am,
docs/INSTALL/win32.txt, src/animation.cpp, src/being.cpp, src/being.h,
src/gui/equipmentwindow.cpp, src/gui/newskill.cpp, src/main.cpp,
src/net/beinghandler.cpp, src/net/charserverhandler.cpp,
src/player.cpp, src/player.h: Merged trunk changes r2381:2397 into
new_animation branch.
* tmw.cbp: Updated Code::Blocks project file.
* src/gui/char_select.cpp: Fixed next/previous buttons behaviour in
character selection dialog.
* data/graphics/sprites/Makefile.am: Alphabetically correct.
2006-07-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tmw.cbp: Added Code::Blocks project file.
2006-07-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp, src/gui/updatewindow.h, src/main.cpp,
src/resources/resourcemanager.cpp, src/resources/resourcemanager.h:
Updated the updating system. It will now only load those updates
specified in the downloaded resources.txt file, and in the order
in which they are mentioned (the top one being the most
significant).
2006-07-17 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/sprites/items.png: Added shorts' icon to items.png
2006-07-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/newskill.cpp: Fixed up a string comparison that caused a
warning with GCC 4.2.
2006-07-12 Frode Lindeijer <f.lindeijer@gmail.com>
* data/graphics/sprites/item001.png: Completed the cotton shirt
equipment graphic.
2006-07-06 Philipp Sehmisch <tmw@crushnet.org>
* src/animation.cpp, src/animation.h, src/being.cpp, src/being.h,
src/monster.cpp, src/npc.cpp, src/player.cpp:
Fixed some minor bugs, cleaned up general code style and added more
comments.
2006-07-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/monster.cpp, src/npc.cpp, src/player.cpp: Fixed broken paths.
* data/graphics/sprites/Makefile.am: Added new files.
* src/animation.cpp: Added missing return value...
* src/Makefile.am: Added new files.
2006-07-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/monster0.xml: Fixed frame size of maggot.
* src/being.h: drawName should be virtual, lest we want names to be
drawn.
2006-07-03 Philipp Sehmisch <tmw@crushnet.org>
* src/spriteset.cpp, src/spriteset.h: Spriteset::get() doesn't crash
anymore when requesting a sprite outside of the spriteset. (it returns
NULL instead and logs a warning).
2006-07-03 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp: Fixed a compiler issue reported by Pajarico.
2006-07-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tools/Reorganize.java: Added tool used for reorganizing and
auto-cropping the monster spritesets.
2006-07-03 Philipp Sehmisch <tmw@crushnet.org>
* src/main.cpp, src/engine.cpp: Removed some no longer required old
style spritesets.
* src/being.h, src/being.cpp: Removed some no longer needed member
variables.
* src/monster.cpp: Monsters are now drawed with the new animation
system.
* src/npc.cpp, data/graphics/sprites/npcs.xml: NPCs are now drawed
with the new animation system.
* src/being.h, src/being.cpp, src/npc.cpp, src/npc.h, src/monster.cpp,
src/monster.h: Moved all drawing code from the Being based classes
into Being.
* data/graphics/sprites/monster*.png: Resized and reorganized the
monster spritesets to fit the new animation system (thanks, Bjørn).
* data/graphics/sprites/monster*.xml: Added animation files for all
monsters.
* src/animation.cpp: The offset values of the Frames of animated
sprites are now modified so every frame is drawn centered.
* data/graphics/sprites/hairstyle*.xml: Retuned the offsets of the
hair sprites.
* src/animation.cpp: Small stability fix.
* src/being.cpp, src/being.h: weapon animation now uses the new
animation system.
* data/graphics/sprites/player_male_base.xml
data/graphics/sprites/player_female_base.xml
data/graphics/sprites/hairstyle*.xml: Tuned walk speed and added bow
animations.
2006-07-03 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/being.cpp: Removed an unnecessary parameter.
2006-07-03 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/Makefile.am: Updated to new xml files.
2006-07-02 Philipp Sehmisch <tmw@crushnet.org>
* src/localplayer.cpp: Fixed the "walking against walls" bug.
* src/animation.cpp src/animation.h: fixed the "sliding" bug and
removed some unused variables.
2006-07-01 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp, src/being.h, src/player.cpp, src/player.h,
src/localplayer.cpp: Sprites are now stored in a vector instead of a
list, so they can be replaced a lot easier; added female playerset;
added hairstyles and colors.
* src/animation.cpp, src/animation.h: added support for variations,
variations are animations stored in the same spriteset with the same
layout and sequence but starting at another index.
* data/graphics/sprites/player_female_base.xml: Added xml file for
female characters.
* data/graphics/sprites/hairstyle0.xml,
data/graphics/sprites/hairstyle1.xml,
data/graphics/sprites/hairstyle2.xml,
data/graphics/sprites/hairstyle3.xml,
data/graphics/sprites/hairstyle4.xml,
data/graphics/sprites/hairstyle5.xml,
data/graphics/sprites/hairstyle6.xml,
data/graphics/sprites/hairstyle7.xml: Added xml files for all
hairstyles (these xml files are using the new variation feature).
* src/being.cpp, src/being.h, src/localplayer.cpp, src/player.cpp: The
beings now haven't got one, but a list of animated sprites (named
mSprites). At the moment it contains the hair and the base sprite.
* src/animation.cpp, src/animation,h: Fixed a crash when substituting
an undefined direction; renamed completeDirections method to
substituteAction.
* data/graphics/sprites/hairstyle0.xml: Made a xml file for the hair
animation.
2006-06-29 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/items.xml, src/being.cpp, src/being.h src/net/beinghandler.cpp,
src/player.cpp: Clients get notified of equipping visible items.
* src/net/beinghandler.cpp: GCC 4 fix.
2006-06-28 Philipp Sehmisch <tmw@crushnet.org>
* src/animation.cpp, src/animation.h: Parser now works like described
on the wiki; the single animation phases are now stored in structures;
drawing call for animatiedSprites moved into the animatiedSprite
class.
* src/being.cpp, src/being.h, src/localplayer.cpp, src/player.cpp:
Renamed mAnimatedSprite to mBaseSprite to distinct it from hair-equip
and other sprites that will also be part of the class.
* src/player.cpp: Drawing call for animatiedSprites moved into the
animatiedSprite class; time now correctly passed in ms to the
animatedSprite class.
* src/graphic/spriteset.cpp, src/graphic/spriteset.h: Width and height
of the subimages is now saved in the spritesheet class.
* src/graphics.cpp: Added an additional check to avoid crashes when
passing a NULL pointer as image argument.
* data/graphics/sprites/player_male_base.xml: Animation file now has
the syntax described on the wiki.
2006-06-27 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/player_male_base.xml, src/being.cpp,
src/being.h, src/engine.cpp, src/localplayer.cpp, src/main.cpp,
src/net/beinghandler.cpp, src/net/playerhandler.cpp,
src/resources/itemmanager.cpp, The Mana World.dev: Added a beginning
of a new animation system to slow down player walking.
* src/animation.cpp, src/animation.h: Forgot 2 files.
* src/being.cpp, src/gui/equipmentwindow.cpp, src/player.cpp:
Equipment window now show all the slots, and adapted visible shirts to
head (middle) equipments.
2006-06-27 Frode Lindeijer <f.lindeijer@gmail.com>
* /tmw/trunk/data/graphics/sprites/player_male_base.png:
Fixed transparency issue with the north punching frames
2006-06-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/messagein.cpp: Fixed the readString method (synchronized
with the server version by Guillaume Melquiond).
2006-06-21 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/monster11.png,
data/graphics/sprites/monster17.png: Fixed attack animation of monster
11 and added a new monster.
* data/graphics/sprites/Makefile.am,
data/graphics/sprites/player_female_base.png, src/being.cpp,
src/being.h, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/playerbox.cpp, src/gui/playerbox.h, src/gui/register.cpp,
src/main.cpp, src/net/beinghandler.cpp, src/net/charserverhandler.cpp,
src/player.cpp: Added female players.
2006-06-19 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/monster16.png: added the little pink monster
2006-05-22 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/tiles/icecave.png, data/graphics/tiles/Makefile.am,
data/maps/Makefile.am, data/maps/new_10-1.tmx.gz,
data/maps/new_11-1.tmx.gz, data/maps/new_4-1.tmx.gz,
data/maps/new_5-1.tmx.gz, src/resources/itemmanager.cpp: A bunch of
updates to the world and disabled art and type xml parser checks since
they're not used.
2006-05-21 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated dev-cpp project file.
2006-05-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/npcs.png, data/graphics/tiles/Makefile.am,
data/graphics/snow_building.png, data/graphics/tiles/snowset.png,
data/maps/Makefile.am, data/maps/new_11-1.tmx.gz: New NPCs, new snow
tiles and village.
2006-05-15 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/item_amount.cpp: Set slider range to the real values instead
of mapping the amount between [0,1] and [1,max] all the time.
2006-05-13 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/openglgraphics.cpp: Set color back to current color instead of
setting it to white. Fixes white rectangles in equipment window.
* src/being.cpp, src/being.h, src/player.cpp: Specify the color in
which speech and names are supposed to be drawn. Removed unused
mSpeechColor member.
2006-05-12 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp: Fixed initialization order in Being ctor.
2006-05-12 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/item1202.png,
data/graphics/sprites/Makefile.am, src/being.cpp, src/being.h,
src/localplayer.cpp, src/localplayer.h, src/main.cpp, src/player.cpp,
The Mana World: You can now see the shirt when equipping a top
equipment.
2006-05-05 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/setup_video.cpp: Fixed some numeric conversions.
2006-05-03 Eugenio Favalli <elvenprogrammer@gmail.com>
* configure.ac, src/game.cpp, src/graphics.cpp, src/main.cpp,
src/openglgraphics.cpp, The Mana World: Increased fps limit
granularity and cleaned some code, fixed some xml library name in
Dev-C++ project file, switched version to 0.0.20.
* src/game.cpp, src/gui/setup.cpp, src/gui/setup_video.cpp,
src/gui/setup_video.h, src/main.cpp: FPS limit can now be set in setup
dialog. Default value for FPS is 50. (Code based on peoro's patch).
2006-05-02 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/localplayer.cpp: Fixed the delay last move bug.
2006-04-29 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/tiles/cave.png: Added tiles by yosuhara.
2006-04-28 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/Woodland_ground.png: Graphical update of the
woodland tileset. Paths improved, and tiles that were redunant
replaced by new dirt tiles.
* data/maps/new_9.1.tmx.gz: Modified because of changes in the tileset
layout (no new server sided walkmap required).
* data/graphics/sprites/monster11.png: Improved the shading of the
mushroom monster.
* data/graphics/sprites/monster15.png: Added dropshadow to the bat
monster (note that the version 0.0.19 live update overrides the
changed file).
2006-04-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* ChangeLog: Converted to UTF-8.
* NEWS: Spelling correction.
* docs/INSTALL/debian.txt, docs/INSTALL/win32.txt: Updated with
respect to the move from CVS to Subversion.
2006-03-25 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/window.cpp: Added window resize patch by peoro.
2006-03-21 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated project.
2006-03-20 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp: Fixed a crash on map change.
2006-03-20 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/char_select.cpp: Fixed an include.
2006-03-19 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/register.h, src/gui/register.cpp: Fixed a memory leak and
removed some whitespace noise.
* src/lockedarray.h, src/game.cpp, src/gui/gui.cpp,
src/gui/browserbox.cpp, src/gui/register.cpp,
src/resources/resourcemanager.cpp: Removed some useless null pointer
checks.
* src/gui/login.cpp, src/gui/setup_audio.h, src/gui/setup.cpp,
src/gui/setup_audio.cpp, src/gui/setup_video.cpp,
src/gui/setup_video.h: Removed some duplicated initializations.
* src/gui/setup_audio.h, src/gui/setup.cpp, src/gui/setup_audio.cpp,
src/gui/setup_joystick.h, src/gui/setup_video.cpp, src/gui/setuptab.h,
src/gui/setup.h, src/gui/setup_joystick.cpp, src/gui/setup_video.h,
src/Makefile.am: Splitted setup window into manageable pieces
according to their tabs in the window. Fixed some memory leaks along
the way. Also fixed two settings not being stored on "apply".
2006-03-18 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/chat.cpp, src/gui/menuwindow.cpp, src/gui/skill.cpp,
src/gui/status.cpp: Use the window container instead of the graphics
class to calculate window positions.
* src/utils/dtor.h: Fixed indentation.
* src/configuration.cpp, src/log.cpp, src/main.cpp, src/being.cpp,
src/monster.cpp, src/gui/equipmentwindow.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/gui/char_server.cpp, src/gui/setup.cpp,
src/gui/updatewindow.cpp, src/gui/char_select.cpp,
src/gui/ministatus.cpp, src/gui/debugwindow.cpp,
src/gui/tabbedcontainer.cpp, src/gui/inventorywindow.cpp,
src/gui/buy.cpp, src/gui/itemcontainer.cpp, src/gui/inttextbox.cpp,
src/gui/debugwindow.h, src/gui/status.cpp, src/gui/register.cpp,
src/net/chathandler.cpp, src/engine.cpp, src/utils/tostring.h,
src/Makefile.am: Added a toString conversion function.
2006-03-15 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.h, src/main.cpp, src/gui/equipmentwindow.cpp,
src/gui/window.cpp, src/gui/login.cpp, src/gui/listbox.h,
src/gui/chat.h, src/gui/ministatus.cpp, src/gui/chat.cpp,
src/gui/help.cpp, src/gui/itemcontainer.cpp, src/gui/listbox.cpp,
src/gui/checkbox.cpp, src/engine.cpp, src/resources/image.cpp: A bunch
of cosmetic changes.
* src/net/network.cpp: Fixed connection not being shut down completely
in case of an error.
2006-03-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/main.cpp: Fixed skip update option.
2006-03-13 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_7.1.tmx.gz: Fixed some map bugs (update of server
sided walkmap required!)
2006-03-11 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/hairstyle1.png,
data/graphics/sprites/hairstyle2.png,
data/graphics/sprites/hairstyle3.png,
data/graphics/sprites/hairstyle4.png,
data/graphics/sprites/hairstyle6.png,
data/graphics/sprites/hairstyle7.png,
data/graphics/sprites/Makefile.am: Fixed some hair positions, added a
new style, updated makefile.
2006-03-09 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/utils/dtor.h: Added guards.
* src/game.cpp, src/main.cpp, src/gui/connection.cpp,
src/gui/menuwindow.cpp, src/net/tradehandler.cpp,
src/net/playerhandler.cpp: Made all local action listeners structs and
moved them into anonymous namespaces.
* src/gui/connection.cpp, src/gui/newskill.cpp,
src/gui/chargedialog.cpp, src/gui/updatewindow.cpp,
src/gui/progressbar.h, src/gui/ministatus.cpp,
src/gui/progressbar.cpp, src/gui/status.cpp: Removed coordinate
arguments from ProgressBar ctor.
* src/openglgraphics.cpp, src/localplayer.cpp, src/game.cpp,
src/map.cpp, src/log.cpp, src/being.cpp, src/monster.cpp, src/sound.h,
src/graphics.cpp, src/gui/equipmentwindow.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/gui/char_server.cpp, src/gui/window.cpp,
src/gui/login.cpp, src/gui/inttextbox.h, src/gui/chargedialog.h,
src/gui/focushandler.h, src/gui/skill.h, src/gui/gui.cpp,
src/gui/newskill.cpp, src/gui/register.h, src/gui/popupmenu.h,
src/gui/setup.cpp, src/gui/npclistdialog.h, src/gui/chargedialog.cpp,
src/gui/playerbox.h, src/gui/char_select.cpp, src/gui/login.h,
src/gui/focushandler.cpp, src/gui/chat.h, src/gui/inventorywindow.h,
src/gui/newskill.h, src/gui/ministatus.cpp, src/gui/buy.h,
src/gui/playerbox.cpp, src/gui/setup.h, src/gui/itemcontainer.h,
src/gui/debugwindow.cpp, src/gui/chat.cpp, src/gui/char_select.h,
src/gui/inventorywindow.cpp, src/gui/help.cpp, src/gui/status.h,
src/gui/buy.cpp, src/gui/itemcontainer.cpp, src/gui/equipmentwindow.h,
src/gui/sell.h, src/gui/trade.h, src/gui/ministatus.h,
src/gui/inttextbox.cpp, src/gui/char_server.h, src/gui/window.h,
src/gui/skill.cpp, src/gui/debugwindow.h, src/gui/status.cpp,
src/gui/register.cpp, src/gui/popupmenu.cpp, src/gui/minimap.cpp,
src/gui/npclistdialog.cpp, src/gui/help.h, src/net/buysellhandler.cpp,
src/net/beinghandler.cpp, src/net/charserverhandler.cpp,
src/net/maploginhandler.cpp, src/net/playerhandler.cpp,
src/engine.cpp, src/localplayer.h, src/beingmanager.cpp, src/map.h,
src/log.h, src/sound.cpp, src/resources/itemmanager.h,
src/resources/buddylist.cpp, src/resources/buddylist.h,
src/resources/image.cpp, src/resources/image.h,
src/resources/itemmanager.cpp, src/being.h, src/player.cpp: Made all
class members named like mClassMember.
* src/floor_item.cpp, src/map.cpp, src/being.cpp,
src/gui/equipmentwindow.cpp, src/gui/playerbox.cpp,
src/gui/itemcontainer.cpp, src/graphic/spriteset.cpp,
src/graphic/spriteset.h, src/player.cpp: Added Spriteset::get() and
Spriteset::size() to hide the member vector and remove the weird
mySpriteset->spriteset stuff.
* src/gui/buddywindow.cpp, src/gui/connection.cpp, src/gui/sell.cpp,
src/gui/trade.cpp, src/gui/char_server.cpp, src/gui/login.cpp,
src/gui/button.h, src/gui/newskill.cpp, src/gui/setup.cpp,
src/gui/updatewindow.cpp, src/gui/button.cpp, src/gui/char_select.cpp
,src/gui/item_amount.cpp, src/gui/npc_text.cpp, src/gui/ok_dialog.cpp,
src/gui/confirm_dialog.cpp, src/gui/debugwindow.cpp,
src/gui/tabbedcontainer.cpp, src/gui/inventorywindow.cpp,
src/gui/help.cpp, src/gui/menuwindow.cpp, src/gui/buy.cpp,
src/gui/skill.cpp, src/gui/buysell.cpp, src/gui/status.cpp,
src/gui/register.cpp, src/gui/npclistdialog.cpp: Made the Button ctor
accept eventId and action listener.
* src/localplayer.cpp, src/game.cpp, src/gui/trade.cpp,
src/gui/inventorywindow.cpp, src/gui/trade.h, src/localplayer.h,
src/game.h: Use std::auto_ptr in some places.
* src/lockedarray.h: Use fill_n instead of for-loop.
* src/gui/browserbox.cpp: Make the MouseOverLink functor dynamic and
use a STL algorithm in one more place.
2006-03-08 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/browserbox.h, src/gui/menuwindow.cpp, src/gui/buysell.cpp:
Some fixes for compiling with pedantic compiler settings and const
char* checks.
* data/graphics/sprites/player_male_base.png: Use two rows for each
direction in order to make the texture less wide so that it stays
within the 1024 texture limit for OpenGL mode.
2006-03-08 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/map.cpp, src/main.cpp, src/gui/button.cpp,
src/gui/textfield.cpp, src/gui/playerbox.cpp,
src/gui/windowcontainer.cpp, src/gui/skill.cpp,
src/gui/scrollarea.cpp, src/engine.cpp, src/beingmanager.cpp,
src/utils, src/utils/dtor.h, src/Makefile.am,
src/flooritemmanager.cpp, src/graphic/spriteset.cpp: Added a 'dtor'
helper functor to delete objects in arrays and containers using STL
algorithms.
* src/resources/image.cpp: Removed some conditional code.
* src/localplayer.cpp, src/gui/gui.cpp: Reverted changes from r2225,
it broke walking code as I missed the differences between tile and
being collisions.
* src/gui/itemcontainer.cpp, src/inventory.cpp: Made Inventory use STL
algorithms and fixed getLastUsedSlot semantics.
* src/engine.cpp, src/engine.h: Moved a variable definition into the
right place and made getCurrentMap inline.
* src/equipment.cpp, src/equipment.h: Use STL algorithms and make
destructor inline.
* src/localplayer.cpp, src/gui/gui.cpp: Let the LocalPlayer decide
whether it can walk to a destination.
2006-03-07 Yohann Ferreira <bertram@cegetel.net>
* debian/rules, debian/changelog, ChangeLog: Updating Debian files for
0.0.19 release.
2006-03-07 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/tiles/Makefile.am, data/graphics/tiles/Woodland.png:
Removed unused tileset.
2006-03-06 Björn Steinbrink <B.Steinbrink@gmx.de>
* configure.ac: Version changed to 0.0.19.
2006-03-06 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_9.1.tmx.gz: Fixed some mapping bugs.
2006-03-06 Eugenio Favalli <elvenprogrammer@gmail.com>
* AUTHORS, NEWS, README, data/help/changes.txt, data/help/header.txt,
data/help/team.txt: A bunch of updates to docs, ready for 0.0.19.
* data/help/changes.txt, src/main.cpp: Small fixes before releasing.
2006-03-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/sprites/Makefile.am: Remove trailing whitespace.
* src/engine.cpp: Re-add main.h header, Windows build needs it.
2006-03-05 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/player_male_base.png: Added pants.
2006-03-02 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/weapon1.png: Added missing frames.
* src/player.cpp: Fixed north shooting hair position.
* data/graphics/sprites/Makefile.am: Added new graphics.
* data/graphics/sprites/monster15.png: Added bat monster.
2006-03-01 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Enabled -Wall switch.
* data/graphics/sprites/monster9.png: Fixed fire goblin north walking
animation.
* data/graphics/sprites/hairstyle1.png,
data/graphics/sprites/hairstyle2.png,
data/graphics/sprites/hairstyle3.png,
data/graphics/sprites/hairstyle4.png,
data/graphics/sprites/hairstyle5.png,
data/graphics/sprites/hairstyle6.png,
data/graphics/sprites/player_male_base.png,
data/graphics/sprites/weapon0.png,
data/graphics/sprites/weapon1.png: New graphics for hair styles,
player and weapons.
* src/being.cpp, src/being.h, src/engine.cpp, src/gui/playerbox.cpp,
src/localplayer.cpp, src/main.cpp, beinghandler.cpp, player.cpp,
src/resources/image.cpp: Hacked code to support the new playerset.
2006-02-25 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/beingmanager.cpp, src/beingmanager.h, src/engine.cpp,
src/main.h, src/sound.h: Added a logic method to the being manager.
2006-02-24 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp, src/being.h, src/configuration.cpp,
src/configuration.h, src/engine.cpp, src/map.cpp, src/map.h,
src/properties.h, src/gui/browserbox.cpp, src/gui/browserbox.h,
src/gui/chat.cpp, src/gui/chat.h, src/gui/gccontainer.cpp,
src/gui/gccontainer.h, src/gui/minimap.cpp,
src/gui/tabbedcontainer.cpp, src/gui/tabbedcontainer.h,
src/net/network.cpp, src/net/network.h, src/resources/itemmanager.cpp,
src/resources/itemmanager.h: Another bunch of cosmetic cleanups, i.e.
mostly typedefs...
2006-02-23 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp, src/being.h, src/beingmanager.cpp,
src/beingmanager.h, src/engine.cpp, src/inventory.cpp,
src/inventory.h, src/logindata.h, src/main.cpp, src/main.h,
src/openglgraphics.cpp, src/gui/equipmentwindow.h,
src/gui/minimap.cpp, src/gui/minimap.h, src/gui/windowcontainer.cpp,
src/gui/windowcontainer.h, src/net/loginhandler.cpp: A bunch of mostly
cosmetic cleanups.
2006-02-23 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_4.1.tmx.gz: I remapped the hermits cave. It looks much
more natural now. A new server sided walkmap is required.
2006-02-22 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/cave.png: fixed two almost invisible pixel
errors
2006-02-21 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_9.1.tmx.gz: fixed another map bug.
2006-02-05 Yohann Ferreira <bertram@cegetel.net>
* src/resources/itemmanager.cpp: Added warnings when parameters are
missing in the items xml file.
2006-02-16 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/browserbox.cpp, src/gui/browserbox.h, src/gui/gui.cpp: Use
Widget::mFont instead of browerFont for drawing, fixes the "gui
needs to be valid real early" issue.
2006-02-07 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp, src/being.h, src/game.cpp, src/localplayer.cpp,
src/localplayer.h, src/monster.cpp, src/player.cpp,
src/net/messagein.cpp, src/net/protocol.cpp: Made the being directions
being stored in a bitfield.
2006-02-06 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/Woodland_ground.png,
data/graphics/tiles/Woodland_x2.png, data/maps/new_9.1.tmx.gz: added
dynamic grass that covers the lower area of sprites (doesn't work for
flower beds yet).
2006-02-06 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/net/tradehandler.cpp: Updated Dev-Cpp project
file, fixed a gcc 3.4 issue.
* src/net/tradehandler.cpp: Undone last changes because Bertram
already fixed the compiler issue.
2006-02-06 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/game.cpp, src/joystick.cpp, src/joystick.h,
src/gui/setup.cpp, src/gui/setup.h: Added a Joystick class.
* src/being.cpp, src/being.h, src/monster.cpp, src/npc.cpp: Unify some
of the drawing code for beings.
* src/being.cpp, src/being.h, src/localplayer.h, src/player.cpp,
src/player.h: Use virtual methods instead of getType() checks.
* data/graphics/gui/browserfont.png,
data/graphics/gui/fixedfont.png, data/graphics/gui/rpgfont_wider.png,
data/graphics/gui/sansserif8.png, src/Makefile.am, src/engine.cpp,
src/floor_item.cpp, src/floor_item.h, src/flooritemmanager.cpp,
src/flooritemmanager.h, src/game.cpp, src/gui/gui.cpp,
src/net/itemhandler.cpp: Introduced a FloorItemManager class.
2006-02-05 Yohann Ferreira <bertram@cegetel.net>
* data/graphics/gui/rpgfont_wider.png,
data/graphics/gui/fixedfont.png,data/graphics/gui/browserfont.png,
data/graphics/gui/sansserif8.png: Adding è accents mostly to the font
images.
* src/engine.cpp, src/being.h, src/being.cpp, src/player.cpp,
src/gui/char_select.h, src/gui/char_select.cpp: Made the nickname and
emotions displayed above every layers. Made the delete and ok buttons
be disabled once the character is selected at login.
* src/net/tradehandler.cpp, src/resources/itemmanager.cpp: Fixed a gcc
4.0 issue in the tradehandler. Strengthen the xml parser in the
itemmanager so tmw doesn't crash anymore if an item lacks some
parameters.
2006-02-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* INSTALL: Updated dependencies in response to patch by Hanno Braun.
2006-02-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* data/graphics/tiles/Makefile.am: Added the new tilesets.
* src/localplayer.cpp, src/localplayer.h, src/gui/gui.cpp: Made the
player walk to items prior to picking them up.
2006-02-04 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/Woodland.png: new path design
* data/graphics/tiles/Woodland_ground.png,
data/graphics/tiles/Woodland_x2.png,
data/graphics/tiles/Woodland_x3.png: splitted the tileset into three
tilesets with different tile sizes
(i kept the original tileset for backward compatiblity)
* data/maps/new_9.1.tmx.gz: remapped with the oversized tile
technology. made the forests less regular. made the unwalkable map
borders more visual appealing
2006-02-04 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/localplayer.h, src/logindata.h, src/main.cpp, src/main.h,
src/gui/char_select.cpp, src/gui/char_server.cpp,
src/gui/char_server.h, src/net/charserverhandler.cpp,
src/net/charserverhandler.h, src/net/loginhandler.cpp,
src/net/loginhandler.h, src/net/network.cpp, src/net/network.h: Unify
the gui code for the various logins to use LoginData.
2006-02-03 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/logindata.h, src/main.cpp, src/gui/login.cpp, src/gui/login.h:
Made the login dialog work on LoginData only, without playing with the
config, it's not its job to do so.
* src/net/protocol.cpp, src/net/protocol.h: Removed some unused code.
2006-02-02 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/desert1.png, data/graphics/tiles/desert2.png,
data/graphics/tiles/desert_x2.png, data/graphics/tiles/desert_x3.png:
Replaced the old sand tile with Irucards new one. Added new crates.
Made some minor corrections.
2006-02-01 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/game.h, src/main.cpp: Created a Game class.
* src/gui/passwordfield.cpp: Removed duplicated code.
* src/Makefile.am, src/main.cpp, src/gui/error.cpp, src/gui/error.h:
Replaced ErrorDialog by OkDialog + listener.
* src/Makefile.am, src/game.cpp, src/gui/buysell.cpp,
src/gui/char_select.cpp, src/gui/confirm_dialog.cpp,
src/gui/confirm_dialog.h, src/gui/login.cpp, src/gui/login.h,
src/gui/menuwindow.cpp, src/gui/ok_dialog.cpp, src/gui/ok_dialog.h,
src/gui/register.cpp, src/gui/requesttrade.cpp,
src/gui/requesttrade.h, src/gui/setup.cpp, src/net/playerhandler.cpp,
src/net/tradehandler.cpp: Made the OkDialog and ConfirmDialog classes
proxies for their buttons' events. Removed the RequestTradeWindow
class, replaced with a plain ConfirmDialog. Fixed a memory leak along
the way.
* src/gui/buysell.cpp, src/gui/menuwindow.cpp: Simplified button
creation code.
* src/gui/npc_text.cpp: Fixed a bug where the game crashes if there's a
message dialog from a npc that no longer exists.
* src/properties.h: Reverted properties to private.
2006-01-31 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/setup.cpp: Cleanup.
* src/gui/requesttrade.cpp, src/gui/requesttrade.h: Made
RequestTradeDialog inherit from ConfirmDialog.
* src/Makefile.am, src/gui/buy.cpp, src/gui/buy.h, src/gui/sell.cpp,
src/gui/sell.h, src/gui/shop.cpp, src/gui/shop.h: Created a ListModel
for ShopItems.
* src/floor_item.cpp, src/graphics.h, src/map.cpp, src/map.h,
src/properties.h, src/sprite.h, src/gui/login.cpp,
src/gui/scrollarea.cpp, src/gui/windowcontainer.cpp,
src/resources/sdlimageloader.cpp: Various small cleanups.
* src/resources/resource.cpp, src/resources/resourcemanager.cpp,
src/resources/resource.h, src/resources/resourcemanager.h: Made
ResourceManager a friend of Resource to avoid looping over decRef,
which returns void now.
2006-01-30 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/char_select.cpp, src/gui/confirm_dialog.cpp,
src/gui/confirm_dialog.h, src/gui/error.cpp, src/gui/error.h,
src/gui/ministatus.cpp, src/gui/ok_dialog.cpp, src/gui/ok_dialog.h,
src/gui/setup.cpp, src/net/charserverhandler.cpp: A few cleanups and
simplifications.
2006-01-26 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/game.h, src/main.cpp: Moved some setup code out of
the game loop into the setup functions. Setup functions are now called
from the outside.
2006-01-22 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/main.cpp: Updated Dev-Cpp project file, fixed
a GDI issue.
2006-01-22 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/net/network.cpp: Make dispatchMessages actually
handle more than one message per call.
* src/main.cpp: Remove obsoleted action listeners.
* src/main.cpp: Use generic error method for sound failure.
* src/main.cpp, src/net/charserverhandler.cpp,
src/net/loginhandler.cpp, src/net/maploginhandler.cpp,
src/net/network.cpp: Unify some network stuff in the main loop and fix
a bug in the network class that triggers when a handlers survives the
network object.
2006-01-21 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/browserbox.cpp: Applied a patch by Ar2ro that works around
the problems with line wrapping in the chatbox. Note though that this
while code should be properly rewritten later.
2006-01-20 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated Dev-Cpp project file.
2006-01-20 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/equipment.h, src/game.cpp, src/game.h, src/main.h,
src/gui/buddywindow.cpp, src/gui/buddywindow.h,
src/gui/chargedialog.h, src/gui/connection.cpp, src/gui/connection.h,
src/gui/equipmentwindow.cpp, src/gui/equipmentwindow.h,
src/gui/linkhandler.h, src/gui/ministatus.h, src/gui/register.h,
src/net/protocol.h, src/resources/mapreader.h: Header, class
declaration and include cleanup.
* src/localplayer.cpp, src/localplayer.h, src/gui/requesttrade.cpp,
src/net/tradehandler.cpp: Made the local player object care about its
trading state, later this could be used for different stuff, like the
player setting itself to auto-decline trade offers without messing up
the code in the tradehandler. Removed message sending code from the
trade handler.
* src/npc.cpp, src/npc.h: Added the files for real this time.
* src/npc.cpp, src/npc.h, src/Makefile.am, src/being.cpp,
src/beingmanager.cpp, src/beingmanager.h, src/engine.cpp,
src/engine.h, src/game.cpp, src/game.h, src/localplayer.cpp,
src/localplayer.h, src/map.cpp, src/gui/buy.cpp, src/gui/buysell.cpp,
src/gui/buysell.h, src/gui/gui.cpp, src/gui/minimap.cpp,
src/gui/npc.cpp, src/gui/npc.h, src/gui/npc_text.cpp,
src/gui/npc_text.h, src/gui/npclistdialog.cpp,
src/gui/npclistdialog.h, src/gui/popupmenu.cpp,
src/gui/requesttrade.cpp, src/gui/requesttrade.h, src/gui/sell.cpp,
src/gui/setup.cpp, src/gui/skill.cpp, src/gui/skill.h,
src/gui/status.cpp, src/gui/status.h, src/net/buysellhandler.cpp,
src/net/charserverhandler.cpp, src/net/chathandler.cpp,
src/net/equipmenthandler.cpp, src/net/npchandler.cpp,
src/net/playerhandler.cpp, src/net/protocol.cpp,
src/net/tradehandler.cpp: Added a class for NPCs. Removed network
stuff from a bunch of gui dialog classes. Cleaned up some gui class
declarations and checked a bunch of includes for being useless.
2006-01-19 Eugenio Favalli <elvenprogrammer@gmail.com>
* INSTALL, README, The Mana World.dev, data/help/support.txt,
docs/INSTALL/debian.txt, docs/INSTALL/win32.txt, docs/progression.txt:
Updated infos on new irc channel.
2006-01-14 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.cpp, src/main.h, src/gui/char_server.cpp,
src/gui/char_server.h: Moved network code out of the
ServerSelectDialog.
* src/gui/char_select.cpp, src/gui/char_select.h: Change setPlayerInfo
to updatePlayerInfo, as there's now a convenient wrapper around the
plain data.
* src/Makefile.am, src/lockedarray.cpp, src/lockedarray.h,
src/main.cpp, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/net/charserverhandler.cpp,
src/net/charserverhandler.h, src/net/network.cpp, src/net/network.h:
Created a single CharServerHandler. Created a LockedArray class to
"synchronize" access to arrays. Moved a bunch of networking out of the
char server related gui classes.
* src/Makefile.am, src/logindata.h, src/main.cpp, src/main.h,
src/gui/login.cpp, src/gui/login.h, src/gui/register.cpp,
src/gui/register.h: Removed network code from login and register
dialogs.
* src/gui/login.cpp, src/gui/login.h: Removed unused var.
* src/main.cpp, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/char_server.h,
src/gui/connection.cpp, src/gui/connection.h, src/gui/error.cpp,
src/gui/error.h, src/gui/login.cpp, src/gui/login.h,
src/gui/register.cpp, src/gui/register.h, src/gui/updatewindow.cpp,
src/gui/updatewindow.h: Removed the pre-game input handlers and
unified them in main.cpp. Some header and class cleanups.
* src/net/maploginhandler.cpp, src/net/maploginhandler.h,
src/Makefile.am, src/engine.cpp, src/engine.h, src/game.cpp,
src/main.cpp, src/gui/connection.cpp, src/gui/connection.h,
src/net/playerhandler.cpp: Made changeMap() care about sending the
map-loaded message. Removed network stuff from connection dialog.
2006-01-13 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/gui/login.cpp, src/gui/login.h,
src/gui/register.cpp, src/net/loginhandler.cpp,
src/net/loginhandler.h: Remove duplicated code by unifying the message
handlers for login and register.
* src/gui/char_server.cpp, src/gui/char_server.h: Removed the polling
loop.
* src/gui/char_select.cpp, src/gui/char_select.h: Remove destructor
again, no idea why the compiler complained earlier.
* src/gui/char_select.cpp, src/gui/char_select.h: Created a message
handler for character creation and cleaned up the header file.
* src/gui/register.cpp, src/gui/register.h: Added a message handler
and removed the polling loop.
* src/net/network.cpp: Add recognition of disconnects.
* src/gui/connection.cpp, src/gui/connection.h,
src/net/playerhandler.cpp: Removed the polling loop and the duplicate
login message handler.
* src/gui/login.cpp, src/gui/login.h: Remove polling loop, the new
network code takes care of all that.
* src/net/network.cpp: Make sure that we don't send anything when not
connected.
* src/gui/login.cpp: Added a handler for network messages.
* src/game.cpp, src/net/beinghandler.cpp, src/net/beinghandler.h,
src/net/buysellhandler.cpp, src/net/buysellhandler.h,
src/net/chathandler.cpp, src/net/chathandler.h,
src/net/equipmenthandler.cpp, src/net/equipmenthandler.h,
src/net/inventoryhandler.cpp, src/net/inventoryhandler.h,
src/net/itemhandler.cpp, src/net/itemhandler.h,
src/net/messagehandler.cpp, src/net/messagehandler.h,
src/net/npchandler.cpp, src/net/npchandler.h,
src/net/playerhandler.cpp, src/net/playerhandler.h,
src/net/skillhandler.cpp, src/net/skillhandler.h,
src/net/tradehandler.cpp, src/net/tradehandler.h: Reverted the patch
to make the handlers register themselves, this just cannot work.
* src/game.cpp: Small cleanup.
* src/game.cpp, src/localplayer.cpp, src/localplayer.h: Made emote() a
method of the LocalPlayer class.
2006-01-12 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/main.cpp, src/net/beinghandler.cpp,
src/net/beinghandler.h, src/net/buysellhandler.cpp,
src/net/buysellhandler.h, src/net/chathandler.cpp,
src/net/chathandler.h, src/net/equipmenthandler.cpp,
src/net/equipmenthandler.h, src/net/inventoryhandler.cpp,
src/net/inventoryhandler.h, src/net/itemhandler.cpp,
src/net/itemhandler.h, src/net/messagehandler.cpp,
src/net/messagehandler.h, src/net/npchandler.cpp,
src/net/npchandler.h, src/net/playerhandler.cpp,
src/net/playerhandler.h, src/net/skillhandler.cpp,
src/net/skillhandler.h, src/net/tradehandler.cpp,
src/net/tradehandler.h: Added a constructor parameter to the
MessageHandler class to support it self-registering to a network.
* src/game.cpp, src/net/beinghandler.cpp, src/net/network.cpp,
src/net/network.h, src/net/playerhandler.cpp: Moved the last few
messages out of the game loop into handlers. Added logging of
unhandled messages to the network class.
* src/Makefile.am, src/game.cpp, src/net/skillhandler.cpp,
src/net/skillhandler.h: Added a dedicated handler for skill messages.
* src/game.cpp, src/net/beinghandler.cpp: Moved some messages into the
being message handler.
* src/net/playerhandler.cpp: Fixed death listener.
* src/Makefile.am, src/game.cpp, src/net/playerhandler.cpp,
src/net/playerhandler.h: Added a dedicated handler for player
messages.
* src/game.cpp, src/net/chathandler.cpp: Moved WHO answer and some MVP
thing into the chat handler.
* src/Makefile.am, src/game.cpp, src/net/npchandler.cpp,
src/net/npchandler.h: Added a dedicated handler for npc messages.
* src/Makefile.am, src/game.cpp, src/net/itemhandler.cpp,
src/net/itemhandler.h: Added a dedicated handler for item messages.
* src/net/messagehandler.cpp, src/Makefile.am, src/game.cpp,
src/gui/char_select.cpp, src/gui/char_server.cpp,
src/gui/connection.cpp, src/net/messagehandler.h, src/net/network.cpp,
src/net/tradehandler.cpp, src/net/tradehandler.h: Made the
MessageHandler class aware of the network it is listening to and
unregistering itself.
* src/Makefile.am, src/beingmanager.cpp, src/beingmanager.h,
src/engine.cpp, src/game.cpp, src/net/beinghandler.cpp,
src/net/beinghandler.h: Added a dedicated handler for being messages.
Made the beingManager care about map changes.
* src/net/network.cpp: Removed some debug output.
* src/Makefile.am, src/game.cpp, src/net/inventoryhandler.cpp,
src/net/inventoryhandler.h: Added a dedicated handler for inventory
messages.
* src/game.cpp, src/inventory.cpp, src/inventory.h,
src/localplayer.cpp, src/localplayer.h, src/gui/trade.cpp,
src/net/buysellhandler.cpp, src/net/equipmenthandler.cpp,
src/net/tradehandler.cpp: Added delegation methods for inventory stuff
to the LocalPlayer class. Removed some unneeded includes.
* src/Makefile.am, src/game.cpp, src/net/equipmenthandler.cpp,
src/net/equipmenthandler.h: Added a dedicated handler for equipment
messages.
* src/game.cpp, src/localplayer.h: Removed unions, array are indexed
by the existing enums now.
* src/Makefile.am, src/game.cpp, src/net/buysellhandler.cpp,
src/net/buysellhandler.h: Added a dedicated handler for buy and sell
messages.
* src/Makefile.am, src/game.cpp, src/net/chathandler.cpp,
src/net/chathandler.h, src/net/tradehandler.cpp: Added a dedicated
handler for chat messages.
2006-01-11 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/game.cpp, src/game.h, src/gui/popupmenu.cpp,
src/gui/requesttrade.h, src/net/messagehandler.h, src/net/network.cpp,
src/net/network.h, src/net/tradehandler.cpp, src/net/tradehandler.h:
Added a dedicated handler for trade messages.
* gui/char_select.cpp, gui/char_server.cpp, gui/connection.cpp,
net/messagehandler.h, net/network.cpp: Fixed a memory leak.
* src/Makefile.am, src/game.cpp, src/localplayer.cpp, src/main.cpp,
src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/char_server.h,
src/gui/connection.cpp, src/gui/connection.h, src/gui/gui.cpp,
src/gui/popupmenu.cpp, src/net/messagehandler.h, src/net/network.cpp,
src/net/network.h, src/net/protocol.cpp, src/net/protocol.h: Fixed
networking thread. Made skip calls queuable. Added MessageHandler base
class and added derived message handlers for some stuff.
* src/being.h, src/beingmanager.cpp, src/beingmanager.h,
src/game.cpp, src/game.h, src/localplayer.cpp, src/localplayer.h,
src/main.cpp, src/gui/buy.cpp, src/gui/buy.h, src/gui/buysell.cpp,
src/gui/buysell.h, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/char_server.h, src/gui/chat.cpp,
src/gui/chat.h, src/gui/connection.cpp, src/gui/connection.h,
src/gui/gui.cpp, src/gui/login.cpp, src/gui/login.h, src/gui/npc.cpp,
src/gui/npc.h, src/gui/npc_text.cpp, src/gui/npc_text.h,
src/gui/popupmenu.cpp, src/gui/register.cpp, src/gui/register.h,
src/gui/requesttrade.cpp, src/gui/requesttrade.h, src/gui/sell.cpp,
src/gui/sell.h, src/gui/skill.cpp, src/gui/skill.h,
src/gui/status.cpp, src/gui/status.h, src/gui/trade.cpp,
src/gui/trade.h, src/net/messageout.cpp, src/net/messageout.h,
src/net/network.cpp, src/net/network.h, src/net/protocol.cpp,
src/net/protocol.h: Created a network class.
2006-01-10 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/tiles/Woodland.png: color modifications
* data/maps/new_9-1.tmx.gz: some more errors fixed
2006-01-09 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp: Fixed canceled/cancelled inconsistency.
2006-01-08 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/floor_item.cpp, src/floor_item.h, src/game.cpp,
src/localplayer.cpp, src/localplayer.h, src/gui/gui.cpp,
src/gui/popupmenu.cpp, src/net/protocol.cpp, src/net/protocol.h: Made
find_floor_item_by_cor return the item instead of its id. Made pickUp
a method of the LocalPlayer class.
* equipment.cpp, equipment.h, game.cpp, inventory.cpp, inventory.h,
localplayer.cpp, localplayer.h, gui/equipmentwindow.cpp,
gui/inventorywindow.cpp, gui/item_amount.cpp, gui/popupmenu.cpp: Made
inventory and equipment properties of the LocalPlayer class.
* src/game.cpp, src/game.h, src/gui/connection.cpp: Removed some
globals.
2006-01-07 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/localplayer.cpp, src/localplayer.h: Created a walk
method for LocalPlayer.
2006-01-07 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_9-1.tmx.gz: Crush fixed the issues reported on wiki.
* The Mana World.dev, src/game.cpp, src/gui/setup.cpp, src/gui/setup.h,
src/main.cpp: Removed --skipupdate option from Dev.Cpp project file,
splitted the setup window into 3 tabs and added a joystick calibration
tool.
2006-01-06 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/localplayer.cpp: Changed semantics for auto
target. The player now keeps attacking the select target till he
selects an other one, and not just by running into another one.
* src/being.cpp, src/beingmanager.cpp, src/beingmanager.h,
src/game.cpp, src/localplayer.h, src/gui/char_select.cpp,
src/gui/char_server.cpp: Fix local player id being wrongly assigned
causing various issues.
* src/gui/status.cpp: Fix attributes not being shown.
* src/Makefile.am, src/being.cpp, src/being.h, src/beingmanager.cpp,
src/beingmanager.h, src/engine.cpp, src/game.cpp, src/game.h,
src/localplayer.cpp, src/localplayer.h, src/main.cpp, src/map.cpp,
src/monster.cpp, src/monster.h, src/player.cpp, src/player.h,
src/playerinfo.h, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/chargedialog.cpp, src/gui/chat.cpp,
src/gui/gui.cpp, src/gui/inventorywindow.cpp, src/gui/minimap.cpp,
src/gui/ministatus.cpp, src/gui/popupmenu.cpp, src/gui/skill.cpp,
src/gui/status.cpp, src/gui/status.h, src/net/protocol.cpp,
src/net/protocol.h: Created subclasses of the Being class to move
specific code there. Added a BeingManager to remove use of globals.
Moved PLAYERINFO stuff into the new LocalPlayer class.
2006-01-05 Björn Steinbrink <B.Steinbrink@gmx.de>
* engine.cpp, engine.h, game.cpp, game.h, gui/buysell.h,
gui/chargedialog.h, gui/debugwindow.cpp, gui/debugwindow.h, gui/gui.h,
gui/ministatus.h, gui/npc_text.h, gui/sell.h, gui/setup.h: Remove some
useless code.
2006-01-04 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/Makefile.am, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/confirm_dialog.cpp,
src/gui/confirm_dialog.h, src/gui/ok_dialog.cpp, src/gui/ok_dialog.h,
src/gui/trade.cpp, src/playerinfo.h: Reverted r0nny changes, enabled 3
slots to create players, smoothed player deletion.
2006-01-04 Icy <icywolf@web.de>
* src/game.cpp, src/main.cpp, src/main.h: FreeBSD fixes to The Mana
World.
2006-01-03 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp, src/gui/chat.cpp, src/gui/chat.h, src/gui/login.cpp,
src/gui/trade.cpp: Really disabled /commands and added proper message
when logging in and banned.
* src/game.cpp, src/gui/chat.cpp, src/gui/chat.h, src/net/protocol.h:
Enabled some /commands.
* src/main.cpp: Fixed a compile warning with GCC 4.1.
2006-01-02 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/login.cpp, src/gui/register.cpp:
Smoothed also character creation, buttons are now disabled during
connection/data phase.
2006-01-01 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/login.cpp, src/gui/login.h: Remove tracking of OkDialog, the
garbage collection stuff takes care of deletion and breaks manual
tracking.
2006-01-01 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp: Applied patch by pclouds that allows for a faster
login sequence by providing the username and password from the command
line, and allowing the client to choose the default server and
character.
2005-12-30 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/chat.cpp, src/gui/chat.h: Applied patch by pclouds to have
the chat window temporarily become visible when chatting while it is
hidden.
2005-12-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, data/graphics/sprites/items.png,
data/items.xml, src/Makefile.am, src/gui/char_select.cpp,
src/gui/char_server.cpp, src/gui/login.cpp, src/gui/login.h,
src/main.cpp, src/main.h, src/net/network.cpp, src/net/network.h,
src/gui/register.cpp, src/gui/register.h: Added a new item, improved
smooth login sequence, added a registration window (a lot of
duplicated code to be removed).
2005-12-29 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, data/maps/new_10-1.tmx.gz,
src/gui/char_select.cpp, src/gui/char_select.h, src/gui/char_server.cpp,
src/gui/char_server.h, src/gui/connection.cpp, src/gui/connection.h,
src/gui/login.cpp, src/gui/login.h, src/net/network.h: Restored Dev-Cpp
default execution options, updated walkmap in snow map, smoothed login
sequence.
2005-12-29 Jan-Fabian Humann <malastare@gmx.net>
* src/gui/gui.cpp: Added rather ugly workaround to prevent a on-start
crash by Doener. Fixed GCC 3.3.6 and 4.x paranthesis problem, patch
by r0nny. Fixed popupMenu not showing on items.
2005-12-29 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/gui/popupmenu.cpp, src/net/protocol.cpp: Remove
duplicated code for picking up items as patched by pclouds.
* src/game.cpp, src/gui/gui.cpp, src/gui/gui.h,
src/gui/inventorywindow.cpp, src/gui/popupmenu.h: Added popup support
to the Gui and moved the according code there to get rid of some nasty
hack that made them disappear.
* src/game.cpp, src/gui/gui.cpp, src/gui/gui.h,
src/gui/inventorywindow.cpp, src/gui/popupmenu.h,
src/net/protocol.cpp, src/net/protocol.h: Moved all mouse input code
into the Gui class.
2005-12-26 Duane Bailey <nayryeliab@gmail.com>
* src/main.h: Fixed define problems with The_Mana_World_private.h.
2005-12-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp: Small fix to prevent other stuff than the damage
numbers from fading out.
2005-12-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp: Worked around fringe layer drawing bug at the bottom.
* src/main.cpp: When compiling with OpenGL support, it'll default to
using OpenGL on only Windows and Mac. These systems are known to have
stable acceleration most of the time.
* NEWS, configure.ac, The Mana World.dev: Updated in preparation of
release 0.0.18.1.
2005-12-20 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac: Changed version to 0.0.18.
2005-12-18 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_10-1.tmx.gz, src/main.cpp: Removed unused code and
added changes to snowy map by Bertram.
2005-12-15 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp: Fixed setup window behaviour.
2005-12-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/items.xml: Changed item properties according to eAthena scripting
capabilities.
* src/being.cpp: Enabled monster emotions.
2005-12-12 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, data/graphics/tiles/Makefile.am, data/items.xml,
data/maps/Makefile.am, data/graphics/tiles/Woodland.png,
data/graphics/tiles/snowset.png, data/maps/new_9-1.tmx.gz,
data/maps/new_10-1.tmx.gz: Cleaned Dev-Cpp project file, added new
items definitions and new maps and tilesets.
2005-12-08 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/graphics/sprites/monster11.png,
data/graphics/sprites/monster12.png, data/graphics/sprites/monster13.png,
data/graphics/sprites/monster14.png, data/graphics/sprites/Makefile.am,
data/graphics/sprites/items.png, data/graphics/sprites/npcs.png,: Added
new monsters, items and npcs.
2005-12-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/char_server.cpp: Avoid crashing on trying to log the name
of a non-existing character.
* src/main.h, src/main.cpp: Display TMW version on Windows too.
2005-11-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated Dev-Cpp project file.
2005-11-13 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/maps/new_1-1.tmx.gz, data/maps/new_3-1.tmx.gz,
data/maps/new_7-1.tmx.gz: Made the three desert maps use the fringe
layer for objects. Reveals bug with objects disappearing at the bottom
and still some draw order problems.
2005-10-24 Ferreira Yohann <Bertram@cegetel.net>
* src/main.cpp: Add version displaying at startup.
* docs/INSTALL/debian.txt: Updated Debian Install Doc.
2005-10-20 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/item_amount.cpp: Fix scrollbar not being updated when the
amount is changed using the buttons.
* src/gui/buddywindow.cpp, src/gui/buddywindow.h, src/gui/buy.cpp,
src/gui/buy.h, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/chat.cpp, src/gui/help.cpp,
src/gui/help.h, src/gui/inventorywindow.cpp,
src/gui/inventorywindow.h, src/gui/item_amount.cpp, src/gui/npc.cpp,
src/gui/npc.h, src/gui/npc_text.cpp, src/gui/npc_text.h,
src/gui/scrollarea.cpp, src/gui/scrollarea.h, src/gui/sell.cpp,
src/gui/sell.h, src/gui/setup.cpp ,src/gui/skill.cpp,
src/gui/trade.cpp, src/gui/updatewindow.cpp: Add garbage collection to
the ScrollArea class.
* src/gui/confirm_dialog.cpp, src/gui/confirm_dialog.h,
src/gui/connection.cpp, src/gui/connection.h, src/gui/debugwindow.cpp,
src/gui/debugwindow.h, src/gui/item_amount.cpp, src/gui/item_amount.h,
src/gui/menuwindow.cpp, src/gui/menuwindow.h, src/gui/ok_dialog.cpp,
src/gui/ok_dialog.h: Various cleanups and refactorisations.
* data/help/index.txt: Fix typo, remove spaces on empty lines.
2005-10-19 Duane Bailey <nayryeliab@gmail.com>
* data/help/index.txt: Added SDL_net reference.
2005-10-19 Yohann Ferreira <bertram@cegetel.net>
* debian/rules, debian/tmw.install, debian/copyright, debian/compat,
debian/changelog, debian/control, debian/docs, debian/tmw.menu:
Updated Debian files to get tmw ready for official ITP.
2005-10-19 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/resources/resourcemanager.cpp: Fix empty lines not being read
from text files.
* src/gui/browserbox.cpp, src/gui/browserbox.h: Code cleanup.
* src/gui/gccontainer.cpp: Remove debug output.
2005-10-18 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/gui/buddywindow.cpp, src/gui/buddywindow.h,
src/gui/buy.cpp, src/gui/buy.h, src/gui/buysell.cpp,
src/gui/buysell.h, src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/char_server.h,
src/gui/chargedialog.cpp, src/gui/chargedialog.h, src/gui/chat.cpp,
src/gui/confirm_dialog.cpp, src/gui/confirm_dialog.h,
src/gui/connection.cpp, src/gui/connection.h, src/gui/debugwindow.cpp,
src/gui/debugwindow.h, src/gui/error.h, src/gui/hbox.cpp,
src/gui/hbox.h, src/gui/help.cpp, src/gui/inttextbox.cpp,
src/gui/inttextbox.h, src/gui/inventorywindow.cpp,
src/gui/item_amount.cpp, src/gui/item_amount.h, src/gui/login.cpp,
src/gui/login.h, src/gui/menuwindow.cpp, src/gui/menuwindow.h,
src/gui/ministatus.cpp, src/gui/ministatus.h, src/gui/newskill.cpp,
src/gui/newskill.h, src/gui/npc.cpp, src/gui/npc_text.cpp,
src/gui/ok_dialog.cpp, src/gui/popupmenu.cpp, src/gui/popupmenu.h,
src/gui/requesttrade.cpp, src/gui/requesttrade.h, src/gui/sell.cpp,
src/gui/setup.cpp, src/gui/skill.cpp, src/gui/status.cpp,
src/gui/status.h, src/gui/tabbedcontainer.cpp, src/gui/trade.cpp,
src/gui/updatewindow.cpp, src/gui/vbox.cpp, src/gui/vbox.h,
src/gui/window.cpp, src/gui/window.h, src/gui/windowcontainer.cpp:
Added automatic widget cleanup to the window class.
* src/gui/connection.cpp, src/gui/connection.h, src/gui/error.cpp,
src/gui/status.cpp, src/gui/window.h: Header, whitespace and
indentation cleanups.
2005-10-16 Duane Bailey <nayryeliab@gmail.com>
* src/main.cpp: OpenGL is now default for mac, win, and those who
define USE_OPENGL
* src/gui/setup.cpp: made it so those who use and go to fullscreen
requires a restart (texture/context baddies)
2005-10-16 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp, src/game.cpp, src/inventory.cpp, src/gui/buy.cpp,
src/gui/buysell.cpp, src/gui/char_select.cpp, src/gui/char_server.cpp,
src/gui/chat.cpp, src/gui/connection.cpp, src/gui/login.cpp,
src/gui/npc.cpp, src/gui/npc_text.cpp, src/gui/popupmenu.cpp,
src/gui/requesttrade.cpp, src/gui/sell.cpp, src/gui/skill.cpp,
src/gui/status.cpp, src/gui/trade.cpp, src/net/messagein.cpp,
src/net/messagein.h, src/net/messageout.cpp, src/net/messageout.h,
src/net/protocol.cpp: Rename {read,write}{Byte,Short,Long} to
{read,write}Int{8,16,32}.
* src/being.cpp, src/engine.cpp, src/engine.h, src/game.cpp,
src/main.cpp, src/gui/equipmentwindow.cpp, src/gui/itemcontainer.cpp,
src/resources/resourcemanager.cpp, src/resources/resourcemanager.h:
Use the ResourceManager to get spritesets.
* src/being.cpp: Reduce code duplication in the findNode functions and
use a functor to do the search.
* src/map.cpp: Some code improvements.
* src/Makefile.am: Added two missing files.
2005-10-16 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/game.cpp, src/gui/char_select.cpp,
src/gui/char_server.cpp, src/gui/char_server.h, src/gui/connection.cpp,
src/gui/connection.h, src/gui/login.cpp, src/gui/login.h, src/main.cpp,
src/main.h, src/net/network.cpp, src/net/network.h,
src/net/protocol.cpp, src/net/protocol.h: The connection should be
non-blocking now and fixed the problem with sound not being played at
startup.
2005-10-15 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp: Moved some variables into the conditional block
where they are used.
* src/being.cpp: A few changes that make the code look nicer.
* src/openglgraphics.cpp, src/resources/image.cpp,
src/resources/image.h: Some small cleanups.
* src/engine.cpp: Removed some legacy debug code.
2005-10-13 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp: Prevent Alt+p/s/f from appearing in chatbox.
* src/Makefile.am: Some updates for added/removed headers.
* src/being.cpp: Changed char to signed char for GNU/Linux PPC.
2005-10-13 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp, src/gui/browserbox.cpp, src/gui/gui.cpp,
src/gui/gui.h: Use gcn::Font instead of gcn::ImageFont where the
former is sufficient.
2005-10-10 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp, src/being.h, src/game.cpp: Always compile with debug
window and hide it on startup. Also added fading out effect on damage
font (only works in OpenGL).
* src/Makefile.am: Don't include debugwindow.h/cpp twice.
* data/graphics/gui/browserfont.png, data/graphics/gui/fixedfont.png,
data/graphics/gui/rpgfont_wider.png, src/gui/browserbox.cpp,
src/gui/gui.cpp: Pajarico added more international characters to the
fixed font and rpg font.
* src/game.cpp, README, data/helps/commands.txt: Introduced new window
shortcuts.
* src/gui/status.cpp: Corrected position of job XP bar.
* src/data/graphics/tiles/Makefile.am: Forgot to add new tilesets
here.
* src/map.cpp: Another small fix to sprite rendering.
2005-10-09 Yohann Ferreira <bertram@cegetel.net>
* src/gui/browserbox.cpp, src/gui/ministatus.cpp,
src/gui/debugwindow.h, src/gui/debugwindow.cpp, src/game.cpp,
src/engine.cpp, src/Makefile.am: Corrected the white browser font
bug and the black hp/mp bug which were linked. Added a debug window
2005-10-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp, src/being.h, src/engine.cpp, src/engine.h,
src/floor_item.cpp, src/floor_item.h, src/map.cpp, src/map.h,
src/sprite.h: Made Sprite into an interface implemented by both
FloorItem and Being, which hook themselves into the map on
construction. The improved fringe layer is working as expected now.
* src/equipment.cpp, src/equipment.h, src/game.cpp, src/game.h,
src/graphics.cpp, src/guichanfwd.h, src/inventory.h,
src/openglgraphics.cpp, src/sound.cpp, src/gui/chargedialog.cpp,
src/gui/chargedialog.h, src/gui/chat.cpp, src/gui/chat.h,
src/gui/equipmentwindow.cpp, src/gui/equipmentwindow.h,
src/gui/gui.cpp, src/gui/help.cpp, src/gui/inventorywindow.cpp,
src/gui/item_amount.cpp, src/gui/itemcontainer.cpp,
src/gui/itemcontainer.h, src/gui/linkhandler.h, src/gui/login.cpp,
src/gui/menuwindow.cpp, src/gui/newskill.cpp, src/gui/npc_text.cpp,
src/gui/popupmenu.cpp, src/gui/popupmenu.h, src/gui/progressbar.cpp,
src/gui/progressbar.h, src/gui/scrollarea.cpp, src/gui/scrollarea.h,
src/gui/skill.cpp, src/gui/status.cpp, src/gui/trade.h,
src/gui/window.cpp, src/gui/window.h, src/net/messagein.cpp,
src/net/packet.cpp, src/net/packet.h, src/resources/image.cpp,
src/resources/image.h, src/resources/iteminfo.cpp,
src/resources/iteminfo.h, src/resources/music.cpp,
src/resources/music.h, src/resources/soundeffect.cpp,
src/resources/soundeffect.h: Made sure TMW compiles without warnings
even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings
-ansi -pedantic", lots of cleanups.
* src/data/maps/new_3-1.tmx.gz, src/graphics/tiles/desert_x2.png,
src/graphics/tiled/desert_x3.png: Added two new small tilesets that
contain the desert tiles that are twice and three times the height of
a normal tile. One well in new_3-1 has been converted to use the new
double tiles for testing purposes.
* src/being.cpp, src/game.cpp, src/engine.cpp: Fixed map switch
crashing the client, display of [TARGET], Alt keys for toggling
windows and names to overlap other players.
2005-10-06 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp: Modified finding NPC as by timonator's suggestion in
order to allow NPCs to be clicked on their heads too.
* src/engine.cpp, src/engine.h, src/floor_item.cpp, src/floor_item.h,
src/game.cpp, src/map.cpp, src/sprite.h: Added a Sprite class that
represents something on the map. The map will make sure to draw the
sprites top to bottom, at the same time as the fringe layer tiles.
This is currently still only used by the floor items.
* src/item.cpp, src/item.h: Changed formatting and added
documentation.
* src/properies.h: Separated properties class from Map class, in order
to simplify Map class and to allow properties to be used by other
classes.
2005-10-06 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp, src/being.h, src/game.cpp: Use integer types from SDL
and along the way fixed some long vs. int issues.
* src/inventory.cpp: Return NULL when no valid item index is given to
getItem() to bail out early.
2005-10-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/engine.cpp, src/main.cpp, src/gui/char_select.cpp,
src/gui/skill.cpp, src/net/messagein.cpp: Fixed some resource cleanup
and memory leaks.
* src/resources/resource.h, src/resources/resourcemanager.cpp:
Changed the way dangling references to resources are reported to be
more informative.
2005-10-04 Yohann Ferreira <bertram@cegetel.net>
* src/game.cpp, src/gui/menuwindow.cpp, src/gui/inventorywindow.cpp,
src/gui/equipmentwindow.cpp: Move to top the requested window with
shortcuts or with menu button, also corrected the default position
of equipment and inventory windows.
* src/gui/chat.cpp: Fixed the Chat Window scrolling bug.
* src/gui/status.cpp, src/gui/ministatus.cpp: Changed the font used
in mini-status. Dynamised previously statically placed widgets in
status win to avoid some label over-drawings.
* src/gui/setup.cpp: Enable the OpenGL Checkbox only if tmw has been
compiled with its support.
2005-10-02 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac, src/Makefile.am: Added check for pthread library and
removed manual -lpthread and -lguichan linker flags.
* src/map.cpp: A small start on supporting other tile height than the
default (map) tile height.
* src/gui/window.cpp, src/gui/window.h, src/resources/buddylist.cpp,
src/resources/buddylist.h: Some cleanups (void argument list was
something you had to do in C times, not necessary in C++).
2005-09-30 Yohann Ferreira <bertram@cegetel.net>
* src/gui/inventorywindow.cpp, src/gui/inventorywindow.h,
src/gui/window.h src/gui/window.cpp src/gui/setup.cpp: Made the
inventory Win behave normally when resized by default size functions.
2005-09-29 Yohann Ferreira <bertram@cegetel.net>
* src/game.cpp, src/gui/window.h, src/gui/window.cpp, src/gui/setup.h,
src/gui/setup.cpp, src/gui/chat.cpp, src/gui/inventorywindow.h,
src/gui/inventorywindow.cpp, src/gui/skill.cpp,
src/gui/equipmentwindow.cpp, src/gui/menuwindow.cpp,
src/gui/ministatus.cpp, src/gui/minimap.cpp, src/gui/status.cpp:
Improved a lot windows reset to default size and pos. Also corrected
a few the default win position. And moved the setposition from game to
each win, to clarify the code.
2005-09-29 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp, src/map.h, src/tileset.h, src/resources/mapreader.cpp,
src/resources/mapreader.h: Moved tileset management into the map class
and made sure the tilesets are cleaned up properly on switching maps.
2005-09-28 Yohann Ferreira <bertram@cegetel.net>
* src/gui/updaterwindow.cpp: Fixed the scroll bug in the update window.
* src/gui/ministatus.h, src/gui/ministatus.cpp: Added HP, MP Display
in mini-status window.
* src/gui/window.h, src/gui/window.cpp, src/gui/skill.cpp,
src/gui/status.cpp, src/gui/equipmentwindow.cpp, src/gui/help.cpp,
src/gui/inventorywindow.cpp, src/gui/minimap.cpp, src/gui/chat.cpp:
Added window internal name to later get X, Y, height and width be
saved.
* src/gui/window.h, src/gui/window.cpp, src/game.cpp: Load and save X,
Y, Width and Height of windows when useful.
* src/gui/setup.cpp, src/gui/setup.h; src/gui/minimap.h: Added a 'Reset
Windows to Default' Button in the Setup Window.
2005-09-28 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/browserbox.cpp: Fix deletion of the gui font because of a
missing check.
* src/Makefile.am: Added -Werror to the CXXFLAGS to catch warnings
easier.
* src/gui/error.h: Removed unnecessary ambigous inheritance.
2005-09-26 Yohann Ferreira <bertram@cegetel.net>
* src/gui/char_select.cpp, debian/control, debian/rules,
debian/tmw.install, debian/changelog: Updated Debian files and fixed a
typo let by Elven.
2005-09-26 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/Makefile.am, src/game.cpp,
src/gui/char_select.cpp, src/gui/char_server.cpp, src/gui/error.cpp,
src/gui/error.h, src/gui/gui.cpp, src/gui/login.cpp,
src/gui/updatewindow.cpp, src/main.cpp, src/main.h,
src/net/network.cpp: Added a nicer handling of when you get
disconnected from the server.
* src/gui/char_select.cpp, src/gui/skill.cpp, src/main.cpp, src/main.h,
src/net/network.cpp: Now error message is displayed properly when the
map server is offline.
2005-09-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/openglgraphics.cpp: Fixed taking OpenGL screenshots and in
addition made it flip the image using just a line buffer instead of a
buffer for the complete image. Still needs testing on MacOS X.
2005-09-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/being.cpp, src/engine.cpp, src/game.cpp, src/main.cpp,
src/map.cpp, src/sound.cpp, src/gui/char_select.cpp,
src/gui/char_select.h, src/gui/char_server.cpp, src/gui/char_server.h,
src/gui/chargedialog.cpp, src/gui/chargedialog.h, src/gui/chat.cpp,
src/gui/equipmentwindow.cpp, src/gui/login.h, src/gui/setup.cpp,
src/gui/setup.h, src/gui/status.cpp, src/gui/updatewindow.cpp,
src/gui/updatewindow.h, src/resources/iteminfo.cpp,
src/resources/iteminfo.h, src/resources/itemmanager.cpp,
src/resources/itemmanager.h: Merged most of the changes in
biggeruniverse's second memory cleanup patch.
2005-09-23 Duane Bailey <nayryeliab@gmail.com>
* src/openglgraphics.cpp: Totally redid the OpenGL screenshot method.
Needs to be tested on lil endian systems. Also made it smoother on
OpenGL MacOSX.
2005-09-23 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/resources/imagewriter.cpp: Reverted the last change that broke
the screenshots facility.
2005-19-22 Duane Bailey <nayryeliab@gmail.com>
* src/net/win2mac.h, src/net/win2mac.cpp: Removed
* src/net/network.h, src/net/messagein.h, src/net/messageout.h:
Removed references to win2mac.h
* src/net/messagein.cpp, src/net/messageout.cpp, src/net/network.cpp:
Changed byte swapping support to SDL_endian
2005-09-21 Andrej Sinicyn <andrej4000@gmail.com>
* src/gui/chat.cpp: Show time of the messages in the chat window.
* The Mana World.dev: Removed reference to src/gui/stats.* since they
are in the attic now.
2005-09-20 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/game.cpp, src/gui/ok_dialog.cpp, src/gui/ok_dialog.h,
src/gui/window.cpp: Enter is used to dismiss dialogs currently,
removed the hacks for use in combination with non-modal dialogs that
made the game crash.
* src/openglgraphics.cpp: Changed glColor4f to glColor4ub.
2005-09-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* configure.ac: Replaced custom function FIND_PATH with AC_PATH_PROG,
used for finding sdl-config.
* src/Makefile.am: Removed -lphysfs which should be added
automatically already.
* src/engine.cpp, src/game.h, src/game.cpp, src/openglgraphics.h,
src/gui/popupmenu.cpp, src/net/messagein.cpp, src/net/messageout.cpp,
src/net/win2mac.h, src/net/win2mac.cpp: Some cleanups.
* src/game.cpp: Actually show the overweight message, and only show it
once for each time weight goes above half the max weight (apparently
this code wasn't even tested once).
* src/graphics.cpp: Surfaces passed to SDL_BlitSurface shouldn't be
locked according to the manual.
* src/main.cpp: Minimal fps limit is now 10 fps.
* src/gui/updatewindow.cpp: Reverted change by Bertram that hardcoded
the updatehost value.
2005-09-19 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp, src/gui/trade.cpp, src/gui/updatewindow.cpp,
src/inventory.cpp: Removed useless flush() calls.
* src/being.cpp, src/game.cpp, src/gui/buy.cpp, src/gui/buysell.cpp,
src/gui/char_select.cpp, src/gui/char_server.cpp, src/gui/chat.cpp,
src/gui/login.cpp, src/gui/npc.cpp, src/gui, npc_text.cpp,
src/gui/popipmenu.cpp, src/gui/requesttrade.cpp, src/gui/sell.cpp,
src/gui/skill.cpp, src/gui/status.cpp, src/gui/trade.cpp,
src/inventory.cpp, src/net/messageout.cpp, src/net/network.cpp,
src/net/network.h, src/net/protocol.cpp: Got rid of writeSet() calls.
* data/graphics/sprites/monster2.png: Fixed some non very bright pixels.
2005-09-18 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/gui/npc.cpp: Updated dev-cpp project file to
last changes, and fixed the bug with npc lists I introduced earlier.
* data/items.xml: Updated the defense value of fancy hat as pointed out
by xand.
* src/game.cpp, src/gui/gui.cpp, src/gui/updatewindow.cpp,
src/main.cpp, src/resources/mapreader.cpp: Applied biggeruniverse's
patch to fix memory leaks.
* src/game.cpp, src/main.cpp: Increased joypad tolerance which is safer
and simplifyed joypad state reset code.
2005-09-18 Duane Bailey <nayryeliab@gmail.com>
* game.cpp: Added weight notice; now notifies person when they
are carrying more then half their weight
2005-09-18 Yohann Ferreira <bertram@cegetel.net>
* src/game.cpp, src/graphics.cpp, src/graphics.h,
src/resources/imagewriter.cpp, src/resources/imagewriter.h:
Made the saveScreenShot makes its screenshots under user home dir in
*nices, made it more C++ way to avoid a leak, and made it check
for existence of a file with same name before writing; In that
case the screenshot's number is incremented until it finds
an adequate name.
* src/gui/updatewindow.cpp: Corrected a bug in the determination
of the update host I had.
* src/gui/updatewindow.cpp, src/playerinfo.h, debian/control,
debian/changelog: Corrected a range value bug for derived stats.
Fixed the percentage of the update win, updated debian information.
* src/gui/status.cpp: As m[a]tt noticed, made the status win a
little more wide, and resizable.
2005-09-18 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp, src/graphics.cpp, src/graphics.h: Move the writing
logic out of the Graphics class once again... Some cleanups in the
screenshot filename selection code.
* src/resources/imagewriter.cpp: Small cleanups.
* src/Makefile.am, src/game.cpp, src/graphics.cpp, src/graphics.h,
src/openglgraphics.cpp, src/openglgraphics.h: Changed saveScreenshot
function in Graphics to getScreenshot. We now use the ImageWriter to
save that screenshot.
* src/resources/imagewriter.cpp, src/resources/imagewriter.h: Added
ImageWriter class that provides a function to save a SDL surface as
png.
2005-09-17 Duane Bailey <nayryeliab@gmail.com>
* src/net/messagin.cpp, src/net/messageout.cpp, src/net/network.cpp:
removed replaced MACOSX defines with big endian defines
* src/graphics.cpp, src/graphics.h: added screenshot method
* src/game.cpp: added code, so that when one presses 'alt-p' (for
picture), it takes a screenshot and saves it to a png
* src/Makefile.am, config.ac: added png library stuff
2005-09-17 Matthias Hartmann <hartmann.matthias@gmail.com>
* src/engine.cpp: [TARGET] text over player
* src/game.cpp, src/game.h: PVP
* src/gui/popupmenu.cpp: Added "attack" option to the popupmenu
* src/net/protocol.cpp: findPlayer
2005-09-17 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/engine.cpp, src/game.cpp: Indent properly.
2005-09-17 Björn Steinbrink <B.Steinbrink@gmx.de>
* configure.ac: Fix typo.
* src/Makefile.am: Remove useless (duplicate) -lpng.
* src/graphics.cpp: Add missing cstdarg header.
* src/net/messagein.cpp: Fix some funny looking preprocessor
statement.
* src/net/messageout.cpp: Readd SDLnet header, for changed
preprocessor stuff.
* src/game.h: Remove inclusion of being.h, there was a forward
declaration of class Being anyways...
* src/openglgraphics.cpp: Use gl{Push,Pop}Matrix instead of
calculating offsets, cause the values are stored as float and aren't
accurate enough.
2005-09-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/gui/skill.cpp: Updated to last changes, and
wrong names fixes.
* src/being.cpp, src/game.cpp, src/gui/buy.cpp, src/gui/buysell.cpp,
src/gui/char_select.cpp, src/gui/char_server, src/gui/chat.cpp,
src/gui/npc.cpp, src/gui/npc_text.cpp, src/gui/popupmenu.cpp,
src/gui/requesttrade.cpp, src/gui/sell.cpp, src/gui/skill.cpp,
src/gui/status.cpp, src/gui/trade.cpp, src/inventory.cpp,
src/net/messageout.cpp, src/net/network.cpp, src/net/network.h,
src/net/protocol.cpp, src/net/protocol.h: Completed transition to use
MessageOut.
2005-09-17 Yohann Ferreira <bertram@cegetel.net>
* src/game.cpp, src/gui/ministatus.cpp, src/gui/ministatus.h,
src/gui/menuwindow.h, src/gui/menuwindow.cpp, src/gui/status.cpp,
src/gui/status.h: Improving General Layout.
* src/games.cpp, src/playerinfo.h, src/gui/char_server.cpp,
src/gui/char_select.cpp, src/gui/ministatus.cpp, src/gui/skill.cpp,
src/gui/status.cpp, src/gui/status.h: Now the derived stats values
are got from the server, and then, are correct ones.
* src/gui/minimap.cpp: Only shows the Minimap Window if there's
actually a minimap to the current map.
* src/gui/status.cpp, src/game.cpp: The derived stats are now updated
correctly upon equipping/unequipping.
2005-09-16 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/resources/image.cpp: Report which error occured when loading of
an image fails.
2005-09-14 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp: Fix missing parentheses in a negated check.
* src/engine.cpp, src/engine.h, src/game.cpp: Moved Map management
code completely into engine.cpp.
* src/net/messagein.cpp, src/net/messagein.h, src/net/messageout.cpp,
src/net/messageout.h: Added stream operators for char, short and long
reading and writing.
* src/game.cpp, src/log.cpp, src/main.cpp, src/gui/char_select.cpp,
src/gui/char_server.cpp, src/gui/login.cpp, src/net/messageout.cpp,
src/net/messageout.h, src/net/network.cpp, src/net/network.h,
src/net/packet.cpp, src/net/protocol.cpp: Header cleanups.
* src/gui/popupmenu.cpp, src/gui/sell.cpp: Use cassert instead of
assert.h.
* src/net/network.cpp: Add missing cassert header, remove some unused
headers.
* src/net/messagein.cpp: Add missing cassert header.
* src/being.cpp, src/being.h, src/game.cpp: Made Being::setDamage
accept a short instead of a string.
* src/game.cpp, src/game.h, src/gui/char_select.cpp: Converted
map_path from char array to std::string.
2005-09-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated to last changes.
* The Mana World.dev: Added latest changes to the proper branch.
* src/gui/login.cpp, src/net/messageout.cpp, src/net/messageout.h,
src/net/network.cpp, src/net/network.h: Started to use MessageOut to
send login data.
2005-09-13 Björn Steinbrink <B.Steinbrink@gmx.de>
* ChangeLog, The Mana World.dev, configure.ac, src/Makefile.am,
src/being.cpp, src/being.h, src/engine.cpp, src/floor_item.cpp,
src/floor_item.h, src/game.cpp, src/game.h, src/inventory.cpp,
src/log.h, src/main.cpp, src/playerinfo.h, src/serverinfo.h,
src/gui/buy.cpp, src/gui/buysell.cpp, src/gui/char_select.cpp,
src/gui/char_server.cpp, src/gui/chargedialog.cpp, src/gui/chat.cpp,
src/gui/inventorywindow.cpp, src/gui/login.cpp, src/gui/npc.cpp,
src/gui/npc.h, src/gui/npc_text.cpp, src/gui/npc_text.h,
src/gui/popupmenu.cpp, src/gui/requesttrade.cpp,
src/gui/requesttrade.h, src/gui/sell.cpp, src/gui/skill.cpp,
src/gui/stats.cpp, src/gui/status.cpp, src/gui/status.h,
src/gui/trade.cpp, src/net/messagein.cpp, src/net/messagein.h,
src/net/messageout.cpp, src/net/messageout.h, src/net/network.cpp,
src/net/network.h, src/net/packet.cpp, src/net/packet.h,
src/net/protocol.cpp, src/net/protocol.h, src/net/win2linux.h,
src/net/win2mac.cpp, src/net/win2mac.h: Merged with SDL_NET_TEST
branch.
* src/being.cpp, src/being.h, src/game.cpp: Simplify remove_node.
* src/being.cpp, src/being.h, src/game.cpp: Merged createBeing and
add_node into createBeing.
* src/main.cpp, src/main.h, src/gui/char_select.cpp,
src/gui/login.cpp: Removed some globals.
* src/main.cpp, src/main.h, src/gui/char_select.cpp,
src/gui/char_select.h, src/gui/char_server.cpp, src/gui/char_server.h,
src/gui/login.cpp, src/gui/login.h, src/gui/updatewindow.cpp,
src/gui/updatewindow.h: Unified the loops for the various dialogs that
are shown before the actual game starts.
* src/gui/login.cpp: Removed a close_session call i missed.
* src/gui/login.cpp: Close the session only when it was opened.
2005-09-13 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/floor_item.cpp, src/floor_item.h, src/engine.cpp,
popupmenu.cpp: Made members private and provided more convenient
constructor.
* src/net/messageout.cpp: Fixed bug in destructor.
* src/net/network.cpp: Initialize buffers and enforce only a single
session at a time.
* src/game.cpp, src/net/protocol.h: Converted all incoming messages
handled in game.cpp to use the MessageIn class. This is a huge change
so please test if everything is still working correctly.
* src/gui/npc.cpp, src/gui/npc.h, src/gui/npc_text.cpp,
src/gui/npc_text.h: Changed argument from char* to std::string for
convenience.
* src/gui/setup.cpp, src/gui/setup.h: Enabled OpenGL checkbox and
added messagebox informing the user that apply this change requires
restarting the client.
* src/gui/updatewindow.cpp: Start displaying file progress at 0% and
some small fixes.
2005-09-12 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/gui/browserbox.cpp, src/gui/gui.cpp,
src/resources/resourcemanager.cpp, src/resources/resourcemanager.h,
src/resources/sdlimageloader.cpp, src/resources/sdlimageloader.h:
Added SDLImageLoader to make guichan support physfs. Removed
ResourceManager::getRealPath() because it's no longer needed.
2005-09-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/gui/hits_blue.png, data/graphics/gui/hits_red.png,
data/graphics/gui/hits_yellow.png: Made shadow translucent.
* data/graphics/images/minimap_new_7-1.png: Added this minimap.
* data/help/changes.txt, data/help/commands.txt: Added 0.0.16 changes.
* data/maps/new_7-1.tmx.gz: Fixed well being in the wrong layer.
2005-09-11 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/network.cpp: Improved error reporting a bit and got rid of
loop for sending data, which shouldn't be necessary according to
SDL_net documentation.
* src/Makefile.am, src/being.cpp, src/being.h, src/engine.cpp,
src/game.cpp, src/main.cpp, src/playerinfo.h, src/gui/char_server.cpp,
src/gui/chargedialog.cpp, src/gui/chat.cpp,
src/gui/inventorywindow.cpp, src/gui/popupmenu.cpp, src/gui/skill.cpp,
src/gui/stats.cpp, src/gui/status.cpp, src/gui/status.h,
src/net/protocol.cpp: Changed char_info into the array it's used as
for character selection and introduced player_info as the pointer to
the player information. Should help towards support for multiple
characters on the same account. Also changed PLAYER_INFO name field to
a std::string.
* src/net/win2mac.cpp, src/net/win2mac.h: A bit of clean up.
* src/net/packet.h, src/net/packet.cpp, src/net/messagein.h,
src/net/messagein.cpp, src/net/messageout.h, src/net/messageout.cpp:
Added these packet reading/writing helpers, taken from the new server
in development.
* src/gui/char_select.cpp: Made new character message be parsed
using MessageIn. Many other incoming messages should be ready to be
ported similarly, simplifying the parsing of packets because of
automatic incrementation of the read position.
* src/game.cpp, src/game.h, src/gui/popupmenu.cpp,
src/gui/requesttrade.cpp, src/gui/requesttrade.h: Changed
tradePartnerName to std::string.
* src/net/win2linux.h: Removed because it became redundant with
the use of SDL_net.
* src/game.cpp, src/game.h, src/gui/char_select.cpp,
src/net/messagein.cpp, src/net/messagein.h, src/net/network.cpp,
src/net/network.h: Got rid of usage of Packet by MessageIn,
simplifying both its usage and implementation. Now also handling
response to character selection through MessageIn.
* src/main.cpp, src/serverinfo.h, src/gui/char_select.cpp,
src/gui/char_server.cpp, src/gui/login.cpp, src/net/network.cpp,
src/net/network.h, src/net/protocol.cpp, src/net/protocol.h:
Introduced get_next_message function to reduce duplication of that
process. Also now MessageIn is used for all incoming messages handled
during the login sequence.
* src/being.cpp, src/being.h, src/game.cpp, src/game.h,
src/inventory.cpp, src/serverinfo.h, src/gui/login.cpp,
src/gui/trade.cpp, src/net/messagein.cpp, src/net/messagein.h,
src/net/network.cpp, src/net/protocol.cpp, src/net/protocol.h: Added
readCoordinates and readCoordinatePair to MessageIn for reading the
specific ways eAthena sends sends those, and converted part of
game.cpp to use the MessageIn class. Also simplified cases where
flush() was still called in a loop for sending and added asserts to
MessageIn methods.
2005-09-10 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/log.cpp: Committed patch by Nayr for displaying a messagebox
when an error occurs on MacOS.
2005-09-10 Björn Steinbrink <B.Steinbrink@gmx.de>
* configure.ac: Add check for SDL_net.
2005-09-09 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/game.cpp: Fixes to dropped items network code
2005-09-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/win2linux.h: Removed inclusion of malloc.h header as it
doens't seem necessary and was problematic on FreeBSD.
2005-09-08 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp: Clean the floor items when the map changes.
2005-08-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* README, The Mana World.dev, data/graphics/sprites/items.png,
data/graphics/sprites/npcs.png, data/help/header.txt,
data/help/skills.txt, data/items.xml, data/maps/new_8-1.tmx.gz:
Updated docs for release, fixed Dev-Cpp project file, added more items
and npcs, fixed the new map and added it to the makefile.
2005-08-31 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/openglgraphics.cpp: Fix push/pop of clip area, we need to
translate using the x/y offset, not the x/y coordinates of the clip
area. This fixes the broken scrollareas.
2005-08-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated project file.
* data/graphics/sprites/npcs.png, src/gui/sell.cpp: Added empty sprite
and reorganized spriteset, fixed a typo.
2005-08-29 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/configlistener.cpp, src/configlistener.h: Made
the destructor inline, as it is an interface, we don't need a .cpp
file, thus it was removed.
* src/resources/image.cpp, src/resources/image.h,
src/resources/music.cpp, src/resources/music.h,
src/resources/resource.cpp, src/resources/resource.h,
src/resources/resourcemanager.cpp, src/resources/soundeffect.cpp,
src/resources/soundeffect.h: Removed the setIdPath() method from the
Resource class and added the idPath as a Constructor parameter, as
that value is not meant to be changed.
2005-08-29 Eugenio Favalli <elvenprogrammer@gmail.com>
* data/maps/new_8-1.tmx.gz: Some layer and walkability fixes.
2005-08-28 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/openglgraphics.cpp, src/gui/browserbox.cpp,
src/gui/buddywindow.cpp, src/gui/buddywindow.h, src/gui/buysell.h,
src/gui/char_server.h, src/gui/chargedialog.h, src/gui/chat.cpp,
src/gui/chat.h, src/gui/confirm_dialog.h, src/gui/equipmentwindow.h,
src/gui/focushandler.h, src/gui/gui.cpp, src/gui/gui.h,
src/gui/help.h, src/gui/inttextbox.cpp, src/gui/inventorywindow.cpp,
src/gui/inventorywindow.h, src/gui/item_amount.h,
src/gui/itemcontainer.cpp, src/gui/listbox.cpp, src/gui/newskill.h,
src/gui/npc_text.h, src/gui/ok_dialog.h, src/gui/passwordfield.cpp,
src/gui/requesttrade.h, src/gui/setup.h, src/gui/stats.h,
src/gui/status.h, src/gui/textbox.cpp, src/gui/textfield.cpp,
src/gui/trade.h, src/gui/updatewindow.h: Add #include's that just
weren't necessary because the guichan folks don't provide clean
headers. This is preparatory for the case that they ever do. ;)
* src/gui/gui.cpp, src/gui/gui.h: Create a GuiConfigListener class.
* src/gui/window.h: Small cleanup.
* src/gui/window.cpp, src/gui/window.h: Create a static ConfigListener
for the Window class. (Fixes each Window listening to config changes,
although they only affect a static class member.)
2005-08-27 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/npc.cpp: Fix a memory leak.
* src/game.cpp, src/gui/npc.cpp, src/gui/npc.h: Fix the bug when
sometimes the last entry in npc list windows is missing. The network
buffer isn't reset to all zeros, thus we can't rely on the received
string to be nul-terminated, instead we have to use the length
parameter we receive from eAthena (and this way we're also safe
against buffer overflows, because we can use strncpy()).
* src/gui/window.cpp: Bail out early if there's no window container.
* src/engine.cpp, src/game.cpp, src/gui/stats.cpp, src/gui/stats.h,
src/gui/status.cpp, src/gui/status.h: Update the stats and status
window contents only at a single location and let them do it
automagically.
* src/gui/updatewindow.cpp, src/gui/updatewindow.h: Small cleanups.
2005-08-25 Ferreira Yohann <bertram@cegetel.net>
* src/gui/buy.h, src/gui/buy.cpp, src/gui/sell.h, src/gui/sell.cpp,
src/gui/inventorywindow.h, src/gui/inventorywindow.cpp: Added effect
description to those each windows, and also made some improvements and
bugfixes as I was on it.
* data/maps/new_7-1.tmx.gz: Added eyecandy to the map 7-1.
2005-08-26 Björn Steinbrink <B.Steinbrink@gmx.de>
* ChangeLog: Fix indentation and line length.
* docs/HACKING.txt: Fix the example (OOPS!).
* src/configuration.cpp: Remove dependency on math.h.
* src/openglgraphics.cpp: Remove useless code.
* src/openglgraphics.cpp: Use glTranslatef instead of glTranslated.
Remove some useless code.
2005-08-25 Ferreira Yohann <bertram@cegetel.net>
* src/main.h, src/main.cpp, src/gui/login.cpp,
src/resources/buddylist.cpp, gui/char_select.cpp: Adding min and max
length check for password, more code cleanups in login and removing
possible buffer overflows by replacing some global char[] by
std::strings.
* src/items.h, src/items.cpp, src/resources/itemmanager.h,
src/resources/itemmanager.cpp, src/resources/iteminfo.h,
src/resources/iteminfo.cpp, data/items.xml, data/items.xsd: Added
Effects description to items.
2005-08-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
* ChangeLog: Fixed line length using tab size of 8.
* src/configuration.h, src/configuration.cpp: Removed some debug code
and updated documentation a bit.
* src/resources/resourcemanager.cpp: Removed unused (I think) headers
for Windows.
2005-08-25 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/openglgraphics.cpp: Use the translation capabilities of OpenGL
instead of doing it ourselves all the time.
* src/graphics.cpp: Simplify the image rect drawing code a bit and
remove an obsolete included header.
* src/openglgraphics.cpp, src/openglgraphics.h: Reduce the code
duplication even further.
* src/engine.cpp, src/floor_item.cpp, src/floor_item.h: Move the
extern declaration for the floor item list into engine.cpp as it's
only used there.
* src/log.cpp: Lower indentation level.
* src/openglgraphics.cpp, src/openglgraphics.h: Reduce code
duplication.
* src/configuration.cpp: Fix compilation errors.
* src/graphics.cpp, src/openglgraphics.cpp, src/gui/button.cpp,
src/gui/checkbox.cpp, src/gui/equipmentwindow.cpp,
src/gui/itemcontainer.cpp, src/gui/minimap.cpp,
src/gui/passwordfield.cpp, src/gui/playerbox.cpp,
stc/gui/progressbar.cpp, src/gui/radiobutton.cpp,
src/gui/scrollarea.cpp, src/gui/slider.cpp, src/gui/textfield.cpp,
src/gui/window.cpp: Made our Graphics::drawImage() method respect the
clip area from the guichan part. Removed some obsolete code.
* src/gui/tabbedcontainer.h: Fix include path for guichanfwd.h.
* src/gui/tabbedcontainer.cpp, src/gui/tabbedcontainer.h: Added a new
container type, that allows switching between the contents through a
tab bar at the top of the container.
* ChangeLog: Fixed intendation and line length.
* docs/HACKING.txt: Added a notice about line length in ChangeLog and
an example for the ChangeLog format.
2005-08-24 Ferreira Yohann <bertram@cegetel.net>
* src/game.cpp: Simply don't show equipped items in sell dialog as it's
annoying.
* src/gui/login.h, src/gui/login.cpp: Code cleanups and improvements
to the login sequence.
2005-08-23 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/shop.h: Fixed using a forward declaration for std::string,
where it was a class member.
* src/game.cpp, src/gui/sell.cpp, src/gui/sell.h: Made the sell dialog
accepts Items instead of looking them up in the inventory.
* src/gui/sell.cpp: Some code cleanups, simplifications and removal of
duplicate code.
* src/gui/buy.cpp, src/gui/sell.cpp, src/gui/shop.h: Avoid possible
buffer overflows by using a std::string instead of char[30].
* src/gui/buy.cpp: Some code cleanups, simplifications and removal of
duplicate code.
2005-08-22 Ferreira Yohann <bertram@cegetel.net>
* src/gui/buy.cpp, src/gui/sell.cpp, src/game.cpp: Removed asserts as
they were not suitable for a stable implementation of buy/sell dialogs
and made some improvements on them. Still has to clean up code.
* src/gui/login.h, src/login.cpp: Code cleanups, little improvements of
the login function.
2005-08-22 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/skill.cpp: Disabled use button in skill dialog since is still
not being used.
2005-08-20 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/openglgraphics.cpp: Added some missing state changes and checks.
* src/gui/inventorywindow.cpp, src/gui/item_amount.cpp,
src/gui/item_amount.h, src/gui/popupmenu.cpp, src/gui/trade.cpp: Made
the item amount dialog work on a provided item, instead of having it
ask the inventory window itself.
2005-08-19 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp, src/game.cpp: The engine isn't connected to all the
gui windows, so move creation from its constructor into the game.cpp
where most of them are actually used.
* src/log.cpp, src/log.h, src/main.cpp: Added support for parsing
command line options. Added option to skip the update process. Made
logger being created immediately after startup, because some
destructors use it.
2005-08-18 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/game.cpp, src/gui/skill.h, src/gui/skill.cpp:
Updated reference to latest libxml, fixed a bug in updating skills,
updated skill names database.
2005-08-18 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/graphics.cpp, src/graphics.h, src/main.cpp,
src/openglgraphics.cpp src/openglgraphics.h, src/gui/gui.cpp,
src/resources/image.h: Semi-separated OpenGL and SDL graphics classes,
improves OpenGL performance quite a bit, while rewriting a good bunch
of code provided by guichan (but maybe we'll diverge so much that we'd
need that anyways...)
2005-08-17 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/configuration.cpp, src/resources/itemmanager.cpp,
src/resources/mapreader.cpp: Removed special #ifdefs for libxml2
linking issues in Win32.
2005-08-16 Ferreira Yohann <bertram@cegetel.net>
* src/gui/window.h, src/gui/window.cpp: Bugfixing and simplifying
resize code.
* debian/*: Updates to the debian packaging files. (The actual update
was from a few days ago.) Now we have the tmw, tmw-data and tmw-music
packages.
* src/gui/setup.h, src/gui/setup.cpp: Now the setup (Config) windows
works as it should be. (The actual update was from a few days ago.)
2005-08-16 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev, src/gui/status.cpp, src/gui/window.cpp,
src/gui/window.h, src/gui/windowcontainer.h,
data/graphics/gui/resize.png: Added a resize grip to resizable window,
fixed some compiling errors.
2005-08-15 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp, src/gui/gui.cpp, src/gui/gui.h: Removed guiTop global
variable.
* src/graphics.cpp, src/graphics.h, src/main.cpp: Made the OpenGL
related code fully #ifdef'ed.
* src/main.cpp, src/gui/browserbox.cpp, src/gui/gui.cpp,
src/resources/image.cpp, src/resources/image.h: Fully faded out the
useOpenGL global. Image and Graphics keep track of the mode on their
own now (the latter will go away once we have separate classes...)
* src/graphics.cpp, src/graphics.h, src/main.cpp, src/main.h,
src/gui/browserbox.cpp, src/gui/gui.cpp, src/resources/image.cpp:
Started to fade out the useOpenGL global variable.
* src/engine.cpp, src/gui/char_select.cpp, src/gui/char_server.cpp,
src/gui/chat.cpp, src/gui/gui.cpp, src/gui/gui.h, src/gui/login.cpp,
src/gui/popupmenu.cpp, src/gui/setup.cpp, src/gui/updatewindow.cpp,
src/gui/window.cpp: Removed guiGraphics global pointer and removed
dependencies on gui.h in some places.
2005-08-14 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/graphics.cpp, src/graphics.h, src/resources/image.cpp,
src/resources/image.h: Moved the image drawing code into the graphics
class.
* src/being.cpp, src/engine.cpp, src/graphics.cpp, src/graphics.h: Made
the wrapper functions in the Graphics class conditional on whether we
compile with OpenGL support.
2005-08-13 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/Makefile.am, src/being.cpp, src/being.h, src/configlistener.cpp,
src/configlistener.h, src/configuration.cpp, src/configuration.h,
src/engine.cpp, src/engine.h, src/equipment.cpp, src/equipment.h,
src/game.cpp, src/game.h, src/graphics.cpp, src/graphics.h,
src/guichanfwd.h, src/inventory.cpp, src/inventory.h, src/item.h,
src/log.cpp, src/log.h, src/main.cpp, src/main.h, src/map.cpp,
src/map.h, src/playerinfo.h, src/sound.cpp, src/sound.h,
src/graphic/imagerect.h, src/graphic/spriteset.cpp,
src/graphic/spriteset.h, src/gui/box.h, src/gui/browserbox.cpp,
src/gui/browserbox.h, src/gui/buddywindow.h, src/gui/button.cpp,
src/gui/button.h, src/gui/buy.cpp, src/gui/buy.h, src/gui/buysell.h,
src/gui/char_select.cpp, src/gui/char_select.h,
src/gui/char_server.cpp, src/gui/char_server.h,
src/gui/chargedialog.cpp, src/gui/chargedialog.h, src/gui/chat.cpp,
src/gui/chat.h, src/gui/chatinput.cpp, src/gui/checkbox.cpp,
src/gui/checkbox.h, src/gui/confirm_dialog.cpp,
src/gui/confirm_dialog.h, src/gui/equipmentwindow.cpp,
src/gui/equipmentwindow.h, src/gui/focushandler.h, src/gui/gui.cpp,
src/gui/gui.h, src/gui/help.cpp, src/gui/help.h,
src/gui/inttextbox.cpp, src/gui/inttextbox.h,
src/gui/inventorywindow.cpp, src/gui/inventorywindow.h,
src/gui/item_amount.cpp, src/gui/item_amount.h,
src/gui/itemcontainer.cpp, src/gui/itemcontainer.h,
src/gui/listbox.cpp, src/gui/listbox.h, src/gui/login.cpp,
src/gui/login.h, src/gui/minimap.cpp, src/gui/minimap.h,
src/gui/newskill.cpp, src/gui/newskill.h, src/gui/npc.h,
src/gui/npc_text.h, src/gui/ok_dialog.cpp, src/gui/ok_dialog.h,
src/gui/passwordfield.h, src/gui/playerbox.cpp, src/gui/playerbox.h,
src/gui/popupmenu.cpp, src/gui/popupmenu.h, src/gui/progressbar.cpp,
src/gui/progressbar.h, src/gui/radiobutton.cpp, src/gui/radiobutton.h,
src/gui/requesttrade.cpp, src/gui/requesttrade.h,
src/gui/scrollarea.cpp, src/gui/scrollarea.h, src/gui/sell.cpp,
src/gui/sell.h, src/gui/setup.cpp, src/gui/setup.h, src/gui/skill.h,
src/gui/slider.cpp, src/gui/slider.h, src/gui/stats.cpp,
src/gui/stats.h, src/gui/status.cpp, src/gui/status.h,
src/gui/textbox.cpp, src/gui/textbox.h, src/gui/textfield.cpp,
src/gui/textfield.h, src/gui/trade.cpp, src/gui/trade.h,
src/gui/updatewindow.cpp, src/gui/updatewindow.h, src/gui/window.cpp,
src/gui/window.h, src/gui/windowcontainer.h, src/net/protocol.cpp,
src/net/protocol.h, src/resources/buddylist.hm
src/resources/image.cpp, src/resources/image.h,
src/resources/itemmanager.cpp, src/resources/itemmanager.h,
src/resources/mapreader.cpp, src/resources/mapreader.h,
src/resources/music.h, src/resources/resource.cpp,
src/resources/resourcemanager.cpp, src/resources/resourcemanager.h,
src/resources/soundeffect.h: Huge header cleanup, removing nearly all
#include's from headers to reduce dependencies and compile time.
* src/engine.cpp, src/gui/char_select.cpp, src/gui/inventorywindow.cpp,
src/gui/skill.cpp, src/gui/skill.h, src/gui/stats.cpp,
src/gui/status.cpp: Another small header cleanup, should also solve
compilation problems on windows.
* src/gui/sell.cpp: Reset selection in the sell dialog if all items at
the selected slot are sold.
2005-08-13 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/gui/status.h, src/gui/status.cpp: Reformatted status window
layout to avoid overlapping and lowered saturation of bars' colors.
* src/gui/status.cpp: Removed smooth color changing from xp bar which
was causing problems and doesn't act as the job xp bar.
* The Mana World.dev, src/game.cpp, src/playerinfo.h,
src/net/protocol.cpp, src/resources/itemmanager.cpp,
src/gui/inventorywindow.cpp: Updated dev-cpp project file, removed
unnecessary header, fixed some include paths.
2005-08-12 Eugenio Favalli <elvenprogrammer@gmail.com>
* src/buy.cpp, src/sell.cpp: Resetting quantity to 0 after selecting
other items in buy/sell dialogs.
2005-08-11 Andrej Sinicyn <andrej4000@gmail.com>
* src/resources/image.cpp: Little cleanup and simplification.
2005-08-10 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp, src/graphics.cpp, src/graphics.h,
src/gui/browserbox.cpp, src/gui/gui.cpp, src/gui/listbox.cpp,
src/gui/minimap.cpp, src/gui/progressbar.cpp, src/gui/scrollarea.cpp:
Moved knowledge about whether we use OpenGL into the Graphics class (as
much as possible)
* src/game.cpp: Added helper function for being creation to reduce code
duplication. Some code simplifications.
2005-08-09 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp: Adjust drawing offset to have the player centered in
higher resolutions as well.
2005-08-04 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.cpp: Use "true" instead of "1" as bool argument.
* src/resources/resourcemanager.cpp, src/resources/resourcemanager.h:
Added a method to determine the real path of a file in the PhysFS
search path.
* src/gui/browserbox.cpp: Make use of then new resource manager method
to determine the real path of a file.
* src/gui/gui.cpp: Dynamically determine the path to graphic files
instead of using the try-catch fallback method.
2005-08-03 Andrej Sinicyn <andrej4000@gmail.com>
* src/game.cpp, src/game.h, src/gui/requesttrade.cpp,
src/gui/requesttrade.h: Moved my invented variable, since it makes more
sense.
* src/game.cpp, src/game.h, src/gui/requesttrade.cpp: Fix my previous
fix because it broke my own code.
2005-08-03 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.cpp: Use PhysFS to determine user's home directory on unix
system. Removed an now unused header.
* src/game.cpp: Commented a switch case label that was left uncommented
though the rest was commented.
* src/resources/buddylist.cpp, src/main.h: Removed unneeded header from
main.h, added it to buddylist.cpp.
* src/engine.cpp: Converted two global variables to function-local
ones.
2005-08-02 Andrej Sinicyn <andrej4000@gmail.com>
* src/game.cpp: Fixed "Trade canceled" happening often.
2005-08-02 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/engine.cpp: Cleanups in the drawing code.
* src/engine.cpp, src/game.cpp: Made autoTarget checks being handled at
a single location.
* src/being.cpp, src/being.h, src/engine.h: Small header cleanups.
* src/graphics.cpp, src/graphics.h, src/main.cpp, src/main.h,
src/gui/setup.cpp: Moved graphics setup code into the graphics class.
2005-08-02 Marcel W. Wysocki <maci@satgnu.org>
* tmw/src/gui/status.cpp: making setup dialog quitting when clicking
on setup button while dialog is opened
2005-08-01 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/inventory.cpp, src/inventory.h, src/gui/itemcontainer.cpp,
src/gui/itemcontainer.h: Added a logic function to dynamically adjust
the size of the itemcontainer.
* src/game.cpp: Fixed autoTarget not being set to NULL on map change.
2005-07-31 Andrej Sinicyn <andrej4000@gmail.com>
* src/game.cpp, src/game.h, src/gui/popupmenu.cpp: Show the name of the
trade partner in the trade dialog.
2005-07-31 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/listbox.cpp: Small cleanup of the drawing code.
* src/engine.cpp: Added a check to stop scrolling when we hit the map
border.
2005-07-31 Andrej Sinicyn <andrej4000@gmail.com>
* src/game.cpp: Don't allow more than one trade dialog or requesting it
at once; if a trade is canceled on the other side, close the trade
window.
2005-07-30 Andrej Sinicyn <andrej4000@gmail.com>
* src/main.cpp: Removed unnecessary value assignment to a variable.
2005-07-30 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.cpp, src/resources/resourcemanager.h,
src/resources/resourcemanager.cpp: Fixed buggy check for the existence
of the updates directory. Extended the resource manager with some
physfs functions and moved the actual setup process from the resource
manager constructor into the main initialization.
2005-07-29 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp: Fixed popup window not always being correctly hidden
when the player clicks somewhere else.
2005-07-28 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/main.cpp, src/gui/update.cpp, src/resources/resourcemanager.cpp,
src/resources/resourcemanager.h: Added support for files downloaded
through the update manager to the resource manager. Changed directory
name for updates from "data" to "updates".
* src/game.cpp, src/gui/inventorywindow.cpp, src/gui/popupmenu.cpp,
src/gui/popupmenu.h: Cleaned up the showPopup() code, moved
"map"-related code into game.cpp, made the popup show up at mouse
coordinates instead of being aligned to tiles.
* src/being.cpp, src/being.h, src/engine.cpp, src/game.cpp, src/game.h,
src/gui/gui.cpp, src/net/protocol.cpp: Added an action enumeration to
the Being class and removed the old #define's.
* src/resources/resourcemanager.cpp: Fixed a location where a wrong
dir-separator was used.
* src/main.cpp: Fixed updates directory not being created on non-unix
systems. Started using PhysFS write support.
2005-07-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/engine.cpp, src/game.cpp, src/graphics.cpp, src/graphics.h,
src/main.cpp, src/gui/browserbox.cpp, src/gui/button.cpp,
src/gui/gui.cpp, src/gui/listbox.cpp, src/gui/minimap.cpp,
src/gui/playerbox.cpp, src/gui/progressbar.cpp,
src/gui/scrollarea.cpp, src/gui/textfield.cpp, src/gui/window.cpp,
src/resources/image.cpp, src/resources/image.h,
src/resources/mapreader.h: Merged OpenGL/SDL merge patch by Andrej
Sinicyn, and his followup patch for fixing SDL-only build.
2005-07-27 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/gui/gui.cpp, src/gui/gui.h: Removed continous mouse movement,
that implementation wasn't suitable for a release.
2005-07-26 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.cpp, src/being.h, src/engine.cpp, src/game.cpp,
src/gui/minimap.cpp, src/gui/popupmenu.cpp, src/net/protocol.cpp:
Introduced a Being::Type enumeration. Added type-aware findNode()
function.
* src/being.cpp: Set font back to gui font after drawing speech.
Draw auto-target marker in engine instead of being.
* src/gui/popupmenu.cpp: Fixed empty popup window being shown when user
right clicks on an empty tile while the popup is visible.
2005-07-26 Eugenio Favalli <elvenprogrammer@gmail.com>
* The Mana World.dev: Updated release infos.
* data/graphics/sprites/emotions.png: Added Modanung's smilies.
* src/being.cpp, src/engine.cpp: Fixed text and smilies position.
* src/game.cpp: Cleanups.
* src/gui/skill.cpp: Added new skill names.
* src/main.cpp: Moved sound playback to update screen and changed song.
2005-07-24 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/game.cpp: Made the key-event handler use switches instead of
if-else.
* src/gui/gui.cpp, src/gui/gui.h: Allow continous movement when holding
down the left mouse button.
2005-07-23 Björn Steinbrink <B.Steinbrink@gmx.de>
* src/being.h, src/being.cpp: Added a member to keep the current map,
restored setDestination.
* src/game.cpp, src/gui/gui.cpp: Change calls to Being::setPath() to
Being::setDestination().
* src/map.h: Add a forward declaration for struct PATH_NODE.
2005-07-23 Bjørn Lindeijer <bjorn@lindeijer.nl>
* NEWS: Moved project news here.
* ChangeLog: Started standard ChangeLog file here.
* docs/HACKING.txt: Added info about member naming and ChangeLog
format.
* src/gui/updatewindow.h, src/gui/updatewindow.cpp: Changed member
names, set a 15 second timeout for connecting to update server and
restore some doxygen comments, improved size adaption and made the
window a shorter.
* data/graphics/images/login_wallpaper.png: New login wallpaper by
Momotaro.
|