1045 Commits

Author SHA1 Message Date
Chris Apers
efb7ffe22f Added pre-init capability
svn-id: r15749
2004-11-09 11:06:40 +00:00
Chris Apers
8068fd40d4 Added Sword1 support
svn-id: r15748
2004-11-09 10:57:22 +00:00
Chris Apers
77618b5974 Check width instead of height, and use newly added header files
svn-id: r15747
2004-11-09 10:54:45 +00:00
Chris Apers
05da0f8eb8 Only with 320x[x] games
svn-id: r15746
2004-11-09 10:53:25 +00:00
Chris Apers
923e53724c New module code
svn-id: r15745
2004-11-09 10:50:30 +00:00
Chris Apers
58557e6457 Move common palm definitions
svn-id: r15744
2004-11-09 10:49:08 +00:00
Chris Apers
618971dd2f Gathered common functions into new source files
svn-id: r15743
2004-11-09 10:45:47 +00:00
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Max Horn
daee2edcfe oops
svn-id: r15734
2004-11-08 10:17:47 +00:00
Max Horn
79509f9383 cleanup
svn-id: r15733
2004-11-08 10:16:07 +00:00
Eugene Sandulenko
6d38776da0 Fix it on LE systems. SCUMM_LITTLE_ENDIAN is defined in common/scummsys.h,
so it's a good idea to have that included before check :)

svn-id: r15732
2004-11-08 01:17:55 +00:00
Max Horn
e759cf5522 Re-apply endian fix
svn-id: r15731
2004-11-07 18:25:32 +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
Travis Howell
b36be2d8bc Remove stray ;
svn-id: r15717
2004-11-06 05:18:04 +00:00
Eugene Sandulenko
dee673d96e Improve reporting (OSD messages, file open errors) and fix typos.
Forgot to mention:

 o waveforms.raw is autogenerated if not present

svn-id: r15716
2004-11-06 02:20:43 +00:00
Eugene Sandulenko
805b21181a Major MT-32 emu overhaul based on KingGuppy's code.
o added configure option
 o mi2 intro doesn't freeze anymore and has no sound glitches
 o missing instruments in many titles are fixed
 o numerous memory overwrite bugs are fixed
 o code is cleaned a lot and splitted into many smaller files
 o mt32.cpp went to backends/midi
 o synced with upstream code
 o reverberation fixed

 * don't complain about File class wrapper :)
 * all custom types are back
 * #pragmas are to do
 * maybe some indentation is wrong too

I prefer smaller commits, but this thing came in one piece.

svn-id: r15715
2004-11-06 01:41:32 +00:00
Eugene Sandulenko
6fd31192e1 o Sync with upstream source
o Move back to old sawtooth filter, which sounds better

svn-id: r15683
2004-10-24 19:21:38 +00:00
Torbjörn Andersson
53d1021985 More cleanup. Too bored to continue now.
svn-id: r15682
2004-10-24 15:04:19 +00:00
Torbjörn Andersson
22581c3c10 More cleanup.
svn-id: r15681
2004-10-24 14:50:34 +00:00
Eugene Sandulenko
7b84693125 o Check size of waveforms.raw so output rate could be adjusted
o Eliminate rom_path, as we use our File class

svn-id: r15679
2004-10-24 13:03:42 +00:00
Eugene Sandulenko
e8811e7158 Oops
svn-id: r15670
2004-10-23 20:56:53 +00:00
Eugene Sandulenko
0b07a5f484 o Turn BASE_FREQ constant into variable. MT-32 has to be run in lesser time slices.
o Attempt to fix mi2, but that cure for symptom, not the cause. Under dosbox header is always valid, but here we get 0x41001612 instead of 0x41101612.

svn-id: r15669
2004-10-23 20:33:39 +00:00
Paweł Kołodziejski
c10cce6af1 fixed warnings
svn-id: r15665
2004-10-23 13:39:03 +00:00
Torbjörn Andersson
879c2562e6 More cleanup. Too bored to go on.
svn-id: r15664
2004-10-23 13:23:46 +00:00
Torbjörn Andersson
62ca7b6644 Cleanup
svn-id: r15663
2004-10-23 13:17:03 +00:00
Torbjörn Andersson
4d8bc9862c Cleanup
svn-id: r15662
2004-10-23 13:02:05 +00:00
Torbjörn Andersson
07a6802dff Cleaned up axtoi()
svn-id: r15661
2004-10-23 12:50:31 +00:00
Torbjörn Andersson
1a36eeda0e ScummVM style (partial)
svn-id: r15653
2004-10-22 15:59:11 +00:00
Max Horn
5c53a3e260 cleanup
svn-id: r15652
2004-10-22 15:56:39 +00:00
Torbjörn Andersson
bf588c163f ScummVM style.
svn-id: r15651
2004-10-22 15:48:56 +00:00
Torbjörn Andersson
a4eb97da4c Replaced the Bit* data types with ScummVM's int* and uint* types. The
64-bit type has been renamed int64 and uint64. As a consequence, bug
#1051999 (the MinGW compilation problems) is now fixed.

svn-id: r15650
2004-10-22 15:39:28 +00:00
Chris Apers
2398753140 Prepare true AdLib support on PalmOS
svn-id: r15648
2004-10-22 12:05:18 +00:00
Torbjörn Andersson
e88cd31e4d Indentation
svn-id: r15646
2004-10-22 10:24:48 +00:00
Torbjörn Andersson
8e1481ae8f Fixed warning. Hopefully without breaking anything.
The __int64 problem remains, though.

svn-id: r15645
2004-10-22 10:13:18 +00:00
Travis Howell
3843b6cb02 Correction for mingw compile
svn-id: r15644
2004-10-22 09:38:11 +00:00
Max Horn
5c87bcafa6 Fix sign warnings
svn-id: r15638
2004-10-21 23:03:09 +00:00
Eugene Sandulenko
9d0b746aaa Patch #1048326 Better MT-32 support
svn-id: r15635
2004-10-21 22:37:37 +00:00
Chris Apers
a635831b1f Added fgetc/getc function
svn-id: r15619
2004-10-20 09:17:46 +00:00
Max Horn
72df42e047 Fix for bug #1049937 (FOA: Regression in Adlib music)
svn-id: r15618
2004-10-19 23:03:04 +00:00
Torbjörn Andersson
61e438df22 Made the calculation of _samples_per_tick a bit less prone to arithmetic
overflow. It failed if the output rate was 44100 Hz. (It didn't use to, but
somewhere along the line an unsigned value was changed to a signed. This
seemed like a better fix, though.)

svn-id: r15610
2004-10-19 08:47:10 +00:00
Max Horn
82a3d09a65 Fix warning
svn-id: r15593
2004-10-17 19:34:43 +00:00
Max Horn
267144e69c added MidiDriver_Emulated base class used by the adlib & ym2612 midi 'drivers'
svn-id: r15589
2004-10-17 17:49:45 +00:00
Max Horn
649eb19a3e Cleanup
svn-id: r15588
2004-10-17 17:12:35 +00:00
Max Horn
bb462f64e0 Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handling
svn-id: r15563
2004-10-15 22:28:12 +00:00
Torbjörn Andersson
6a1c315fdf Don't let undraw_mouse() terminate with the surface still locked. Now I can
finally quit Broken Sword II again, without ScummVM crashing.

svn-id: r15536
2004-10-13 06:36:29 +00:00
Max Horn
bdf66b1a07 Make use of the new setupPremix variant (i.e. use an AudioStream subclass instead of a premix proc)
svn-id: r15523
2004-10-11 22:19:22 +00:00
Chris Apers
3142e79d32 Subtitles by default
svn-id: r15520
2004-10-11 14:04:36 +00:00
Chris Apers
93dec8661c Fixed param
svn-id: r15519
2004-10-11 14:01:38 +00:00
Chris Apers
40a13df5b2 New params
svn-id: r15517
2004-10-11 13:27:13 +00:00
Chris Apers
1e13280ff4 True assert function
svn-id: r15471
2004-10-08 13:34:55 +00:00