aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.cpp
AgeCommit message (Collapse)Author
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
2002-10-21fixed stupid bug by me, again (see also 9th of May)Max Horn
svn-id: r5225
2002-10-20Patch 625904: CD LoopingJames Brown
svn-id: r5199
2002-10-16patch #620627: mouse wheel support for NewGuiMax Horn
svn-id: r5169
2002-10-14renamed get_320x200_image() to get_screen_image(); cleanupMax Horn
svn-id: r5145
2002-10-08Remove workaround for dsound problem in sdl on win32, since it is fixed by ↵Travis Howell
sdl 1.2.5. svn-id: r5108
2002-09-30played a bit with the launcher - it now is already somewhat usable <g>Max Horn
svn-id: r5047
2002-09-28cleaned up various variable names in the SDL backend & NewGui; also fixed a ↵Max Horn
small buglet that could cause garbage to appear behind the mouse cursor when closing NewGui while inside a game svn-id: r5029
2002-09-27added (currently completly useless) launcher dialogMax Horn
svn-id: r5024
2002-09-27made init_size in the SDL backend reentrantMax Horn
svn-id: r5022
2002-09-20quit should not exit(1) but rather exit(0) (mabye we should add a paramter ↵Max Horn
'bool success' to it that flags whether this is a normal exit or one with an error?) svn-id: r4979
2002-09-19Added overlay to OSystem interface; implemented overlay in SDL backend (all ↵Max Horn
other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X svn-id: r4971
2002-09-09Applied roever's screen effects patch (#602595) and fixed LethalWP's Makefile ;)Michael Pearce
svn-id: r4909
2002-09-08rewrote config class; cleanup; code restructuringMax Horn
svn-id: r4903
2002-08-24SDL_gl and normal SDL backend now share a common base classMax Horn
svn-id: r4813