aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.cpp
AgeCommit message (Collapse)Author
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
2003-01-15add new tv scanlines graphics scaler from Gregory Montoir, use -g tv2x to try itJonathan Gray
svn-id: r6462
2003-01-12fix for the black rect bug in COMI (thanks to Erik)... guess is that the ↵Max Horn
checksum algo fails to detect the dirty regions. Why is it here at all, anyway? BBrox says it might be needed for Simon. So somebody should check that svn-id: r6428
2003-01-09only warp mouse if it actually moved - this is not quite perfect, either, ↵Max Horn
but at least now it works again on OS X svn-id: r6373
2003-01-09Remove hack - now the cannon scene works in fullscreen linux. Someone tell ↵James Brown
me how it goes for Windows svn-id: r6372
2003-01-09yet another warp mouse change, now it works on OS X, but will it work on ↵Max Horn
Linux/Windows? svn-id: r6370
2003-01-09Patch 664895: Cannon fixes. Porters, this requires a new OSystem interface ↵James Brown
function svn-id: r6365
2002-12-28Fix NewGui for higher resolutions (eg, CMI)James Brown
svn-id: r6216
2002-12-25seems cursor width/height can occurMax Horn
svn-id: r6146
2002-12-25fixed mouse cursor code to cope with CMIMax Horn
svn-id: r6125
2002-12-21small mod to allow smooth scrolling to work with SDL backendMax Horn
svn-id: r6039
2002-12-13cleanupMax Horn
svn-id: r5936
2002-12-13more code unificationMax Horn
svn-id: r5935
2002-12-13unified common codeMax Horn
svn-id: r5934
2002-11-22improved keyboard input behaviour in SDL backend: make use of the unicode ↵Max Horn
feature in SDL. This way, Shift-1 on my german keyboard generates ! not 1 (on an US keyboard it'll be a different symbol). Should fix bug #600258 and #551447 svn-id: r5692
2002-11-13properly initialize everything -> works w/o our custom new/delete now!Max Horn
svn-id: r5531