6682 Commits

Author SHA1 Message Date
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
Max Horn
0b16afb067 make module convenience libs depend on their module.mk file
svn-id: r10281
2003-09-17 22:16:14 +00:00
Max Horn
3f62b662fb didn't mean to commit this
svn-id: r10280
2003-09-17 22:13:38 +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
Max Horn
1f2ee37642 BS2 works on BE systems now
svn-id: r10275
2003-09-17 19:12:45 +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