-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathChangeLog
8609 lines (5594 loc) · 284 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
2008-12-21 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* doc/sci.tex: Added information regarding Amiga SCI1 music (WIP).
2008-12-11 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kmovement.c (kDoBresen): Fixes the 'teleportation'
problem of the b-moveCnt patch.
2008-07-26 Lars Skovlund <lskovlun@image.dk>
* src/engine/kmovement.c: Implement autodetection of b-moveCnt behavior.
2008-07-05 Lars Skovlund <lskovlun@image.dk>
* src/engine/said.y: Fix handling of parentheses in said specs.
2008-07-02 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/mixer/soft.c (mix_compute_input_linear): Make sure we
don't request a negative amount of bytes from a PCM feed.
* configure.ac: Changed version to 0.6.5-devel.
* README: Removed warning.
* TODO: Updated.
2008-06-29 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* configure.ac: Check for pthread separately.
* src/include/sfx_timer.h, src/sfx/pcm_device/alsa.c,
src/sfx/pcm_device/sdl.c, src/sfx/timer/sigalrm.c: Added block() and
unblock() functions to the timers.
2008-06-28 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/seq/mt32.c, src/sfx/seq/map-mt32-to-gm.c,
src/sfx/seq/instrument-map.c, src/include/sfx-instrument-map.h:
Minor code cleanup.
2008-06-28 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/softseq/fluidsynth.c: Fixed pitch bend and 0x80 command.
* src/sfx/seq/map-mt32-to-gm.c, src/sfx/seq/instrument-map.c,
src/include/sfx-instrument-map.h: Forward ported MT-32 to GM
mapping.
2008-06-23 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/include/sfx-instrument-map.h, src/sfx/seq/instrument-map.c,
src/sfx/seq/mt32.c: Moved instrument map detection from mt32.c to
instrument-map.c.
* src/sfx/seq/map-mt32-to-gm.c: Added file.
* src/sfx/seq/Makefile.am: Updated.
2008-06-23 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/include/sfx_sequencer.h, src/include/sfx_softseq.h,
src/sfx/player/polled.c, src/sfx/player/realtime.c,
src/sfx/seq/gm.c, src/sfx/seq/mt32.c, src/sfx/seq/oss-adlib.c,
src/sfx/softseq/amiga.c, src/sfx/softseq/fluidsynth.c,
src/sfx/softseq/mt32.cpp, src/sfx/softseq/opl2.c,
src/sfx/softseq/pcspeaker.c, src/sfx/softseq/SN76496.c:
(Soft-)sequencers can now request two patch files.
* src/sfx/pcm_device/alsa.c (pcmout_alsa_exit): Stop thread before
closing PCM device.
* src/sfx/seq/dc-amiga.c: Removed.
2008-06-23 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/pcm_device/alsa.c: Use blocking I/O instead of async
callbacks.
* configure.ac: Check for pthread.
2008-06-20 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/softseq/fluidsynth.c: Added FluidSynth driver.
* src/sfx/softseq/Makefile.am, src/sfx/softseq/softsequencers.c,
configure.ac: Updated.
* src/sfx/seq/gm.c (midi_gm_allstop, midi_gm_reverb): Bug fix.
2008-06-17 Lars Skovlund <lskovlun@image.dk>
* Resource manager extensions for multiple sources
2008-06-07 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/scriptdebug.c (script_debug): Added check for tty.
2008-06-06 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/drivers/sdl_driver.c: Added fullscreen toggling with
Alt-Enter.
* README: Updated.
2008-06-04 Lars Skovlund <lskovlun@image.dk>
* rename resource_source_t to resource_altsource_t
2008-05-28 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kpathing.c: Detect `illegal' input and print error.
2008-05-26 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kpathing.c: Fixed detection of edges on screen border.
2008-05-26 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kpathing.c: Read polygon data as signed from reg_ts.
2008-05-16 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/vm.c (run_vm): Eliminated special-case VM hacks for
unsigned ops that treated numbers of 1000 specially
2008-05-09 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kpathing.c: Use heuristic to detect reg_ts.
2008-05-08 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/operations.c: Eliminated some warnings
(_gfxop_set_pic): Defer scaling of index data until after the
index data has been copied over to the unscaled auxiliary buffers
(cf. #2848)
2008-05-05 Alex Angas <arangas@internode.on.net>
* src/engine/kmovement.c (kSetJump):
* src/win32/msvc71-2003/fsci_dll/fsci_dll.vcproj:
* src/win32/msvc80-2005/fsci_dll/fsci_dll.vcproj:
* src/win32/msvc90-2008/fsci_dll/fsci_dll.vcproj: Win32 build fixes.
2008-05-04 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/seq/gm.c (midi_gm_open): Jonathan Gray's patch for
dealing with a lack of MIDI output devices
2008-05-04 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/dc/config.h.in, src/dc/Makefile: Build fix.
2008-05-02 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/core.c (sfx_send_midi): Bail out on unexpected MIDI
commands such as 0xff
* src/include/vm.h (GC_INTERVAL): Re-named GC_DELAY to
GC_INTERVAL, set back to a `sane' value
2008-05-01 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/resource/sci_pic_0.c Renamed `amiga' variable due to name
clash on AmigaOS4.
2008-05-01 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/softseq/amiga.c: Use file streams.
2008-04-30 Christoph Reichenbach <reichenb@colorado.edu>
* NEWS: Updated for 0.6.4
* src/engine/kmenu.c (_about_freesci_pages): Listed Max Horn as
contributor
* src/engine/gc.c (find_all_used_references): Fixed memory leak on
interfaces table
* src/sfx/seq/instrument-map.c: Several bugfixes to the instrument
map
2008-04-21 Lars Skovlund <lskovlun@image.dk>
* src/sfx/iterator.c (_sci0_get_pcm_data): Fix signedness bug in
PCM header decoding.
2008-04-18 Lars Skovlund <lskovlun@image.dk>
* src/engine/kmovement.c (kSetJump): New SetJump() implementation
by Max Horn.
2008-04-14 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/resource/sci_view_1.c (gfxr_draw_view1): Reverted previous
commit for x-coordinate. Renamed `amiga' variables due to name clash
on AmigaOS4.
* src/engine/kstring.c (kStrCpy): Fixed endianness bug in hack for
AvoidPath.
2008-04-10 Lars Skovlund <lskovlun@image.dk>
* src/gfx/resource/sci_view_1.c (gfxr_draw_view1): Use signed
types for hotspot.
2008-04-09 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/instrument-map.c (sfx_instrument_map_load_sci): Added
SCI instrument map support
* src/sfx/seq/gm.c (midi_gm_reset_timer): Added General MIDI
driver
2008-04-06 Lars Skovlund <lskovlun@image.dk>
* src/engine/kgraphics.c (_k_make_view_list): Further resilience
fixes.
2008-04-06 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/pcm_device/alsa.c (pcmout_alsa_exit),
src/sfx/pcm_device/sdl.c (pcmout_sdl_exit): Free audbuf after
stopping audio.
2008-04-05 Lars Skovlund <lskovlun@image.dk>
* src/engine/vm.c: Use signed math for array index calculation
and division/modulus.
2008-04-05 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/seq/mt32.c: Removed some unused tables.
2008-04-04 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/gfx_console.c: Forward ported fixes from stable branch.
2008-04-02 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kstring.c (kFormat): Fixed an alignment bug.
* src/engine/kmath.c (kGetAngle): New implementation to match SSCI
semantics more closely.
2008-04-02 Lars Skovlund <lskovlun@image.dk>
* src/engine/kgraphics.c (_k_make_view_list): Be more resilient to
cast list change.
2008-03-29 Lars Skovlund <lskovlun@image.dk>
* src/engine/seg_manager.c: Make relocation failures non-fatal.
* src/engine/kmath.c (get_angle): Take care of OB1 differences
with SSCI when aiming for multiples of 45 degrees.
2008-03-29 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kgraphics.c (_k_dirloop): Fixed angles for late SCI0.
* src/include/versions.h: Use 2nd version of DirLoop semantics
starting from 0.000.395.
2008-03-25 Lars Skovlund <lskovlun@image.dk>
* src/tools/scidisasm.c: Fix decoding of classes when the species
field is invalid.
* src/gfx/resource/sci_pal_1.c (gfxr_read_pal1_amiga): Fix
bitfield decoding.
2008-03-24 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/resource/sci_pal_1.c (gfxr_read_pal1_amiga): Added
function for loading Amiga palette file.
* src/engine/game.c (_reset_graphics_input): Load `spal' file for
Amiga games.
* src/gfx/resource/sci_resmgr.c: Pass static palette to view drawing
functions.
* src/gfx/resource/sci_view_1.c, src/gfx/resource/sci_pic_0.c,
src/include/gfx_resource.h: Added support for Amiga SCI1 views.
* src/sfx/iterator.c (_sci1_song_init): Swapped calls of
_base_init_channels and _reset_synth_channels on account of
Valgrind warning.
2008-03-22 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/scriptdebug.c (disassemble): When disassembling,
print full address
(c_disasm_addr): Renamed `disasm' to `disasm-addr'
(c_disasm): Added new `disasm' that operates by object plus method
name
* src/engine/scriptconsole.c (con_parse): Fixed broken error
messages when object name parsing failed
* TODO: Updated, confirmed that Rune's patch fixes the colour
depth inconsistency
* src/scicore/resource_patch.c (process_patch): Refactoring:
extract function (process_patch) to eliminate duplicity between
SCI0 and SCI1 patch handling. This also copies over the
offset-patch support from SCI0 to SCI1, in the assumption that
this facility was not removed.
* src/engine/kgraphics.c (draw_obj_to_control_map): Refactoring:
extract function (draw_rect_to_control_map) from
draw_obj_to_control_map, followed by some cleanup permitted by
this transformation.
2008-03-21 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/engine/kfile.c (kFPuts): Don't write trailing zero.
2008-03-21 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/drivers/sdl_driver.c: Turned off SDL cursor for AmigaOS4.
* src/scicore/tools.c (sci_sched_yield): Changed fallback
implementation to a noop.
* src/tools/sciunpack.c: AmigaOS4 build fix.
2008-03-21 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/resource/Makefile.am: Updated EXTRA_DIST.
2008-03-21 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/drivers/sdl_driver.c: Lock surfaces when accessing pixels
directly.
2008-03-20 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* doc/sci.tex: Added section on SCI1 MT-32 and GM patch file format.
2008-03-16 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/drivers/sdl_driver.c, src/gfx/drivers/xlib_driver.c:
Stop sleeping if mouse moves.
2008-03-15 Lars Skovlund <lskovlun@image.dk>
* src/engine/vm.c (execute_method): Remove deletion mark from
scripts when call[be]ing them.
2008-03-15 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/drivers/sdl_driver.c: Fixed cursor handling.
2008-03-14 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/kgraphics.c (_k_view_list_dispose_loop): Fixed silly
bug that caused assignment to `signal' variable after applying a
bit mask, rather than before.
* src/engine/kscripts.c (is_heap_object): Treat objects inlined in
deallocated scripts as being dead
2008-03-13 Alex Angas <arangas@internode.on.net>
* src/win32/msvc60/*: Removed.
* README.Win32: Removed references to Visual C++ 6.0.
2008-03-09 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/vm.c (run_vm): Zero the stack when using `link' in
order not to confuse the gc
* src/include/vm.h (GC_DELAY): Set to 0 by default. Very slow,
but better for debugging.
* src/engine/vm.c (gc_countdown): Properly handle 0/negative gc
intervals
2008-03-09 Lars Skovlund <lskovlun@image.dk>
* src/engine/kernel.c: Relax type signatures for CelHigh and CelWide.
* src/engine/scriptdebug.c (c_backtrace): Include script numbers
in backtraces.
2008-03-07 Christoph Reichenbach <reichenb@colorado.edu>
* README.Win32 (IMPORTANT NOTE): Updated Docs to reflect the
directory rename
* src/include/engine.h (STRLEN_FREESCI_GAMEDIR): Renamed
savegame/config dir to FreeSCI on Win32
* src/include/resource.h (sci_rmdir): Win32 updates (suggested
by Matt)
* Numerous cleanups copied from or inspired by Matt's proposed
cleanup patch
* src/engine/scriptdebug.c (c_restore_game): Fixed command-line
`restore game' tool
* src/engine/savegame.cfsml (gamestate_restore): Retain sound
subsystem initialisation flags across restore
* src/engine/sys_strings.c (sys_strings_restore): Properly
post-process system strings (fixes memory block bug and
(hopefully) incorrect savegame references)
2008-03-07 Lars Skovlund <lskovlun@image.dk>
* src/engine/vm.c (validate_variable): Fix !STRICT_READ case.
* src/engine/kfile.c (test_savegame): Bring back potential
backwards compatibility lost in yesterday's commit.
* src/sfx/iterator.c (_sci_parse_midi_command): Expect an argument
even when PARSE_FLAG_PARAMETRIC_CUE is set, but ignore it.
* src/engine/kstring.c (kFormat): Fix a segfault occurring with
the %-3d pattern.
2008-03-06 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/vm.c (validate_variable): Allowed out of bounds reads
on the stack if compiled without STRICT_READ (which is now
disabled by default)
* src/engine/kfile.c: Eliminated some harmless warnings
* src/engine/kgraphics.c: Eliminated some harmless warnings
* src/engine/kfile.c (test_savegame): Eliminated magic number
(direct reference to savegame version)
2008-03-06 Lars Skovlund <lskovlun@image.dk>
* src/engine/klists.c (kNodeValue): Forward port relaxation of
call signature.
2008-03-05 Lars Skovlund <lskovlun@image.dk>
* src/tools/ksound.c (kDoSound_SCI0): Generate a cue when fading.
* src/tools/scidisasm.c (dump_exports): Fix endianness issue.
2008-03-02 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/softseq/mt32/synth.cpp: Changed tuning to 442Hz.
* src/sfx/softseq/mt32.cpp: (Temporarily?) lowered volume to reduce
clipping in MT-32 emulator.
2008-03-01 Christoph Reichenbach <reichenb@colorado.edu>
* src/scicore/resource_patch.c (sci0_read_resource_patches):
Changed semantics of second byte in patch header to denote
relative file offset
2008-02-29 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/resmgr.c (gfxr_get_view): Add sanity check for views
with zero loops
* src/scicore/resource_patch.c (sci0_read_resource_patches): Made
patch ID validity check more strict
2008-02-29 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/resource/sci_pic_0.c, src/gfx/resource/sci_picfill.c,
src/gfx/resource/sci_picfill_aux.c: Forward ported pic0
optimizations from stable.
2008-02-26 Lars Skovlund <lskovlun@image.dk>
* src/engine/kgraphics.c (kDisplay): Implement version difference
SCI_VERSION_FTU_DISPLAY_COORDS_FUZZY as described in versions.h
2008-02-26 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/scriptdebug.c: Re-enabled `viewinfo' command
* src/sfx/test-iterator.c (simple_song): Added unit test for
running status and 0xf8 song length extension
(test_iterator_sci0_mark_loop): Added unit test for explicitly
specified loop points in songs
* src/sfx/iterator.c (_parse_sci_midi_command): Set loop point to
right after the loop signal
(_parse_sci_midi_command): reset state to SI_STATE_DELTA_TIME upon
looping
2008-02-24 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/device/camd-midi.c (camd_write): Added CAMD driver
* README.Win32: Documentation updates: fixed discussion of sound
support to reflect current state
* README: Documentation updates: limitations
2008-02-23 Alex Angas <arangas@internode.on.net>
* src/include/win32/sci_win32.h: Fixed define for vsnprintf for VS 2005 and
lower only.
2008-02-23 Christoph Reichenbach <reichenb@colorado.edu>
* src/include/Makefile.am (EXTRA_DIST): Added missing
graphics_directx.h to EXTRA_DIST
* src/win32/Makefile.am (EXTRA_DIST): Dropped MSVC6 support
2008-02-23 Alex Angas <arangas@internode.on.net>
* README.Win32: Updated with current information.
* src/include/win32/sci_win32.h: Removed define for vsnprintf as already
defined by MS. Added define for snprintf to _snprintf.
* src/win32/freesci.def: Added missing functions and cleaned up.
* src/win32/msvc60/fsci_dll.dsp:
* src/win32/msvc60/sciv.dsp:
* src/win32/msvc71-2003/fsci_dll/fsci_dll.vcproj:
* src/win32/msvc71-2003/sciv/sciv.vcproj:
* src/win32/msvc80-2005/fsci_dll/fsci_dll.vcproj:
* src/win32/msvc80-2005/sciv/sciv.vcproj:
Defined HAVE_UNLINK and HAVE_RMDIR.
* src/win32/msvc90-2008/freesci.sln:
* src/win32/msvc90-2008/fsci_dll/fsci_dll.vcproj:
* src/win32/msvc90-2008/sciv/sciv.vcproj: Added Visual Studio 2008 project
files.
2008-02-23 Christoph Reichenbach <reichenb@colorado.edu>
* TODO.GLUTTON: removed.
* src/gfx/operations.c (simulate_stippled_line_draw): initialise
length_left
2008-02-23 Lars Skovlund <lskovlun@image.dk>
* src/engine/kscripts.c (kDisposeScript): Work around QfG1 bug.
2008-02-22 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/drivers/Makefile.am (EXTRA_DIST): Added missing
reference to DirectX driver
* configure.ac: Explicit check for timeBeginPeriod to include
libwinmm
* src/scicore/tools.c: Proper condition around gettimeofday code
* src/gfx/drivers/ggi_driver.c (init_input_ggi): Elim gettimeofday
dependence
* configure.ac: Added extra support for additional includes and
used this to include src/include/win32 on mingw, use host_os
instead of target_os
2008-02-22 Lars Skovlund <lskovlun@image.dk>
* src/engine/kstring.c (kMessage): Return NULL_REG in unhandled
subfunctions.
* src/engine/Makefile.am: Don't include line number directives in
savegame.c.
* src/sfx/core.c (sfx_add_song): Also reset loop value.
2008-02-21 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/dc/Makefile, src/dc/config.h.in: Build fix.
2008-02-21 Lars Skovlund <lskovlun@image.dk>
* src/engine/savegame.cfsml: Bump savegame version number.
* src/engine/kfile.c (test_savegame): Implement savegame version
test here, too.
* configure.ac: Also change version number here.
* src/engine/scriptdebug.c (c_restart_game): Port over fix from
kRestartGame (see 2007-08-03)
2008-02-21 Christoph Reichenbach <reichenb@colorado.edu>
* src/tools/Makefile.am (scimusicplayer_LDADD): Added missing
@LIB_M@, renamed musicplayer to scimusicplayer
* src/include/versions.h (SCI_VERSION_FTU_NEW_SCRIPT_HEADER):
Updated to 0.000.395 for one particular version of PQ2.
2008-02-21 Lars Skovlund <lskovlun@image.dk>
* src/sfx/core.c (_update_multi_song): Fix non-playing sound
during some restores in SCI1 (analogous to my 2008-01-23 change
for SCI0).
2008-02-20 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/operations.c (simulate_stippled_line_draw): Eliminated
unneccessary initialisation from uninitialised variable
* src/gfx/gfx_support.c (gfx_crossblit_pixmap): Fixed alpha
blending on Alpha/MVI machines
* src/gfx/operations.c (simulate_stippled_line_draw): Proper
support for negative deltas.
2008-02-20 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/gfx/drivers/xlib_driver.c (xlib_init): Try 32-bit mode last
due to it giving a transparent window when compiz is used (possibly
only occurs with nvidia driver).
2008-02-20 Lars Skovlund <lskovlun@image.dk>
* src/sfx/iterator.c (_ff_get_timepos): Implemented.
* src/sfx/core.c (sfx_add_song): Initialize hold value (only, for now).
2008-02-20 Christoph Reichenbach <reichenb@colorado.edu>
* src/scicore/resource_map.c (sci1_read_resource_map): More fully
initialise the types list
* src/scicore/resource_patch.c (sci0_read_resource_patches):
Properly initialised patches' alt_resources
(sci1_read_resource_patches): Properly initialise alt_sources for
SCI1, too
* src/gfx/gfx_pixmap_scale.c (FUNCNAME): Avoid corrupting the
stack if there is no colour key
2008-02-19 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/gfx_support.c (gfx_crossblit_pixmap): Fix bug in
crossblitting that would break crossblitting with reverse alpha,
minor associated cleanups
* src/sfx/iterator.c (_parse_sci_midi_command): Loop channels
irrespectively of whether they have played notes or not. The
previous behaviour appears to have been an unneccessary
optimisation that wound up breaking the cue iterators (since their
channel mask is 0, they don't play notes, so they were always
stopped, thereby causing the ``real'' song to be aborted also.)
* src/engine/ksound.c (kDoSound_SCI0): Initialise songs with their
own ID as handle (fixes SQ3 intro song breakage)
* src/gfx/drivers/xlib_driver.c: Cleaned up warnings
2008-02-18 Lars Skovlund <lskovlun@image.dk>
* src/engine/savegame.cfsml (read_songlib_tp): Return a result.
2008-02-12 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/drivers/xlib_driver.c (xlib_init_specific): Replaced
possibly nonterminating loop with loop whose termination is
guaranteed (if XMatchVisualInfo() terminates)
2008-02-10 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/kgraphics.c (kWait): Added option for overriding
wait times (speed up for debugging)
(_k_view_list_mark_free): Don't null view->signalp so that later
code (most importantly draw_to_control_map) can still get it.
2008-02-05 Lars Skovlund <lskovlun@image.dk>
* src/sfx/player/polled.c (pp_resume): Reset pause flag even when
there is nothing to resume.
* src/sfx/player/polled.c (pp_add_iterator): Fix race condition
with the mixer.
2008-01-26 Christoph Reichenbach <reichenb@colorado.edu>
* src/include/resource.h: Added sci_unlink as a wrapper to ``unlink''
* acinclude.m4: Fixed underquoted definitions
* src/sfx/seq/mt32.c (midi_mt32_allstop): Cut down event parameter
size to 2, eliminating an unneccessary uninitialised byte that was
otherwise sent to the MT-32.
2008-01-26 Lars Skovlund <lskovlun@image.dk>
* src/engine/kstring.c (kStrAt): Relax heuristics a bit to also
cover the Memory() emulation in QfG2.
2008-01-25 Alex Angas <arangas@internode.on.net>
* README.Win32: Updated documentation.
* src/config.c:
* src/config.l:
* src/include/resource.h:
* src/include/win32/sci_win32.h: Moved Win32-specific redefines for
strcasecmp, strncasecmp, vsnprintf, inline to sci_win32.h.
* src/main.c: Moved Win32-specific redefine and declaration of cwd for
successful compilation with Microsoft C compiler.
* src/engine/kpathing.c: Renamed variables with Win32 used words 'new'
and 'near' to 'new_point' and 'near_p'.
* src/gfx/drivers/sdl_driver.c: Moved declaration of reg_surface for
successful compilation with Microsoft C compiler.
* src/include/scitypes.h: Added include for sci_win32.h.
* src/menu/game_select_screen.c: Replaced snprintf with vsnprintf (latter
doesn't exist under Win32).
* src/scicore/fnmatch.c: Wrapped #ifdef HAVE_CONFIG_H around include.
* src/sfx/seq/mt32.c: Wrapped #ifdef HAVE_SYS_TIME_H around include.
* src/gfx/drivers/gfx_drivers.c:
* src/gfx/drivers/dx_driver.cpp:
* src/include/graphics_directx.h: Ported DirectX driver from stable.
* src/win32/msvc60: Moved Visual Studio 6.0 files here.
* src/win32/msvc71-2003: Moved Visual Studio 2003 files here.
* src/win32/msvc80-2005: Created Visual Studio 2005 files here.
2008-01-24 Lars Skovlund <lskovlun@image.dk>
* src/gfx/gfx_test.c (gfxr_interpreter_init_pic): Initialize
pic->internal to NULL.
2008-01-23 Lars Skovlund <lskovlun@image.dk>
* src/sfx/core.c (_update_single_song): Fix segfault during
restore in SCI0 games.
2008-01-21 Lars Skovlund <lskovlun@image.dk>
* src/engine/scriptdebug.c: bring back quick-save too.
* src/sfx/softseq/opl2.c: Downwards pitch bend fix.
* src/sfx/songlib.c: Duplicate some iterator information for
saving purposes. Not complete yet.
* src/engine/savegame.cfsml: Add song library persistence.
2008-01-20 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/scriptconsole.c (con_parse): Eliminated 'r' parameter
type for console operations
* src/engine/scriptdebug.c: Made static symbols static that ought
to be static
2008-01-19 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/iterator.c (songit_handle_message): extract method,
move method, inline method refactorings to push ``delegate''
handling into fast_forward_song_iterator_t->handle_message()
(_ff_handle_message): first clone self, then recurse-- on the
clone only-- if we get a clone message.
* src/include/sfx_iterator.h (_song_iterator): push down field
refactoring: ``delegate'' now in fast_forward_song_iterator_t
2008-01-19 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/include/resource.h, src/scicore/tools.c (sci_get_homedir):
Merged AmigaOS4 patch by Hubert Maier.
2008-01-18 Lars Skovlund <lskovlun@image.dk>
* src/engine/kgraphics.c (_k_draw_control): Treat lsTop as a
memory offset instead of as a string offset.
* src/engine/kstrings.c (kMessage): More sensible dummy message.
* src/gfx/font.c (gfxr_draw_font): Don't complain about memory
allocation when all input colors are black.
2008-01-17 Christoph Reichenbach <reichenb@colorado.edu>
* Makefile.am (EXTRA_DIST): Removed ``reconf'', thereby fixing
distcheck
* src/sfx/iterator.c (_ff_read_next_command): Changed semantics to
return all events
* src/sfx/test-iterator.c: Added unit tests for the song iterator
2008-01-17 Lars Skovlund <lskovlun@image.dk>
* src/engine/kgraphics.c (kAddToPic): Proper check for NULL arguments.
* src/engine/vm.c (game_restore): Bring back Quick-restore
2008-01-14 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/gfx_pixmap_scale.c (FUNCNAME): Workaround for gcc 4.2.3
bug on EMT64/AMD64
2007-11-07 Lars Skovlund <lskovlun@image.dk>
* src/sfx/sfx_player.h: Interface to inject MIDI messages into a
playing song.
* src/sfx/core.c: MIDI Send based on the above interface.
* src/sfx/iterator.c: Reset pitch bend setting when a song
stops (based on the same interface).
2007-10-28 Lars Skovlund <lskovlun@image.dk>
* src/sfx/softseq/opl2.c: Pitch bend support.
* src/tools/musicplayer.c: New tool.
2007-10-01 Lars Skovlund <lskovlun@image.dk>
* src/engine/ksound.c (kDoAudio): Stub added.
* doc/sci.tex: Added section on message and audio files, written
but then forgotten.
2007-09-04 Lars Skovlund <lskovlun@image.dk>
* src/scicore/resource_map.c (sci1_read_resource_map): Determine
resource map entry size explicitly in all cases.
2007-08-28 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/dc/Makefile: Dreamcast build fix.
2007-08-27 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* reconf: Removed (autoreconf can be used instead)
* config.guess, config.sub, depcomp, install-sh, libtool, ltconfig,
ltmain.sh, missing, mkinstalldirs: Removed (can be installed with
autoreconf -i).
* configure.ac: Renamed from configure.in, changed version to
0.7.0-devel.
* output.logs, stamp-h, stamp-h.in: Removed.
* src/graphics, src/sound: Removed empty directories.
* src/python.tar.gz: Removed.
2007-08-23 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/softseq/amiga.c: Implemented velocity envelopes.
* doc/sci.tex: Correction in the Amiga music section.
* src/include/scitypes.h: Fixed point type fix.
2007-08-03 Lars Skovlund <lskovlun@image.dk>
* src/engine/kernel.c: Map IsItSkip() correctly.
* src/engine/kernel.c (kRestartGame): Preserve savedir across game restarts.
2007-08-01 Lars Skovlund <lskovlun@image.dk>
* src/engine/kernel.c (kFlushResources): Let the GC run when
hitting this kernel function.
2007-07-31 Lars Skovlund <lskovlun@image.dk>
* src/engine/scriptdebug.c (script_debug): Prevent endless loop
when a script error occurs and we have no way of accessing the
debugger (e.g. SDL without on-screen console).
2007-07-22 Christoph Reichenbach <reichenb@colorado.edu>
* src/engine/ksound.c (kDoSound_SCI0): Disabled the old ``stop
this song'' command, which is really a ``play next possible song''
and unneccessary in FreeSCI.
2007-07-21 Christoph Reichenbach <reichenb@colorado.edu>
* src/gfx/resmgr.c: Forward-ported bugfix for priority maps when
using unscaled pics
2007-07-20 Lars Skovlund <lskovlun@image.dk>
* src/engine/kgraphics.c (KERNEL_COLOR_PALETTE): Use the resstate
version of palettes.
* src/engine/kscripts.c (kLock): Fix interpretation of resource type.
2007-07-18 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/mixer/soft.c: Eliminated unused variable
* src/sfx/iterator.c: SCI0 PCM samples that have a delay of 0
assigned to them (before the terminator) will now instead ``fake''
a delay that corresponds to the actual time needed until they are
finished.
* src/gfx/drivers/xlib_driver.c: Likely fix for spurious
``RenderBadPicture'' error messages on some X11 setups. Fix
originally contributed by Walter, I just applied it.
2007-07-17 Christoph Reichenbach <reichenb@colorado.edu>
* src/sfx/mixer/soft.c: Fixed numerous bugs
2007-07-17 Lars Skovlund <lskovlun@image.dk>
* Window placement fixes.
* Win32 cross-compilation work.
* src/engine/savcgame.cfsml: Also save status bar foreground /
background. Restore version number properly.
2007-07-16 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* doc/sci.tex: Added info on Amiga Sound velocity envelopes.
2007-07-16 Lars Skovlund <lskovlun@image.dk>
* src/engine/savegame.cfsml: Don't store script buffers in
savegames, but reload them from the resources.
* More savegame work.
2007-07-14 Lars Skovlund <lskovlun@image.dk>
* Savegame support, finally.
2007-07-13 Lars Skovlund <lskovlun@image.dk>
* Replace object index resolution mechanism with a hashmap-based
one.
2007-07-12 Lars Skovlund <lskovlun@image.dk>
* More SCI1.1 script work.
2007-07-11 Lars Skovlund <lskovlun@image.dk>
* Beginnings of SCI1.1 support.
* src/engine/game.c (script_init_engine): Fix autodetection of
suitable fonts.
2007-07-10 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/sfx/softseq/amiga.c: Now works better with SQ3.
* src/sfx/seq/dc-amiga.c: Fixed panning.
2007-07-10 Lars Skovlund <lskovlun@image.dk>
* src/scicore/resource_map.c (sci1_read_resource_map): Skip over
padding after resource type index.
* src/scicore/decompress1.c (decrypt4_hdyn): Fix handling of
overlapping (length, distance) pairs.
2007-07-10 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/include/games.h: Updated.
* src/scicore/versions.c: Hash at most 1MB. Later games have very
large resource files that take too long to hash completely when
loading from CD.
2007-07-09 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/main.c, src/include/game_select.h,
src/menu/game_select_screen.c: Added -G command line option to
recursively search a directory tree for SCI games, and display them
in the game selection menu.
* src/include/sci_conf.h, src/include/engine.h, src/config.l: Added
menu_dir config option (as above).
* README, doc/man/freesci.6: Updated documentation.
2007-07-07 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/scicore/versions.c: Added executable version scanning for
Amiga, Atari ST and Mac games.
* src/main.c (detect_versions): Ignore >=1.000.000 version numbers
resulting from executable scans (until we have some way to map
them properly).
* src/include/games.h: A few updates.
2007-07-06 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* src/main.c, src/scicore/versions.c, src/include/versions.h,
src/include/games.h: Added resource version field to games.h.
Interpreter version data in games.h is now given priority over
executable scanning. Added several games to the game list.
2007-07-05 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>
* freesci.spec.in: Updated with information from freesci.spec
* freesci.spec: Removed from repo (file is automatically generated).
2007-07-05 Walter van Niftrik <w.f.b.w.v.niftrik@stud.tue.nl>