Commit graph

133 commits

Author SHA1 Message Date
Max Horn
97c3150924 while this fixed a problem with sdl_gl on OS X, it causes annoying problems with fullscreen mode with the regular SDL backend on OS X -> disabling it (plus I couldn't reproduce this segfault with the GL backend anymore, too)
svn-id: r9468
2003-08-04 22:25:51 +00:00
Max Horn
679e818b0b oops, accidentally commited this one
svn-id: r9465
2003-08-04 16:50:26 +00:00
Max Horn
00861f8841 fix for bug #781903 (ALL: jerky cursor movement regression)
svn-id: r9446
2003-08-03 23:34:04 +00:00
Max Horn
103112dd3d removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
2003-08-02 00:36:38 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
svn-id: r9359
2003-08-01 12:21:04 +00:00
Max Horn
1b52e9f19c added new header file backends/intern.h; removed some stuff from common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h)
svn-id: r9327
2003-07-31 12:33:33 +00:00
Max Horn
dad1586daf reset some CD related vars when AudioCD is opened
svn-id: r9144
2003-07-23 09:41:21 +00:00
Travis Howell
fc5080bfb2 Ooops that should not have been commmited
svn-id: r9142
2003-07-23 05:18:47 +00:00
Travis Howell
13dae9b394 fm towns cd audio fix from Hibernatus
svn-id: r9141
2003-07-23 05:17:21 +00:00
Max Horn
7665890d97 forgot to commit this one
svn-id: r9133
2003-07-22 20:38:01 +00:00
Max Horn
73e7afaf18 adjusted to play_cdrom parameter name change in common/system.h
svn-id: r9132
2003-07-22 20:36:43 +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
a4b5891dd1 Use automatic dirty rect code for simon games for now to reduce CPU usage
svn-id: r9093
2003-07-20 15:31:47 +00:00
Max Horn
a0545a22ae whitespace
svn-id: r9089
2003-07-20 01:39:08 +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
Max Horn
4611b12c0a updated backends to use type MutexRef
svn-id: r8776
2003-07-05 15:17:46 +00:00
Travis Howell
39abb7cf0a Add more OpenGL fixes, patch #762815
svn-id: r8775
2003-07-05 13:41:14 +00:00
Max Horn
30d985afb9 const correctness
svn-id: r8725
2003-07-03 21:45:04 +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
Paweł Kołodziejski
87b5f750e7 fixed warnings
svn-id: r8622
2003-06-22 15:00:51 +00:00
Torbjörn Andersson
160c4f9104 Fixed the last (?) glitches around the mouse cursor [*] in aspect-ratio
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-22 14:59:21 +00:00
Max Horn
4604b2600e use float instead of double
svn-id: r8617
2003-06-22 14:39:55 +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
2b3ad36791 typo
svn-id: r8574
2003-06-20 23:21:06 +00:00
Max Horn
cafe61b768 uhm - dunno how that slipped in =)
svn-id: r8570
2003-06-20 11:05:57 +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
2a1b3d633d oops
svn-id: r8567
2003-06-20 01:12:34 +00:00
Max Horn
5cd8bc2942 cleanup
svn-id: r8566
2003-06-20 00:48:17 +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
Max Horn
c7b19406cd temporary & nasty workaround for crash-on-exit in OS X + SDL/GL backend
svn-id: r8534
2003-06-17 15:33:17 +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
b8b80805c1 fixed 'quit' entry in help for Mac OS X; disabled Alt-X/Ctrl-Z on OS X (Cmd-Q is the one and only true way to quit here :-)
svn-id: r8505
2003-06-15 11:32:14 +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
Torbjörn Andersson
8ab745de66 Finally fixed a slight bug in the CoMI cannon behaviour.
svn-id: r8401
2003-06-08 14:55:21 +00:00
Max Horn
be9e6e85db added quit event
svn-id: r8398
2003-06-08 12:11:14 +00:00
Max Horn
7411034215 make code use our coding conventions
svn-id: r8340
2003-06-05 23:56:32 +00:00