aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.cpp
AgeCommit message (Collapse)Author
2003-08-04while this fixed a problem with sdl_gl on OS X, it causes annoying problems ↵Max Horn
with fullscreen mode with the regular SDL backend on OS X -> disabling it (plus I couldn't reproduce this segfault with the GL backend anymore, too) svn-id: r9468
2003-08-04oops, accidentally commited this oneMax Horn
svn-id: r9465
2003-08-03fix for bug #781903 (ALL: jerky cursor movement regression)Max Horn
svn-id: r9446
2003-08-02removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I ↵Max Horn
did it should be trivial to get them working again) svn-id: r9391
2003-07-23reset some CD related vars when AudioCD is openedMax Horn
svn-id: r9144
2003-07-23Ooops that should not have been commmitedTravis Howell
svn-id: r9142
2003-07-23fm towns cd audio fix from HibernatusTravis Howell
svn-id: r9141
2003-07-22adjusted to play_cdrom parameter name change in common/system.hMax Horn
svn-id: r9132
2003-07-20Fixed mishandling of _mode_flags that prevented the Simon games from usingTorbjörn Andersson
the DF_WANT_RECT_OPTIM flag. svn-id: r9095
2003-07-20Use automatic dirty rect code for simon games for now to reduce CPU usageTravis Howell
svn-id: r9093
2003-07-20whitespaceMax Horn
svn-id: r9089
2003-07-05fixed stack lock at startupMax Horn
svn-id: r8779
2003-07-05updated backends to use type MutexRefMax Horn
svn-id: r8776
2003-07-03const correctnessMax Horn
svn-id: r8725
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-22Fixed the last (?) glitches around the mouse cursor [*] in aspect-ratioTorbjörn Andersson
correction mode by making sure that dirty rects always start on a line that won't have its colours changed by the stretching function. This was probably only noticeable when using the 1x scaler. [*] Actually, the glitches weren't specific to the mouse cursor, but it was useful for triggering them. svn-id: r8621
2003-06-22Patch #757827: Aspect-ratio correctionMax Horn
svn-id: r8605
2003-06-17temporary & nasty workaround for crash-on-exit in OS X + SDL/GL backendMax Horn
svn-id: r8534
2003-06-17Make OpenGL specific scaler use other keys so all normal scaler canbe made ↵Travis Howell
available. svn-id: r8521
2003-06-15fixed 'quit' entry in help for Mac OS X; disabled Alt-X/Ctrl-Z on OS X ↵Max Horn
(Cmd-Q is the one and only true way to quit here :-) svn-id: r8505
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-06-08Finally fixed a slight bug in the CoMI cannon behaviour.Torbjörn Andersson
svn-id: r8401
2003-06-08added quit eventMax Horn
svn-id: r8398
2003-06-05make code use our coding conventionsMax Horn
svn-id: r8340
2003-06-05optimisation to blit rects in one shot when width=pitch=screenwidthBertrand Augereau
svn-id: r8317
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-21pedantic fixesMax Horn
svn-id: r7789
2003-05-20init _paletteDirtyStart/_paletteDirtyEnd to 0Max Horn
svn-id: r7716
2003-05-18fixed my wrong fix for move_screenMax Horn
svn-id: r7623
2003-05-17make gcc 3.3 happyOliver Kiehl
svn-id: r7621
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-05-09Patch #735294: AdvMame3x scalerMax Horn
svn-id: r7409
2003-05-01fix another leakJonathan Gray
svn-id: r7245
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
2003-04-30free movement may not be necessary for now, but doing it is trivial, so why ↵Max Horn
not. Still this code is horribly inefficient :-/. svn-id: r7229
2003-03-29fix for wrong(or rather unset) mouse 0,0 (x,y) position when joystick is pluggedPaweł Kołodziejski
when code handle joystick motion and mapping to mouse motion, it should also set mouse x,y position svn-id: r6880
2003-03-27add back removed checks for definitions of mouse scrolling buttons before ↵Jonathan Gray
using them as we don't want to depend on sdl >= 1.2.5 svn-id: r6872
2003-03-26long standing evil bug (luckily hardly has any effect since almost ↵Max Horn
everything has 2 byte alignment; but if the motion/button structs are ever changed, this would have gone broke) svn-id: r6870
2003-03-26cleanup; added SDL_VIDEOEXPOSEMax Horn
svn-id: r6869
2003-03-10fix for numpad fighting (I hope)Max Horn
svn-id: r6790
2003-03-09fixed valgrind warning (though I don't see why this memset should be needed, ↵Max Horn
after reviewing the SDL_OpenAudio source) svn-id: r6783
2003-03-08change RBG to RGB which follows the argument order and hence makes more sense...Jonathan Gray
svn-id: r6767
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6719
2003-03-02Patch #691064: dot matrix scalerMax Horn
svn-id: r6663
2003-01-28more joystick stuff based on patch by ge0rg, also added defines for axis ↵Jonathan Gray
settings and mappings for common keys, these defines will hopefully be removed and replaced with config file options at some point svn-id: r6563
2003-01-22declare event of type mouse motion on joystick axis movementJonathan Gray
svn-id: r6535
2003-01-20start of joystick support, just selects first joystick for now and only maps ↵Jonathan Gray
first two buttons to first two mouse buttons. Will add more button mappings and a -j options to specify joystick in future svn-id: r6528