Commit Graph

1199 Commits

Author SHA1 Message Date
Torbjörn Andersson
4b5ff5ba1f Be less prone to crash on really, really stupid output sample rates.
Added warning message if SDL_OpenAudio() fails. Might help diagnosing bug
reports like #1206314.

svn-id: r18361
2005-06-07 14:43:12 +00:00
Torbjörn Andersson
9ffe00b78d Added braces for clarity.
svn-id: r18295
2005-05-29 18:07:46 +00:00
Max Horn
fb11e79387 Replaced global revBitMask array with a macro
svn-id: r18104
2005-05-15 10:40:28 +00:00
Max Horn
e5bbfe8df9 Renamed costume scale tables; merged the old costume renderer's scale table with the small scale AKOS scale table (they were identical)
svn-id: r18103
2005-05-15 10:02:13 +00:00
Eugene Sandulenko
3588b96d4f Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded.

svn-id: r18099
2005-05-14 22:56:41 +00:00
Robert Göffringmann
c4e258ed21 fixed time().
svn-id: r18083
2005-05-13 19:51:12 +00:00
Robert Göffringmann
d0fabce0ad some ps2 changes...
svn-id: r18046
2005-05-11 07:31:44 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Eugene Sandulenko
169ff06f09 Proper #include directive.
svn-id: r18022
2005-05-10 02:30:19 +00:00
Eugene Sandulenko
df7e6104b6 Last bit of AmigaOS4 patch. Apparently this was missed by mistake.
svn-id: r18018
2005-05-10 00:58:08 +00:00
Max Horn
52bbc86797 Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn
99b9c27f99 Why not fix the warning if you encounter it? :-)
svn-id: r17994
2005-05-09 08:47:09 +00:00
Max Horn
013e30eb38 Added two new methods to OSystem: grabPalette and grabRawScreen
svn-id: r17974
2005-05-08 21:39:05 +00:00
Max Horn
d04492a05a Allocate all 16bit surfaces with the same bitformat as the HW surface (Fixes bug #1196374)
svn-id: r17929
2005-05-06 10:07:33 +00:00
Max Horn
28e40b33a7 Add a comment regarding use of CoreAudio/AudioUnits v1 API
svn-id: r17916
2005-05-05 11:57:52 +00:00
Robert Göffringmann
4120ae9921 various PS2 system changes
svn-id: r17912
2005-05-05 03:06:32 +00:00
Marcus Comstedt
38c9a40c22 Dispense with the filename field of InVMSaves.
svn-id: r17911
2005-05-04 23:38:07 +00:00
Marcus Comstedt
fc25ef24b0 Cleanup of the cleanup code. :-)
svn-id: r17910
2005-05-04 23:34:26 +00:00
Marcus Comstedt
5b56b5ac01 Split VMSave into InVMSave and OutVMSave.
svn-id: r17909
2005-05-04 23:24:03 +00:00
Torbjörn Andersson
777618ddf9 Always check for _numDirtyRects overflow in addDirtyRect(). The 'mouseRect'
case didn't. This fixes bug #1193344.

svn-id: r17888
2005-05-01 17:39:38 +00:00
Marcus Comstedt
925c69797d Slightly more elegant LauncherDialog connector.
svn-id: r17844
2005-04-27 21:58:21 +00:00
Marcus Comstedt
f95e696034 Added eos() method.
svn-id: r17843
2005-04-27 21:57:13 +00:00
Torbjörn Andersson
6fb944befd Call blitCursor() when changing scaler to give it the opportunity to switch
between blurry and non-blurry cursor scaling, even if the scale factor
remains unchanged.

svn-id: r17841
2005-04-27 14:47:19 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Max Horn
86752763c8 add a comment regarding an odd hack
svn-id: r17758
2005-04-22 21:30:07 +00:00
Max Horn
3f08f0bfb2 Fix bug 1184616 (GUI: Mouse drawn at wrong position in overlay mode)
svn-id: r17709
2005-04-20 09:32:22 +00:00
Max Horn
901e76ea83 Cleanup / comments
svn-id: r17708
2005-04-20 09:24:29 +00:00
Max Horn
25d56525c8 Replace OSystem::hasAlpha with a feature flag
svn-id: r17695
2005-04-19 20:35:48 +00:00
Max Horn
2cfb9322e2 Added new (optional) OSystem::initBackend() method; this (and its usage) fixes bugs #1160977 and #1184664
svn-id: r17694
2005-04-19 20:22:50 +00:00
Torbjörn Andersson
d85f6d1688 More whitespace.
svn-id: r17691
2005-04-19 12:43:54 +00:00
Torbjörn Andersson
35c675e2d2 Whitespace
svn-id: r17690
2005-04-19 12:22:50 +00:00
Max Horn
3ea96a13a0 If we don't want to use reverb, then at least disable it properly, not via a bad hack
svn-id: r17671
2005-04-18 18:02:07 +00:00
Torbjörn Andersson
ed2ed47701 Braces for clarity, even though it *is* well-defined which 'if' the 'else'
belongs to.

svn-id: r17670
2005-04-18 15:33:02 +00:00
Max Horn
839c8add38 Get rid of errno; add some (optional) error checking facilities to SaveFile classes (they are ugly, and to simple, but better than nothing)
svn-id: r17589
2005-04-13 18:36:55 +00:00
Max Horn
14adfd3cac Typo
svn-id: r17547
2005-04-11 18:42:57 +00:00
Eugene Sandulenko
4c4af584a0 Enable 2x overlay in MM NES
svn-id: r17540
2005-04-11 12:57:41 +00:00
Nicolas Bacca
f4262a1bbb Gobliiins tweaks
svn-id: r17528
2005-04-10 21:11:02 +00:00
Max Horn
e79c168d35 split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
svn-id: r17517
2005-04-10 15:13:40 +00:00
Torbjörn Andersson
13dc149ded Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.

svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn
3aba4997f4 Moved the GFX_ constants to sdl-common.h, where they belong.
svn-id: r17479
2005-04-09 13:31:47 +00:00
Jonathan Gray
24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Marcus Comstedt
e62d6773ef Added mouse wheel support.
svn-id: r17360
2005-04-03 21:41:39 +00:00
Marcus Comstedt
4187ed3e11 Oops, cleared too large memory region...
svn-id: r17356
2005-04-03 20:45:26 +00:00
Marcus Comstedt
167badf727 Switch overlay mode to ARGB4444.
svn-id: r17355
2005-04-03 19:42:02 +00:00
Marcus Comstedt
8fe07f1f3e Added new cursorTargetScale parameter to setMouseCursor().
svn-id: r17352
2005-04-03 18:02:27 +00:00
Marcus Comstedt
17aa2d6dfd SaveFile stuff now resides in <common/savefile.h>.
svn-id: r17351
2005-04-03 18:00:13 +00:00
Marcus Comstedt
c734fc5b5c Until there is a proper way of communicating pixel format, declare ugly global variable...
svn-id: r17334
2005-04-02 15:45:50 +00:00
Robert Göffringmann
65596240d7 ps2: clip coordinates in copyRectToScreen, necessary for The Dig
svn-id: r17318
2005-04-01 03:00:51 +00:00
Eugene Sandulenko
0fa38d12e1 Fix bug #1173422 "Slight mouse cursor regression"
svn-id: r17309
2005-03-31 14:36:42 +00:00
Robert Göffringmann
861cdd9db2 fixed headers. -_-
svn-id: r17306
2005-03-31 07:50:33 +00:00