159 Commits

Author SHA1 Message Date
Jamieson Christian
98a16da50b For those us who have to hit Shift to get to +
svn-id: r10624
2003-10-06 00:09:26 +00:00
Max Horn
2e27e74fb4 implemented new 'nice' scaler hotkeys
svn-id: r10613
2003-10-05 15:04:25 +00:00
Max Horn
16e4897531 cleanup
svn-id: r10612
2003-10-05 14:41:30 +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
afd9119d37 small remark
svn-id: r10579
2003-10-04 00:12:30 +00:00
Max Horn
bebaf0e0fc You have been a thorn in my side for far too long Avatar^H^H^H^H^H^H bad code
svn-id: r10554
2003-10-03 00:30:56 +00:00
Jonathan Gray
eecdf67c63 disable joystick input by default either command line or config file need to be used to enable it now, ability to choose joystick number to use also added
svn-id: r10518
2003-10-01 10:47:19 +00:00
Torbjörn Andersson
2d3e970496 Slightly more sensible hotkeys for the scalers. Hq2x is now number 8, right
after AdvMame2x, and 9 and 0 are AdvMame3x and Hq3x respectively.

I agree with Fingolfin that we'll need a better way of handling this in the
future, though.

svn-id: r10461
2003-09-28 14:27:08 +00:00
Jamieson Christian
072bf0f476 Fixed program crash when trying to switch to a
video mode that isn't supported (such as going
to fullscreen under COMI with a 3x scaler and
a video card that doesn't like 1920x1440 LOL).

The program still terminates when this happens,
due to the suboptimal way we make the switch to
another video mode. (By the time we find out
that we can't make the switch, it's too late to
revert back). But at least it doesn't crash.

svn-id: r10449
2003-09-27 23:41:57 +00:00
Max Horn
24d74274cf proposal for revised scaler keyboard shortcuts
svn-id: r10442
2003-09-27 21:41:10 +00:00
Max Horn
7d2fff0012 added hq2x scaler
svn-id: r10439
2003-09-27 21:20:00 +00:00
Max Horn
49d2a22b42 OSystem changes: removed create_thread() method (not needed anymore; 'pure' threads aren't very portable anyway, better we only use timers); introduced OSystem::TimerProc type
svn-id: r10430
2003-09-27 16:54:11 +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
d9b0a79390 fixed some pointer cast warnings on systems with 64 bit pointers (like AMD64)
svn-id: r10315
2003-09-19 19:11:33 +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
75d4f45a8d moved set_mouse_pos around just to make clear it's not part of the OSystem API anymore
svn-id: r10187
2003-09-11 23:53: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
ac72d0cec7 removed some superfluous newlines
svn-id: r10086
2003-09-08 11:54:13 +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
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