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
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
Max Horn
24d74274cf
proposal for revised scaler keyboard shortcuts
...
svn-id: r10442
2003-09-27 21:41:10 +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
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
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
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
73e7afaf18
adjusted to play_cdrom parameter name change in common/system.h
...
svn-id: r9132
2003-07-22 20:36:43 +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
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
Max Horn
30d985afb9
const correctness
...
svn-id: r8725
2003-07-03 21:45:04 +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
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
11ff7fe9a3
Patch #757827 : Aspect-ratio correction
...
svn-id: r8605
2003-06-22 11:55:40 +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
Bertrand Augereau
d510447d05
optimisation to blit rects in one shot when width=pitch=screenwidth
...
svn-id: r8317
2003-06-05 07:52:50 +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
24005adfd0
pedantic fixes
...
svn-id: r7789
2003-05-21 16:59:51 +00:00
Max Horn
2e8ff540cf
init _paletteDirtyStart/_paletteDirtyEnd to 0
...
svn-id: r7716
2003-05-20 10:49:05 +00:00
Max Horn
e91bf4df2f
fixed my wrong fix for move_screen
...
svn-id: r7623
2003-05-18 02:40:54 +00:00
Oliver Kiehl
0a8cdad264
make gcc 3.3 happy
...
svn-id: r7621
2003-05-17 23:48:32 +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
37724d9297
Patch #735294 : AdvMame3x scaler
...
svn-id: r7409
2003-05-09 22:44:16 +00:00
Jonathan Gray
9f9af13a01
fix another leak
...
svn-id: r7245
2003-05-01 12:42:46 +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