Commit Graph

43 Commits

Author SHA1 Message Date
Max Horn
969ef3dac9 * Added new virtual base class 'Stream', ReadStream and
WriteStream are now subclasses of it.
* Added new methods eos(), ioFailed(), clearIOFailed() to
  all streams. This allows better error checking.
* SaveFile classes take advantage of these new standard
  stream APIS
* Removed File::gets()
* Added SeekableReadStream::readLine() (replaces File::gets)
* Added WriteStream::writeString, for convenience

svn-id: r17752
2005-04-22 17:40:09 +00:00
Jerome Fisher
eda317924e Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. This does the following:
- Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver.
- Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table.

svn-id: r17361
2005-04-03 22:01:38 +00:00
Max Horn
9a4bc8ce16 Patch #1117443 (Experimental plugin code revision)
svn-id: r17231
2005-03-25 17:55:57 +00:00
Max Horn
0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Joost Peters
8825d26dbe big endian fixes
svn-id: r16987
2005-03-03 21:42:20 +00:00
Eugene Sandulenko
2dd88384a1 Maybe I added wrong include, but at least it let me compile
svn-id: r16535
2005-01-11 00:49:56 +00:00
Max Horn
9c0f422d0b Ensure the kyra legal headers match the rest of ScummVM
svn-id: r16504
2005-01-09 16:06:29 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
67b311713d Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
2004-12-27 00:27:00 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Travis Howell
39de0960ff Fix kyra compile
svn-id: r15969
2004-12-02 08:21:49 +00:00
Eugene Sandulenko
8f863b5d8f Fix music volume
svn-id: r15960
2004-11-29 00:25:15 +00:00
Jerome Fisher
5a0c72cf88 Last one... No more MT-32 pass-through.
svn-id: r15954
2004-11-28 23:15:46 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Eugene Sandulenko
d75cc2386d Fix compilation
svn-id: r15866
2004-11-23 00:48:34 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Eugene Sandulenko
ddda67753e Patch #1066256. Mostly indentation fixes and some debug messages removed.
svn-id: r15811
2004-11-14 20:11:22 +00:00
Eugene Sandulenko
71cac5a32e For MT-32 emu graphics should be initialized before Midi, as it prints
ScummVM version on OSD. Now it works with the emu.

svn-id: r15808
2004-11-14 14:46:56 +00:00
James Brown
8f1307ff6c Patch #1066150 from eriktorbjorn - Enable adlib emulated midi as fallback where hardware synth is unavailable.
svn-id: r15807
2004-11-14 14:11:54 +00:00
James Brown
1f7ccd0293 Bring kyra up-to-date with patch 1051358
svn-id: r15786
2004-11-11 13:37:35 +00:00
Gregory Montoir
c50560a488 Clean up a bit the script stuff. In particular, resized the command pointers array, as it seems that none of kyrandia games have more than 0x13 command opcodes (checked kyra2 and kyra3).
svn-id: r15782
2004-11-10 18:45:32 +00:00
Gregory Montoir
507d02d8d2 get rid of the gameDataPath stuff as File::open already handles it
svn-id: r15781
2004-11-10 18:09:14 +00:00
Gregory Montoir
8e4b36cb51 endianness
svn-id: r15729
2004-11-07 16:24:40 +00:00
Torbjörn Andersson
6b3432a93e Be more consistent with the other module.mk files.
svn-id: r15719
2004-11-06 09:26:36 +00:00
Max Horn
43681e5327 More doxygen fixes
svn-id: r15700
2004-10-30 21:54:18 +00:00
Max Horn
5f4575ccd0 Doxygen fixes
svn-id: r15699
2004-10-30 21:52:57 +00:00
Max Horn
40d9601b61 Fix by salty-horse: "currently, it doesn't handle the last word in a sentence
properly. the width comes out garbage, and then it is sometimes moved to the
next line for no reason

svn-id: r15698
2004-10-30 18:02:48 +00:00
Max Horn
9cb88f1d46 Whitespace -> tab
svn-id: r15634
2004-10-21 15:54:06 +00:00
Max Horn
b41902f407 Fix whitespace / code formatting to match out guidelines
svn-id: r15576
2004-10-16 22:28:29 +00:00
Max Horn
37ba67178c Ordering the source files by name
svn-id: r15561
2004-10-15 19:49:15 +00:00
Max Horn
2b2fa690e9 Fix what looks to be a typo, anybody who actually has kyra may want to verify this...
svn-id: r15560
2004-10-15 19:48:07 +00:00
Max Horn
293162d2ba Fixes for big endian machines
svn-id: r15559
2004-10-15 19:47:16 +00:00
James Brown
b1ec9a92bf Init in the right spot :P
svn-id: r15558
2004-10-15 10:56:16 +00:00
James Brown
0ee4b3e542 Init error.
svn-id: r15557
2004-10-15 10:53:06 +00:00
James Brown
15c184cc12 Fix opcodes.
svn-id: r15556
2004-10-15 10:42:44 +00:00
James Brown
a5e188b9d8 Fix a few things
svn-id: r15555
2004-10-15 10:32:17 +00:00
James Brown
8f65711a28 Merge in some of LordHotos kyra code, with some changes.
It's still non-functional, but once I merge in some more of my local changes things should actually be moving a long a bit.

svn-id: r15554
2004-10-15 06:06:47 +00:00
Max Horn
02e6d64ee7 Less irritating place for this message
svn-id: r14374
2004-07-31 09:31:15 +00:00
James Brown
d3f647867e Whoops. Remember to make clean/distclean before commiting whole directories :)
svn-id: r13517
2004-04-09 12:45:10 +00:00
James Brown
3978b728db Add Kyrandia base
svn-id: r13516
2004-04-09 12:36:06 +00:00