Max Horn
53db0a8a07
cleanup: removed version/id from GameSettings
...
svn-id: r10995
2003-10-28 17:07:25 +00:00
Torbjörn Andersson
7418c47b48
If we fail to read the game settings, use sensible defaults.
...
svn-id: r10990
2003-10-28 13:46:28 +00:00
Max Horn
a4d2a47820
factor out common debugger code
...
svn-id: r10984
2003-10-26 21:30:52 +00:00
Max Horn
d581c99ab5
cleanup
...
svn-id: r10982
2003-10-26 19:16:59 +00:00
Torbjörn Andersson
7c4cc25cec
Enable the debug console. Actually, what I've done is to adapt the debug
...
console from the SCUMM engine. I decided that would be easier than to clean
up the original console code.
Unfortunately there's a bunch of code that I just copied - a pretty lousy
form of code-reusal. It'd be nice if the console could be made part of the
Engine class, or something like that.
Most of the debug commands seem to be working. Some aren't relevant for
ScummVM, and some are a bit obscure so I'm not quite sure what they're
supposed to be doing.
svn-id: r10978
2003-10-26 15:42:49 +00:00
Torbjörn Andersson
320b0a405a
Corrected/clarified some debug messages/comments
...
svn-id: r10945
2003-10-23 07:08:09 +00:00
Torbjörn Andersson
59b72f2b38
Moved a few remaining pieces of the script interpreter into the Logic class
...
svn-id: r10939
2003-10-22 06:51:57 +00:00
Torbjörn Andersson
3be2f0f1e0
Moved some more stuff into the Logic class.
...
svn-id: r10923
2003-10-21 08:54:50 +00:00
Torbjörn Andersson
64aaaa0b25
Small cleanup, and added FIXME comment.
...
svn-id: r10907
2003-10-19 18:01:05 +00:00
Torbjörn Andersson
3a43829b88
Moved the opcode functions into the Logic class.
...
svn-id: r10885
2003-10-18 08:11:50 +00:00
Max Horn
0694eed273
moved game detection code out to the plugins
...
svn-id: r10882
2003-10-17 23:16:53 +00:00
Torbjörn Andersson
8b42d65a7e
Dumped most of the remaining "driver" code into a new "Display" class. This
...
touches a lot of the code, of course, and adds yet another global variable
(temporarily, I hope), but everything still seems to work.
Knock on wood.
svn-id: r10806
2003-10-15 06:40:31 +00:00
Max Horn
31ba12c800
some more target<->game cleanup
...
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
36fd7ec445
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
...
svn-id: r10766
2003-10-12 18:40:12 +00:00
Torbjörn Andersson
1b52e11d55
Moved the "router" code into a new Router class. I'm hoping this is
...
analogous to the SkyAutoRoute class.
svn-id: r10754
2003-10-12 14:40:04 +00:00
Nicolas Bacca
70667d14da
Alignment fix in debug message
...
svn-id: r10742
2003-10-12 13:04:46 +00:00
Torbjörn Andersson
02a157e745
Moved the text drawing stuff into a class of its own. (Adding another
...
global variable which will hopefully be dealt with later.)
svn-id: r10734
2003-10-11 12:26:53 +00:00
Torbjörn Andersson
ade93aabff
cleanup
...
svn-id: r10728
2003-10-10 16:14:52 +00:00
Max Horn
5301edc383
some cleanup
...
svn-id: r10720
2003-10-10 13:55:08 +00:00
Torbjörn Andersson
d5bd6812ee
Some cleanups and clarifications. Mainly, we no longer refer to the
...
inventory/conversation menu (which is drawn at the bottom of the screen) as
the "top menu".
svn-id: r10693
2003-10-09 06:57:35 +00:00
Max Horn
d177364715
new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
...
svn-id: r10687
2003-10-08 21:59:23 +00:00
Torbjörn Andersson
a29d128bd3
Use RandomSource instead of rand().
...
svn-id: r10682
2003-10-08 18:02:53 +00:00
Torbjörn Andersson
a1f4dc2c90
cleanup
...
svn-id: r10681
2003-10-08 17:09:51 +00:00
Torbjörn Andersson
7adf0ff1fc
Some more cosmetic changes while I'm considering the next move. (Or maybe
...
I'm just hoping that if I stall long enough, someone else will make the
move for me. :-)
svn-id: r10676
2003-10-08 06:58:34 +00:00
Torbjörn Andersson
29b646b30a
Some cleanup, some code removal and some unstubbing. Nothing important.
...
svn-id: r10659
2003-10-07 07:07:47 +00:00
Torbjörn Andersson
e8b6016e33
Renamed the FontRenderer class as FontRendererGui since there's another
...
font renderer for the game itself. (It just doesn't live in any separate
class yet.)
svn-id: r10658
2003-10-07 07:06:50 +00:00
Torbjörn Andersson
e04c760847
Removed obsolete FIXME comment
...
svn-id: r10631
2003-10-06 07:32:54 +00:00
Torbjörn Andersson
7174a32c8e
Made a separate class for the cutscene functions, removed some unused code
...
and made some other minor cleanups.
svn-id: r10614
2003-10-05 15:28:15 +00:00
Max Horn
b4e5d97994
factor out common gfx_mode/fullscreen setup code from the game engines into the main code (maybe putting this into the Engine constructor would be better, though?)
...
svn-id: r10611
2003-10-05 14:37:16 +00:00
Max Horn
d4734bd4f2
use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
...
svn-id: r10592
2003-10-04 11:50:21 +00:00
Torbjörn Andersson
f8ce610c2b
Moved some stuff out of driver96.h. Eventually I'd like to get rid of most
...
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-04 08:31:20 +00:00
Torbjörn Andersson
4fad04846a
Changed to use #include "bs2/..." and removed the inclusion of standard C
...
headers. Most (all?) of the ones we need should probably come from stdafx.h
instead.
svn-id: r10588
2003-10-04 08:07:03 +00:00
Max Horn
2162df92fc
removed Sword2 prefixes of most classes (made obsolete by our namespace usage); renamed Sword2State to Sword2Engine
...
svn-id: r10583
2003-10-04 01:09:29 +00:00
Max Horn
5a074e6137
added namespace Sword2
...
svn-id: r10581
2003-10-04 00:52:27 +00:00
Max Horn
eabeb62e20
fix doxygen comment
...
svn-id: r10570
2003-10-03 13:59:44 +00:00
Max Horn
aed27b35dd
use C++ struct naming instead of typedefs -> this fixes (or works around, whatever you prefer to call it) the GCC_PACK problem in Doxygen
...
svn-id: r10569
2003-10-03 13:53:46 +00:00
Torbjörn Andersson
10fee205e1
Some renaming (ironic in the light of Fingolfin's recent namespace
...
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-03 06:54:44 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Torbjörn Andersson
c8de7d5089
Cleanups, mostly related to sound effects.
...
svn-id: r10532
2003-10-02 07:01:12 +00:00
Torbjörn Andersson
13773455a4
whitespace changes
...
svn-id: r10517
2003-10-01 10:00:35 +00:00
Torbjörn Andersson
2a41216f08
ScummVM naming conventions and cleanup in the Sword2Sound class.
...
svn-id: r10514
2003-10-01 06:36:25 +00:00
Torbjörn Andersson
46d195ee02
Clear cutscene subtitles before changing back the palette, and slow down
...
the subtitles slightly.
svn-id: r10503
2003-09-30 16:07:04 +00:00
Torbjörn Andersson
da1b4f1e36
Moved the memory manager functions into an object of its own (and enabled
...
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-30 14:37:42 +00:00
Torbjörn Andersson
568a4bd839
Changed the resource manager object to use more ScummVM-like naming.
...
svn-id: r10499
2003-09-30 09:27:27 +00:00
Torbjörn Andersson
b8fa67a8bb
Changed the "logic" object to use ScummVM naming conventions.
...
svn-id: r10496
2003-09-30 06:40:01 +00:00
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
Torbjörn Andersson
a412dd9fcb
cleanup
...
svn-id: r10337
2003-09-20 16:39:17 +00:00
Torbjörn Andersson
4eca44704b
Cleanup. I removed the PLOT_PATHS blocks since they depended on some
...
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-20 15:34:53 +00:00
Torbjörn Andersson
c704c30575
cleanup
...
svn-id: r10335
2003-09-20 13:11:15 +00:00
Torbjörn Andersson
b03c634390
Clarified comment
...
svn-id: r10334
2003-09-20 12:51:55 +00:00
Torbjörn Andersson
6539b8a0e6
cleanup
...
svn-id: r10333
2003-09-20 12:43:52 +00:00
Torbjörn Andersson
058273ed7c
The 'colliding' flag is never set to anything else than zero, so it should
...
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-20 12:26:55 +00:00
Torbjörn Andersson
4290567299
Minor cleanup
...
svn-id: r10330
2003-09-20 12:24:53 +00:00
Torbjörn Andersson
a1735e5502
cleanup
...
svn-id: r10314
2003-09-19 16:08:54 +00:00
Max Horn
600d4c60d4
cleanup
...
svn-id: r10313
2003-09-19 15:01:49 +00:00
Torbjörn Andersson
26607c00ce
cleanup
...
svn-id: r10310
2003-09-19 13:55:19 +00:00
Torbjörn Andersson
5628ee7417
cleanup
...
svn-id: r10308
2003-09-19 06:42:22 +00:00
Torbjörn Andersson
349a7bc399
Cleanup. Apart from reformatting, I've also removed the #ifdef blocks to
...
skip or mute cutscenes. At the very least, we want to show the subtitles
like we do now.
svn-id: r10307
2003-09-19 06:41:41 +00:00
Max Horn
6a4663824e
added initial support for building our 4 adventure engines as loadable 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-18 18:23:53 +00:00
Max Horn
a15fdcea21
plugin work: right now, only with build rules for OS X. Once I can get it to 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-18 13:03:56 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
c1a678afeb
new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
...
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
231cb16b5b
some tweaks to the build system (work toward plugin support)
...
svn-id: r10279
2003-09-17 21:53:13 +00:00
Max Horn
468275bb94
added a static method setDefaultDirectory to class File; used this to 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-17 21:06:16 +00:00
Max Horn
c0d1061a2d
cleanup
...
svn-id: r10277
2003-09-17 20:34:20 +00:00
Max Horn
0e5e39e64e
remove unused variable
...
svn-id: r10276
2003-09-17 20:07:21 +00:00
Torbjörn Andersson
f291b13134
cleanup
...
svn-id: r10274
2003-09-17 17:34:04 +00:00
Torbjörn Andersson
0604d3ff10
cleanup
...
svn-id: r10273
2003-09-17 16:59:12 +00:00
Torbjörn Andersson
27b734a044
Rewrote Read_file() to use our File class, and removed the unused functions
...
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
2003-09-17 14:33:47 +00:00
Torbjörn Andersson
ccf2eb2cc6
Removed some #includes that seem to be unnecessary. I think we're going to
...
have to clean up the header files at some point...
svn-id: r10271
2003-09-17 14:03:11 +00:00
Torbjörn Andersson
d6c2957d5c
cleanup
...
svn-id: r10269
2003-09-17 13:03:13 +00:00
Torbjörn Andersson
7d0b682cc9
Cleanup.
...
Since this file contains a list of global variables which are accessed
both directly by the engine and - presumably - by the scripts, this could
lead to some nasty regressions. I've triple-checked the list against the
old version, so it *should* be ok, I just thought I'd point it out.
svn-id: r10268
2003-09-17 09:03:40 +00:00
Torbjörn Andersson
2536823c23
cleanup
...
svn-id: r10267
2003-09-17 06:28:27 +00:00
Torbjörn Andersson
00c1fdce3a
Removed some unnecessary #includes and #defines.
...
svn-id: r10264
2003-09-16 09:57:57 +00:00
Torbjörn Andersson
48d0761286
Some cleanup. More to follow, I hope.
...
svn-id: r10263
2003-09-16 07:11:29 +00:00
Oliver Kiehl
7eaf33e014
actually this is the correct fix to "Cutscene - Press ESC to exit" :)
...
svn-id: r10259
2003-09-14 23:42:07 +00:00
Oliver Kiehl
685d44940f
fix "Cutscene - Press ESC to exit" message
...
svn-id: r10258
2003-09-14 23:39:06 +00:00
Oliver Kiehl
ffd39dc95a
if saveslot specified with -x doesn't exist, show restore menu
...
svn-id: r10256
2003-09-14 21:45:42 +00:00
Oliver Kiehl
fe349d2d99
enable ``proper'' -x loading
...
svn-id: r10255
2003-09-14 21:10:14 +00:00
Oliver Kiehl
fd7727e9d2
Fingolfin, now I am really disappointed with you that you didn't see this bug... ;)
...
svn-id: r10252
2003-09-14 15:07:39 +00:00
Max Horn
30e4785896
simplified code
...
svn-id: r10245
2003-09-13 21:20:05 +00:00
Oliver Kiehl
52ff6acc1f
and another endian fix
...
svn-id: r10241
2003-09-13 20:42:08 +00:00
Max Horn
7eb758f697
I am not happy at all with the slack our team has shown recently! I barely concealed these obvious mistakes, to check who's paying attention. And only one person (olki) did notice, and even he only got 50%... tsk tsk tsk, how shall this go on. What will happen if I make real mistakes instead of purposeful ones? *cough cough* yeah, right
...
svn-id: r10240
2003-09-13 19:26:44 +00:00
Max Horn
2afc2c0ca9
fix global vars storing
...
svn-id: r10237
2003-09-13 18:18:02 +00:00
Max Horn
42bf2a855c
cleanup
...
svn-id: r10236
2003-09-13 18:06:19 +00:00
Max Horn
54a6946eee
cleanup
...
svn-id: r10235
2003-09-13 17:36:53 +00:00
Oliver Kiehl
51703e1014
pack _parallax to be on the safe side
...
svn-id: r10234
2003-09-13 17:36:39 +00:00
Max Horn
5aa69da8ef
convert run lists in the res manager
...
svn-id: r10233
2003-09-13 17:36:31 +00:00
Oliver Kiehl
6d94352f2f
fix speech on BE
...
svn-id: r10229
2003-09-13 14:32:40 +00:00
Max Horn
059781c80a
fix g_header -> header in comments
...
svn-id: r10225
2003-09-13 13:20:28 +00:00
Oliver Kiehl
bd50e9f3d7
some more endian fixes
...
svn-id: r10224
2003-09-13 13:05:52 +00:00
Max Horn
d2e56ed4a2
endian conversion in save/restore code (may not be complete, beware!)
...
svn-id: r10223
2003-09-13 13:04:55 +00:00
Max Horn
49f84b9c41
cleanup
...
svn-id: r10222
2003-09-13 13:02:44 +00:00
Oliver Kiehl
20fe2b83fc
should have been an int32
...
svn-id: r10220
2003-09-13 12:15:13 +00:00
Oliver Kiehl
35e5c73127
endian fix
...
svn-id: r10219
2003-09-13 12:12:11 +00:00
Max Horn
f9c28dca49
cleanup
...
svn-id: r10218
2003-09-13 12:08:17 +00:00
Max Horn
41a17b9da6
let the interpreter use native endianess for variables -> this allows us to get rid of various endian conversions, and also fixs lots of other problems on BE systems. Beware, though, this may impair save game exchange between LE/BE: we'll have to adjust save_rest.cpp to convert to/from LE upon save/load
...
svn-id: r10216
2003-09-13 12:03:29 +00:00
Oliver Kiehl
f6cfd5775e
fix LE bug
...
svn-id: r10215
2003-09-13 11:39:25 +00:00
Oliver Kiehl
adcbedbfde
hack isn't needed anymore
...
svn-id: r10212
2003-09-13 10:31:46 +00:00
Max Horn
a81ea7667b
improved heuristic, fixes crash when clicking on the fence
...
svn-id: r10207
2003-09-13 02:28:17 +00:00
Max Horn
f18b68cb09
wow - now I can walk around in the BS2 demo!
...
svn-id: r10206
2003-09-13 02:11:05 +00:00