aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
AgeCommit message (Collapse)Author
2005-09-20Normalize use of DISABLE_SCALERS. Now it really disables all scalersEugene Sandulenko
except essential Normal1x. Also thumbnails get compiled unconditionally so we get them on all platforms, even those which never display them. Sorted out mess brought to sdl backend by epoc maintainer. He misused __SYMBIAN32__ where DISABLE_SCALERS is more appropriate. svn-id: r18850
2005-08-15Apply bug/patch #1258912 "GUI: SDL mouse dirty rects too big"Eugene Sandulenko
svn-id: r18689
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-11Move scaler key handling to a separate method (this helps to fix a GCC 4.0 ↵Max Horn
warning, makes pollEvent() cleaner); fixed some code formatting issues svn-id: r18534
2005-07-09Commited patch to fix bug #1210836: "ALL: Failed assertion in AdvMame scaler".Eugene Sandulenko
Thanks cyx for actual fixing. svn-id: r18520
2005-07-05Last modifications for Actions to WinCE.Lars Persson
svn-id: r18500
2005-07-05* Start of generic key configuration support for ScummVMLars Persson
* Moved KeyConfigDialog, key from WinCE to gui * Updated wince code to inherit and use new GUI::Keys and launch new dialog * New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp * Added new function to SDL\Events that handles key remapping. LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events * Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA) * Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test * Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly * Actor.h in Saga now compiles for default VC6 setting. * Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting. * Changed order of creation of gamedetector and mainsystem in Main.cpp * If anything does not compile, or is totally out of order, please revert changes. svn-id: r18498
2005-06-21This is the SDL changes needed by the Symbian build to work properly.Lars Persson
Also there is a bugfix for using the joystick handling for SDL. (See events.cpp history) svn-id: r18428
2005-06-07Be less prone to crash on really, really stupid output sample rates.Torbjörn Andersson
Added warning message if SDL_OpenAudio() fails. Might help diagnosing bug reports like #1206314. svn-id: r18361
2005-05-29Added braces for clarity.Torbjörn Andersson
svn-id: r18295
2005-05-14Added --disable-hq and --disable-scumm-7-8 options. Also improvedEugene Sandulenko
DISABLE_HE so more HE-specific code gets excluded. svn-id: r18099
2005-05-08Added two new methods to OSystem: grabPalette and grabRawScreenMax Horn
svn-id: r17974
2005-05-06Allocate all 16bit surfaces with the same bitformat as the HW surface (Fixes ↵Max Horn
bug #1196374) svn-id: r17929
2005-05-01Always check for _numDirtyRects overflow in addDirtyRect(). The 'mouseRect'Torbjörn Andersson
case didn't. This fixes bug #1193344. svn-id: r17888
2005-04-27Call blitCursor() when changing scaler to give it the opportunity to switchTorbjörn Andersson
between blurry and non-blurry cursor scaling, even if the scale factor remains unchanged. svn-id: r17841
2005-04-20Fix bug 1184616 (GUI: Mouse drawn at wrong position in overlay mode)Max Horn
svn-id: r17709
2005-04-20Cleanup / commentsMax Horn
svn-id: r17708
2005-04-19Added new (optional) OSystem::initBackend() method; this (and its usage) ↵Max Horn
fixes bugs #1160977 and #1184664 svn-id: r17694
2005-04-19More whitespace.Torbjörn Andersson
svn-id: r17691
2005-04-19WhitespaceTorbjörn Andersson
svn-id: r17690
2005-04-18Braces for clarity, even though it *is* well-defined which 'if' the 'else'Torbjörn Andersson
belongs to. svn-id: r17670
2005-04-11Enable 2x overlay in MM NESEugene Sandulenko
svn-id: r17540
2005-04-09Moved the GFX_ constants to sdl-common.h, where they belong.Max Horn
svn-id: r17479
2005-03-31Fix bug #1173422 "Slight mouse cursor regression"Eugene Sandulenko
svn-id: r17309
2005-03-20Fix bug #1166279 "BS1 & BS2: Launching game problems".Eugene Sandulenko
svn-id: r17187
2005-03-17If a game is scaled with the 2x or 3x scaler, use the same scaler on theTorbjörn Andersson
cursor as well. It looks strange if the game is blocky and the cursor is smooth. svn-id: r17173
2005-03-14Fix method names to comply to our coding standardsMax Horn
svn-id: r17134
2005-03-12Add some paranoia checksMax Horn
svn-id: r17101
2005-03-10Fix bug #1160454 "ALL: Failed assertion when using 1x scaler"Eugene Sandulenko
svn-id: r17066
2005-03-10Initialize some overlay-related variables, just to be safe.Torbjörn Andersson
svn-id: r17065
2005-03-09Patch #1013937 "OSystem layer with bigger resolution". Now you will alwaysEugene Sandulenko
get at least 640x400 window. And finally we have means of implementing nice looking GUI. Also updated all backends. If your backend has ability to run with 640x400 or 640x480 resolution then read patch tracker item to find out details. Other port maintainers shouldn't worry, as this patch doesn't affect them, they still get their 320x200. svn-id: r17055
2005-02-22Implementation of GFX transactions. May cause some regressions in case IEugene Sandulenko
missed some unusual mode switching. This implementation let us avoid two nasty hacks in scumm.cpp. *Now* we could return to OSystem layers. patch. svn-id: r16855
2005-02-20Implement OSystem method disableCursorPalette(bool disable) as mentionedEugene Sandulenko
in patch #1013937 (OSystem layer with bigger resolution). svn-id: r16820
2005-02-19compatibility for emsvcPaweł Kołodziejski
svn-id: r16815
2005-02-19Make cursor code more bulletproofEugene Sandulenko
svn-id: r16809
2005-02-17Mouse part of big patch #1013937 (OSystem layer with bigger resolution)Eugene Sandulenko
svn-id: r16800
2005-01-06Added a font manager (work in progress)Max Horn
svn-id: r16460
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-30silly me, shouldn't test a variable which wasn't even set <sigh>Max Horn
svn-id: r16385
2004-12-30Swallow ctrl-alt keyup events, tooMax Horn
svn-id: r16384
2004-12-30set key modifiers for keyup events, too; use SDL_GetModState to determine ↵Max Horn
mod flags, so that the modifier flags get set if e.g. the shift key is pressed alone svn-id: r16381
2004-12-18Disable mouse emulation codeMax Horn
svn-id: r16120
2004-12-11CE backend needs to overload a few functions - list them with an appropriate ↵Nicolas Bacca
comment and hope they'll last more than a few months this time :p svn-id: r16030
2004-12-06Fix for bug #1074931 (GUI: Starting games in fullscreen doesn't work), avoid ↵Max Horn
one unneccessary redraw svn-id: r15997
2004-12-05Clean up OSystem::EventMax Horn
svn-id: r15990
2004-12-04getFeatureState should only be allowed when we are *not* in a GFX ↵Max Horn
transaction (and not vice versa) svn-id: r15982
2004-12-03don't assert if no mouse buffer hasn't been setupGregory Montoir
svn-id: r15980
2004-12-03ParanoiaMax Horn
svn-id: r15973
2004-12-01renamed a few things to match our coding guidelinesGregory Montoir
simplified OSystem_SDL destructor and move all the SDL uninitialization stuff to the quit() method made saveScreenshot() returning false on fail svn-id: r15967
2004-11-24Fix a`ll engines. They work, though current fix is just temporary.Eugene Sandulenko
There are plans to add some brains to GameDetector class, which will let us avoid passing detector to init() method. svn-id: r15873