Torbjörn Andersson
82c451774c
When scrolling, force a full redraw not only when the scroll offset changes
...
but also on the first frame where it doesn't. This is necessary because
parallax layers may be drawn on the *old* scroll offset (for reasons
unknown to me).
To see the bug, walk right from the first screen until you reach the tree.
Notice how the part of the tree you walk behind gets redrawn slightly to
the left.
svn-id: r13120
2004-03-01 08:04:10 +00:00
James Brown
b77231a9a3
Fix from Roever for bug #892827
...
svn-id: r13107
2004-03-01 04:05:10 +00:00
Max Horn
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
d158280425
the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
...
svn-id: r13036
2004-02-24 22:39:42 +00:00
Nicolas Bacca
e469cd43a7
Avoid deadlock in MPEG-2 cutscenes + slow devices
...
svn-id: r12996
2004-02-22 18:13:54 +00:00
Torbjörn Andersson
e40e3dd530
Cody56's fix for a minor graphics glitch.
...
<Cody56> but don't commit it to the 0.6.0 branch
svn-id: r12993
2004-02-22 16:31:32 +00:00
Torbjörn Andersson
95831a2d5b
Free _screenBuf and _screenGrid before allocating new ones.
...
svn-id: r12990
2004-02-22 16:09:34 +00:00
Max Horn
aa6ec62e9d
Patch #885904 (Flac Support) with some tweaks by me
...
svn-id: r12984
2004-02-22 14:11:16 +00:00
Max Horn
1d7eafe675
unified code a little
...
svn-id: r12974
2004-02-21 20:00:51 +00:00
Torbjörn Andersson
55556c813c
Proper handling of BS2 cutscene lead-outs, plus some other minor fixes.
...
svn-id: r12907
2004-02-15 14:22:54 +00:00
Travis Howell
154bd9e3c5
Fix for valgrind warning (From LavosSpawn)
...
svn-id: r12846
2004-02-13 11:04:15 +00:00
Nicolas Bacca
3c6114bd9c
Check for MP3 file in Broken Sword cutscenes - useful for WinCE backend as Tremor crashes for no specific reason (help appreciated :p) here
...
svn-id: r12837
2004-02-13 00:54:58 +00:00
Torbjörn Andersson
447e8d9386
Updated the cutscene playback code to use the new "elapsed time" mixer
...
function.
svn-id: r12831
2004-02-12 17:16:38 +00:00
Travis Howell
587622d664
More cutscene fixes from roever
...
svn-id: r12774
2004-02-08 14:11:11 +00:00
Max Horn
f59eb3b219
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
...
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
25e2688b4d
help poor VC7
...
svn-id: r12711
2004-02-01 21:10:26 +00:00
Max Horn
da76ac5890
Various changes to the build system which allow building ScummVM in an external directory (and as such, allow you to have a debug, a profiling, and a release build from the same set of source files in parallel). Work in progress
...
svn-id: r12680
2004-01-30 21:54:28 +00:00
Max Horn
2f8d19d004
avoid using huge static structs - they can't be stripped, and increase the exe size (in this case, 16 MB...)
...
svn-id: r12678
2004-01-30 20:57:23 +00:00
Max Horn
4dab40f123
fix whitespaces (we should eventually try to remove this code duplication again, folks. maybe add a 'video' global module or so...)
...
svn-id: r12676
2004-01-30 20:47:21 +00:00
Travis Howell
96e0a747f9
Add fix from eriktorbjorn to make sure screen is always updated during cutscnes.
...
svn-id: r12654
2004-01-28 04:11:06 +00:00
James Brown
33d7e5a093
Don't crash if unable to play cutscene music.
...
svn-id: r12566
2004-01-21 08:50:15 +00:00
Torbjörn Andersson
61c37c97c7
Changed printf() to warning()
...
svn-id: r12538
2004-01-20 13:28:49 +00:00
Torbjörn Andersson
bd34655abb
I assume this fixes CPU usage in synced cutscene playback, but since I
...
don't have said cutscenes I can't really check. (I did the same change for
BS2 though.)
svn-id: r12537
2004-01-20 13:27:17 +00:00
Max Horn
e67b734fd2
fixed warning
...
svn-id: r12494
2004-01-18 18:42:58 +00:00
Paweł Kołodziejski
ef9732f1f5
fix compilation
...
svn-id: r12467
2004-01-18 07:21:10 +00:00
James Brown
ad46828d1c
BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable)
...
svn-id: r12465
2004-01-18 05:52:04 +00:00
Nicolas Bacca
21eff1eef2
And again ... guess who fails compiling this ?
...
svn-id: r12453
2004-01-17 11:16:38 +00:00
Torbjörn Andersson
9b13e872b3
I found and fixed a nasty fade-up bug in BS2. I don't know if the same
...
situation could happen in BS1, but it's better to be safe than sorry, so
here are the same changes, as applied to the BS1 music code.
svn-id: r12393
2004-01-14 18:39:24 +00:00
Torbjörn Andersson
2fb7d4c553
Changed the music fading so that the volume is increased when ABS(_fading)
...
grows larger, both when fading up and down. This fixes the problem where
the volume would "jump" when changing the fading "direction" of a stream.
svn-id: r12373
2004-01-14 08:09:03 +00:00
Torbjörn Andersson
7309705db5
cleanup
...
svn-id: r12322
2004-01-11 16:53:33 +00:00
Torbjörn Andersson
efb03e0024
Changed dumpRes() to use the File class. (Untested.)
...
svn-id: r12321
2004-01-11 16:27:36 +00:00
Torbjörn Andersson
cf0a73f913
Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes in
...
the process, except for SwordEngine.
Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>,
<stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere.
svn-id: r12320
2004-01-11 15:47:41 +00:00
Robert Göffringmann
ce3855f02b
fix for bug #872916 : BS1 scrolling glitch
...
svn-id: r12271
2004-01-09 05:11:10 +00:00
Torbjörn Andersson
150805b18c
Merged read() and readBuffer(), like in BS2.
...
svn-id: r12248
2004-01-08 13:05:32 +00:00
Torbjörn Andersson
d9e67812e8
Changed spaces to tabs.
...
svn-id: r12235
2004-01-08 08:29:55 +00:00
Robert Göffringmann
63fbde359a
implemented drawing of additional scrolling frames
...
svn-id: r12223
2004-01-07 19:08:59 +00:00
Torbjörn Andersson
821bbed1e0
Tried to make the menus behave a bit more like the original. Perhaps most
...
noticeably:
* It no longer matters where you release the mouse button when talking to
someone. It uses whatever topic you selected on mouse-down.
* The inventory menu doesn't vanish if you're holding an object, even if
you move the pointer away from it.
* When using an object on a character (to talk to him about it), the top
menu fades away, rather than vanishing instantly.
Ok, that last change is rather non-obvious, but it does obsolete the
clearMenu() function, which has therefore been removed.
svn-id: r12222
2004-01-07 19:03:30 +00:00
Robert Göffringmann
8e30afd438
some changes for Czech version
...
svn-id: r12221
2004-01-07 18:08:24 +00:00
Robert Göffringmann
8030f1b148
implemented volume control panel
...
svn-id: r12220
2004-01-07 17:47:46 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Jonathan Gray
2be1b4d68a
start work on czech subtitle support, not finished
...
svn-id: r12175
2004-01-06 12:28:24 +00:00
Robert Göffringmann
7b86116a5d
fixed cd changing code
...
svn-id: r12174
2004-01-06 12:19:02 +00:00
Robert Göffringmann
e34d7b6c41
get volume from gamedetector
...
svn-id: r12169
2004-01-06 11:48:30 +00:00
Robert Göffringmann
9d547b183b
fixed screen updating
...
svn-id: r12146
2004-01-04 17:40:51 +00:00
Robert Göffringmann
4ca49386ed
fixed cd changing code
...
svn-id: r12145
2004-01-04 17:19:17 +00:00
Torbjörn Andersson
92561301ac
Deal gracefully with missing music files.
...
svn-id: r12144
2004-01-04 16:19:15 +00:00
Max Horn
d1e6c6059e
renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
...
svn-id: r12134
2004-01-04 14:00:58 +00:00
Robert Göffringmann
cfcb22939f
nothing.
...
svn-id: r12129
2004-01-04 06:38:14 +00:00
Robert Göffringmann
a9a84aee22
added control panel confirmation dialog.
...
svn-id: r12128
2004-01-04 06:31:29 +00:00
Robert Göffringmann
f0d0e4d4b3
removed speed button from control panel and made the game do a full screen refresh after leaving the control panel
...
svn-id: r12127
2004-01-04 05:21:22 +00:00