aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
AgeCommit message (Collapse)Author
2003-10-08cleanupTorbjörn Andersson
svn-id: r10681
2003-10-08Some more cosmetic changes while I'm considering the next move. (Or maybeTorbjörn Andersson
I'm just hoping that if I stall long enough, someone else will make the move for me. :-) svn-id: r10676
2003-10-07Some cleanup, some code removal and some unstubbing. Nothing important.Torbjörn Andersson
svn-id: r10659
2003-10-05Made a separate class for the cutscene functions, removed some unused codeTorbjörn Andersson
and made some other minor cleanups. svn-id: r10614
2003-10-04use namespace Common a bit more; don't zero the RNG in scumm (else the seed ↵Max Horn
gets reset); remove obsolete 256 color blending code svn-id: r10592
2003-10-04Moved some stuff out of driver96.h. Eventually I'd like to get rid of mostTorbjörn Andersson
Moved some stuff out of driver96.h. Eventually I'd like to get rid of this file completely. Or at the very least most of it. svn-id: r10589
2003-10-04Changed to use #include "bs2/..." and removed the inclusion of standard CTorbjörn Andersson
headers. Most (all?) of the ones we need should probably come from stdafx.h instead. svn-id: r10588
2003-10-04removed Sword2 prefixes of most classes (made obsolete by our namespace ↵Max Horn
usage); renamed Sword2State to Sword2Engine svn-id: r10583
2003-10-04added namespace Sword2Max Horn
svn-id: r10581
2003-10-03fix doxygen commentMax Horn
svn-id: r10570
2003-10-03use C++ struct naming instead of typedefs -> this fixes (or works around, ↵Max Horn
whatever you prefer to call it) the GCC_PACK problem in Doxygen svn-id: r10569
2003-10-03Some renaming (ironic in the light of Fingolfin's recent namespaceTorbjörn Andersson
suggestion, but I prepared the patch long before reading the mail :-). Also, the remaining parts of the control panel etc. have been moved into a class of their own. This is still work in progress. I'm well aware that some of the classes aren't as well separated as they ought to be, and that using global variables to keep track of the different classes probably isn't pretty. svn-id: r10561
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-10-02Cleanups, mostly related to sound effects.Torbjörn Andersson
svn-id: r10532
2003-10-01ScummVM naming conventions and cleanup in the Sword2Sound class.Torbjörn Andersson
svn-id: r10514
2003-09-30Clear cutscene subtitles before changing back the palette, and slow downTorbjörn Andersson
the subtitles slightly. svn-id: r10503
2003-09-30Moved the memory manager functions into an object of its own (and enabledTorbjörn Andersson
debugging levels). This needs further cleanups, but I believe I have reached a stable point where I can commit it without too much anxiety. svn-id: r10502
2003-09-29Removed - it's the same file as _mouse.hTorbjörn Andersson
svn-id: r10487
2003-09-29cleanupTorbjörn Andersson
svn-id: r10486
2003-09-29cleanup (I meant to do this in my previous commit)Torbjörn Andersson
svn-id: r10485
2003-09-29cleanupTorbjörn Andersson
svn-id: r10484
2003-09-29cleanupTorbjörn Andersson
svn-id: r10483
2003-09-28cleanupTorbjörn Andersson
svn-id: r10468
2003-09-28cleanupTorbjörn Andersson
svn-id: r10467
2003-09-28More cleanup, plus support for cutscene leadout music. For now, we onlyTorbjörn Andersson
play that music for cutscenes that have subtitles. svn-id: r10460
2003-09-28Alignment fixNicolas Bacca
svn-id: r10459
2003-09-27cleanupTorbjörn Andersson
svn-id: r10432
2003-09-27Began unifying the function documentation in driver96.h with the one in theTorbjörn Andersson
individual files, into what I hope are doxygen ones. svn-id: r10431
2003-09-27Save enough information about the currently playing music before theTorbjörn Andersson
credits so that it can be properly resumed afterwards. svn-id: r10429
2003-09-27Removed CopyScreenBuffer() since it was a no-op anyway.Torbjörn Andersson
svn-id: r10427
2003-09-27cleanupTorbjörn Andersson
svn-id: r10426
2003-09-27I don't think UpdatePaletteMatchTable() has to write the table to file. InTorbjörn Andersson
fact, I'm not even sure the !data case ever happens. svn-id: r10425
2003-09-27cleanupTorbjörn Andersson
svn-id: r10424
2003-09-27More cleanup, and I've replaced most - not quite all - of BS2's debugTorbjörn Andersson
message functions with our own. We still need to go through them and assign sensible debug levels to them. svn-id: r10422
2003-09-26cleanupTorbjörn Andersson
svn-id: r10415
2003-09-26Ok, I'm stupid.Torbjörn Andersson
The initial sample is, indeed, two bytes, just like the rest of them, but it really, really helps if you read it from the correct position in the file. After fixing that, it turned out that my changing of signedness of the sample was also wrong. Funny how those two bugs almost cancelled each other out. Almost. I've made a few other changes as well, but they're just to clean things up a bit. The credits music works for me, and I've played the game up to arriving in Quaramonte, with no obvious music-related problems. svn-id: r10412
2003-09-25Reverted part of the previous change. Control panel music should work againTorbjörn Andersson
but the credits music is still broken. I'll have to take a closer look at this later. svn-id: r10407
2003-09-25Some minor fixes. Unfortunately I've noticed that there is some major soundTorbjörn Andersson
distortion in the credits music, and I haven't yet figured out what's causing this. svn-id: r10406
2003-09-25Rewrote the music code to use a premix function instead of a timer. I'mTorbjörn Andersson
speculating that the timer didn't always fill the buffer quite fast enough and that this is what caused the occasional popping noises. Of course, I may have introduced all kinds of regressions - particularly since I don't have any big-endian computer to test on - but we're all friends here, right? :-) svn-id: r10404
2003-09-24Replaced abs() with ABS and BOOL with bool, plus some minor cleanups.Torbjörn Andersson
svn-id: r10391
2003-09-23Removed unused / replaced source code. This turned out to be most of theTorbjörn Andersson
file. :-) svn-id: r10385
2003-09-23Removed ancient version history. Much of it doesn't apply to us, and wasTorbjörn Andersson
cluttering up the files anyway. (Though I do feel a slight twinge of guilt for removing historical records like this. :-) svn-id: r10384
2003-09-23Must ... make ... space ... for ... FotAQ ...Torbjörn Andersson
svn-id: r10383
2003-09-23Removed the screenshot code. (The SDL backend already has the ability toTorbjörn Andersson
make screenshots.) svn-id: r10382
2003-09-23Changed the keyboard handling to store "keyboard events", rather than justTorbjörn Andersson
characters. Hopefully this will make things work smoother on the Mac, but I have no way of testing that. svn-id: r10376
2003-09-23Fixed really brain-dead bug. (I made it myself - I can call it whatever ITorbjörn Andersson
want to! :-) Escaping a cutscene while the voice-over is playing should work now. svn-id: r10369
2003-09-23Removed unused codeTorbjörn Andersson
svn-id: r10368
2003-09-23cleanupTorbjörn Andersson
svn-id: r10367
2003-09-23Initialize the cutscene voice-over sound handle, in case you press EscapeTorbjörn Andersson
before there is any speech. svn-id: r10364
2003-09-22Cleaned up the sound code enough to add cutscene voice-overs. I haven't hadTorbjörn Andersson
the time to do much testing yet, but it seems to work for me. svn-id: r10361