36062 Commits

Author SHA1 Message Date
Filippos Karapetis
48f023b472 Properly fixed cmdUpdateCues() for SCI0, removing a hack
svn-id: r46895
2010-01-02 19:01:34 +00:00
Eugene Sandulenko
4cd4625365 We are in 2010 now
svn-id: r46894
2010-01-02 18:22:58 +00:00
Willem Jan Palenstijn
5c56d726b2 SCI/new music code: Improve midi hold handling a bit. Still broken.
svn-id: r46893
2010-01-02 18:16:12 +00:00
Filippos Karapetis
c920abf50a Changed the default case of setAttribute() to a warning, so that loading works in LSL3
svn-id: r46892
2010-01-02 18:02:21 +00:00
Martin Kiewitz
6fa3c10aed SCI/newmusic: fading signal handling changed... fixes lsl1demo and gk1demo
svn-id: r46891
2010-01-02 17:16:59 +00:00
Filippos Karapetis
2ef3983ed8 SCI/new music code: changed some SCI SysEx messages to enums
svn-id: r46890
2010-01-02 17:03:58 +00:00
Filippos Karapetis
91ebf0f916 Removed obsolete code
svn-id: r46889
2010-01-02 16:14:07 +00:00
Filippos Karapetis
f1b1005b38 Notify the game scripts when fading effect is done
svn-id: r46888
2010-01-02 15:58:55 +00:00
Filippos Karapetis
f62e2b2571 SCI/new music code: don't stop a music track if the fading effect has just finished. Fixes the music in GK1 (demo and full)
svn-id: r46887
2010-01-02 15:54:08 +00:00
Filippos Karapetis
6c16673305 SCI/new music code: Properly implemented cmdSetSoundHold, with the help of wjp and waltervn
svn-id: r46886
2010-01-02 15:37:17 +00:00
Filippos Karapetis
5b5499e06f SCI/new music code: cleaned up cmdUpdateCues and changed the SCI reverb(?) SysEx in parseNextEvent() to a NOP for now, till its sorted out
svn-id: r46885
2010-01-02 15:02:41 +00:00
Martin Kiewitz
1084b90fbb SCI: listsaves is now "list_saves", also included entry in help
svn-id: r46884
2010-01-02 14:11:38 +00:00
Martin Kiewitz
d4738631d5 SCI: implemented new console command "listsaves"
svn-id: r46883
2010-01-02 14:08:26 +00:00
Filippos Karapetis
2bc0ffdeb7 SCI/new music code: hopefully fixed a race condition
svn-id: r46882
2010-01-02 13:57:36 +00:00
Filippos Karapetis
5b4b8e053f SCI/new music code: Fix for a music related crash in SCI0 games (the sound object can get deleted while polling it)
svn-id: r46881
2010-01-02 13:36:12 +00:00
Filippos Karapetis
d4dda4df83 SCI/new music code: Implemented cmdSetSoundHold. Larry now exits the limo normally in LSL5
svn-id: r46880
2010-01-02 13:04:36 +00:00
Eugene Sandulenko
aaf66f20ef Implement FR #2827944: "SAGA: Hide in-game GUI on thumbnails"
svn-id: r46879
2010-01-02 11:03:12 +00:00
Martin Kiewitz
0c9b828db1 SCI: console behaviour changed for vmvars command, now allows entering decimal values, also accepts hexadecimal values (use e.g. 12h). hexadecimal addresses are still accepted as well
svn-id: r46878
2010-01-02 09:39:17 +00:00
Torbjörn Andersson
2165dc1a25 Indentation fix. (Which still leaves a lot that probably ought to be fixed in
this directory...)

svn-id: r46877
2010-01-02 08:53:06 +00:00
Martin Kiewitz
df94844db0 SCI/newmusic: now clipping volume in cmdFadeSound
svn-id: r46876
2010-01-02 08:30:19 +00:00
Martin Kiewitz
513a56cd5e SCI/newmusic: set default volume on MusicEntry creation, use volume selector sci1late (soundversion) only
svn-id: r46875
2010-01-02 08:15:01 +00:00
Matthew Hoops
1f2c92076b Fix the GK1 CD intro sequence (regression from r46839, which fixed a regression from r46656). kPlatform with no arguments is different in SCI32.
svn-id: r46874
2010-01-02 03:44:40 +00:00
Filippos Karapetis
caf75e1bf5 SCI/new music code: Implemented cmdSetSoundPriority
svn-id: r46873
2010-01-02 01:41:39 +00:00
Filippos Karapetis
a927cff256 SCI/new sound code: disabled some unused code and named a previously unknown variable of the sound channel data
svn-id: r46872
2010-01-02 01:40:10 +00:00
Filippos Karapetis
94fb4762e2 Changed wording from "handle" to "sound", as we're dealing with sound objects, not handles. Also, made the warnings thrown when a slot couldn't be found more verbose. Finally, changed the logic of when warnings should be thrown in cmdSetSoundLoop
svn-id: r46871
2010-01-02 01:09:49 +00:00
Johannes Schickel
c671c17258 Use Common::StackLock.
svn-id: r46870
2010-01-02 00:54:11 +00:00
Filippos Karapetis
032b23e8d8 SCI/new music code: Fixed some mutex-related issues
svn-id: r46869
2010-01-02 00:45:55 +00:00
Eugene Sandulenko
be1d586cd5 Removing now redundant comment. The fix was correct.
svn-id: r46868
2010-01-02 00:22:46 +00:00
Jordi Vilalta Prat
a22fd021e9 Move the LZSS code to the Groovie namespace.
svn-id: r46867
2010-01-02 00:07:20 +00:00
Florian Kagerer
998d511eeb LOL: cleanup
svn-id: r46866
2010-01-01 23:57:16 +00:00
Walter van Niftrik
8407b4d723 SCI: Adlib: Fix bug in master volume handling.
svn-id: r46865
2010-01-01 23:48:55 +00:00
Walter van Niftrik
205f7437ea SCI: Fix segfault in dual-language KQ5.
svn-id: r46864
2010-01-01 23:48:22 +00:00
Johannes Schickel
137744c40c This time properly fix getTotalPlayTime for looped FLAC, MP3 and VORBIS audio streams.
svn-id: r46863
2010-01-01 22:57:08 +00:00
Johannes Schickel
2e9d5a5f41 Mention in documentation of AudioStream::setNumLoops, that this function also resets the number of loops played counter.
svn-id: r46862
2010-01-01 22:56:18 +00:00
Johannes Schickel
6109275750 Properly reset _numPlayedLoops in setNumLoops in all AudioStream implementations implementing setNumLoops.
svn-id: r46861
2010-01-01 22:55:38 +00:00
Johannes Schickel
8817d6eeb5 Merge update_nop1 and update_nop2.
svn-id: r46860
2010-01-01 22:33:45 +00:00
Johannes Schickel
82b4b65bdc - Fix out of bounds array access.
- Add some asserts in output related functions

svn-id: r46859
2010-01-01 22:26:26 +00:00
Martin Kiewitz
03376d06f1 SCI/newmusic: removed TODO
svn-id: r46858
2010-01-01 22:17:59 +00:00
Martin Kiewitz
f3cd114c5c init _numPlayedLoops inside LinearMemoryStream
svn-id: r46857
2010-01-01 22:16:53 +00:00
Martin Kiewitz
0a965ced69 SCI/newmusic: changed setting volume from fade logic, implemented updating loop selector for sound fx
svn-id: r46856
2010-01-01 22:15:52 +00:00
Johannes Schickel
671cc15bd1 - Add some asserts
- Renamed snd_unkOpcode3 to snd_stopChannel
- Cleanup

svn-id: r46855
2010-01-01 21:59:11 +00:00
Martin Kiewitz
d6d4a4f6e0 SCI: fix build
svn-id: r46854
2010-01-01 21:55:51 +00:00
Martin Kiewitz
37d56920ef SCI/newmusic: changed fade volume setting for digital fx to onTimer() again, because setting it in updateCues() wont work right. We are processing fading effectively in there any way, added TODO for working approach
svn-id: r46853
2010-01-01 21:44:50 +00:00
Martin Kiewitz
44dc3f9bfb SCI: kDoAudio now also clips volume and adjusts to mixer volume
svn-id: r46852
2010-01-01 21:26:46 +00:00
Arnaud Boutonné
f3ca535038 Fix a buffer overflow, thanks to syke
svn-id: r46851
2010-01-01 21:18:19 +00:00
Martin Kiewitz
379ae6df30 SCI/newmusic: now clips volume against MUSIC_VOLUME_MAX (127) instead of the mixer max volume (which would be wrong of course), adjusts volume when setting sample channel volume
svn-id: r46850
2010-01-01 21:04:20 +00:00
Martin Kiewitz
967853c03f SCI: volume for sci0 now set to 127, now using constant instead of value
svn-id: r46849
2010-01-01 20:49:56 +00:00
Johannes Schickel
6385e77d85 Fix undefined operation in setNoPendingVerb (someone with knowledge of SAGA should review this, see the TODO comment). (Thanks to syke for reporting this)
svn-id: r46848
2010-01-01 20:37:02 +00:00
Martin Kiewitz
2a9e835695 SCI: Added TODO within kDoAudio
svn-id: r46847
2010-01-01 20:26:18 +00:00
Martin Kiewitz
7b0c1f262f SCI: fixing bad sorting of saved games due MMDDYYYY date saving
svn-id: r46846
2010-01-01 19:52:50 +00:00