aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
AgeCommit message (Collapse)Author
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
2003-09-21No need to do endian conversion if you check for 0, as BE 0 == LE 0Max Horn
svn-id: r10359
2003-09-21cleanupTorbjörn Andersson
svn-id: r10352
2003-09-21Removed original ProcessMenu() code.Torbjörn Andersson
svn-id: r10351
2003-09-21Some cleanup - lots more needed!Torbjörn Andersson
svn-id: r10348
2003-09-19cleanupTorbjörn Andersson
svn-id: r10308
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-17added a static method setDefaultDirectory to class File; used this to ↵Max Horn
simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes svn-id: r10278
2003-09-17cleanupMax Horn
svn-id: r10277
2003-09-16Removed some unnecessary #includes and #defines.Torbjörn Andersson
svn-id: r10264
2003-09-16Some cleanup. More to follow, I hope.Torbjörn Andersson
svn-id: r10263
2003-09-14actually this is the correct fix to "Cutscene - Press ESC to exit" :)Oliver Kiehl
svn-id: r10259
2003-09-14fix "Cutscene - Press ESC to exit" messageOliver Kiehl
svn-id: r10258
2003-09-13cleanupMax Horn
svn-id: r10236
2003-09-13pack _parallax to be on the safe sideOliver Kiehl
svn-id: r10234
2003-09-13fix speech on BEOliver Kiehl
svn-id: r10229
2003-09-13some more endian fixesOliver Kiehl
svn-id: r10224