aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
2003-09-27cleanupTorbjörn Andersson
svn-id: r10424
2003-09-27add alternate sword2 target for people who want to use the gui for game ↵Jonathan Gray
detection when the game is either a) on CD b) in a bunch of seperate directories in a structure like that of the CD. Of course pointing ScummVM at such things with the normal target via command line or config file work fine. As everyone awake at the moment only has the sold out version, this is specific to that. I don't know what files are at the root of the original CD we can use for detection purposes svn-id: r10423
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-26Some more reformatting / cleanup, and removal of comments that did nothingTorbjörn Andersson
but say who added what when. (No disrespect intended, but this information means very little to us.) svn-id: r10413
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-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