-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog
2582 lines (1775 loc) · 78.7 KB
/
ChangeLog
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
2009-03-01 Jens Granseuer <[email protected]>
*** release Crimson Fields 0.5.2 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2008-03-15 Jens Granseuer <[email protected]>
* src/cf/mission.cpp (SetLocale): set shop names to empty string
if they are invalid so that we don't crash with broken missions
2008-01-24 Jens Granseuer <[email protected]>
* THANKS
* crimson.desktop
* locale/Makefile.am
* locale/tr.tmpl: add Turkish translation by Murat Senel
2007-12-13 Jens Granseuer <[email protected]>
*** release Crimson Fields 0.5.2 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2007-08-04 Waclaw Schiller <[email protected]>
* levels/Baptism.src: add Polish translation
* levels/LakeYukarwa.src: add Polish translation and fix
victory message definitions
2007-06-26 Benoit Pereux <[email protected]>
* levels/*.src
* locale/fr.tmpl: update French translation
2007-06-24 Jens Granseuer <[email protected]>
Based on a patch by: haruspex <[email protected]>
* src/cf/mapwindow.{cpp,h} (FlashUnit): add
* src/cf/game.cpp (SelectCommand)
* src/cf/history.cpp (ReplayAttackEvent): make attack targets
flash twice on selection
2007-05-29 Benoit Pereux <[email protected]>
* lev/Tutorial[1-3].src: add French translation
* lev/*.src: update French translation
2007-05-19 Jens Granseuer <[email protected]>
By Benoit Pereux <[email protected]>
* lev/{Anthill,ArmsRace,Baptism,BeachRaid,ClippedWings,Foxhole,
GreatBattle,HeavyMetal,IslandHoppers,LakeYukarwa,LankhValley,
LostFactories,MountainDefense,OmyarGorge,Plowshares,
RadioSilence,Revelation,Uprising}.src: add French translation
* lev/General.src: update French translation
2007-05-18 haruspex <[email protected]>
* src/cf/game.{cpp,h} (MoveUnit)
* src/cf/mapwindow.{cpp,h} (MoveHex): make cursor at destination
hex blink when moving
2007-04-10 Jens Granseuer <[email protected]>
* levels/Uprising.src: fix typo in German translation (reported
by Andreas Schwarz)
2007-02-02 Jens Granseuer <[email protected]>
* src/common/fileio.h: move WIN32 define to the top; fixes
building with Cygwin (reported by Henk Jonas)
* src/cf/path.cpp (StepsToDest): add cast for systems with
unsigned enums (also courtesy of Henk)
2007-01-31 Silvio Iaccarino <[email protected]>
* VisualC++.zip: update VC++ project files
2007-01-24 Jens Granseuer <[email protected]>
* doc/Makefile.am (%.6, %.html, dist-hook): if xsltproc is not
available, simply skip building docs; only error out on make
dist
2007-01-23 Jens Granseuer <[email protected]>
*** release Crimson Fields 0.5.1 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2007-01-18 Jens Granseuer <[email protected]>
* doc/cfed.xml: update documentation for destroyunit event
2007-01-17 Jens Granseuer <[email protected]>
* src/cf/event.cpp (Execute)
* src/comet/eventwindow.{cpp,h} (EdEventDestroyUnitWindow)
* src/comet/mission.cpp (Event, Export, ValidateEvent)
* tools/cfed.cpp (check_events, parse_section): support
destroying units at a given location in EVENT_DESTROY_UNIT
2007-01-14 Waclaw Schiller <[email protected]>
* crimson.desktop: add Polish translation
2007-01-14 Jens Granseuer <[email protected]>
By Americo Iacovizzi <[email protected]>
* locale/it.tmpl: update Italian translation
* tools/default.usrc: add Italian translation
2007-01-14 Jens Granseuer <[email protected]>
* crimson.desktop: drop file name suffix for the icon
2006-01-14 Nikola Smolenski <[email protected]>
* crimson.desktop: add Serbian translation
2007-01-12 Jens Granseuer <[email protected]>
* levels/Makefile.am (levels_DATA)
* levels/Baptism.src
* levels/ClippedWings.src: add fourth mission of the Yalwa
campaign
2007-01-12 Jens Granseuer <[email protected]>
* levels/LakeYukarwa.src: use map name as title in briefings
2007-01-12 Jens Granseuer <[email protected]>
* levels/Plowshares.src (de): use formal language in the
Kandelian objectives, for consistence with briefings etc.
2007-01-12 Jens Granseuer <[email protected]>
* levels/Makefile.am (levels_DATA)
* levels/LakeYukarwa.src: add fifth mission of the Yalwa
campaign by Nikola Smolenski
2007-01-06 Jens Granseuer <[email protected]>
* gfx/CFTiles.bmp: remove some of the placeholder markers since
it doesn't look like we are going to get the replacements any
time soon and some of them are already in use
2007-01-06 Jens Granseuer <[email protected]>
* src/comet/uiaux.cpp (BuildEventList): include event trigger
in node label to make selection easier for the user
* src/comet/uiaux.cpp (BuildShopList): use larger buffer since
shop names can have up to 30 chars
2007-01-05 Jens Granseuer <[email protected]>
* src/common/slider.cpp (MouseDown): use smaller steps when
scrolling via mouse buttons
2007-01-05 Jens Granseuer <[email protected]>
* src/comet/gfxwidget.cpp (MouseDown): reroute scroll events to
the slider widget like the list widgets do
* (Select): don't reset to top of list on deselection
2007-01-03 Jens Granseuer <[email protected]>
* src/cf/game.cpp (InitKeys): make non-ASCII shortcuts work as
locale-defined key commands as well
* src/cf/game.cpp (HandleEvent): make user-defined key commands
work even if the corresponding locale-defined command does not
exist
2007-01-02 Jens Granseuer <[email protected]>
* src/comet/extwindow2.cpp (NewMissionWindow::WidgetActivated):
when creating a new map, also generate the most important
messages in the default locale
2007-01-02 Jens Granseuer <[email protected]>
* src/common/listselect.cpp (SwitchList, Update): fix list
updates after deleting nodes
2007-01-02 Jens Granseuer <[email protected]>
* src/cf/game.cpp (Load)
* src/cf/initwindow.cpp (StartGame): fix resuming campaign
games (reported by Uwe Koch)
* src/cf/game.cpp (SwitchMap): carry over the handicap setting
when switching maps in campaigns
2006-12-20 Jens Granseuer <[email protected]>
* src/comet/eventwindow.cpp (EdEventCreateUnitWindow,
EdEventGenericWindow, EdEventSetTimerWindow)
* src/comet/extwindow2.cpp (EdUnitWindow): use unique keyboard
shortcuts
2006-12-19 Nikola Smolenski <[email protected]>
* locale/sr.tmpl: update for networking changes and others
2006-12-18 Waclaw Schiller <[email protected]>
* locale/pl.tmpl: update for networking changes
2006-12-18 Andrej Krivulcik <[email protected]>
* locale/sk.tmpl: update for networking changes
2006-12-18 Jens Granseuer <[email protected]>
* src/comet/edwindow.cpp (HandleEvent): do not start painting
if we are currently scrolling the map view
2006-12-18 Jens Granseuer <[email protected]>
* src/cf/game.{cpp,h} (NetworkProgressWindow), (EndTurn,
HandleNetworkError, StartTurn, WidgetActivated): improve
handling of network errors. Now, when connection is lost, ask
the user whether to save the game instead of just going back to
the main menu. Also, don't pop up an error dialog if user
explicitly disconnected
* locale/{de,en}.tmpl (MSG_ASK_ABORT_NETWORK): modify the
warning message accordingly
* src/cf/game.cpp (GameMenu): remove restriction that only the
server in a network game can save
2006-12-16 Jens Granseuer <[email protected]>
* src/cf/initwindow.cpp (NetworkSetupWindow)
* src/cf/main.cpp (load_settings, save_settings)
* src/cf/options.{cpp,h} ({Get,Set}LocalPort,
{Get,Set}RemoteName, {Get,Set}RemotePort: remember network
settings across sessions
2006-12-16 Jens Granseuer <[email protected]>
* src/common/widget.cpp (SetTitle): clear keypos when setting
a new title
(PrintTitle): only try to render the shortcut if we have a
keypos; shortcuts do not have to be in the widget title, and we
were groping random memory before if they weren't
(Widget): clean up the constructor a bit
* src/common/button.cpp (Draw)
* src/common/widget.cpp (PrintTitle): fix some issues with
operator precedence
2006-12-15 Jens Granseuer <[email protected]>
* src/common/widget.{cpp,h} (PrintTitle): replace the new
WIDGET_ALIGN_WITHIN_{LEFT,RIGHT} flags by a single flag
WIDGET_ALIGN_WITHIN that can be combined with
WIDGET_ALIGN_{LEFT,RIGHT} to achieve the same result; this
way we don't need to extend the flags member to avoid clashes
* src/cf/unitwindow.cpp (ContainerWindow)
* src/common/button.cpp (Draw): adapt
2006-12-15 Silvio Iaccarino <[email protected]>
* src/common/listselect.cpp (KeyDown): on WinCE, use the
return key for selecting list items by default
* src/cf/initwindow.cpp (GenericOptionsWindow::SetLayout)
* src/cf/unitwindow.cpp (ContainerWindow): don't use
WIDGET_DEFAULT where it interferes with ListWidget handling on
those platforms
* src/cf/platform.cpp (crimsonWndProc, platform_dispose,
platform_setup): improve hiding of task bars on WinCE;
add keyboard mapping for special keys
2006-12-15 Jens Granseuer <[email protected]>
Based on a patch by: Silvio Iaccarino <[email protected]>
* src/common/widget.{cpp,h} (PrintTitle): add
WIDGET_ALIGN_WITHIN_{LEFT,RIGHT} defines to align the label
within the widget boundaries
* src/common/button.cpp (Draw): support composite buttons with
WIDGET_STYLE_GFX and WIDGET_ALIGN_WITHIN_{LEFT,RIGHT}
* src/cf/unitwindow.cpp (ContainerWindow): add a label and
keyboard activator to the repair and production buttons
2006-12-15 Nikola Smolenski <[email protected]>
* tools/default.usrc: add Serbian unit names
2006-12-15 Jens Granseuer <[email protected]>
* src/common/widget.cpp (SetTitle): get rid of an unneccessary
strlen call
* autogen.sh: accept automake 1.10
* README, THANKS: update
* music/COPYING.MUSIC: reword to avoid getting deep into
politics
2006-12-14 Nikola Smolenski <[email protected]>
* src/common/strutil.{cpp,h} (utf8chartoascii): add function to
translate UTF-8 characters to ASCII keystrokes; for now only
knows about Cyrillic
* src/common/widget.{cpp,h} (PrintTitle, SetTitle): add support
for non-ASCII keyboard shortcuts to widgets
* locale/Makefile.am (locale_DATA)
* locale/sr.tmpl: add Serbian translation
2006-12-13 Jens Granseuer <[email protected]>
* locale/Makefile.am (locale_DATA)
* locale/it.tmpl: add Italian translation by Americo
Iacovizzi
2006-12-13 Silvio Iaccarino <[email protected]>
* src/common/fileio.cpp: fix Windows includes from last commit
2006-12-12 Silvio Iaccarino <[email protected]>
* src/common/fileio.cpp (get_home_dir): on Windows, use the
"My Documents" folder as user's home dir
* VisualC++.zip: update VC++ project files
2006-12-10 Jens Granseuer <[email protected]>
* doc/crimson.xml: mention networking in the main menu
description and fix a typo
2006-12-08 Jens Granseuer <[email protected]>
*** release Crimson Fields 0.5.0 ***
* NEWS, TODO: update
* configure.ac
* src/common/globals.h: bump version
* VisualC++.zip: update VC++ project files
2006-12-07 Jens Granseuer <[email protected]>
* levels/ClippedWings.src: remove some Bunkers and tweak the
map a little to make it harder for the FNA
2006-12-07 Jens Granseuer <[email protected]>
* src/cf/unitwindow.cpp (ContainerWindow::SwitchMode): reset
the last_selected node pointer after switching modes, so we
don't accidently select units we don't want
2006-12-04 Jens Granseuer <[email protected]>
* src/comet/edwindow.cpp (HandleEvent): use current terrain as
a "paintbrush" when terraforming with the mouse button pressed;
should make changing larger areas much less cumbersome
2006-11-30 Andrej Krivulcik <[email protected]>
* locale/sk.tmpl: update Slovak translation
2006-11-27 Waclaw Schiller <[email protected]>
* locale/pl.tmpl: yet another Polish translation update
2006-11-26 Jens Granseuer <[email protected]>
* gfx/CFTiles.bmp: new mountain tiles and various minor
improvements by Laurent Chea
* tools/default.tsrc: update definitions for new mountains
* tools/bi_data.c (bi_rawtiles), tools/hl_data.c (hl_rawtiles):
use new mountains when converting BI/HL maps
* levels/{ArmsRace,ClippedWings,Foxhole,HeavyMetal,
LostFactories,MountainDefense,OmyarGorge,RadioSilence,
Tutorial[12],Uprising}.src: update to use new mountains
2006-11-26 Jens Granseuer <[email protected]>
* src/common/extwindow.h (ProgressWindow::Cancelled): mark
virtual
* src/common/window.h (WIN_PROG_DEFAULT): add new flag to
control whether to set WIDGET_DEFAULT for the ProgressWindow
button
* src/common/extwindow.cpp (ProgressWindow): implement it
* src/cf/history.cpp (Replay): use it
2006-11-25 Jens Granseuer <[email protected]>
* src/cf/initwindow.cpp (StartGame): ask the server which side
to take
2006-11-24 Jens Granseuer <[email protected]>
* src/cf/initwindow.cpp (StartGame): send the player id the
client is supposed to take in the sync buffer; this way we can
lift the restriction that the client is always Player 2
2006-11-24 Jens Granseuer <[email protected]>
* src/cf/game.cpp (Undo)
* src/cf/history.{cpp,h} (EraseMoveEvents): also erase all
transportation events for the unit, and rename to UndoMove to
better reflect this
* INSTALL: recommend SDL_net 1.2.6 since earlier versions do
not properly guard against SIGPIPEs
2006-11-22 Jens Granseuer <[email protected]>
* src/common/textbox.{cpp,h} (NumberWidget): extend number
value to long, since we'll otherwise overflow for port numbers
of up to 65536 (reported by Silvio Iaccarino)
* src/common/initwindow.cpp (NetworkSetupWindow): set max port
number to 65536
2006-11-22 Silvio Iaccarino <[email protected]>
* src/cf/initwindow.cpp (TitleWindow)
* src/common/slider.{cpp,h} (ProgressWidget, SliderWidget): fix
warnings with VC++
2006-11-21 Jens Granseuer <[email protected]>
* src/cf/initwindow.{cpp,h} (AskForSide, StartGame): factor out
asking for a side to play on
* src/cf/game.cpp (NetworkProgressWindow::Cancelled): ask user
for confirmation before disconnecting
* src/cf/msgs.h (MSG_ASK_ABORT_NETWORK)
* locale/*.tmpl: add new message
* configure.ac: fix check for SDL_net to not disable sound
2006-11-21 Waclaw Schiller <[email protected]>
* locale/pl.tmpl: update Polish translation again
2006-11-20 Jens Granseuer <[email protected]>
* src/cf/initwindow.cpp (Rebuild): open window with map
selection disabled if mode is Network Client (reported by
Waclaw Schiller)
* locale/*.tmpl
* src/cf/initwindow.cpp (NetworkSetupWindow::Draw)
* src/cf/msgs.h (MSG_NET_CONNECTING, MSG_NET_WAITING_CLIENT):
add two more missing strings for translation (also reported by
Waclaw)
* src/comet/edwindow.{cpp,h} (WidgetActivated)
* src/comet/extwindow2.{cpp,h} (NewMissionWindow): fix crash
when creating a new map which was introduced by the recent
switch to enums
2006-11-20 Waclaw Schiller <[email protected]>
* levels/ClippedWings.src: add Polish translation
* levels/{ArmsRace,Foxhole,GreatBattle,HeavyMetal,
IslandHoppers,MountainDefense}.src
* locale/pl.tmpl: update Polish translation
2006-11-19 Jens Granseuer <[email protected]>
* src/common/textbox.cpp (TextListWidget::DrawNodes): make
nodes look insensitive when widget is disabled
* src/cf/game.cpp (Load): properly set flags for AI games; it's
possible to play vs. computer again (reported by Dave Fancella)
2006-11-18 Jens Granseuer <[email protected]>
* levels/Makefile.am (levels_DATA)
* levels/ClippedWings.src
* levels/Plowshares.src: add third mission for the Yalwa
campaign
2006-11-18 Jens Granseuer <[email protected]>
Add networking game mode.
* src/cf/history.{cpp,h} (Save): add a special parameter for
networking
* src/cf/history.{cpp,h} (RecordTransportEvent,
RecordUnitEvent, ReplayUnitEvent)
* src/cf/ai.cpp (CommandUnitRepair)
* src/cf/event.cpp (Execute)
* src/cf/mission.cpp (CreateUnit)
* src/cf/unitwindow.{cpp,h} (WidgetActivated): also record
repairs and transportation events
* src/cf/game.{cpp,h} (Load): add a way to load a game from an
in-memory buffer
(StartTurn): treat a remote player similar to the AI, as an
opaque, non-interactive opponent
(EndTurn): in network game, send history at end of turn
(EndMovement, Execute): allow replaying events from a History
for real
(GameMenu): only allow the server to save
* src/cf/initwindow.{cpp,h} (NetworkSetupWindow, StartGame,
WidgetActivated): ask for networking parameters and synchronize
mission with peer at the start of a match
* src/cf/msgs.h: add message identifiers for network mode
* locale/*.tmpl: add new messages for networking
* README, doc/crimson.xml: add networking mode
2006-11-18 Jens Granseuer <[email protected]>
* src/cf/event.cpp (DisplayMessage)
* src/cf/game.cpp (ShowDebriefing, StartTurn): only display
messages and dialogs to interactive players
2006-11-18 Jens Granseuer <[email protected]>
* src/cf/game.{cpp,h} (ResolveBattle): add an optional argument
to pass precalculated casualties
* src/cf/history.cpp (RecordCombatEvent, ReplayCombatEvent):
use (old and new) public API instead of private hacks
* src/cf/combat.h: History no longer needs to be a friend class
2006-11-18 Jens Granseuer <[email protected]>
* src/common/gamedefs.h (GI_NETWORK): add
* src/cf/options.{cpp,h} (GTYPE_*, IsNetwork): use symbolic
names for game types and add networking types
* src/cf/initwindow.cpp (WidgetActivated): adjust accordingly
* src/cf/player.{cpp,h} (IsInteractive, IsRemote, SetRemote):
add p_remote member variable and related methods
* src/cf/combat.{cpp,h} (CalcResults): add a second variant
that just takes a precalculated result and applies that
2006-11-17 Jens Granseuer <[email protected]>
* src/cf/Makefile.am (crimson_SOURCES)
* src/cf/network.{cpp,h}: add TCP/IP networking infrastructure
* INSTALL
* configure.ac: check for SDL_net (optional dependency)
* src/cf/main.cpp (do_exit, init): hook up the networking
subsystem
2006-11-17 Jens Granseuer <[email protected]>
* src/common/fileio.{cpp,h}: un-constify Read/Write methods
since we cannot assume these for other implementations
(Write*): fix return value semantics (0 is success, -1 error)
* src/{cf,comet}/map.cpp (Save): fix error check
* src/cf/unit.h (XP): add
* src/comet/edwidget.{cpp,h}: remove files
* src/comet/Makefile.am (comet_SOURCES)
* src/comet/eventwindow.h
* src/comet/extwindow2.h: update accordingly
* src/common/textbox.{cpp,h} (NumberWidget): move to common
* src/common/widget.h (UserActionHook): add
* src/common/extwindow.{cpp,h} (ProgressWindow): add a message
property and implement UserActionHook
* src/common/slider.{cpp,h} (ProgressWidget): actually make use
of the title property
* src/cf/ai.cpp (Play), src/cf/history.cpp (Replay): update
accordingly
2006-10-10 Jens Granseuer <[email protected]>
* src/common/fileio.{cpp,h}: make MemBuffer a generic buffer
abstraction instead of basing it on SDL_RWops
* src/cf/game.cpp (Load), src/cf/mission.cpp (Load): adapt to
changes in MemBuffer
2006-10-06 Jens Granseuer <[email protected]>
* src/common/fileio.{cpp,h}: factor out a generic MemBuffer
abstraction from file which can e.g. be used to create a
NetBuffer abstraction
* src/cf/building.{cpp,h}, src/cf/combat.{cpp,h},
src/cf/container.{cpp,h}, src/cf/event.{cpp,h},
src/cf/history.{cpp,h}, src/cf/map.{cpp,h},
src/cf/mission.{cpp,h}, src/cf/player.{cpp,h},
src/cf/unit.{cpp,h}, src/comet/building.{cpp,h},
src/comet/map.{cpp,h}, src/comet/mission.{cpp,h},
src/comet/unit.{cpp,h}, src/common/lang.{cpp,h},
src/common/lset.{cpp,h}, src/common/surface.{cpp,h},
tools/mksurface.{cpp,h}: use MemBuffer instead of File where
appropriate
2006-09-29 Jens Granseuer <[email protected]>
* src/comet/extwindow2.cpp (EdBuildingWindow::WidgetActivated):
properly reflect changes to maximum amount of crystals
* src/common/mapview.cpp (DrawMap, DrawUnitHealth): actually
paint to the destination surface, not our private one
2006-09-24 Jens Granseuer <[email protected]>
* Makefile.am (EXTRA_DIST): distribute VC++ project files
* src/comet/edwindow.{cpp,h} (WidgetActivated)
* src/comet/extwindow2.{cpp,h}
* src/common/sound.{cpp,h}
* src/common/surface.{cpp,h}: replace static const class
variables with enums
2006-09-21 Silvio Iaccarino <[email protected]>
* src/cf/platform.cpp (platform_setup): fix WinCE build
* VisualC++.zip: add VC++ project files
2006-09-18 Jens Granseuer <[email protected]>
* src/cf/main.cpp (do_exit, main)
* src/cf/platform.{cpp,h}: get rid of a few more platform-
specific #ifdefs
2006-09-07 Waclaw Schiller <[email protected]>
* locale/pl.tmpl: update Polish translation
2006-08-25 Jens Granseuer <[email protected]>
* src/cf/game.cpp (HandleEvents)
* src/cf/options.cpp (Options): get rid of some fixed key
bindings in favour of the configurable ones
2006-08-18 Jens Granseuer <[email protected]>
* locale/de.tmpl (MSG_PRESS_KEY): update German translation
* locale/{fr,hu,pl}.tmpl (MSG_PRESS_KEY): add default string
* src/cf/game.cpp (GameMenu): make options submenus appear in
the same order as in the start menu (thanks Andrej)
* src/cf/initwindow.cpp (TitleWindow): try to support some
sort of resolution-dependent title screen
* src/common/globals.h (CF_TITLE_SCREEN): remove
2006-08-01 Andrej Krivulcik <[email protected]>
* locale/sk.tmpl: update Slovak translation
2006-08-01 Jens Granseuer <[email protected]>
* tools/parser.cpp (Parse): really fix BOM parsing...
2006-07-30 Jens Granseuer <[email protected]>
* locale/en.tmpl (MSG_PRESS_KEY): mention that BS/Del clears an
assignment
2006-07-27 Jens Granseuer <[email protected]>
* locale/en.tmpl (MSG_PRESS_KEY)
* src/cf/initwindow.{cpp,h} (KeyboardOptionsWindow)
* src/cf/msgs.h (MSG_PRESS_KEY): rework the key binding options
a little in an attempt to make its usage more obvious
2006-07-26 Waclaw Schiller <[email protected]>
* locale/pl.tmpl: update Polish translation
2006-07-23 Jens Granseuer <[email protected]>
* tools/parser.cpp (Parse): fix bug I introduced in skipping the
UTF-8 BOM
2006-07-22 Jens Granseuer <[email protected]>
* src/cf/main.cpp (main, parse_options)
* src/comet/main.cpp (main)
* tools/cf2bmp.cpp, tools/cfed.cpp, tools/mkdatafile.cpp
* tools/mklocale.cpp, tools/mktileset.cpp, tools/mkunitset.cpp:
target some of the recent Win32 changes at VC++ only, to still
allow building with Cygwin/MinGW
2006-07-21 Silvio Iaccarino <[email protected]>
* src/cf/game.cpp (GameMenu, WidgetActivated): add a minimize
item to the game menu
* src/cf/main.cpp (init): don't use "large" as a variable name
since it's a reserved word in VC++
* src/cf/options.cpp: make "Play against AI" the default mode
* src/comet/eventwindow.cpp (EdTrigHandicapWindow): make boolean
expressions VC++ compatible
* src/comet/main.cpp (main): support VC++ for Windows build
* src/common/SDL_zlib.c: fix compilation without libz
* src/tools/parser.cpp (Parse): skip UTF-8 BOM if present
2006-07-17 Jens Granseuer <[email protected]>
* src/cf/options.cpp: add default key bindings for V43
* src/cf/options.h: declare std namespace to fix build errors
with newer gcc (reported by Stephan Beal)
2006-07-15 Jens Granseuer <[email protected]>
Based on a patch by Silvio Iaccarino ([email protected]):
improve WindowsCE/PocketPC support
* src/cf/Makefile.am (crimson_SOURCES)
* src/cf/main.cpp (init, main, do_exit, init_wince)
* src/cf/platform.{cpp,h}: move platform-specific functions
out to a separate file; add PocketPC support
* src/cf/initwindow.cpp (VideoOptionsWindow): add special
modes for WindowsCE
* src/common/globals.h (MIN_XRES, DEFAULT_RESOLUTION): set
minimum width to 240 pixels; add resolution for WindowsCE
(240x320)
* (CF_FONT_LOWRES_*): add font sizes for small displays
* tools/cf2bmp.cpp: only include unistd.h if available
* tools/cfed.cpp
* tools/mkdatafile.cpp
* tools/mklocale.cpp
* tools/mktileset.cpp
* tools/mkunitset.cpp: undef main for Win32
* tools/parser.cpp (RemWhitespace): fix crash on some STL
implementations
2006-07-14 Jens Granseuer <[email protected]>
Based on a patch by Silvio Iaccarino ([email protected])
* src/cf/Makefile.am (crimson_SOURCES)
* src/cf/game.cpp (GameMenu, HandleEvent, WidgetActivated)
* src/cf/initwindow.{cpp,h} (KeyboardOptionsWindow)
* src/cf/main.cpp (event_filter, {load,save}_settings)
* src/cf/msgs.h
* src/cf/options.{cpp,h}: add configurable key bindings
* locale/*.tmpl: add default messages for new keyboard options
* src/cf/map.cpp (MoveCost): modify boolean expression to make
VC++ happy
* src/common/strutil.{cpp,h} (strprintf): add support for %c
2006-07-10 Jens Granseuer <[email protected]>
* src/cf/path.{cpp,h} (MoveShader::ETA, StopSearch): fix
inlining to make VC++ happy
* src/cf/initwindow.{cpp,h} ({Generic,Sound}OptionsWindow): use
enums instead of static const class variables
* src/common/textbox.{cpp,h} (TLWNode::user_flags): removed
unused member
2006-05-31 Jens Granseuer <[email protected]>
* src/cf/history.cpp (RecordUnitEvent, ReplayUnitEvent): restore
binary compatibility with older saved games
2006-04-26 Jens Granseuer <[email protected]>
* src/common/globals.h: add some defines for ports
* src/cf/main.cpp (main): use DEFAULT_RESOLUTION instead of
hardcoded 800x600
* src/common/extwindow.cpp (MessageWindow): use MIN_XRES and
MIN_YRES instead of hardcoded 320x240
* src/cf/event.h (GetFocus): Point is really a struct; some
compilers apparently complain about this
* src/common/filewindow.cpp: include globals.h for platforms
which don't provide strcasecmp
2006-04-23 Jens Granseuer <[email protected]>
* src/comet/mission.cpp (Event::Export): add missing type for
EVENT_DESTROY_UNIT
* src/comet/eventwindow.{cpp,h}: use enums instead of static
const class variables
* src/cf/mapwindow.{cpp,h} (FadeOutUnit): remove
(FadeInHex): rename to FadeHex and also support fading out
2006-04-22 Jens Granseuer <[email protected]>
* src/common/SDL_zlib.c: only include unistd.h if available
* doc/cfed.xml
* src/cf/event.cpp (Execute)
* src/cf/history.{cpp,h} (RecordUnitEvent, ReplayUnitEvent)
* src/cf/mapwindow.{cpp,h} (FadeOutUnit)
* src/cf/mission.cpp (CreateUnit)
* src/comet/eventwindow.{cpp,h} (EdEventDestroyUnitWindow)
* src/comet/mission.cpp (Event, ValidateEvent)
* src/common/gamedefs.h (EVENT_DESTROY_UNIT)
* tools/cfed.cpp (EventHandler): add EVENT_DESTROY_UNIT to
remove units from the board
* src/comet/eventwindow.cpp (EdTrigHaveUnitWindow): fix unit
owner callback not being set
2006-01-25 Jens Granseuer <[email protected]>
* crimson.spec.in: recent versions of RPM expect License
instead of Copyright (thanks to Matthew Gillen for the info)
2006-01-13 Waclaw Schiller <[email protected]>
* locale/pl.tmpl: update Polish translation
2005-10-30 Jens Granseuer <[email protected]>
* levels/Tutorial1.src
* locale/Makefile.am (locale_DATA)
* locale/hu.tmpl: add Hungarian translation by Erno Szabados
2005-10-19 Jens Granseuer <[email protected]>
* configure.ac: add check for xmllint
* doc/Makefile.am (check-local): add validity check for the
DocBook files
2005-10-13 Jens Granseuer <[email protected]>
*** release Crimson Fields 0.4.9 ***
* NEWS: update
* configure.ac
* src/common/globals.h: bump version
2005-10-13 Michael Pfeiffer <[email protected]>
* src/common/fileio.cpp (get_home_dir): add support for BeOS
* src/common/font.cpp (FitText): STL on BeOS R5 does not
support push_back(); use += operator instead which should work
for everyone
2005-10-13 Waclaw Schiller <[email protected]>
* levels/Tutorial3.src: add Polish translation
* locale/pl.tmpl: update Polish translation
2005-10-11 Andrej Krivulcik <[email protected]>
* levels/Tutorial3.src: add Slovak translation
2005-09-29 Jens Granseuer <[email protected]>
* levels/Makefile.am (levels_DATA)
* levels/Tutorial2.src
* levels/Tutorial3.src: add third tutorial mission by Andrej
Krivulcik
2005-09-17 Jens Granseuer <[email protected]>
* tools/cfed.cpp (EventHandler:ParseSection): fix parsing of
HAVE_CRYSTALS events
* (MapRawHandler:ParseSection): properly increment line counter
(thanks to Andrej for the reports)
2005-09-17 Waclaw Schiller <[email protected]>
* levels/Tutorial1.src: update Polish translation
2005-09-17 Andrej Krivulcik <[email protected]>
* levels/Tutorial1.src: update Slovak translation
2005-09-01 Jens Granseuer <[email protected]>
* levels/Tutorial1.src: update German and English to recent
changes in the unit information window
2005-08-04 Jens Granseuer <[email protected]>
* configure.ac: support passing non-standard paths to
--with-zlib
* src/{cf,comet}/unit.h (MapObject)
* src/common/textbox.h (InputValidator)
* src/common/widget.h (WidgetHook): fix virtual destructor
warnings
* tools/bi2cf.[ch] (tmapfiles, tmapinfo): fix some signedness
warnings
2005-07-22 Jens Granseuer <[email protected]>
* doc/{crimson,cfed}.xml: small updates to improve the output
with the latest Docbook XSL stylesheets (1.69.0). Also use
xrefs instead of links now that the stylesheets support them
2005-07-12 Jens Granseuer <[email protected]>
* doc/{cfed,crimson}.xml
* locale/*.tmpl
* src/cf/container.{cpp,h} (Allow, InsertUnit, TotalCrystals)
* src/cf/event.cpp (CheckTrigger)
* src/cf/msgs.h (MSG_ERR_NO_TRANSPORTER, MSG_TRANSFER)
* src/cf/unitwindow.{cpp,h}
* src/comet/extwindow2.cpp (EdUnitWindow): remove transfer
button from shop window. Crystals are now handled much like
units as far as transports are concerned
* src/cf/ai.cpp (AssignObjectives): always put stationary
units in all-out attack mode since they aren't suited for
anything else anyway
2005-07-08 Jens Granseuer <[email protected]>
* src/cf/initwindow.cpp (LocaleOptionsWindow): remove redundant
border
* src/common/gamewindow.cpp (UnitInfoWindow): mark forbidden
tiles with the "not ready" dot instead of shading them
2005-06-29 Jens Granseuer <[email protected]>
* src/cf/initwindow.cpp (WidgetActivated): player selection
should be accessible via keyboard
* tools/cfed.cpp (check_events): fix HAVE_CRYSTALS validation
2005-06-27 Jens Granseuer <[email protected]>
* doc/cfed.xml: update the documentation, too
2005-06-26 Jens Granseuer <[email protected]>
* src/cf/event.cpp (CheckTrigger)
* src/comet/eventwindow.{cpp,h} (EdTrigHaveCrystalsWindow)
* src/comet/mission.cpp (ValidateEvent)
* tools/cfed.cpp (check_events): add option to include all
transports for ETRIGGER_HAVE_CRYSTALS
2005-06-25 Jens Granseuer <[email protected]>
* src/cf/unitwindow.cpp: make crystals sliders more consistent
* src/common/slider.cpp (Adjust): cope with knob size 0
(MouseMove): smoother knob movement
2005-06-23 Jens Granseuer <[email protected]>
* src/cf/unitwindow.cpp (UnitLoadWindow::WidgetActivated): When
moving units into transporter also set U_DONE flag so they
don't appear to be ready (reported by Andrej)
2005-06-23 Andrej Krivulcik <[email protected]>
* tools/default.usrc: fix and update Slovak translation