aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl.cpp
AgeCommit message (Collapse)Author
2006-06-03More maemo port developmentEugene Sandulenko
svn-id: r22849
2006-05-25fix hotspot handling when overlay visibleWillem Jan Palenstijn
svn-id: r22631
2006-05-20Re-render the cursor when enabling/disabling cursor palette. Also, I don'tTorbjörn Andersson
think _cursorHasOwnPalette is needed any more, so I've removed it. svn-id: r22541
2006-05-17- Heavily modified patch #1214784: "Disable overlay scaling"Eugene Sandulenko
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505
2006-05-09- Updated MSVC8 project filesEugene Sandulenko
- Renamed base/options.cpp to base/commandLine.cpp because of conflict with gui/options.cpp which sit in same directory in MSVC builds - Moved AudioCDManager singleton declaration outside of Audio namespace - Fixed numerous MSVC warning of potentially uninitialized variables and int <-> bool conversions. svn-id: r22397
2006-04-21Add creation of Symbian SDL backend instead of plain SDLLars Persson
svn-id: r22071
2006-04-14Remove AmigaOS4 cookie as described in patch #1467193: "AmigaOS changes":Eugene Sandulenko
- Icon (icons/scummvm.info) contains stack requirement so the stack cookie can be removed svn-id: r21863
2006-04-14First batch of root directory cleanup. Now icons are stored in directoryEugene Sandulenko
icons/ and all other assorted stuff in dists/ directory. Still I may broke some packaging/building procedures as no testing was performed. svn-id: r21859
2006-04-09Add SDL_SetModuleHandle to WinMainTravis Howell
svn-id: r21710
2006-04-04Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h insteadMax Horn
svn-id: r21605
2006-04-02Backends now are also responsile for deiniting properly. In particular, ↵Max Horn
moved the call to quit() from scummvm_main to the various backend main routines (porters may want to replace it by something different) svn-id: r21559
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-04-02Fix console output been redirected under win32 build, due to main changes. ↵Travis Howell
Remove NO_CONSOLE, since it is never defined svn-id: r21554
2006-04-02Fixing the X11 & NULL backends by adding main()Max Horn
svn-id: r21553
2006-04-02Moved AmigaOS 'magic cookie' to sdl.cpp, as it is port specific (porter says ↵Max Horn
he might remove it completly in a future version) svn-id: r21550
2006-04-02Moved the Win/Symbian specific stdout/stderr redirect code from ↵Max Horn
base/main.cpp to sdl.cpp, where it belongs (considering that it is backend specific code) svn-id: r21547
2006-04-02Fully and officially renamed our main function to scummvm_main, thus makingMax Horn
various backend specific hacks unnecessary. As a consequence, it is now the responsibility of the backend to define main. Hence I adapted the SDL backend accordingly. svn-id: r21542
2006-03-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20535
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Add possibility to disable SDL parachute on run-time. OptionEugene Sandulenko
--disable-sdl-parachute should be completely undocumented and not mentioned to end-users. Wrong usage may lead to system lock-up especially when used with fullscreen mode. SDL Parachute is used to prevent system instability and do a graceful exit if something bad happens. It catches most of signals sent to thr process. Side effect of that that quite often when SDL application dies, core dump isn't made on *nix systems. This feature adds possibility to disable it. svn-id: r19146
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
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-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
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-04-19Added new (optional) OSystem::initBackend() method; this (and its usage) ↵Max Horn
fixes bugs #1160977 and #1184664 svn-id: r17694
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-20Implement OSystem method disableCursorPalette(bool disable) as mentionedEugene Sandulenko
in patch #1013937 (OSystem layer with bigger resolution). svn-id: r16820
2005-02-17Mouse part of big patch #1013937 (OSystem layer with bigger resolution)Eugene Sandulenko
svn-id: r16800
2005-01-01Updated copyrightMax Horn
svn-id: r16398
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-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-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-10-15Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handlingMax Horn
svn-id: r15563
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
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-05-09Tweak SDL init for WinCE backendNicolas Bacca
svn-id: r13816
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-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-13Added an OSD (On Screen Display) to the SDL backendMax Horn
svn-id: r13248
2004-03-01got rid of _mouseOldState; some minor cleanupMax Horn
svn-id: r13103
2004-02-29merged OSystem_SDL and OSystem_SDL_Common; split SDL backend into multiple ↵Max Horn
source files svn-id: r13092
2004-02-28fix mouse redraw issue when toggling fullscreen mode (visible if one mode is ↵Max Horn
555 and the other 565) svn-id: r13088
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-27fix a recursive lock bug related to update_screen() (shouldn't have caused ↵Max Horn
problems on most systems, but still was a bug); rewrite the code which switches the scaler mode to be slightly more efficient svn-id: r13070
2004-02-25Revert fixme out.. as it's all fixed. :o)James Brown
svn-id: r13054