Commit Graph

6692 Commits

Author SHA1 Message Date
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
Nicolas Bacca
79f546cb8f Update project files
svn-id: r10297
2003-09-18 16:14:38 +00:00
Nicolas Bacca
60de69b9da Add time.h
svn-id: r10296
2003-09-18 16:12:20 +00:00
Nicolas Bacca
c4f053904a Change includes, fix BASS slowdowns
svn-id: r10295
2003-09-18 16:11:56 +00:00
Max Horn
9470c9f661 changed & documented the premixer semantics
svn-id: r10294
2003-09-18 16:01:33 +00:00
Torbjörn Andersson
dcf77f7a10 Added EXECUTABLE to the MinGW makefile.
This slows down the build procedure enormously, but on the other hand it
actually does something now. :-)

Though, for some reason, make always crashes shortly before the end when I
build it from scratch. I have to repeat the command to get it to finish.
Time to check if there's a newer MinGW version to download, I guess...

svn-id: r10293
2003-09-18 14:07:36 +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
James Brown
dbb20eaee5 This'll also break Makefile.noconf
svn-id: r10291
2003-09-18 12:07:56 +00:00
Max Horn
0ae88a7dfc Temporarily disabled this rule since it causes troubles for MinGW
svn-id: r10290
2003-09-18 10:51:42 +00:00
Nicolas Bacca
420043b76b Remove one more hackery - actually a complete port rewrite would be needed to get rid of all of them, I'm thinking about it :)
svn-id: r10289
2003-09-18 10:24:53 +00:00
Torbjörn Andersson
3342a20578 Extend the ALSA version check to look at SND_LIB_MAJOR as well. They're
bound to hit 1.0 any year now.

Of course, this is completely untested.

svn-id: r10288
2003-09-18 07:27:48 +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
ec0d41137c fix Circular dependency warning
svn-id: r10286
2003-09-17 23:59:13 +00:00
Max Horn
f6ecb2e95d removed the module.mk dependency again since it make 'ar' add module.mk to the lib.a file
svn-id: r10285
2003-09-17 23:34:56 +00:00
Max Horn
3c55fd316f cleanup
svn-id: r10284
2003-09-17 23:05:07 +00:00
Max Horn
0eea7999eb no need for this evil hackery; just always pretend 'F5' was pressed, the Scumm engine will do the work from then
svn-id: r10283
2003-09-17 23:02:40 +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