Torbjörn Andersson
7fff8b0134
Removed - it's the same file as _mouse.h
...
svn-id: r10487
2003-09-29 14:20:36 +00:00
Torbjörn Andersson
4d5f98fd2f
cleanup
...
svn-id: r10486
2003-09-29 14:19:22 +00:00
Torbjörn Andersson
33685d8350
cleanup (I meant to do this in my previous commit)
...
svn-id: r10485
2003-09-29 14:06:02 +00:00
Torbjörn Andersson
3cdf7abe68
cleanup
...
svn-id: r10484
2003-09-29 13:46:49 +00:00
Torbjörn Andersson
8284aa2047
cleanup
...
svn-id: r10483
2003-09-29 13:38:17 +00:00
Torbjörn Andersson
93b8cefe19
Tiny whitespace / comment change.
...
svn-id: r10478
2003-09-29 06:48:48 +00:00
Torbjörn Andersson
0ac7630ebb
cleanup
...
svn-id: r10468
2003-09-28 16:38:00 +00:00
Torbjörn Andersson
d4f6639802
cleanup
...
svn-id: r10467
2003-09-28 16:27:51 +00:00
Torbjörn Andersson
49fa159ed4
More cleanup, plus support for cutscene leadout music. For now, we only
...
play that music for cutscenes that have subtitles.
svn-id: r10460
2003-09-28 14:13:57 +00:00
Nicolas Bacca
1f5d51c258
Alignment fix
...
svn-id: r10459
2003-09-28 14:08:20 +00:00
Torbjörn Andersson
1d831d0cea
cleanup
...
svn-id: r10432
2003-09-27 17:41:02 +00:00
Torbjörn Andersson
54a2470c9f
Began unifying the function documentation in driver96.h with the one in the
...
individual files, into what I hope are doxygen ones.
svn-id: r10431
2003-09-27 17:00:15 +00:00
Torbjörn Andersson
e19e7c879a
Save enough information about the currently playing music before the
...
credits so that it can be properly resumed afterwards.
svn-id: r10429
2003-09-27 16:10:43 +00:00
Torbjörn Andersson
796fcfff7e
Removed inaccurate comment
...
svn-id: r10428
2003-09-27 16:05:40 +00:00
Torbjörn Andersson
d1df731855
Removed CopyScreenBuffer() since it was a no-op anyway.
...
svn-id: r10427
2003-09-27 15:44:26 +00:00
Torbjörn Andersson
bac0fab43d
cleanup
...
svn-id: r10426
2003-09-27 15:38:42 +00:00
Torbjörn Andersson
442fd0cdf8
I don't think UpdatePaletteMatchTable() has to write the table to file. In
...
fact, I'm not even sure the !data case ever happens.
svn-id: r10425
2003-09-27 15:30:17 +00:00
Torbjörn Andersson
3278a0dce6
cleanup
...
svn-id: r10424
2003-09-27 15:20:15 +00:00
Jonathan Gray
f9352cfc1c
add alternate sword2 target for people who want to use the gui for game 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-27 15:01:35 +00:00
Torbjörn Andersson
8ad28e3a7e
More cleanup, and I've replaced most - not quite all - of BS2's debug
...
message functions with our own.
We still need to go through them and assign sensible debug levels to them.
svn-id: r10422
2003-09-27 11:02:58 +00:00
Torbjörn Andersson
f18b4addb8
cleanup
...
svn-id: r10415
2003-09-26 14:19:03 +00:00
Torbjörn Andersson
b21208e6a9
Some more reformatting / cleanup, and removal of comments that did nothing
...
but say who added what when. (No disrespect intended, but this information
means very little to us.)
svn-id: r10413
2003-09-26 10:07:18 +00:00
Torbjörn Andersson
b7a5024daf
Ok, I'm stupid.
...
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-26 06:26:18 +00:00
Torbjörn Andersson
f5d8300043
Really clear the screen during the credits.
...
svn-id: r10408
2003-09-25 13:04:46 +00:00
Torbjörn Andersson
a4b32b67e8
Reverted part of the previous change. Control panel music should work again
...
but the credits music is still broken. I'll have to take a closer look at
this later.
svn-id: r10407
2003-09-25 11:35:54 +00:00
Torbjörn Andersson
b9cc1725b7
Some minor fixes. Unfortunately I've noticed that there is some major sound
...
distortion in the credits music, and I haven't yet figured out what's
causing this.
svn-id: r10406
2003-09-25 10:02:52 +00:00
Torbjörn Andersson
99eee3fb84
Rewrote the music code to use a premix function instead of a timer. I'm
...
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-25 06:11:07 +00:00
Torbjörn Andersson
09a01e4cbe
Replaced abs() with ABS and BOOL with bool, plus some minor cleanups.
...
svn-id: r10391
2003-09-24 06:40:23 +00:00
Torbjörn Andersson
6e59a2df00
Removed unused / replaced source code. This turned out to be most of the
...
file. :-)
svn-id: r10385
2003-09-23 17:24:45 +00:00
Torbjörn Andersson
4ae1674a44
Removed ancient version history. Much of it doesn't apply to us, and was
...
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-23 16:53:25 +00:00
Torbjörn Andersson
95a59bd049
Must ... make ... space ... for ... FotAQ ...
...
svn-id: r10383
2003-09-23 16:38:38 +00:00
Torbjörn Andersson
bef1facdbc
Removed the screenshot code. (The SDL backend already has the ability to
...
make screenshots.)
svn-id: r10382
2003-09-23 16:13:13 +00:00
Torbjörn Andersson
57d99796ea
Changed the keyboard handling to store "keyboard events", rather than just
...
characters. Hopefully this will make things work smoother on the Mac, but I
have no way of testing that.
svn-id: r10376
2003-09-23 15:59:52 +00:00
Torbjörn Andersson
273e1ac1a0
Fixed really brain-dead bug. (I made it myself - I can call it whatever I
...
want to! :-) Escaping a cutscene while the voice-over is playing should
work now.
svn-id: r10369
2003-09-23 06:34:19 +00:00
Torbjörn Andersson
fa8ccef9a4
Removed unused code
...
svn-id: r10368
2003-09-23 06:31:13 +00:00
Torbjörn Andersson
c7b8a6c01b
cleanup
...
svn-id: r10367
2003-09-23 06:30:52 +00:00
Torbjörn Andersson
f8591911ab
Since we probably won't have anything like the original BS2 launcher menu,
...
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-23 06:27:58 +00:00
Torbjörn Andersson
0ac7aa0671
whitespace fixes
...
svn-id: r10365
2003-09-23 06:23:29 +00:00
Torbjörn Andersson
bd6eece093
Initialize the cutscene voice-over sound handle, in case you press Escape
...
before there is any speech.
svn-id: r10364
2003-09-23 06:22:36 +00:00
Torbjörn Andersson
f3f7489b49
Set the mixer to use the maximum volume. BS2 has its own volume settings,
...
and we want them to go all the way up to eleven.
svn-id: r10362
2003-09-22 14:55:17 +00:00
Torbjörn Andersson
8e28b0c6b4
Cleaned up the sound code enough to add cutscene voice-overs. I haven't had
...
the time to do much testing yet, but it seems to work for me.
svn-id: r10361
2003-09-22 06:36:38 +00:00
Max Horn
58721a629d
No need to do endian conversion if you check for 0, as BE 0 == LE 0
...
svn-id: r10359
2003-09-21 18:25:34 +00:00
Max Horn
4a70a93590
fix convertEndian compilation (thanks erik for giving me some work :-); also removed the #ifdef around it, to prevent such 'incidences' in the future
...
svn-id: r10356
2003-09-21 18:10:12 +00:00
Torbjörn Andersson
df6028b17a
cleanup
...
svn-id: r10352
2003-09-21 16:19:25 +00:00
Torbjörn Andersson
dadad7bafa
Removed original ProcessMenu() code.
...
svn-id: r10351
2003-09-21 16:16:49 +00:00
Torbjörn Andersson
3c7c60196f
ScummVM code formatting conventions
...
svn-id: r10350
2003-09-21 16:11:26 +00:00
Torbjörn Andersson
bfa5c61734
Some cleanup - lots more needed!
...
svn-id: r10348
2003-09-21 14:26:25 +00:00
Torbjörn Andersson
23373b0123
The usual cleanup. Removed the "run from CD" check.
...
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-20 18:33:24 +00:00
Torbjörn Andersson
ffce9177d0
The usual cleanup, plus make sure to delete SaveFileManager if
...
open_savefile() fails.
svn-id: r10339
2003-09-20 17:48:53 +00:00
Torbjörn Andersson
588af50cd6
cleanup
...
svn-id: r10338
2003-09-20 17:00:14 +00:00