Martin Kiewitz
957737d018
SCI: sound resource handling fixed (fixes lsl5 music w/ new music code)
...
svn-id: r46494
2009-12-23 12:39:24 +00:00
Matthew Hoops
4be2788ffd
Some SCI32 (minor) String bug fixes and cleanup.
...
svn-id: r46492
2009-12-23 05:10:16 +00:00
Filippos Karapetis
ca92253da1
Disabled some currently unused code
...
svn-id: r46488
2009-12-22 20:53:03 +00:00
Filippos Karapetis
ac28e8165f
SCI/new music code:
...
- Reverted the code to use local copies of certain sound object selectors, like what was done before
- Simplified and fixed the SCI1.1 digital sound effect playing code
- Removed some duplicate code
- Renamed some sound commands
svn-id: r46487
2009-12-22 20:44:03 +00:00
Filippos Karapetis
ebd11a056f
Silenced some warnings to protect DrMcCoy from incoming Borg
...
svn-id: r46482
2009-12-22 13:31:52 +00:00
Filippos Karapetis
86dc69430b
Initial implementation of music fading in the new music code. Added warnings to all unimplemented/stub sound commands
...
svn-id: r46481
2009-12-22 12:35:48 +00:00
Filippos Karapetis
b8aa17b6fb
Started implementing SCI1.1 digital sound effect playing in the new music code
...
svn-id: r46479
2009-12-22 12:34:27 +00:00
Torbjörn Andersson
899d576976
The detectMusicDriver() function returns MD_-something, not MDT_-something.
...
svn-id: r46478
2009-12-22 06:02:49 +00:00
Filippos Karapetis
0d82924fbe
Fixed looping sounds in the new sound code
...
svn-id: r46477
2009-12-22 00:35:27 +00:00
Max Horn
fd5e548bb2
SCI: Fix some warnings
...
svn-id: r46476
2009-12-22 00:16:09 +00:00
Filippos Karapetis
be67479aef
Some bugfixes to the new music code
...
svn-id: r46473
2009-12-22 00:12:59 +00:00
Filippos Karapetis
5a087101ad
Some updates to the new music code
...
svn-id: r46467
2009-12-21 16:27:50 +00:00
Filippos Karapetis
11a9351ae5
Restored sound volume functionality in the old music code
...
svn-id: r46466
2009-12-21 15:24:43 +00:00
Matthew Hoops
35e91fbddf
Add a TODO for the SCI 2.1 message version (5).
...
svn-id: r46465
2009-12-21 15:22:42 +00:00
Filippos Karapetis
9a0074ba5b
Silenced some warnings to make DrMcCoy happier :)
...
svn-id: r46464
2009-12-21 14:46:52 +00:00
Matthew Hoops
482812a1ff
Update/add some comments/TODOs.
...
svn-id: r46463
2009-12-21 14:46:07 +00:00
Matthew Hoops
ef79d7f017
SCI32:
...
- Fully implement kArray and kIsHiRes and mostly implement kString (printf and atoi subfunctions still missing).
- Add a dummy SciGui class for SCI32 to bypass the views. Gabriel Knight 1 will now play the Sierra logo music and the main menu music.
- Some other minor SCI32 changes.
svn-id: r46462
2009-12-21 14:32:54 +00:00
Filippos Karapetis
2a3cbcbc57
Fixed text controls when subtitles are enabled in multilingual SCI01 games
...
svn-id: r46461
2009-12-21 14:06:47 +00:00
Filippos Karapetis
e86a16a641
Fixed menus in multilingual SCI01 games
...
svn-id: r46460
2009-12-21 14:05:36 +00:00
Filippos Karapetis
ba51f8750e
Brought back the INCLUDE_OLDGFX define
...
svn-id: r46459
2009-12-21 12:19:57 +00:00
Filippos Karapetis
c1e90ce3cc
Implemented cmdUpdateCues() in the new sound code and fixed a crash when loading music with a resource number of zero
...
svn-id: r46435
2009-12-20 16:35:37 +00:00
Filippos Karapetis
ef0898c0b1
Started integrating the new sound code in the SoundCommandParser class. Some cleanup
...
svn-id: r46432
2009-12-20 14:27:43 +00:00
Filippos Karapetis
980b8bb899
Moved all of the sound iterator code in its own directory, and added a slight hack to the SoundCommandParser constructor
...
svn-id: r46430
2009-12-20 13:38:13 +00:00
Filippos Karapetis
c388e89181
Wrapped some more sound code around appropriate defines
...
svn-id: r46429
2009-12-20 13:28:23 +00:00
Filippos Karapetis
e22afe4823
Wrapped some more sound code around appropriate defines
...
svn-id: r46428
2009-12-20 13:15:44 +00:00
Filippos Karapetis
fa859f6ab1
Directly modify the sound objects, instead of modifying a local copy. Remove duplicate code (which now resides in resource.*)
...
svn-id: r46427
2009-12-20 13:13:07 +00:00
Filippos Karapetis
4f918cd68c
Removed dead code
...
svn-id: r46426
2009-12-20 12:43:36 +00:00
Filippos Karapetis
0c1b646c7f
- Started wrapping the current sound code around appropriate defines
...
- Introduced a new resource type, SoundResource, used in the new music code
svn-id: r46421
2009-12-19 16:19:53 +00:00
Filippos Karapetis
b32748d810
- Removed unused includes
...
- Added a new method for constructing a new MidiDriver in the Adlib driver
- Added a hack to obtain the resource manager in the default open() method of the overriden Adlib MIDI driver (used in the new sound code)
svn-id: r46420
2009-12-19 16:05:47 +00:00
Filippos Karapetis
87c3a9dd8d
Removed unused include
...
svn-id: r46419
2009-12-19 16:02:45 +00:00
Matthew Hoops
26a5c1c3a5
Fix segfault when quitting. static const Common::String's shouldn't be used.
...
svn-id: r46416
2009-12-19 02:12:17 +00:00
Matthew Hoops
144bd33ec4
Silence some gcc 3.4.5 warnings.
...
svn-id: r46415
2009-12-19 02:03:41 +00:00
Filippos Karapetis
2e6013947d
Moved the interface class for the the custom SCI MIDI drivers together with the actual driver implementation code
...
svn-id: r46414
2009-12-18 18:32:09 +00:00
Filippos Karapetis
7ca404355f
Moved the midi_writer struct into the place where it's actually used, and named the header file appropriately
...
svn-id: r46413
2009-12-18 17:48:45 +00:00
Max Horn
f692015301
Got rid of ReadStream::ioFailed()
...
svn-id: r46379
2009-12-15 08:18:57 +00:00
Max Horn
c8873d8492
Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
...
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn
5df86e4ccc
SCI: Paranoia tweak for EngineState::autoDetectFeature
...
svn-id: r46306
2009-12-09 12:32:47 +00:00
Martin Kiewitz
7bce8acd2e
SCI: implemented _picNotValidSci11 for new kPicNotValid behaviour in sci1.1 (fixes island of dr. brain first pic after copy protection not showing up)
...
svn-id: r46305
2009-12-09 09:31:07 +00:00
Martin Kiewitz
7e1bf3fb4b
SCI: Save/LoadGame Common::Rect saving now portable
...
svn-id: r46304
2009-12-09 07:28:04 +00:00
Torbjörn Andersson
8ec098d016
Fixed some simple cppcheck warnings.
...
svn-id: r46303
2009-12-09 06:33:00 +00:00
Johannes Schickel
5b136d2f1a
Attempt to fix MSVC warning C4121.
...
svn-id: r46300
2009-12-08 22:08:33 +00:00
Martin Kiewitz
84b910f755
SCI: new USE_OLDGFX for switching to oldgui, fixes loading of savedgames under oldgui, oldgui doesn't like calling of setPortPic during loading
...
svn-id: r46294
2009-12-08 21:22:22 +00:00
Martin Kiewitz
601fd79733
SCI: SciGui::getPortPic now uses byref
...
svn-id: r46293
2009-12-08 21:04:40 +00:00
Martin Kiewitz
a2d7505e81
SCI: Saving picPort now (fixes loading saved games in castle of dr. brain)
...
svn-id: r46292
2009-12-08 20:54:18 +00:00
Max Horn
5f178e8650
Fix some MSVC warnings (part of patch #2909981 )
...
svn-id: r46291
2009-12-08 20:44:57 +00:00
Max Horn
923cbff625
SCI: Cleanup DirSeeker a little bit
...
svn-id: r46290
2009-12-08 20:44:01 +00:00
Filippos Karapetis
4482780424
Slight cleanup/simplification of the TimerSongIterator
...
svn-id: r46276
2009-12-07 12:36:09 +00:00
Filippos Karapetis
bcdd7ee71a
Applied patch from tracker item #2900436 - "SCI: SCI32 Checksums" with some formatting changes
...
svn-id: r46275
2009-12-07 12:34:38 +00:00
Filippos Karapetis
ebde568fe2
Stop using variables named "byte", as byte is a variable type in ScummVM, and it gets confusing. Also, this fixes an error when language extensions are defined in MSVC - refer to patch #2909854
...
svn-id: r46272
2009-12-07 09:30:14 +00:00
Martin Kiewitz
1cc59d5a82
SCI: Removed Ctrl-X to Ctrl-Alt-X mapping cause Ctrl-Alt-X works now directly
...
svn-id: r46261
2009-12-04 20:03:53 +00:00