Commit Graph
51 Commits
Author SHA1 Message Date
Max Horn 88810dc9bd part of patch #774556: fix for aspect mode + shaking
svn-id: r9102
2003-07-21 00:01:05 +00:00
Torbjörn Andersson 594c1f542d Fixed mishandling of _mode_flags that prevented the Simon games from using
the DF_WANT_RECT_OPTIM flag.

svn-id: r9095
2003-07-20 18:53:27 +00:00
Travis Howell 6480a00855 aspect ratio correction
svn-id: r8897
2003-07-10 10:24:06 +00:00
Max Horn ce9d154957 fixed stack lock at startup
svn-id: r8779
2003-07-05 15:28:28 +00:00
Travis Howell 39abb7cf0a Add more OpenGL fixes, patch #762815
svn-id: r8775
2003-07-05 13:41:14 +00:00
Max Horn 6b7e12faed fix for bug #765402: no shaking with 1x scaler
svn-id: r8724
2003-07-03 19:12:24 +00:00
Torbjörn Andersson cd04361fb7 Removed the calls to SDL_SetGamma(). No one could understand what they were
doing there in the first place when it was discussed yesterday, and they
screw up the colours for me. (Possibly because I have the gamma correction
set even higher by default, so this attempt to brighten the image actually
made it *darker* for me.)

svn-id: r8720
2003-07-03 06:58:08 +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
Torbjörn Andersson 1f0c925c2b Allow the 3x scaler in fullscreen mode. Since we have aspect ratio
correction now it can look quite different from 1x and 2x.

svn-id: r8674
2003-06-30 14:31:09 +00:00
Travis Howell 7c8565fa65 Add OpenGL fixes, patch #762815
svn-id: r8672
2003-06-30 02:38:56 +00:00
Travis Howell 85d926fa66 Ooops
svn-id: r8615
2003-06-22 14:34:30 +00:00
Travis Howell a700f90a5f Revert poll_event change
svn-id: r8614
2003-06-22 14:31:17 +00:00
Travis Howell 5132ca1b2f Add opengl filter option
for opengl backend
Enable poll_event in opengl backend

svn-id: r8612
2003-06-22 14:18:33 +00:00
Travis Howell 2a31d107c9 Aspect ratio works with all sclaers in opengl backend
svn-id: r8607
2003-06-22 12:30:58 +00:00
Max Horn 11ff7fe9a3 Patch #757827: Aspect-ratio correction
svn-id: r8605
2003-06-22 11:55:40 +00:00
Max Horn 3014adf175 some changes for the 320x256 code - the new code *might* work (can't test since it's not supported here), while the old code for it simply was bogus :-)
svn-id: r8569
2003-06-20 10:59:22 +00:00
Max Horn 7403492aea fixed non-bilinear mode (no black line in that anymore; fixing the bilinear case will be challenging, at the least...); some cleanup
svn-id: r8561
2003-06-19 16:33:46 +00:00
Max Horn ed43323597 some fixes for the GL backend - but there are still many things broken, e.g. Ctrl-B only acts on the second (of two) GL textures (which makes the black vertical line stand out even more)
svn-id: r8560
2003-06-19 16:16:35 +00:00
Travis Howell a0028d51d1 OpenGL working right now
svn-id: r8537
2003-06-17 17:34:52 +00:00
Travis Howell d5d61a5e05 Missed one
svn-id: r8536
2003-06-17 16:06:17 +00:00
Travis Howell a09e7a5615 Update backend with recent changes, hope this is right.
svn-id: r8535
2003-06-17 16:03:12 +00:00
Travis Howell 94e88917da Make OpenGL specific scaler use other keys so all normal scaler canbe made available.
svn-id: r8521
2003-06-17 06:13:57 +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 cb8d07fd62 Patch #736861: SDL/GL: AdvMame3x
svn-id: r7484
2003-05-13 15:58:27 +00:00
Max Horn 37724d9297 Patch #735294: AdvMame3x scaler
svn-id: r7409
2003-05-09 22:44:16 +00:00
Max Horn 5c93732d60 cleanup; added comment
svn-id: r7119
2003-04-25 20:03:00 +00:00
Travis Howell 1d1e111214 Add patch #723308 - SDL/GL with SDL scalers
svn-id: r7015
2003-04-18 01:19:30 +00:00
Travis Howell 252928f87a Add patch #721194 - SDL/GL: hotswap_gfx_mode (win32 and MacOS)
svn-id: r7012
2003-04-15 01:32:16 +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
Max Horn a4a4f043bf fix for the black rect bug in COMI (thanks to Erik)... guess is that the 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-12 14:18:05 +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 4bf96d1c8b changed OSystem to allow RBG<->16bit color conversion to be done in the backend; after all, the backend 'knows' best what format the overlay uses. Default implementations of RBGToColor and colorToRBG assume 565 mode, backends other than SDL may want to provide alternate implementations (SDL backend already does the right thing for non-565 modes)
svn-id: r5931
2002-12-13 16:15:58 +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
Travis Howell c9774f88d3 Add more OpenGL GFX modes, patch #630753
svn-id: r5351
2002-10-30 02:31:49 +00:00
Travis Howell 4d1a90a44c Add OpenGL GFX mode switch, patch #630448
svn-id: r5348
2002-10-29 14:57:32 +00:00
Travis Howell 99c8889bba More OpenGL updates, patch #628356
Make sure simon debug is enabled by default

svn-id: r5310
2002-10-25 14:56:58 +00:00
Travis Howell 2cbfd74e2d Add more OpenGL updates, patch #628356
svn-id: r5307
2002-10-25 03:13:56 +00:00
Travis Howell 968c1c5e79 Add more OpenGL updates, patch #627510
svn-id: r5301
2002-10-24 11:01:19 +00:00
James Brown 134468fd61 Patch 627178: OpenGL updates
svn-id: r5279
2002-10-23 08:52:20 +00:00
Max Horn d3a954861d patch #626629: add overlay support to SDL_g+OpenGL backend (still buggy!)
svn-id: r5226
2002-10-22 00:58:48 +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
Max Horn 523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +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