aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
AgeCommit message (Collapse)Author
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-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-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-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-16Applied patch #957544 to make output sample rate configurable at runtime.Torbjörn Andersson
svn-id: r14225
2004-05-09Make a few functions GFX functions virtual for CE backendNicolas Bacca
svn-id: r13817
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-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-13Added an OSD (On Screen Display) to the SDL backendMax Horn
svn-id: r13248
2004-03-01removed obsolete membeMax Horn
svn-id: r13104
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-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-25fix fullscreen switch code 'properly' (sorry for missing this one, folks). ↵Max Horn
Since we don't have the OpenGL variant anymore, we could now merge back the two parts of the SDL backend - and maybe split them into multiple files in a different way (events, graphics, audio, misc ?) svn-id: r13045
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-01-17add_dirty_rect turned to virtual method for new CE backendNicolas Bacca
svn-id: r12460
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-01made SDL backend use config managerMax Horn
svn-id: r11028
2003-10-05cleanupMax Horn
svn-id: r10612
2003-10-04revert the 'reverse Y axis' hackMax Horn
svn-id: r10594
2003-10-04small remarkMax Horn
svn-id: r10579
2003-10-01disable joystick input by default either command line or config file need to ↵Jonathan Gray
be used to enable it now, ability to choose joystick number to use also added svn-id: r10518
2003-09-27OSystem changes: removed create_thread() method (not needed anymore; 'pure' ↵Max Horn
threads aren't very portable anyway, better we only use timers); introduced OSystem::TimerProc type svn-id: r10430
2003-09-14evil fix for #bug 801293 (ALL: Ctrl+alt+b opengl switch) and some cleanupMax Horn
svn-id: r10248
2003-09-11moved set_mouse_pos around just to make clear it's not part of the OSystem ↵Max Horn
API anymore svn-id: r10187
2003-09-06added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGuiMax Horn
svn-id: r10047
2003-08-22Add screenshot option for sdl backends, patch #590233Travis Howell
svn-id: r9821
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-31added new header file backends/intern.h; removed some stuff from ↵Max Horn
common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h) svn-id: r9327
2003-07-22forgot to commit this oneMax Horn
svn-id: r9133
2003-07-22adjusted to play_cdrom parameter name change in common/system.hMax Horn
svn-id: r9132
2003-07-05updated backends to use type MutexRefMax Horn
svn-id: r8776
2003-07-02cleanup; made mutex protection of graphics code a little bit tighter by ↵Max Horn
protecting all of method property(); moved set_palette to OSystem_SDL_Common (it was identical in both normal and GL backend) svn-id: r8717
2003-06-22Patch #757827: Aspect-ratio correctionMax Horn
svn-id: r8605
2003-06-09added clear_sound_proc method to backend API (this requires all backends to ↵Max Horn
be modified, but can't help it) svn-id: r8409
2003-05-29more OSystem docs & cleanupMax Horn
svn-id: r8118
2003-05-29added some doxygen comments to common/system.h; cleaned up the OSystem ↵Max Horn
interface a bit svn-id: r8116
2003-05-25changed scaler proc signature so that srcPtr is const (this can help ↵Max Horn
optimizer by simplifying aliasing detection; thanks to Bertrand Augereau for pointing this out) svn-id: r7939
2003-05-21pedantic fixesMax Horn
svn-id: r7789
2003-05-14ouchMax Horn
svn-id: r7511
2003-05-14fixed bug where SDL_CreateMutex was being called before SDL_Init; ↵Max Horn
restructured code a little svn-id: r7510
2003-04-30moved screen mutex from smush into SDL backend (other backends have to make ↵Max Horn
sure they are thread safe by themselves) svn-id: r7230