aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
2003-09-25Really clear the screen during the credits.Torbjörn Andersson
svn-id: r10408
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-23Since we probably won't have anything like the original BS2 launcher menu,Torbjörn Andersson
make the 'C' key run the credits. I haven't yet implemented the credits function, but it does play the music at least. svn-id: r10366
2003-09-23whitespace fixesTorbjörn Andersson
svn-id: r10365
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-22Set the mixer to use the maximum volume. BS2 has its own volume settings,Torbjörn Andersson
and we want them to go all the way up to eleven. svn-id: r10362
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-21fix convertEndian compilation (thanks erik for giving me some work :-); also ↵Max Horn
removed the #ifdef around it, to prevent such 'incidences' in the future svn-id: r10356
2003-09-21cleanupTorbjörn Andersson
svn-id: r10352
2003-09-21Removed original ProcessMenu() code.Torbjörn Andersson
svn-id: r10351
2003-09-21ScummVM code formatting conventionsTorbjörn Andersson
svn-id: r10350
2003-09-21Some cleanup - lots more needed!Torbjörn Andersson
svn-id: r10348
2003-09-20The usual cleanup. Removed the "run from CD" check.Torbjörn Andersson
This pretty much concludes the first stage of the engine cleanup. All of the files, except for console/debugging stuff and possibly some header files, have been changed to use the ScummVM brace style. As for the console, that one could probably do with some rewriting, in which case cleaning it up first would just be unnecessary work. The next stages of the cleanup should include renaming of variables and functions to follow the ScummVM coding standards, and turning everything into C++ classes. And so on. Of course, the driver directory should go through a similar cleanup as well. This has all been enormously tedious, so don't count on me doing any of these things at the moment. Particularly not turning everything into C++ classes. I'm really not that familiar with C++. :-) svn-id: r10340
2003-09-20The usual cleanup, plus make sure to delete SaveFileManager ifTorbjörn Andersson
open_savefile() fails. svn-id: r10339
2003-09-20cleanupTorbjörn Andersson
svn-id: r10338
2003-09-20cleanupTorbjörn Andersson
svn-id: r10337
2003-09-20Cleanup. I removed the PLOT_PATHS blocks since they depended on someTorbjörn Andersson
functions we don't have, and since I didn't deem them useful to us. But feel free to put them back if you like to. I'd also like to take this opportunity to say that while I deeply admire how smoothly BS2 handles the transition between stock animations (e.g. walking) and special-purpose animations, it certainly needs an unholy amount of code to do so. svn-id: r10336
2003-09-20cleanupTorbjörn Andersson
svn-id: r10335
2003-09-20Clarified commentTorbjörn Andersson
svn-id: r10334
2003-09-20cleanupTorbjörn Andersson
svn-id: r10333
2003-09-20The 'colliding' flag is never set to anything else than zero, so it shouldTorbjörn Andersson
be safe to remove it. (I'll remove it completely soon, but I'll start here to avoid compilation errors.) svn-id: r10331
2003-09-20Minor cleanupTorbjörn Andersson
svn-id: r10330
2003-09-19cleanupTorbjörn Andersson
svn-id: r10314
2003-09-19cleanupMax Horn
svn-id: r10313
2003-09-19cleanupTorbjörn Andersson
svn-id: r10310
2003-09-19cleanupTorbjörn Andersson
svn-id: r10308
2003-09-19Cleanup. Apart from reformatting, I've also removed the #ifdef blocks toTorbjörn Andersson
skip or mute cutscenes. At the very least, we want to show the subtitles like we do now. svn-id: r10307
2003-09-18added initial support for building our 4 adventure engines as loadable ↵Max Horn
modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP svn-id: r10304
2003-09-18plugin work: right now, only with build rules for OS X. Once I can get it to ↵Max Horn
work here, I'll add more build rules. Work in progress, a lot ain't work, but the plugin stuff is disabled by default, so no harm should arise svn-id: r10292
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-17new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there ↵Max Horn
(this removes the need for an ugly hack in the build system, and is also conceptionally cleaner) svn-id: r10282
2003-09-17some tweaks to the build system (work toward plugin support)Max Horn
svn-id: r10279
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-17remove unused variableMax Horn
svn-id: r10276
2003-09-17cleanupTorbjörn Andersson
svn-id: r10274
2003-09-17cleanupTorbjörn Andersson
svn-id: r10273
2003-09-17Rewrote Read_file() to use our File class, and removed the unused functionsTorbjörn Andersson
Direct_read_file() and Direct_write_file(). This change is completely untested, but that should be ok since Read_file() (which is now the only function left in tony_gsdk.cpp) only seems to be used in debug builds. Perhaps we should remove these files completely? svn-id: r10272