30 Commits

Author SHA1 Message Date
Max Horn
4611b12c0a updated backends to use type MutexRef
svn-id: r8776
2003-07-05 15:17:46 +00:00
Max Horn
e1ca5552dd cleanup; made mutex protection of graphics code a little bit tighter by 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-07-02 15:08:46 +00:00
Max Horn
11ff7fe9a3 Patch #757827: Aspect-ratio correction
svn-id: r8605
2003-06-22 11:55:40 +00:00
Max Horn
82af035f91 added clear_sound_proc method to backend API (this requires all backends to be modified, but can't help it)
svn-id: r8409
2003-06-09 01:19:25 +00:00
Max Horn
e08d4f072e more OSystem docs & cleanup
svn-id: r8118
2003-05-29 22:34:35 +00:00
Max Horn
f0a9f4fb2c added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
2003-05-29 21:45:26 +00:00
Max Horn
9b70fee5f3 changed scaler proc signature so that srcPtr is const (this can help optimizer by simplifying aliasing detection; thanks to Bertrand Augereau for pointing this out)
svn-id: r7939
2003-05-25 12:08:01 +00:00
Max Horn
24005adfd0 pedantic fixes
svn-id: r7789
2003-05-21 16:59:51 +00:00
Max Horn
af8cb44727 ouch
svn-id: r7511
2003-05-14 19:47:57 +00:00
Max Horn
fae5ab677c fixed bug where SDL_CreateMutex was being called before SDL_Init; restructured code a little
svn-id: r7510
2003-05-14 19:44:41 +00:00
Max Horn
feab6f904f moved screen mutex from smush into SDL backend (other backends have to make sure they are thread safe by themselves)
svn-id: r7230
2003-04-30 19:11:33 +00:00
Max Horn
5c93732d60 cleanup; added comment
svn-id: r7119
2003-04-25 20:03:00 +00:00
Jonathan Gray
361e312a6c change RBG to RGB which follows the argument order and hence makes more sense...
svn-id: r6767
2003-03-08 06:53:32 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
a8c3057875 and more cleanup ....
svn-id: r6719
2003-03-06 18:30:44 +00:00
Jonathan Gray
473cbb8437 start of joystick support, just selects first joystick for now and only maps 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-20 16:29:26 +00:00
James Brown
819a96d05b Patch 664895: Cannon fixes. Porters, this requires a new OSystem interface function
svn-id: r6365
2003-01-09 08:07:13 +00:00
Max Horn
4ccd134b37 valid C++
svn-id: r6226
2002-12-28 12:33:16 +00:00
James Brown
92c8e4ef1e Fix NewGui for higher resolutions (eg, CMI)
svn-id: r6216
2002-12-28 04:51:34 +00:00
Max Horn
0ef7d52448 fixed mouse cursor code to cope with CMI
svn-id: r6125
2002-12-25 12:53:47 +00:00
Max Horn
80a962dd02 cleanup
svn-id: r5936
2002-12-13 17:44:04 +00:00
Max Horn
57187dbdcd more code unification
svn-id: r5935
2002-12-13 17:27:28 +00:00
Max Horn
1f4f7a51b1 unified common code
svn-id: r5934
2002-12-13 17:21:23 +00:00
Max Horn
aae641c6cf properly initialize everything -> works w/o our custom new/delete now!
svn-id: r5531
2002-11-13 14:38:49 +00:00
Max Horn
e8f3f17067 renamed get_320x200_image() to get_screen_image(); cleanup
svn-id: r5145
2002-10-14 11:02:27 +00:00
Max Horn
9dc5fe2a1d cleaned up various variable names in the SDL backend & NewGui; also fixed a small buglet that could cause garbage to appear behind the mouse cursor when closing NewGui while inside a game
svn-id: r5029
2002-09-28 16:19:28 +00:00
Max Horn
29f8c3af95 made init_size in the SDL backend reentrant
svn-id: r5022
2002-09-27 13:05:54 +00:00
Max Horn
bb57506d48 Added overlay to OSystem interface; implemented overlay in SDL backend (all 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-19 16:06:51 +00:00
Michael Pearce
0fbefc72aa Applied roever's screen effects patch (#602595) and fixed LethalWP's Makefile ;)
svn-id: r4909
2002-09-09 05:56:11 +00:00
Max Horn
f3b4f38892 SDL_gl and normal SDL backend now share a common base class
svn-id: r4813
2002-08-24 10:41:32 +00:00