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
|
2005-02-20 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.7 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2005-02-14 Jens Granseuer <jensgr@gmx.net>
* src/{cf,comet}/mission.cpp (Load, Save): move player info and
messages closer to the beginning of the file
* src/cf/initwindow.{cpp,h} (CompleteFilesList, LoadMission)
* src/cf/mission.{cpp,h} (QuickLoad): speed up application
startup times by only loading the data required for the map
selection screen
* INSTALL
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS)
* configure.ac
* tools/Makefile.am
* tools/cf2bmp.cpp: add cf2bmp utility for turning maps into
images. Can be built and installed by passing --enable-cf2bmp
to configure
* src/common/surface.{cpp,h} (Colorize): unused, remove
2005-02-07 Jens Granseuer <jensgr@gmx.net>
* src/{cf,comet}/unit.{cpp,h} (Moves, RefreshMoves, SetMoves):
get rid of u_moves member variable and respective calls
* src/cf/game.cpp (ClearMine, EndTurn, MoveUnit, Undo)
* src/cf/history.cpp (RecordUnitEvent, StartRecording)
* src/comet/mission.cpp (CreateUnit)
* tools/cfed.cpp (check_units): update callers
* src/comet/eventwindow.cpp (EdEventResearchWindow): add
missing break in switch
2005-02-01 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml
* src/cf/building.h (UnsetUnitProduction)
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdEventResearchWindow)
* src/comet/mission.cpp (Event)
* tools/cfed.cpp (EventHandler::ParseSection): add new
parameter to EVENT_RESEARCH to make it possible to disallow
production of a specified unit class
2005-01-30 Andrej Krivulcik <thefox@pobox.sk>
* locale/sk.tmpl: update Slovak translation
2005-01-30 Jens Granseuer <jensgr@gmx.net>
* locale/en.tmpl: use caps consistently
* src/comet/eventwindow.cpp (EdEventGenericWindow): clear
string buffer for unset discard property (reported by Andrej
Krivulcik)
2005-01-29 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdEventConfigureWindow)
* src/comet/mission.{cpp,h} (Event, Load, Save)
* src/common/lang.{cpp,h} (Find)
* src/common/widget.h (SetFlags, UnsetFlags)
* tools/cfed.cpp (EventHandler::ParseSection): reenable
dynamically setting the next map in a campaign
* src/cf/game.cpp (Undo)
* src/cf/history.{cpp,h} (EraseMoveEvents): don't forget to
erase recorded movement on undo (reported by Waclaw Schiller)
2005-01-26 Jens Granseuer <jensgr@gmx.net>
* THANKS
* levels/Makefile.am
* levels/Tutorial1.src: add first tutorial mission by Andrej
Krivulcik
* src/common/gamedefs.h
* tools/default.tsrc
* tools/mktileset.cpp (TileHandler::ParseSection): remove
TT_KEEP_OFF as it's not needed anywhere
2005-01-24 Jens Granseuer <jensgr@gmx.net>
* locale/*.tmpl (MSG_B_UNIT_UNDO)
* src/cf/game.{cpp,h} ([Re]MoveUnit, Undo, UnitMenu)
* src/cf/msgs.h (MSG_B_UNIT_UNDO): add single-step undo
* src/cf/unit.h (Facing): add
* src/cf/options.h (IsAI, IsPBEM): campaign games can never be
PBeM, but they are always against the computer (reported by
Andrej Krivulcik)
2005-01-24 Waclaw Schiller <torinthiel@megapolis.pl>
* levels/Plowshares.src: add Polish translation
2005-01-23 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (Discard): make sure we don't loop endlessly
on circular discard chains
* tools/default.usrc: add missing terrain definition for rails
(reported by Jonathan Koren)
* src/common/extwindow.{cpp,h} (PasswordWindow): add parameter
for whether dialog can be cancelled. Update callers
* doc/crimson.xml (First Steps): minor correction
2005-01-22 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml
* src/cf/game.cpp (Load)
* src/cf/initwindow.cpp (CompleteFilesList)
* src/comet/extwindow2.{cpp,h} (EdMissionSetupWindow)
* src/comet/mission.{cpp,h} (Mission, Export, {Is,Set}Skirmish)
* src/common/gamedefs.h (GI_SKIRMISH)
* tools/cfed.cpp (MissionHandler): add a way to exclude
campaign maps from the skirmish list
* src/comet/eventwindow.cpp (EdEventCreateUnitWindow): fix
off-by-one in unit size
* tools/mkunitset.cpp (UnitHandler::ParseSection): handle
missing translations more gracefully by using the English name
* doc/cfed.xml
* src/cf/event.{cpp,h} (Discard, Execute, Load, Save)
* src/cf/game.cpp (CheckEvents)
* src/comet/eventwindow.{cpp,h} (EdEventGenericWindow)
* src/comet/mission.{cpp,h} (Event, ValidateEvent)
* src/common/gamedefs.h (EFLAG_DISCARDED)
* tools/cfed.cpp (EventHandler): it is now possible to group
events so that all events in a group are discarded when one
event in the group is triggered
* src/common/globals.h (FILE_VERSION): bump
* doc/cfed.xml
* src/cf/event.cpp (Execute)
* src/cf/player.h (SetBriefing)
* src/comet/eventwindow.{cpp,h} (EdEventConfigureWindow)
* src/comet/mission.cpp (Event)
* src/common/gamedefs.h (EVENT_CONFIGURE)
* tools/cfed.cpp (EventHandler): replace EVENT_NEXT_MAP with
more generic EVENT_CONFIGURE (NEXT_MAP was broken anyway)
2005-01-21 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (SelectCommand): ignore shops without
entrance tiles
* src/cf/map.h (IsShop): add
* doc/cfed.xml
* src/cf/event.cpp (Execute)
* src/cf/mission.{cpp,h} (CreateUnit)
* src/cf/unit.h (SetGroupSize)
* src/comet/eventwindow.{cpp,h} (EdEventCreateUnitWindow)
* src/comet/extwindow2.cpp (size_labels, xp_labels)
* src/comet/mission.cpp (Event)
* tools/cfed.cpp (EventHandler): add support for setting group
size and xp to EVENT_CREATE_UNIT
2005-01-19 Jens Granseuer <jensgr@gmx.net>
* src/common/button.{cpp,h} (CycleWidget): only change the
value when the widget is activated (Andrej Krivulcik again)
* doc/cfed.xml
* src/cf/event.cpp (CheckTrigger)
* src/comet/eventwindow.{cpp,h} (EdTrigUnitPositionWindow)
* src/comet/mission.cpp (Event)
* tools/cfed.cpp: add controller info to ETRIGGER_UNIT_POSITION
so it can be used if the controlling player is not the event
owner
* src/cf/map.cpp (MoveCost): don't let units enter shops when
they cannot cross the entrance tile
2005-01-17 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.6 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
* levels/Makefile.am
* levels/Plowshares.src
* levels/Uprising.src: add second campaign map
* src/cf/game.cpp (Load, Save): set GI_SAVEFILE when saving
instead of after loading so we can properly start new missions
from the command line
* src/cf/event.cpp (Execute)
* src/cf/mapwindow.cpp (FadeInHex): make sure we don't obscure
other units or the cursor when fading
(both issues reported by Andrej Krivulcik)
2005-01-08 Jens Granseuer <jensgr@gmx.net>
* src/cf/history.cpp (Load)
* src/{cf,comet}/mission.cpp (Load, Save): fix turn replay
sometimes being skipped when loading saved games and make sure
we stay compatible with 0.4.5 saved games (reported by Andrej
Krivulcik)
2005-01-07 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (ClearMine): deselect a sweeper when no
more mines are within reach after a sweep and end its turn
(also fixes a crash reported by Andrej Krivulcik)
2005-01-03 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (Execute): only execute score events when
score is below 100. This way we only get one message when
multiple victory conditions are met on a single turn
* src/cf/path.{cpp,h} (GetStep): avoid linking issues due to
inlining (original patch by Sascha Flohr)
* src/comet/eventwindow.cpp (ScoreEventWindow): fix duplicate
mnemonic
* src/comet/edwindow.cpp (WidgetActivated): repaint panel
after deletion of units or shops
* src/common/fileio.{cpp,h}
* src/{cf,comet}/mission.cpp (Load): try to load units and
tiles from user directory first
* tools/: overhaul the mk* tools to make them work with
separate data files instead of hardcoded data. Creating new
tile sets and unit sets is now possible without messing with
the code
* THANKS
* levels/*.src
* locale/sk.tmpl
* tools/default.usrc: add Slovak translation by Andrej
Krivulcik
2004-11-25 Waclaw Schiller <torinthiel@megapolis.pl>
* levels/*.src
* locale/pl.tmpl: update Polish translation
2004-11-23 Jens Granseuer <jensgr@gmx.net>
* src/common/view.cpp (FetchEvent): try to aggregate multiple
mouse motion events before dispatching. This e.g. helps avoid
excessive repainting when scrolling in CoMET
* doc/crimson.xml (Getting Started): apply some improvements
from the wiki
* doc/crimson.css: add stylesheet for HTML documentation
* doc/Makefile.am: add crimson.css to EXTRA_DIST and use it when
creating the HTML documentation
2004-11-14 Jens Granseuer <jensgr@gmx.net>
* src/comet/Makefile.am (comet_SOURCES)
* src/comet/mapgen.{cpp,h}: add random map generator
* src/comet/edwindow.{cpp,h}
* src/comet/extwindow2.{cpp,h} (NewMissionWindow): use it
* src/comet/main.cpp (main): init random number generator
* src/common/slider.cpp (MouseDown): properly scroll when knob
size is 1
* src/common/filewindow.{cpp,h} (WidgetActivated): the last
selected file should be per window
* src/common/listselect.cpp (ListWidget::MouseDown)
* src/common/textbox.{cpp,h} (TextScrollWidget::MouseDown):
make mouse wheel operations work even if the cursor is not
hovering over the slider
* src/comet/edwindow.cpp (LeftMouseButton): fix the check for
whether a shop tile is being replaced by a non-shop tile
2004-10-30 Jens Granseuer <jensgr@gmx.net>
* src/cf/path.{cpp,h}: rework to use a binary heap instead of a
linked list for storage. Improves path finder speed by a factor
of 5. Gain for MoveShader is still about 60% and could be made
even faster by dropping the heap stuff from Find()
* src/cf/map.cpp (MoveCost): small optimization which squeezes
another 10% or so out of the path finder in most situations
2004-10-28 Jens Granseuer <jensgr@gmx.net>
* levels/Makefile.am (levels_DATA)
* levels/RadioSilence.src: new map by Chang Tang Yen and myself
* src/common/widget.h (Hide, Unhide): add
* src/common/window.cpp (RemoveAllWidgets): add
* src/cf/initwindow.{cpp,h} (Rebuild, VideoModeChange): move
out of constructor and call when changing resolution so that
the window/widget sizes are recalculated
* src/common/font.{cpp,h} (WriteEllipsis): add
* src/cf/unitwindow.cpp (Draw)
* src/comet/edwindow.cpp (PrintCursorPos): use it
* src/comet/edwidget.cpp (NumberWidget::Release): simplify
* src/comet/eventwindow.cpp (EdEventMiningWindow): fix setting
the crystal limits
2004-10-14 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.5 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
* src/comet/edwindow.cpp (PrintCursorPos): also display the
names of units/shops
2004-10-11 Benjamin Power <BenjiPower@aol.com>
* levels/General.src
* locale/fr.tmpl
* tools/default_units.c: update French translation
2004-10-11 Waclaw Schiller <torinthiel@megapolis.pl>
* levels/General.src
* levels/Uprising.src: update Polish translation
2004-10-09 Jens Granseuer <jensgr@gmx.net>
* src/common/button.cpp (CycleWidget): use RMB to cycle
backwards
* src/cf/msgs.h
* locale/*.tmpl: remove unused messages
2004-10-07 Jens Granseuer <jensgr@gmx.net>
* levels/Uprising.src: update campaign name
2004-09-18 Jens Granseuer <jensgr@gmx.net>
* levels/Uprising.src: replace by new map to kick off the Yalwa
campaign
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): build everything
* src/comet/eventwindow.{cpp,h} (EdEventGenericWindow)
* tools/cfed.cpp (parse)
* doc/cfed.xml: add a way to disable events
2004-09-18 Marcus Schreiner <marcus.schreiner@gmx.net>
* levels/General.src: add missing message event for Kand
reinforcements. Translations need update
2004-09-12 Jens Granseuer <jensgr@gmx.net>
* src/cf/ai.cpp (FindBestHex): don't consider TT_ENTRANCE hexes
as attack positions and also check other hexes when the
projected turn distance is 0. This makes sure the AI moves
units out of shops to attack adjacent enemies
* src/common/lang.{cpp,h} (AddLanguage, RemoveLanguage): adjust
the default language when adding/removing languages if required
* src/comet/edwindow.cpp (HandleEvent): fix crash when clicking
on the tiles or units widget with prior to initialization
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdEventSetTimerWindow)
* src/comet/mission.cpp (ValidateEvent, Event, Event::Export)
* src/common/gamedefs.h (EVENT_SET_TIMER)
* tools/cfed.cpp (parse, check_events)
* doc/cfed.xml: add new event type SET_TIMER
2004-09-07 Jens Granseuer <jensgr@gmx.net>
* src/comet/eventwindow.{cpp,h} (EdEventMessageWindow): handle
negative coordinates correctly
* src/comet/extwindow2.cpp (EdMissionSetupWindow): fix crash
when trying to set a player name with no messages available
2004-09-05 Jens Granseuer <jensgr@gmx.net>
* tools/cfed.cpp (check_events): fix SET_HEX validation
* src/cf/event.cpp (GetFocus)
* src/comet/eventwindow.{cpp,h} (EdEventMessageWindow)
* src/comet/mission.cpp (Event::Event, Event::Export)
* tools/cfed.cpp (check_events, parse)
* doc/cfed.xml: support setting a hex to focus on for MESSAGE
* levels/*.src: update all maps to use it for the briefings
2004-09-02 Jens Granseuer <jensgr@gmx.net>
* src/common/mapview.h (MV_DIRTY)
* src/cf/event.{cpp,h} (DisplayMessage, GetFocus)
* src/cf/game.cpp (StartTurn)
* src/cf/history.{cpp.h} (RecordMsgEvent, ReplayMessageEvent)
* src/cf/mapwindow.cpp (DisplayHex): Make start of turn events
visible by initializing the display before CheckEvents(). When
displaying a message for an event try to set the focus on some
sensible spot on the map. Also lengthen the delay when showing
the effects of SET_HEX and CREATE_UNIT events in replays
2004-08-30 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (Execute)
* src/cf/mission.{cpp,h} (CreateUnit): add direction parameter
so that it gets recorded correctly for replays
* src/cf/game.{cpp,h} (ExecPreStartEvents, InitWindows): add
new method to prevent handicap events on the first turn from
showing up in replays
2004-08-27 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.4 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2004-08-26 Jens Granseuer <jensgr@gmx.net>
* tools/cfed.cpp (check_player): accept player names up to 30
characters like CoMET does
* src/comet/extwindow2.cpp (EdBuildingWindow): fix crash when
closing the window using the return key (reported by Chang Tang
Yen)
* src/comet/mission.cpp (ValidateEvent): don't warn about
ETRIGGER_HANDICAP
* levels/Makefile.am
* levels/General.src: add new map by Marcus Schreiner
2004-08-24 Jens Granseuer <jensgr@gmx.net>
* src/common/SDL_zlib.[ch]: new transparent SDL_RWops
implementation for gzip-compressed files. All users have been
updated and obsoleted code removed
* gfx/crimson.ico: reduced file size by using png2ico instead
of icotool
* locale/Makefile.am
* locale/fr.tmpl
* tools/default_units.c
* tools/mkunitset.cpp: add French translation by Benji
2004-08-20 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (CheckTrigger): fix timer checks and also
search transporters for UNIT_POSITION
* src/cf/initwindow.cpp (GenericOptionsWindow::SetLayout):
limit maximum window height to screen size
* src/common/textbox.cpp (StringWidget::CharInput): accept
all printable characters as valid input
2004-08-17 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdEventCreateUnitWindow)
* src/comet/extwindow2.cpp (dir_labels)
* src/comet/mission.cpp (Event::Event, Event::Export)
* tools/cfed.cpp (check_events, parse)
* levels/*.src
* doc/cfed.xml: add "face" parameter for EVENT_CREATE_UNIT
2004-08-17 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml
* levels/*.src
* src/cf/event.cpp (CheckTrigger, Execute)
* src/comet/eventwindow.cpp
* src/comet/extwindow2.cpp (NewMissionWindow)
* tools/bi2cf.c
* tools/cfed.cpp: use more compact hex representation. Also
decrease maximum map size to 180x180
* src/common/globals.h (FILE_VERSION): bump due to incompatible
changes
2004-08-15 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (CheckTrigger)
* src/cf/mission.h (GetTime)
* src/comet/mission.cpp
* src/comet/eventwindow.{cpp,h}
* src/common/gamedefs.h
* tools/cfed.cpp
* levels/*.src
* doc/cfed.xml: rename ETRIGGER_TURN to ETRIGGER_TIMER and
make it use time index counters instead of turn numbers. Also
change "turn" to "timer" and "tturn" to "ttime" for cfed
* tools/bi2cf.c: try to fix a compiler warning
* autogen.sh: recognize automake 1.9
2004-08-13 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (CheckEvents)
* src/cf/event.{cpp,h} (Check, CheckTrigger): clean up some
leftover stuff from the change from 2004-08-07
2004-08-12 Jens Granseuer <jensgr@gmx.net>
* src/common/misc.cpp (unpack): return -1 when trying to
uncompress without zlib support to cause an error
* src/common/lang.h (SetMsg, RemoveLanguage): add
* src/comet/extwindow2.{cpp,h} (EdMsgWindow): add basic support
for creating and modifying messages (no multiline and plain
ASCII only for now)
* src/comet/edwindow.{cpp,h}: use it
* INSTALL, configure.ac: use --without-zlib instead of
--disable-zlib. It doesn't make any difference technically but
follows convention
2004-08-07 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.{cpp,h} (Execute, DisplayMessage)
* src/cf/game.cpp (CheckEvents): open a new window each time we
show a message. Keeping one window open can get in the way of
events with graphical feedback
* src/comet/extwindow2.cpp (NewMissionWindow::WidgetActivated):
close the file requester on load
2004-08-04 Jens Granseuer <jensgr@gmx.net>
* src/comet/mission.cpp (Event::Export): fix stupid typo
* src/cf/main.cpp (load_settings)
* src/common/strutil.cpp (strprintf)
* tools/mklocale.cpp (Parse, RemWS): use size_t instead of
unsigned int for string operations. This should fix a few
compiler warnings on some systems
2004-07-31 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdTrigUnitPositionWindow)
* tools/cfed.cpp (check_events, parse): add support to
ETRIGGER_UNIT_POSITION for specifying a unit type instead of a
single unit
2004-07-29 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdEventSetHexWindow)
* src/comet/mission.cpp (Event, ValidateEvent)
* src/common/gamedefs.h
* tools/cfed.cpp (check_events, parse): add EVENT_SET_HEX
* src/cf/history.cpp (ReplayTileEvent): make tile changes more
obvious
* src/cf/mapwindow.{cpp,h} (FadeInHex, FadeInTerrain,
FadeInUnit): make FadeInHex work with both units and terrain
and add specialized wrappers
2004-07-24 Jens Granseuer <jensgr@gmx.net>
* src/cf/event.cpp (Execute): update display for CREATE_UNIT if
necessary
* src/cf/history.{cpp,h} (BeginReplay, RecordUnitEvent, Replay,
ReplayUnitEvent, StartRecording)
* src/cf/mission.cpp (CreateUnit): record and replay new units
* src/cf/mapwin.{cpp,h} (FadeInHex): add
* src/cf/unit.cpp: initialize movement points of newly created
units with speed rather than 0
2004-07-22 Jens Granseuer <jensgr@gmx.net>
* src/comet/extwindow2.cpp (EdBuildingWindow): don't crash if
shop name selection returns no result. Reported by Chang Tang
Yen
2004-07-21 Jens Granseuer <jensgr@gmx.net>
* src/common/button.cpp (CycleWidget): make sure the default
label placement from ButtonWidget is undone. This fixes
artifacts when using antialiased fonts
2004-07-11 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.3 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2004-07-10 Jens Granseuer <jensgr@gmx.net>
* THANKS
* levels/*.src
* locale/Makefile.am
* locale/pl.tmpl
* tools/default_units.c
* tools/mkunitset.cpp: add Polish translation by Sebastian
Gabor and Waclaw Schiller
* gfx/Makefile.am
* gfx/crimson.ico: add Windows icon
* configure.ac: also check for a few required header files to
catch setups with the devel packages not installed
2004-07-03 Jens Granseuer <jensgr@gmx.net>
* levels/Makefile.am
* levels/OmyarGorge.src: add new map
2004-06-19 Jens Granseuer <jensgr@gmx.net>
* gfx/Vera.ttf, gfx/Bepa-Roman.ttf, gfx/Makefile.am
* src/common/globals.h (CF_FONT): replace the Bitstream Vera
font by Bepa-Roman which is an extended version with support
for some eastern european glyphs (needed for e.g. Polish and
Slovak)
* autogen.sh: allow passing options to aclocal using the
ACLOCAL_FLAGS environment variable
2004-05-17 Jens Granseuer <jensgr@gmx.net>
* src/common/surface.cpp (DisplayFormat): don't call
SDL_DisplayFormat() if the video subsystem has not been
initialized
* tools/cfed.cpp (main): we don't need the video subsystem
2004-05-06 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (HandleEvent, ScrollCommand): with NumLock
enabled, use the number pad to move the cursor "faster" (3/4
of the view width instead of a single hex)
2004-04-25 Jens Granseuer <jensgr@gmx.net>
* src/common/extwindow.{cpp,h} (PasswordWindow): add button to
abort password checking
* src/cf/game.{cpp,h} (CheckPassword, SetPlayerPassword):
make it possible to abort the password dialog
2004-04-20 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.2 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2004-04-20 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.{cpp,h} (MinesweeperTargets, UnitMenu): only
offer the 'sweep' menu item if there actually is a mine to be
cleared
* doc/cfed.xml: add handicap support to the example map
* Makefile.am
* configure.ac
* music/*: add default symphony by David Fancella
2004-04-15 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (SelectCommand): deselecting a unit inside a
transporter should work just as with shops, by clicking on the
transporter
* src/cf/game.cpp (HandleEvent, UnitMenu, WidgetActivated):
improve handling of minesweepers
* src/cf/unit.cpp (RefreshMoves)
* src/comet/mission.cpp (CreateUnit)
* tools/cfed.cpp (check_units): fix speed for mines
* src/comet/extwindow2.cpp (EdMissionSetupWindow): the mission
title could not be changed. Also refresh the message widget
after changing the text
2004-04-12 Jens Granseuer <jensgr@gmx.net>
* tools/default_units.c: make aircraft more expensive
* src/comet/edwindow.cpp (LeftMouseButton): warn when removing
a shop entrance without having deleted the shop itself
* src/comet/mission.cpp (ValidateMap): complain about shops
without an entrance
* src/cf/initwindow.cpp (WidgetActivated): reinit map widget
when changing game mode
* src/cf/container.{cpp,h} (Allow)
* src/cf/event.cpp (Execute): make 'createunit' events also
work when trying to put units into transporters
* levels/*.src: add support for difficulty levels
* levels/GreatBattle.src: fix bogus victory messages for player
2 (reported by David Fancella)
* doc/crimson.xml: update
2004-04-02 Jens Granseuer <jensgr@gmx.net>
* src/common/gamedefs.h
* src/cf/event.cpp
* src/comet/mission.cpp
* src/comet/eventwindow.{cpp,h}
* tools/cfed.cpp
* doc/cfed.xml: add new 'handicap' event trigger. Also modify
'createunit' event so that it is possible to place the units
anywhere on the map
* levels/Foxhole.src
* levels/GreatBattle.src: adapt to 'createunit' changes
2004-03-25 Jens Granseuer <jensgr@gmx.net>
* src/common/sound.cpp: include <iostream>
* src/comet/edwindow.cpp (ValidateMission)
* src/comet/mission.{cpp,h} (Validate*): switch use of string
to stringstream
* src/comet/extwindow2.cpp (MissionSetupWindow): redraw textbox
after changing text
* src/cf/initwindow.cpp (WidgetActivated): don't change
handicap for saved games
2004-03-22 Jens Granseuer <jensgr@gmx.net>
* src/common/widget.cpp (PrintTitle): redraw window background
before printing label
* src/common/button.cpp (ButtonWidget): as a default use
WIDGET_ALIGN_CENTER flag to not redraw the label background
* src/common/widget.h (SetSize): make public
* src/common/textbox.cpp (TextScrollWidget): only create slider
if we need it
* gfx/CFUnits.bmp: remove artifacts from blue fighter image
* src/cf/initwindow.{cpp,h}
* src/cf/mission.{cpp,h}
* src/cf/msgs.h
* src/common/gamedefs.h
* locale/*.tmpl: add generic support for player handicaps (it
doesn't have any effect yet)
2004-03-20 Jens Granseuer <jensgr@gmx.net>
* src/{cf,comet}/*
* tools/cfed.cpp
* levels/*.src
* doc/cfed.xml: switch to a new campaign system, add support
for campaign names, remove support for map passwords
2004-03-18 Stephen Branley <yottskry@gmx.net>
* src/common/textbox.cpp: add <ctype.h> include. This fixes
compilation with Slackware 9.1
2004-03-15 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.{cpp,h}: get rid of flags member variable
* src/cf/main.cpp
* src/cf/mission.cpp
* src/common/sound.cpp: improve error diagnostics
* src/common/gamedefs.h (GI_CAMPAIGN): add
* src/cf/initwindow.{cpp,h}
* src/cf/msgs.h
* locale/*.tmpl: prepare for new campaign system
* src/common/button.cpp (CycleWidget::Draw): also ghost the
value when disabled
2004-03-13 Jens Granseuer <jensgr@gmx.net>
* src/common/sound.{cpp,h} (StopMusic): add
* src/common/globals.h: add CF_MUSIC_DEFAULT and
CF_MUSIC_FADE_TIME definitions
* src/cf/game.{cpp,h}
* src/cf/initwindow.cpp: add support for scenario soundtracks
* src/common/widget.{cpp,h} (CompositeWidget): add
* src/common/listselect.{cpp,h} (ListWidget)
* src/common/textbox.{cpp,h} (TextListWidget)
* src/cf/unitwindow.cpp (UnitListWidget)
* src/comet/gfxwidget.{cpp,h} (GfxWidget): use it
* src/common/window.cpp (AddWidget): don't add component
widgets to the internal widget list
* src/common/button.{cpp,h} (DropWidget): add
* src/cf/initwindow.{cpp,h}: rework options
* src/cf/msgs.h
* locale/*.tmpl: remove MSG_OPTIONS
* src/common/extwindow.{cpp,h} (MenuWindow::SetMinWidth): add
2004-03-10 Jens Granseuer <jensgr@gmx.net>
* src/comet/mission.cpp (Event): properly initialize 'score'
events
* src/{cf,comet}/mission.{cpp,h} (Load, Save, Export, Validate)
* src/comet/extwindow2.{cpp,h} (EdMissionSetupWindow)
* tools/cfed.cpp (parse, check_game)
* doc/cfed.xml: add support for a campaign info message and
mission soundtracks. Still need to write code actually using
them, though.
2004-03-09 Jens Granseuer <jensgr@gmx.net>
* src/comet/extwindow2.{cpp,h} (EdUnitWindow)
* src/comet/unit.cpp (Export)
* tools/cfed.cpp (parse, check_units)
* doc/cfed.xml: add support for changing initial squad size and
experience level for units
2004-03-07 Jens Granseuer <jensgr@gmx.net>
* src/common/globals.h: bump FILE_VERSION
* src/{cf,comet}/mission.cpp: add new internal_messages member
which holds non-translatable strings such as passwords, next
map names, and music track names
* levels/ArmsRace.src
* levels/BeachRaid.src
* levels/Foxhole.src
* levels/Uprising.src
* doc/xml/cfed.xml
* tools/cfed.cpp: "nextmap" and "password" are now in the
internal catalog
* src/common/lang.h: add Language::Size()
* src/common/gamedefs.h: remove GI_PASSWORD
2004-03-07 Jens Granseuer <jensgr@gmx.net>
* src/cf/initwindow.cpp (CompleteFilesList): don't crash if we
read an (invalid) mission without a name
* src/common/fileio.cpp (get_music_dir): add
* src/common/sound.cpp: rework and enable music code
* src/common/globals.h: add CF_MUSIC_THEME definition
* src/cf/initwindow.cpp (InitWindow, SoundOptionsWindow): play
music and enable music settings
* src/comet/mission.cpp (Validate): check for mission name
* src/comet/extwindow2.cpp (EdMissionSetupWindow): add mission
name widget
* tools/cfed.cpp (parse)
* doc/cfed.xml: add support for changing player colors
2004-03-02 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.1 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
* src/cf/game.cpp (CheckPassword): send the user back to the
main menu when he doesn't know the password in PBeM games
* src/cf/main.cpp (do_exit): plug a memory leak when leaving
the program via the event_filter mechanism
* src/cf/unitwindow.cpp (Draw): correct shop name box offset
2004-02-27 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (SwitchMap): fix a silly mistake which caused
a segfault when changing maps
* src/cf/game.cpp (ShowDebriefing): add missing window init
which would have caused a crash if the bug above hadn't stopped
the user before this point
2004-02-26 Jens Granseuer <jensgr@gmx.net>
* src/cf/history.cpp (Replay): fix not being able to abort
replay and progress bar not updating
* src/cf/path.cpp (MoveShader::GetBestNode): iterate through
the list of open nodes to find the best one. Don't always
return the list head. In some cases this could abort the path
finder too early because we don't update the open list if the
node for current hex has already been closed, even if the
active path is cheaper.
* tools/cfed.cpp (load_tile_set, load_unit_set): check for both
Unix and Windows path separator characters when extracting the
set name. This otherwise breaks when building with MinGW.
2004-02-22 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.4.0 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
* levels/HeavyMetal.src
* levels/Makefile.am: add new map
* levels/BeachRaid.src: make HeavyMetal next map
* doc/Makefile.am: rename html target to html-local as
recommended for automake 1.8
* autogen.sh: require automake 1.7.0 or later. Also check for
automake-1.8 and automake-1.7 binaries (reported by Uwe Koch
and Waclaw Schiller)
* tools/cfed.cpp (main): add -o parameter to fix VPATH builds
* levels/Makefile.am: use it
* doc/cfed.xml: document it
* crimson.spec.in: require SDL_ttf
2004-02-16 Jens Granseuer <jensgr@gmx.net>
* doc/crimson.xml: update for changes in InitWindow
* levels/Foxhole.src: convert to use the new othermsg and
othertitle properties for score events
* src/cf/container.h (Transport::Transport): init crystals
* src/comet/eventwindow.{cpp,h} (EdEventScoreWindow): add
support for othermsg and othertitle properties
* src/comet/mission.cpp (Export): export messages in new format
and for all available languages
* tools/bi2cf.c (uncompress): fix possibly undefined increment
operation
* tools/default_units.c: rebalance aircraft and long-range
weapons
2004-02-10 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (ResolveBattle): don't mix up casualties
for attacker and defender in replays. Also don't try to
access invalid members for destroyed units
* src/cf/initwindow.cpp (InitWindow, TitleWindow)
* src/cf/main.cpp (main): preload main window after showing
the title image. This makes the main window seem to appear
faster
* src/cf/history.cpp (Replay, ReplayMoveEvent): speed up
battle results-only replays
* src/common/font.cpp (Load): SDL_ttf segfaults if the font
file is not present so check before trying to open it
* gfx/CFTiles.bmp: make the highlight cursor a bit thicker
2004-02-03 Jens Granseuer <jensgr@gmx.net>
* INSTALL: include links to all external library locations
* levels/Anthill.src
* levels/ArmsRace.src
* levels/GreatBattle.src
* levels/IslandHoppers.src
* levels/LankhValley.src
* levels/LostFactories.src
* levels/MoutainDefense.src
* levels/Revelation.src: add german translation
* src/cf/game.cpp
* src/cf/main.cpp
* src/cf/mission.cpp
* src/comet/main.cpp
* src/comet/mission.cpp
* tools/cfed.cpp: add missing <iostream> include
* tools/mklocale.cpp: fix compile errors with gcc 3.x
* src/common/mapwidget.cpp (MouseDown): ignore events if no
map has been assigned
2004-01-25 Jens Granseuer <jensgr@gmx.net>
* levels/ArmsRace.src: fix player and shop names
* levels/BeachRaid.src
* levels/Foxhole.src: add german translation
* src/common/font.{cpp,h}: use SDL_ttf
* gfx/Vera.ttf: add default font
* gfx/CF*Font.bmp: remove obsolete font images
* configure.ac: require SDL_ttf
* src/cf/event.cpp
* src/comet/mission.cpp
* tools/cfed.cpp
* doc/cfed.xml: add 'othermsg' and 'othertitle' parameters for
'score' event to show a message for the "loser"
* src/cf/game.cpp (HandleLMB): use single-click selection only
if no active unit
2004-01-23 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (Load): separate out window setup
* src/cf/initwindow.cpp: use mission title in display, not
file name. Display small map when selecting a mission
* src/common/mapwidget.cpp: we need the map object itself only
for initializing
* src/common/textbox.cpp (TLWList::Sort): add
2004-01-22 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (ResolveBattle): don't free the Combat here;
it may not have been dynamically allocated
* src/cf/game.cpp (EndTurn): do it here instead
* src/comet/edwidget.{cpp,h}: remove CycleWidget...
* src/common/button.{cpp,h}: ...and add it here
* src/cf/initwindow.{cpp,h}: revamp InitWindow
* src/cf/options.h: make game type a single setting
* src/cf/msgs.h
* locale/*.tmpl: update
* gfx/CFIcons.bmp: remove quit icon
2004-01-20 Jens Granseuer <jensgr@gmx.net>
* doc/cfed.xml: note that messages need to be UTF-8
* levels/GreatBattle.src
* levels/IslandHoppers.src: update maps with some new tiles
* levels/Uprising.src: add german messages
* src/cf/initwindow.{cpp,h} (LocaleOptionsWindow): add
* src/cf/game.cpp (GameMenu, HandleEvent): use it
2004-01-18 Jens Granseuer <jensgr@gmx.net>
* configure.ac
* Makefile.am: add locale subdirectory
* locale/*: add English and German language files
* src/cf/player.{cpp,h}
* src/comet/mission.{cpp,h}
* tools/cfed.cpp: include mission name, player names, and
shop names in the messages section to allow for translations
* src/cf/mission.cpp (Load, Save)
* src/comet/mission.cpp (Load, Save)
* tools/cfed.cpp: support multiple messages sections (for
different languages)
* src/common/lang.h (Locale::GetLanguage): publicize
* doc/cfed.xml
* levels/*.src
* tools/bi2cf.c: update accordingly
2004-01-16 Jens Granseuer <jensgr@gmx.net>
* README: add a section about translations
* src/cf/player.{cpp,h}
* src/comet/mission.{cpp,h}
* src/common/gamedefs.h: remove player difficulty setting.
Add player colours instead. Make password variable length
* src/common/globals.h (FILE_VERSION): bump
* tools/cfed.cpp (satoi): complain if trying to convert
non-numeric characters (may indicate mapping errors)
2004-01-15 Jens Granseuer <jensgr@gmx.net>
* editor/*: move cfed over to tools/. Also convert it to C++
in order to more easily reuse code from crimson and comet
* src/cf/*: major restructuring in preparation for i18n
* src/comet/extwindow2.cpp (NewMissionWindow): selecting a
different unit set always changed the tile set name instead
* levels/GreatBattle.src: remove bogus newlines
2004-01-10 Jens Granseuer <jensgr@gmx.net>
* src/cf/game.cpp (HandleLMB): allow pointing the cursor to
enemy units even if there is an active unit. This was a bug
in the single-click selection implemenation
2004-01-10 Jens Granseuer <jensgr@gmx.net>
* src/common/widget.cpp (PrintTitle): when calculating the
shortcut position, don't count individual character widths
but use the entire substring
* src/common/lset.{cpp,h}: support unit names in different
languages
* tools/mkunitset.cpp: renamed mkunitset.c. Now supports
multiple languages as well
* tools/default_units.c: added german unit names
* src/cf/game.{cpp,h}: don't use hardcoded keys for actions
accessible from the game menu. Extract them from the button
labels instead. Use F1 for the game menu itself and F2 for
Next Unit (should be customizable, too, really)
* doc/crimson.xml: update the manual accordingly
2004-01-09 Jens Granseuer <jensgr@gmx.net>
* src/common/lang.{cpp,h}: add localisation infrastructure
* tools/mklocale.cpp: add tool to create language catalogs
* src/cf/msgs.h
* src/comet/msgs.h: add headers with string ids
* src/cf/options.h: add a language option
* src/cf/main.cpp (init, init_locale, load_settings,
save_settings): add support for loading strings from an
external file
* src/common/fileio.cpp (get_locale_dir): new function
* src/{cf,common}/*.{cpp,h}: use MSG() macro to obtain GUI
strings
2004-01-08 Jens Granseuer <jensgr@gmx.net>
* src/common/fileio.{cpp,h}: add a new file abstraction, and
use it everywhere
* src/common/strutil.{cpp,h}: create string utilities
* src/common/fileio.{cpp,h} (create_files_list)
* src/common/filewindow.{cpp,h}: move function over to
static FileWindow::CreateFilesList()
* src/cf/initwindow.cpp (constructor): update user
2004-01-07 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.3.8 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
* editor/editor.c (check_events): for 'haveunit' and
'havebuilding' triggers only complain that trigger
conditions are already met if there is no dependency on
another event
* src/cf/game.cpp (SelectCommand): add hex parameter
* src/cf/game.cpp (HandleLMB): new method. Unit selection
(with a few exceptions) now requires only a single click
* doc/crimson.xml: update manual accordingly
2004-01-05 Jens Granseuer <jensgr@gmx.net>
* editor/editor.c (parse)
* src/cf/player.cpp (Player, Save)
* src/comet/mission.cpp (Player::Load, Player::Save): fix an
ancient (and obviously reproductive) bug in player persistency
* levels/BeachRaid.src: don't use obsolete shop type 'mine'
* src/common/widget.cpp: include an activation key designator
in the widget title. This should make translations a bit
easier.
2004-01-04 Jonathan Phnix <greaterd@step.polymtl.ca>
* src/cf/initwindow.cpp
* src/common/sound.cpp (PlayMusic): properly #ifdef sound bits
so that building without SDL_mixer is again possible
2004-01-04 Jens Granseuer <jensgr@gmx.net>
* src/comet/mission.cpp (Save, SetPassword): don't forget to
save the password and set the proper flag
2003-12-09 Jens Granseuer <jensgr@gmx.net>
* src/cf/history.cpp (Replay)
* src/cf/initwindow.{cpp,h} (GeneralOptionsWindow)
* src/cf/main.cpp ({load,save}_settings)
* src/cf/options.h: add quick replay option, showing combat
results only
2003-12-01 Jens Granseuer <jensgr@gmx.net>
* levels/Anthill.src
* levels/Makefile.am (EXTRA_DIST, levels_DATA): add new map
"Operation: Anthill" by Chang Tang Yen, use variable
substitution to generate the EXTRA_DIST listing
* src/cf/history.{cpp,h}: clean up
* src/comet/eventwindow.cpp (EdTrigHaveShopWindow): don't
ignore events from the player widget
* src/comet/mission.h (Player::SetName): fix length and
terminate with NUL character
* THANKS: update
2003-11-22 Jens Granseuer <jensgr@gmx.net>
* src/comet/extwindow2.{cpp,h}: add widget for setting crystal
output in shops
* src/common/gamedefs.h (BLD_MINE): remove
* doc/cfed.xml
* editor/editor.c
* src/cf/building.{cpp,h}
* src/comet/building.{cpp,h}
* tools/bi2cf.c: stop using it
2003-10-07 Jens Granseuer <jensgr@gmx.net>
*** release Crimson Fields 0.3.7 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
* src/comet/mission.cpp (Validate*): eliminate use of
deprecated ostrstream class
2003-10-03 Jens Granseuer <jensgr@gmx.net>
* src/comet/edwindow.{cpp,h}
* src/comet/eventwindow.{cpp,h}
* src/comet/extwindow2.{cpp,h}: do not initialize static class
variables in header files for improved portability
2003-10-02 Jens Granseuer <jensgr@gmx.net>
* src/comet/extwindow2.{cpp,h} (EdMissionSetupWindow): add new
window for general mission settings
* src/comet/edwindow.cpp (ShowContextMenu): use it
2003-09-30 Jens Granseuer <jensgr@gmx.net>
* src/comet/eventwindow.{cpp,h}
* src/comet/extwindow2.cpp (SelectEventWindow): support event
creation and editing for all event types
* src/comet/mission.{cpp,h} (Validate, ValidateEvent,
ValidateMap): add new methods to verify mission integrity
* src/comet/edwindow.{cpp,h} (ShowContextMenu,
ValidateMission, WidgetActivated): use them
2003-09-27 Jens Granseuer <jensgr@gmx.net>
* src/common/button.{cpp,h} (MenuButtonWidget)
* src/common/extwindow.{cpp,h} (MenuWindow): add keyboard
navigation support
* src/common/textbox.cpp (TextScrollWidget::SetText): fix for
NULL string
* src/common/textbox.cpp (StringWidget): if the widget gets
deselected, always show the beginning. If the widget is
selected via key, jump to the end
* src/common/window.cpp (DrawBack): remove clip rect handling
as it's already done in Surface::FillPattern
* src/comet/edwidget.{cpp,h} (CycleWidget::SetValue): add
* src/comet/Makefile.am (comet_SOURCES)
* src/comet/eventwindow.{cpp,h}
* src/comet/extwindow2.{cpp,h}
* src/comet/mission.{cpp,h}
* src/comet/uiaux.{cpp,h}: add initial (partial) support for
event editing
2003-09-25 Jens Granseuer <jensgr@gmx.net>
* doc/comet.xml
* doc/Makefile.am: added basic CoMET manpage
* src/cf/initwindow.cpp (InitWindow): correctly disable the
AI and PBEM widgets if the other mode is set
2003-09-21 Jens Granseuer <jensgr@gmx.net>
* crimson.spec.in
* gfx/Makefile.am: install application icon
* gfx/CFIcons.bmp: update unit info icons
* src/cf/game.h
* src/cf/main.cpp: remove some global icons
* src/cf/mapwindow.{cpp,h} (Draw, DrawUnitInfo, MapWindow,
Panel)
* src/cf/unitwindow.{cpp,h} (ContainerWindow, Draw,
SwitchMode, UnitListWidget): make them local here
* editor/editor.h (MAX_MAP_{WIDTH,HEIGHT})
* src/comet/extwindow2.cpp (NewMissionWindow): increase
maximum map size to 250 x 250
2003-09-13 Jens Granseuer <jensgr@gmx.net>
* src/common/listselect.cpp (Select): fix item offset when
scrolling
2003-09-12 Jens Granseuer <jensgr@gmx.net>
* src/cf/ai.{cpp,h} (SameDirection): add
* src/cf/ai.cpp (CommandUnitDefend): be a bit more
aggressive and always try to get between the enemy and the
objective to defend
* src/cf/main.cpp (init): set icon caption to "Crimson
Fields"
* tools/default_tiles.c: make warehouse block movement
2003-09-08 Jens Granseuer <jensgr@gmx.net>
* gfx/CFIcons.bmp
* gfx/crimson.png
* gfx/Makefile.am (EXTRA_DIST): add application icon
* src/cf/main.cpp (main, init, set_icon): use
application icon
* src/common/surface.cpp (GetColorKey): return a Color
instead of an Uint32 to make it work across different
surface formats
2003-09-04 Jens Granseuer <jensgr@gmx.net>
* src/cf/main.cpp (main): fix potential mem leak when the
--level parameter was used and loading the map failed
* src/cf/main.cpp (init_data): set default pen colors
for pre-menu dialogs
* src/common/view.cpp (Refresh): use white color for
partial background fills. Fixes black border on title
screen (reported by Tero Pelander)
|