Age | Commit message (Collapse) | Author |
|
Many engines follow the advice in audio/midiparser.h and create a
"pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny
subset of the MidiDriver capabilities, namely those found in
MidiDriver_BASE. So we try to subclass from that whenever possible; this
allows us to remove many stub methods, and enables further future
simplifications.
|
|
|
|
|
|
This in turn enables modifying MidiDriver_MPU401::close() to allow
it to be called on a midi driver that has not yet been opened.
The specific issue that triggered me to make these changes was a
crash-upon-quit in HUGO, caused by it instantiating a midi driver,
then encountering an error (missing hugo.dat) *before* having
opened the new midi driver; the general cleanup code then tries
to close the (not yet opened) midi driver -> kaboom
Also fixed some engines which were leaking MidiDriver instances.
|
|
In the scumm help dialog, translate single keys, e.g. "Ctrl" or "Alt"
instead of asking the translator to translate individually "Ctrl a",
"Ctrl b", "Alt a", "Alt b", Ctrl Alt a" and so on. This reduce greatly the
number of strings to translate.
|
|
|
|
|
|
|
|
|
|
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
|
|
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
|
|
Putt-Putt Saves the Zoo HE72 still works fine for me
|
|
Uglify more code to fix compilation for DS
Only compile-tested
|
|
|
|
|
|
svn-id: r55850
|
|
svn-id: r55818
|
|
svn-id: r55809
|
|
svn-id: r55806
|
|
This was due to the SMUSH channel base class using new/delete to manage buffer, but the imuse_channel and saud_channel classes which subclass and override this using malloc/free.
The more C++ solution of moving all to new/delete was tried, but the buffer is passed into a MemoryReadStream and free()'d there, so all classes have been moved to malloc/free instead.
This is not a critical problem as the buffers are byte primitive type anyway.
svn-id: r55660
|
|
This would cause leaks, but occurs in development code only.
svn-id: r55659
|
|
svn-id: r55589
|
|
r27024)
svn-id: r55532
|
|
svn-id: r55479
|
|
svn-id: r55473
|
|
svn-id: r55268
|
|
svn-id: r55091
|
|
(regression).
svn-id: r55053
|
|
(regression).
svn-id: r55052
|
|
svn-id: r55050
|
|
svn-id: r55049
|
|
svn-id: r54927
|
|
o5_verbOps() case 9 (SO_VERB_NEW) works slightly different in SCUMM 3 FM-TOWNS (I don't know about DOS).
This should fix the issue with the broken key shortcuts.
Old savegames won't be fixed, though (since the broken verb states will be restored from the save file).
svn-id: r54872
|
|
svn-id: r54815
|
|
svn-id: r54730
|
|
svn-id: r54729
|
|
This is a regression from r25630, which caused the code to send some garbage
data to the GS device, which resulted in some devices to fail with an
"Address Error." (like the Roland SC-55).
This might also fix bug #1927501 "GS option is broken". Even though actually
the device there failed with another error it is likely to be caused by the
same code. At least it is the only iMuse MIDI code change between 0.9.0 and
0.12.0, which might result in such a problem.
svn-id: r54727
|
|
svn-id: r54665
|
|
svn-id: r54547
|
|
svn-id: r54449
|
|
This made it possible to turn some MemoryReadStream pointers into plain
SeekableReadStream pointers.
svn-id: r54435
|
|
svn-id: r54434
|
|
svn-id: r54385
|
|
Only changed this in engines where 'color' was/is already used
almost exclusively
svn-id: r54288
|
|
svn-id: r54265
|
|
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
|
|
svn-id: r54148
|
|
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
|
|
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
as a hex string now returns it as a Common::String
* add doxygen comments
svn-id: r54121
|
|
(could cause invalid memory access in MI1)
svn-id: r54079
|