Max Horn
fbb9bc7834
fixed warning regarding overloaded virtual methods
...
svn-id: r8735
2003-07-04 11:19:25 +00:00
Joost Peters
8d4c6d7999
show detected game version at startup. (hopefully this will stop the wave of 'how do I find out what version I have' questions. we still need to alter the detection to allow 0.0348 to be the detected since it can't be uniquely identified by the number of dnr-entries (i.e. it has the same amount as v0.0331)
...
svn-id: r8734
2003-07-04 10:19:39 +00:00
Torbjörn Andersson
f5f9061d86
Allow "no-" prefix to long command-line options, e.g. --no-aspect-ratio,
...
to invert their meanings. This is useful for overriding settings in the
config file.
svn-id: r8733
2003-07-04 06:54:47 +00:00
Max Horn
ea3b77e3a6
rewrote desaturatePalette using integer arithmetics only
...
svn-id: r8732
2003-07-03 23:59:35 +00:00
Max Horn
0e2767e354
const
...
svn-id: r8731
2003-07-03 23:44:28 +00:00
Max Horn
097a2bc9d1
fixed warning
...
svn-id: r8730
2003-07-03 22:52:17 +00:00
Robert Göffringmann
16031e1b00
whoops
...
svn-id: r8729
2003-07-03 22:36:45 +00:00
Robert Göffringmann
396c34d44b
fixed showGameQuitMsg() and temporarily disabled sfx looping
...
svn-id: r8728
2003-07-03 22:32:18 +00:00
Max Horn
3ed9aae095
const correctness
...
svn-id: r8727
2003-07-03 22:06:13 +00:00
Max Horn
c60e1aeb86
cleanup for -Wundef
...
svn-id: r8726
2003-07-03 22:05:22 +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
Robert Göffringmann
2ea85c6d4e
Compact data for v. 0.0288, works as well as 0.0368 now.
...
svn-id: r8723
2003-07-03 17:17:32 +00:00
Max Horn
8f0c739f87
Timer now uses a mutex, which should make it thread safe (it wasn't before, particuarly bad if timers are implemented via threads), plus this should help in fixing race conditions in classes using class Timer
...
svn-id: r8722
2003-07-03 11:18:07 +00:00
Torbjörn Andersson
7404d5662d
Made read() return the number of bytes that were actually read, rather than
...
the number that was requested. A lot of our code obviously assumes this
behaviour, and the MP3 file player depends on it because otherwise, when
reaching the end of the file, it will think it read a full buffer, when in
fact it only got part of it and the rest is the remains from the previous
read.
This would cause a brief note from earlier in the track at the end of the
MI1 chapter one screen. Probably other cases as well.
Of course, this may cause regressions but only - I think - if the code was
buggy to begin with.
svn-id: r8721
2003-07-03 07:03:18 +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
a0133fdbc6
code transformation on setScaleItem: this shows that rtScaleTable's are actually (almost) the same as scale slots in V8.
...
svn-id: r8719
2003-07-03 01:24:50 +00:00
Max Horn
6598673ac3
cleanup
...
svn-id: r8718
2003-07-02 23:24:05 +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
James Brown
5b71113dcb
Finish a thought I started about the OpenGL filter
...
svn-id: r8716
2003-07-02 14:51:00 +00:00
Max Horn
621e356b42
don't default to the slowest aspect ratio correcter; rather use the medium one (good quality with acceptable speed)
...
svn-id: r8715
2003-07-02 14:47:06 +00:00
Max Horn
f27b711e79
fix for bug #753840 (actor placement in V2 games)
...
svn-id: r8714
2003-07-02 14:23:45 +00:00
Max Horn
a609989008
fix o2_loadRoomWithEgo regression (this bug was uncovered by my previous adjustXYToBeInBox improvment)
...
svn-id: r8713
2003-07-02 14:21:13 +00:00
James Brown
4efbf666af
Updates
...
svn-id: r8712
2003-07-02 14:09:00 +00:00
Max Horn
3e902944eb
added .cvsignore
...
svn-id: r8711
2003-07-02 13:47:48 +00:00
Max Horn
92fd56f9f0
removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix)
...
svn-id: r8710
2003-07-02 13:47:03 +00:00
Max Horn
4a3da1a2b7
cleaned up the actor ordering code a bit - it should be now somewhat clearer what it does exactly
...
svn-id: r8709
2003-07-02 11:32:32 +00:00
Max Horn
302f67e43f
fix for bug #752865 : MM: Man-Eating Plant is invisible
...
svn-id: r8708
2003-07-02 11:26:13 +00:00
Max Horn
fe8719d7bd
more cleanup
...
svn-id: r8707
2003-07-02 11:04:48 +00:00
Max Horn
01f992db9b
cleanup (code easier to read; slightly less rounding errors for the volume; and on BE systems, READ_BE_UINT16 is actually faster ;-)
...
svn-id: r8706
2003-07-02 10:50:04 +00:00
Torbjörn Andersson
cd269445f5
Initialize midiChannelNumber to 0. I don't know if this is always the right
...
thing to do, but leaving it unintialized isn't a good idea either since
that will cause stopMusic() to send bad commands to the MIDI driver in some
cases.
At least in the case of the ALSA driver, this will cause ScummVM to
terminate with an "Unknown Command" error.
svn-id: r8705
2003-07-02 06:43:24 +00:00
James Brown
8715968b2c
Readme and News update. Can somebody verify 'known bugs', as I think some of the music issues have been resolved (?)
...
svn-id: r8704
2003-07-02 03:29:05 +00:00
Robert Göffringmann
1b5ea45887
fixed save/restore grid problems
...
svn-id: r8703
2003-07-02 01:46:25 +00:00
Joost Peters
14cfa71ab7
oops
...
svn-id: r8702
2003-07-02 01:31:35 +00:00
Joost Peters
4248c08555
Control panel should be disabled for ALL demo versions
...
svn-id: r8701
2003-07-02 01:24:05 +00:00
Max Horn
5062bb06fa
100 KB instead of 2 MB audio buffer should be sufficient
...
svn-id: r8700
2003-07-02 00:53:38 +00:00
Max Horn
1d2a68064e
oops
...
svn-id: r8699
2003-07-02 00:51:25 +00:00
Max Horn
e376f73a99
cleanup
...
svn-id: r8698
2003-07-02 00:49:03 +00:00
Max Horn
2cb05bedb9
possible fix for bug #763714 : DIG: 'Trying to append to a nonexistant stream 0'
...
svn-id: r8697
2003-07-02 00:46:24 +00:00
Max Horn
33c5c72e4c
_talkChannel can legally be 0, too
...
svn-id: r8696
2003-07-02 00:38:17 +00:00
Max Horn
fe03de7243
fix for the 'invalid seeks' that sometimes occured at the end of smush playback (well I hope - at least now I can't reproduce the problem anymore with my testcases)
...
svn-id: r8695
2003-07-01 23:50:36 +00:00
Joost Peters
cff9817d44
removed unnecessary variables
...
svn-id: r8694
2003-07-01 23:44:31 +00:00
Robert Göffringmann
c66457664e
removed useless AR saving leftovers and implemented fnRestoreGame()
...
svn-id: r8693
2003-07-01 23:31:29 +00:00
Joost Peters
b7f9b1a5d8
fixed warnings
...
svn-id: r8692
2003-07-01 22:51:49 +00:00
Robert Göffringmann
665ab4a8d9
bass is completable now.
...
svn-id: r8691
2003-07-01 22:21:20 +00:00
Robert Göffringmann
ffaeb5424f
fixed mouse restore on savegame restore and bug in fnTheyStartSub
...
svn-id: r8690
2003-07-01 16:06:09 +00:00
Max Horn
09e47bad3d
only adjust gdi._mask if _charset->_hasMask is set to true
...
svn-id: r8689
2003-07-01 15:26:07 +00:00
Max Horn
4f91c49836
fix for when we scroll while text is being displayed (text used to leave traces behind in that case)
...
svn-id: r8688
2003-07-01 15:21:51 +00:00
Max Horn
89be032afd
fixed warning
...
svn-id: r8687
2003-07-01 13:07:17 +00:00
Robert Göffringmann
6e3cfa8a4e
bypassed copy protection, fixed crash when disconnecting from link space, fixed logix swing seqs
...
svn-id: r8686
2003-07-01 13:04:00 +00:00