aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
AgeCommit message (Collapse)Author
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
2004-11-23Next step in transaction implementation. Now it postpones all calls.Eugene Sandulenko
NOTE: This breaks most ports, and they will not pass assertions. If you will fix it (by moving violating OSystem calls to go() method), I'll be grateful. If you don't bother to fix it, there is a workaround. Just comment out beginGFXTransaction() and endGFXTransaction() in backends/sdl/graphics.cpp. This will tunr it off and will use default transaction-less implementation. svn-id: r15870
2004-11-13Add new clearScreen OSystem call. Currently only implemented in SDL backend. ↵James Brown
This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering. svn-id: r15799
2004-10-15Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handlingMax Horn
svn-id: r15563
2004-10-13Don't let undraw_mouse() terminate with the surface still locked. Now I canTorbjörn Andersson
finally quit Broken Sword II again, without ScummVM crashing. svn-id: r15536
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-09-04Got rid of OSystem::move_screenMax Horn
svn-id: r14882
2004-07-31Allow Alt-Enter to toggle fullscreen mode, just like Alt-Return, matching ↵Max Horn
our README (see also bug #1001126) svn-id: r14382
2004-07-16Applied patch #957544 to make output sample rate configurable at runtime.Torbjörn Andersson
svn-id: r14225
2004-07-16Only show gfx mode change messages in the OSD if the change was initiated by ↵Max Horn
the user; not if it was done automatically (e.g. because a 640x480 game was started and we auto-switch to 1x scaling) svn-id: r14223
2004-06-21disable alt-x and ctrl-z quit keys in favour of ctrl-q on non Mac OS X ↵Jonathan Gray
unices (including Linux) for consistency with other applications svn-id: r13989
2004-05-09Make a few functions GFX functions virtual for CE backendNicolas Bacca
svn-id: r13817
2004-05-09Tweak SDL init for WinCE backendNicolas Bacca
svn-id: r13816
2004-05-06Removed default value for keycolor in the OSystem implementationsMax Horn
svn-id: r13796
2004-05-05Extend setMouseCursor with additional keycolor parameter. Lets saga use 255Eugene Sandulenko
as white color. Made this function more safe by copying cursor data to newly created buffer. svn-id: r13777
2004-03-28Remove explicit OSystem parameter from StackLock constructor; added ↵Max Horn
OSystem::displayMessageOnOSD (not yet used; default implementation provided) svn-id: r13413
2004-03-28Renamed more OSystem methodsMax Horn
svn-id: r13410
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357
2004-03-15Allow multi-line OSD messages; display virtual/real screen resolutions when ↵Max Horn
chaning the scaler or the aspect ratio correction svn-id: r13309
2004-03-15Renamed OSystem::set_timer() to setTimerCallback(); more OSystem Doxygen changesMax Horn
svn-id: r13289
2004-03-15Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and ↵Max Horn
get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h svn-id: r13284
2004-03-13Allow changing the scaler via keypad, too (FR #821415)Max Horn
svn-id: r13251