14394 Commits

Author SHA1 Message Date
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
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
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
Johannes Schickel
e757e7a60a Fix out of bounds access reported by syke.
svn-id: r46844
2010-01-01 19:45:49 +00:00
Filippos Karapetis
98194bfe13 SCI/new music code: The MIDI driver is now reset whenever the game's VM respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others
svn-id: r46843
2010-01-01 19:23:23 +00:00
Martin Kiewitz
74159e12eb SCI/newmusic: set speech soundtype for audio resources played by kDoSound, cmdVolume is supposed to set music and sfx volume only - this whole fixes volume issues in lb2cd and others
svn-id: r46842
2010-01-01 18:57:14 +00:00
Martin Kiewitz
64d484bd99 SCI/newmusic: adding debug output to setVolume
svn-id: r46841
2010-01-01 17:53:37 +00:00
Filippos Karapetis
78b2692193 SCI/new music code: Center pitch wheel when unloading music tracks
svn-id: r46840
2010-01-01 17:25:44 +00:00
Filippos Karapetis
763c59bd46 Fixed KQ5CD (regression from rev. 46656)
svn-id: r46839
2010-01-01 17:16:12 +00:00
Filippos Karapetis
54d9bf4c57 Fixed broken savegames when saving with the new music code
svn-id: r46837
2010-01-01 16:42:35 +00:00
Martin Kiewitz
d1b844d3c3 SCI: syncing loop selector... again... fixes qfg1 ending... again... now sci0 only
svn-id: r46835
2010-01-01 16:15:20 +00:00
Filippos Karapetis
153cf54850 SCI/new music code: Moved processing of digital sound effects outside the MIDI worker thread. Some cleanup
svn-id: r46834
2010-01-01 16:05:26 +00:00
Filippos Karapetis
74ae4ecc48 Added a comment for the reason updateSci0Cues() is called within kAnimate()
svn-id: r46833
2010-01-01 15:35:27 +00:00
Martin Kiewitz
7bb18a018a SCI/newmusic: doing version check before looking for audio resource
svn-id: r46831
2010-01-01 14:41:11 +00:00
Vladimir Menshakov
199765b415 aligned zoomed picture to the top and fixed actor head animation in zoomed state
svn-id: r46830
2010-01-01 14:38:46 +00:00
Martin Kiewitz
810478e07f SCI/newmusic: better solution for volume - using int16 during fade, volume is now byte again
svn-id: r46829
2010-01-01 14:33:20 +00:00