Commit Graph

1186 Commits

Author SHA1 Message Date
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
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Nicolas Bacca
20f8403742 Update for 0.7.1
svn-id: r17250
2005-03-26 14:35:39 +00:00
Nicolas Bacca
06ed39e031 Add Insane Cheat action
svn-id: r17243
2005-03-26 13:29:04 +00:00
Nicolas Bacca
5a7c9f7d74 Tweak WinCE timer re-entry workaround to play Insane sequences
svn-id: r17242
2005-03-26 13:24:53 +00:00
Nicolas Bacca
61aab60064 Should fix key mapping issues
svn-id: r17238
2005-03-26 09:04:33 +00:00
Eugene Sandulenko
9880288669 Fix bug #1166279 "BS1 & BS2: Launching game problems".
svn-id: r17187
2005-03-20 16:16:09 +00:00
Torbjörn Andersson
4c3d302e19 If a game is scaled with the 2x or 3x scaler, use the same scaler on the
cursor as well. It looks strange if the game is blocky and the cursor is
smooth.

svn-id: r17173
2005-03-17 09:49:22 +00:00
Nicolas Bacca
d99d4d09f2 Weird ... but fixes the second (and hopefully last) crash
svn-id: r17168
2005-03-16 22:58:42 +00:00
Nicolas Bacca
a7d2552cfd Fix head first crash. Virtual functions + one parameter added == fun :p
svn-id: r17167
2005-03-16 22:27:11 +00:00
Paweł Kołodziejski
009cc66a24 fixed compilation for for overlay SDL latest changes, and formating code.
Wince SDL port is currently broken, it crash at NULL _screen pointer while locking SDL surface inside OSystem_SDL::clearScreen() func

svn-id: r17152
2005-03-15 09:43:38 +00:00
Max Horn
4daf4c47b8 Fix method names to comply to our coding standards
svn-id: r17134
2005-03-14 08:24:39 +00:00
Max Horn
6f7315d950 Add some paranoia checks
svn-id: r17101
2005-03-12 16:32:32 +00:00
Chris Apers
fc12034396 Better and faster macros
svn-id: r17072
2005-03-11 10:19:14 +00:00