65 Commits

Author SHA1 Message Date
Travis Howell
90d35c0f13 Add old change from SDL backends, give error if video mode isn't support.
svn-id: r10712
2003-10-10 10:03:02 +00:00
Travis Howell
661d583303 Ooops
svn-id: r10598
2003-10-05 00:50:21 +00:00
Travis Howell
03200d8327 Remove unneeded case.
Disable code that causes crash when using opengl from command line for now.

svn-id: r10597
2003-10-05 00:46:46 +00:00
Max Horn
48fd7e39d5 cleanup
svn-id: r10596
2003-10-05 00:40:25 +00:00
Max Horn
a8da69bca5 fixed some broken scaler related checks
svn-id: r10595
2003-10-05 00:28:23 +00:00
Max Horn
4a84b356f8 revert the 'reverse Y axis' hack
svn-id: r10594
2003-10-04 23:49:04 +00:00
Max Horn
d4734bd4f2 use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
svn-id: r10592
2003-10-04 11:50:21 +00:00
Max Horn
7d2fff0012 added hq2x scaler
svn-id: r10439
2003-09-27 21:20:00 +00:00
Torbjörn Andersson
308e88965a Made Ctrl-Alt 9 the hotkey for the new hq3x scaler, and moved the scanlines
and dotmatrix ones to Ctrl-Alt C and Ctrl-Alt-D.

(Does anyone else feel that scanlines and dotmatrix should either be
rewritten so that they can be combined with any scaler and aspect ratio
correction, or removed? That's why I moved them off the Ctrl-Alt <digit>
hotkeys.)

svn-id: r10353
2003-09-21 17:05:07 +00:00
Max Horn
74e3448a4c added HQ3x filter
svn-id: r10346
2003-09-21 12:10:32 +00:00
Max Horn
ad09725b3e evil fix for #bug 801293 (ALL: Ctrl+alt+b opengl switch) and some cleanup
svn-id: r10248
2003-09-14 12:52:38 +00:00
Max Horn
110152ddcf moved declaration of error/warning/debug from engine.h to util.h
svn-id: r10149
2003-09-10 12:15:51 +00:00
Max Horn
6ac86b9760 added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGui
svn-id: r10047
2003-09-06 20:21:54 +00:00
Travis Howell
ab59623930 Add screenshot option for sdl backends, patch #590233
svn-id: r9821
2003-08-22 07:40:40 +00:00
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