Commit Graph

6908 Commits

Author SHA1 Message Date
James Brown
078e1ee799 Few small index corrections pointed out by Dark-Star
svn-id: r10347
2003-09-21 13:10:22 +00:00
Max Horn
74e3448a4c added HQ3x filter
svn-id: r10346
2003-09-21 12:10:32 +00:00
Nicolas Bacca
9af8549c95 Use banners on WinCE
svn-id: r10345
2003-09-21 09:06:13 +00:00
Travis Howell
14af07351f Fix #807291
svn-id: r10344
2003-09-21 04:54:34 +00:00
Oliver Kiehl
16048e9c14 fix bug pointed out by Merlin0fCha0s
svn-id: r10343
2003-09-20 22:26:10 +00:00
Max Horn
e13060dcb9 fixed AMD64 warning
svn-id: r10342
2003-09-20 20:58:31 +00:00
Max Horn
f539bd72e7 fixed AMD64 warning
svn-id: r10341
2003-09-20 20:01:32 +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
f4861af4d2 Added EXECUTABLE.
svn-id: r10332
2003-09-20 12:39:19 +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
Max Horn
21ce55bc9f make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
svn-id: r10329
2003-09-20 01:08:48 +00:00
Max Horn
bfbc6ed39a prepend underscore before passing symbols to dlsym, at least on OS X
svn-id: r10328
2003-09-20 01:08:08 +00:00
Max Horn
7d95a33922 make use of the new get_overlay_height/get_overlay_width
svn-id: r10327
2003-09-20 00:47:56 +00:00
Max Horn
b75626d1ce added explicit virtual destructor; added API which makes it potentially possible to have an overlay with a different size than than the 'normal' screen (e.g. if the game runs at 320x200 and a 2x scaler runs, the overlay could be made 640x400 big, if the backend supports that)
svn-id: r10326
2003-09-20 00:47:18 +00:00
Max Horn
3afbb22ad7 fix invalid target crash for build using loadable modules
svn-id: r10325
2003-09-20 00:37:09 +00:00
Max Horn
7840039156 yet another fix for linux+loadable modules
svn-id: r10324
2003-09-20 00:07:37 +00:00
Max Horn
6c57e2bb17 let's see if that's better
svn-id: r10323
2003-09-19 22:45:54 +00:00
Max Horn
ce7d4c0a76 one more linux+dynamic fix
svn-id: r10322
2003-09-19 22:20:53 +00:00
Max Horn
9833fcc343 oops
svn-id: r10321
2003-09-19 21:47:14 +00:00
Oliver Kiehl
8fc9d92e32 cleanup
svn-id: r10320
2003-09-19 21:36:27 +00:00
Max Horn
a4675f34a7 work around silly bug in Microsoft Visual Studio .NET 2003. M$ does not stop at breaking HTML and Java, no, now they have to mutilate C/C++, too. MS-C instead of ANSI-C, anybody? *grmbl*
svn-id: r10319
2003-09-19 21:29:59 +00:00
Max Horn
ed605c38c5 some cleanup, and an (untested) loadable module build rule for Linux
svn-id: r10318
2003-09-19 21:23:23 +00:00
Max Horn
34b5cd99c3 fixed warning on systems with 64bit pointers
svn-id: r10317
2003-09-19 21:15:13 +00:00
Max Horn
002e2a6f67 cleanup
svn-id: r10316
2003-09-19 20:45:35 +00:00
Max Horn
d9b0a79390 fixed some pointer cast warnings on systems with 64 bit pointers (like AMD64)
svn-id: r10315
2003-09-19 19:11:33 +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
Max Horn
0c8df28387 cleanup; some more fixed need afnow that the premix proc is expected to generate stereo data; (we probably should add a common base class for Player_V1/V2 instead of deriving V1 from V2)
svn-id: r10312
2003-09-19 14:43:57 +00:00
Max Horn
abdc8f1247 cleanup
svn-id: r10311
2003-09-19 14:13:24 +00:00
Torbjörn Andersson
26607c00ce cleanup
svn-id: r10310
2003-09-19 13:55:19 +00:00
Torbjörn Andersson
dd261199d0 This change was made to player_v2.cpp recently, and seems to fix bug
#809036 ("MANIAC64: Sound echoes").

I don't understand the exact implications of it, but I assume it has to do
with the premix function having to generate stereo samples now.

svn-id: r10309
2003-09-19 09:02:03 +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
1a6d75ef39 changed scumm/object.cpp for V1/V2 once again - this time it really should match the original behaviour
svn-id: r10306
2003-09-19 01:12:05 +00:00
Max Horn
f7d50f7c68 unify legal headers a bit here
svn-id: r10305
2003-09-18 19:56:38 +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
209413ed07 disable the custom operator 'new' on Mac OS X, as it cause multiple definition linker error when building ScummVM with loadable modules
svn-id: r10303
2003-09-18 18:22:15 +00:00
Max Horn
f8997ba7cc link modules against LIBS, too (right now the only reason for this is that scumm/ needs MAD & Vorbis libs)
svn-id: r10302
2003-09-18 18:21:03 +00:00
Max Horn
7fd732f5bb cleanup
svn-id: r10301
2003-09-18 18:19:23 +00:00
Paweł Kołodziejski
a83d9a9733 updated vc7 file
svn-id: r10300
2003-09-18 18:04:06 +00:00
Max Horn
57bcbfa993 trying to fix VC6 project file (beware! I am doing this manually, I may have screwed up)
svn-id: r10299
2003-09-18 16:29:22 +00:00
Max Horn
292cdb02ed just generate the data as stereo, instead of munging the buffer at the end
svn-id: r10298
2003-09-18 16:15:38 +00:00