aboutsummaryrefslogtreecommitdiff
path: root/sword1
AgeCommit message (Collapse)Author
2004-05-02This fixes bug #917427, a masking problem, hopefully without causing anyTorbjörn Andersson
regressions. What the patch does is to make sure to check all layers when masking a sprite, since it's possible that it's being masked by several layers at the same time. The old code simply picked the first masking layer. svn-id: r13744
2004-03-31be tolerant against abuse of ConfMan.getInt(); add missing default value for ↵Max Horn
'speech_volume' in bs1 svn-id: r13435
2004-03-30Use vsprintf instead of vsnprintf: more portable, less safe (but then again, ↵Max Horn
vsnprinft isn't that safe either) svn-id: r13434
2004-03-30please fixPaweł Kołodziejski
svn-id: r13433
2004-03-28Renamed more OSystem methodsMax Horn
svn-id: r13410
2004-03-28Fix bug #920491 (BS1: Game crashes when savepath is invalid)Max Horn
svn-id: r13396
2004-03-24Use the binary .pal file format that was introduced for 0.6.0.Torbjörn Andersson
Invalidate the lookup table when the screen changes. (TODO: We also have to invalidate it if the change happens between cutscenes, don't we?) Some cleanup, particularly in the BS2 cutscene player. More needed, I guess... svn-id: r13377
2004-03-23Unify MPEG2 code even moreMax Horn
svn-id: r13365
2004-03-22share 'init' method, tooMax Horn
svn-id: r13361
2004-03-22some more cleanupMax Horn
svn-id: r13359
2004-03-22move commong code into separate source file (more could be done, but it's a ↵Max Horn
start) svn-id: r13358
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357
2004-03-21Unify a bit more...Max Horn
svn-id: r13354
2004-03-15fix doxygen-comment mistakesMax Horn
svn-id: r13286
2004-03-13When both music channels are used, and a third piece of music starts,Torbjörn Andersson
silence the channel that appears to be closest to silence already. This is the same method I used in BS2, and it might fix a glitch I heard at the Club Alamut. svn-id: r13234
2004-03-12Always play the "current music" after restoring a savegame, even if it's 0.Torbjörn Andersson
If it is, all that happens is that it silences the music. Otherwise, the current music that was playing before the game was restored will keep playing afterwards. (One example of this: I went into the Hotel Ubu and restored a savegame at the hospital. The piano music kept playing in the background.) svn-id: r13230
2004-03-07changed workaround again, it's also needed when entering the room, not only ↵Robert Göffringmann
when restoring a savegame. svn-id: r13216
2004-03-07work around script bug #911508 BS1: Crash when loading certain savegamesRobert Göffringmann
svn-id: r13215
2004-03-05Removed obsolete warning message from fnPlaySequence().Torbjörn Andersson
svn-id: r13195
2004-03-04Apply patch #907359 : Broken Sword videos improved frameskipNicolas Bacca
svn-id: r13180
2004-03-03Set the wantFade variable in initialize() as well. Otherwise it'll be falseTorbjörn Andersson
if you use the start-up dialog to restore an old savegame. svn-id: r13164
2004-03-02Display keyboard when savingNicolas Bacca
svn-id: r13151
2004-03-01When scrolling, force a full redraw not only when the scroll offset changesTorbjörn Andersson
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-01Fix from Roever for bug #892827James Brown
svn-id: r13107
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-02-22Avoid deadlock in MPEG-2 cutscenes + slow devicesNicolas Bacca
svn-id: r12996
2004-02-22Cody56's fix for a minor graphics glitch.Torbjörn Andersson
<Cody56> but don't commit it to the 0.6.0 branch svn-id: r12993
2004-02-22Free _screenBuf and _screenGrid before allocating new ones.Torbjörn Andersson
svn-id: r12990
2004-02-22Patch #885904 (Flac Support) with some tweaks by meMax Horn
svn-id: r12984
2004-02-21unified code a littleMax Horn
svn-id: r12974
2004-02-15Proper handling of BS2 cutscene lead-outs, plus some other minor fixes.Torbjörn Andersson
svn-id: r12907
2004-02-13Fix for valgrind warning (From LavosSpawn)Travis Howell
svn-id: r12846
2004-02-13Check for MP3 file in Broken Sword cutscenes - useful for WinCE backend as ↵Nicolas Bacca
Tremor crashes for no specific reason (help appreciated :p) here svn-id: r12837
2004-02-12Updated the cutscene playback code to use the new "elapsed time" mixerTorbjörn Andersson
function. svn-id: r12831
2004-02-08More cutscene fixes from roeverTravis Howell
svn-id: r12774
2004-02-05renamed (Const)Iterator to (const_)iterator; changed size() to return an uintMax Horn
svn-id: r12722
2004-02-01help poor VC7Max Horn
svn-id: r12711
2004-01-30Various changes to the build system which allow building ScummVM in an ↵Max Horn
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-30avoid using huge static structs - they can't be stripped, and increase the ↵Max Horn
exe size (in this case, 16 MB...) svn-id: r12678
2004-01-30fix whitespaces (we should eventually try to remove this code duplication ↵Max Horn
again, folks. maybe add a 'video' global module or so...) svn-id: r12676
2004-01-28Add fix from eriktorbjorn to make sure screen is always updated during cutscnes.Travis Howell
svn-id: r12654
2004-01-21Don't crash if unable to play cutscene music.James Brown
svn-id: r12566
2004-01-20Changed printf() to warning()Torbjörn Andersson
svn-id: r12538
2004-01-20I assume this fixes CPU usage in synced cutscene playback, but since ITorbjörn Andersson
don't have said cutscenes I can't really check. (I did the same change for BS2 though.) svn-id: r12537
2004-01-18fixed warningMax Horn
svn-id: r12494
2004-01-18fix compilationPaweł Kołodziejski
svn-id: r12467
2004-01-18BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable)James Brown
svn-id: r12465
2004-01-17And again ... guess who fails compiling this ?Nicolas Bacca
svn-id: r12453
2004-01-14I found and fixed a nasty fade-up bug in BS2. I don't know if the sameTorbjörn Andersson
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