Commit Graph

73 Commits

Author SHA1 Message Date
Lionel Ulmer
c134803976 MI1 CD audio should work better now. Still a bit flaky but should be
better than before :-)

svn-id: r4128
2002-04-28 14:01:40 +00:00
Max Horn
4fd5e1ee52 cleanup; implemented close() for CoreAudio driver
svn-id: r4120
2002-04-28 00:32:00 +00:00
Max Horn
d2fe8ce153 fixed RT32 mapping (one instrument had been left out)
svn-id: r4110
2002-04-27 15:19:44 +00:00
Max Horn
371f14a752 fixed midi instrument ids in QuickTime driver
svn-id: r4109
2002-04-27 14:44:07 +00:00
Lionel Ulmer
35d305ce64 MP3 CD tracks should now be working properly.
Ludde, maybe you should check if Simon is still working OK as now the
change of the sound playing handle is 'asynchronous' (ie if you call
'stop' on a sound, the handle will NOT be put to NULL right away, but
at the next 'mix' thread call). Maybe we should completely remove this
handle stuff and always use instead the index returned by the
'play_XXX' functions.

svn-id: r4101
2002-04-27 07:42:14 +00:00
James Brown
6ac9551e81 Remove getpid() debug calls from mixer.cpp - not all platforms support this
function.

svn-id: r4100
2002-04-27 04:33:24 +00:00
James Brown
d0b9677f5d Add autosave support, fix sm and max midi.
svn-id: r4099
2002-04-27 04:31:25 +00:00
Max Horn
6da7d94193 removed the unused destroy() methods; using 'delete this' issn't nice anyway <g>
svn-id: r4097
2002-04-26 22:38:03 +00:00
Lionel Ulmer
9868f6590d Fixed race conditions in the sound code (where a sound could be
'freed' while it was mixed at the same time in the sound thread).

Now Monkey1 seems to play well with Valgrind without any memory
warning.

svn-id: r4096
2002-04-26 20:53:48 +00:00
Lionel Ulmer
f24777a998 Remove useless debug code.
svn-id: r4094
2002-04-26 17:22:58 +00:00
Lionel Ulmer
8fccbb0612 Fixed one memory overwrite problem in MP3-CD support. First pass at
some code clean-up. More ahead (once I understand better the code :-) ).

svn-id: r4093
2002-04-26 17:11:05 +00:00
Max Horn
d83fcb54d0 added new style midi drivers using QuickTime (MacOS 9 & X) and CoreAudio (MacOS X)
svn-id: r4086
2002-04-26 13:18:49 +00:00
James Brown
2334c4778b Apply patch to add 'monkeyvga' target for MI1 Floppy.
svn-id: r4076
2002-04-25 03:37:56 +00:00
Vincent Hamm
ca4262ec0c Fixed transition effects in non V7 games
svn-id: r4073
2002-04-24 14:13:09 +00:00
James Brown
c62c6637bf Remove warning from file.
svn-id: r4064
2002-04-23 17:55:02 +00:00
James Brown
71ba38ba64 LGPL'ed FMOpl from AdPlug.
svn-id: r4063
2002-04-23 17:52:30 +00:00
James Brown
a2217e35ff Fix MP3 compilation.
svn-id: r4050
2002-04-22 11:36:41 +00:00
James Brown
d447f05709 Add voice channel tracking to stop script race in BumpusVille VR.
svn-id: r4048
2002-04-22 08:16:16 +00:00
James Brown
d0d3316634 BeOS compilation fix
svn-id: r4047
2002-04-22 03:05:59 +00:00
Vincent Hamm
f90a05e3b1 Fix (hack) imuse for samnmax. Fix (hack) samnmax inventory screen
svn-id: r4037
2002-04-21 17:54:59 +00:00
James Brown
9809c86373 Add boilerplate license to some files, to satisfy Debian types :)
fmopl.c/fmopl.h are infringing on the GPL at the moment. We either need to
replace these, or get permission to relicense them, before 0.2.0

svn-id: r4036
2002-04-21 17:46:42 +00:00
James Brown
a42fc116cf BEOS midi compile fix. Take 1.
svn-id: r4031
2002-04-21 06:04:15 +00:00
James Brown
752d05034b Fix midi compilation - in more ways than one :P
svn-id: r4030
2002-04-21 04:14:42 +00:00
James Brown
f509c3166d Warning fix.
svn-id: r4029
2002-04-20 18:53:45 +00:00
Lionel Ulmer
80b860999b Committed Florian Schmitt (fatpenguin)'s Linux MIDI patch. Reported as working by urs and khalek on IRC :-)
svn-id: r4028
2002-04-20 18:24:20 +00:00
Lionel Ulmer
c673d1c760 Commit of the X11 driver using the new OSystem interface. Plus some warning fixes and gameDetector hacks.
svn-id: r4024
2002-04-20 17:41:42 +00:00
James Brown
32d213bc12 Remove left over debug line. BBrox is anally retentive.
svn-id: r4011
2002-04-19 15:15:47 +00:00
James Brown
82192a3172 Fix PocketSCUMM. Palette is wrong tho. BBrox is a genius.
svn-id: r4009
2002-04-19 15:02:16 +00:00
Ruediger Hanke
8a7ca8133c Reenable MorphOS Midi driver, small updates to CD open code (only when CD audio is requested) and start options
svn-id: r3997
2002-04-18 21:40:24 +00:00
James Brown
4d1da75746 Update midi MT-32 patch table.
svn-id: r3986
2002-04-18 06:22:18 +00:00
Nicolas Bacca
bb06400d00 Return of the MP3 CD patch ... use CBR 22 kHz
svn-id: r3981
2002-04-17 20:23:45 +00:00
Nicolas Bacca
fd6a44e7c5 Minor WinCE changes
svn-id: r3980
2002-04-17 20:21:40 +00:00
Marcus Comstedt
4442846ff8 Added missing newline at end of file.
svn-id: r3967
2002-04-16 23:22:15 +00:00
Lionel Ulmer
0d580b358e Small fix to get sounds to actually finish :-)
svn-id: r3963
2002-04-16 19:49:15 +00:00
Lionel Ulmer
ef5c23c608 Proper commit now for MP3 sound support....
svn-id: r3962
2002-04-16 18:33:04 +00:00
James Brown
ff1d72962b Add hack for loom staff verbs.
Readd CD Audio

svn-id: r3956
2002-04-16 12:18:50 +00:00
Ludvig Strigeus
71eac5acd3 endian fixes,
don't use adlib driver if sound initialization fails,
simon1 savedialog works

svn-id: r3955
2002-04-16 12:07:19 +00:00
Ludvig Strigeus
ac62a7cb2e wrote new mixer class,
cleaned up sound header files,
integrated mixer into scummvm & simon

svn-id: r3937
2002-04-14 18:13:08 +00:00
Ludvig Strigeus
9f191ea9c5 new midi driver API,
no more USE_ADLIB,
a couple of sdl graphics driver fixes.

svn-id: r3925
2002-04-13 18:34:11 +00:00
Ludvig Strigeus
d2b0070c5f new video engine (expect broken non-sdl builds),
simon the sorcerer 1 & 2 support (non SCUMM games)

svn-id: r3912
2002-04-12 21:26:59 +00:00
James Brown
7696081c54 Large pointless reindentation of all the code. Also fixed a few mistakes
in the object flags code cleanup.

Flags used:

indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip
-ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader
-TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader
-TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm
-TSoundEngine -TPart -TPlayer

svn-id: r3908
2002-04-11 17:19:16 +00:00
Ruediger Hanke
db1862a9af MorphOS version adapted to v0.2.0
svn-id: r3902
2002-04-10 20:48:27 +00:00
Vincent Hamm
92a19c45ae Fixed pal init
svn-id: r3815
2002-03-24 17:49:47 +00:00
James Brown
f49bbb0fd8 Move some box stuff from scumm.h to new boxes.h
Also move some sound-related items from scumm.h to sound.h

svn-id: r3797
2002-03-21 16:12:02 +00:00
James Brown
718392239c I know it probably doesn't look like much, but this is a start to the reorg - basically I've shuffled the Scumm struct around, and turned it into a Class - labeling and grouping functions that are related.
svn-id: r3792
2002-03-20 17:51:07 +00:00
James Brown
721b7134fb MorphOS port (sdl version) + endian fixes for big endian machines.
svn-id: r3771
2002-03-16 18:58:51 +00:00
James Brown
bacbe50d2a Add "options" menu to F5 key. Can set music volumes and stuff :)
svn-id: r3754
2002-03-14 17:36:13 +00:00
James Brown
d8adad386f winCE part 2 - still gui.cpp and scummvm.cpp left
svn-id: r3752
2002-03-14 14:45:04 +00:00
Mutwin Kraus
a5d424aa18 should be "#if !defined", instead of "#if !define" :)
svn-id: r3747
2002-03-14 13:28:32 +00:00
James Brown
7ba12f5f97 Fix some possible problems with new gmidi.cpp compiling on Mac Carbon..
svn-id: r3746
2002-03-14 12:14:22 +00:00