468 Commits

Author SHA1 Message Date
Max Horn
0694eed273 moved game detection code out to the plugins
svn-id: r10882
2003-10-17 23:16:53 +00:00
Max Horn
ad2db08940 renamed some Timer methods
svn-id: r10868
2003-10-17 16:39:32 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Max Horn
ebd314a9ec fix debug mode 0
svn-id: r10791
2003-10-14 07:52:34 +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
Jamieson Christian
13541879e0 Fix for Bug [817286] MT-32 execution checksum errors
logicdeluxe's patch to avoid MT-32 processing
overflows when sending large amounts of SysEx data.

svn-id: r10755
2003-10-12 14:47:44 +00:00
Nicolas Bacca
de086642a9 EVC is happy now
svn-id: r10745
2003-10-12 13:33:21 +00:00
Max Horn
5301edc383 some cleanup
svn-id: r10720
2003-10-10 13:55:08 +00:00
Max Horn
ed5948272d constness
svn-id: r10714
2003-10-10 10:42:37 +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
Jamieson Christian
69964cda56 Corrected MT-32 master volume SysEx
svn-id: r10671
2003-10-07 15:13:39 +00:00
Max Horn
bfce5e500a renamed SkyState to SkyEngine; cleaned the #include dependency mess a bit (try to only #include files when you *have* to -> this reduces compilation time to a minimum when header file changes are made)
svn-id: r10622
2003-10-05 20:21:20 +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
Jamieson Christian
056974821a Fix OOB SysEx checksums
svn-id: r10572
2003-10-03 18:59:48 +00:00
Torbjörn Andersson
cee745dbf9 Whitespace changes
svn-id: r10516
2003-10-01 09:40:28 +00:00
Torbjörn Andersson
920c11972e Whitespace changes
svn-id: r10515
2003-10-01 07:29:27 +00:00
Nicolas Bacca
6c94765972 Improve intro timing a tiny bit on WinCE
svn-id: r10472
2003-09-28 22:23:59 +00:00
Jamieson Christian
a7dfe35706 Fix for Bug [805923] BASS: Notes left on when quitting game
Explicitly send All Notes Off messages on every
channel when shutting down music driver. This
fixes hanging notes on exit when using external
synths or some less intelligent internal synths.

svn-id: r10398
2003-09-24 09:32:38 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +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
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
7fd732f5bb cleanup
svn-id: r10301
2003-09-18 18:19:23 +00:00
Max Horn
9470c9f661 changed & documented the premixer semantics
svn-id: r10294
2003-09-18 16:01:33 +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
Joost Peters
d517558b10 proper fix for bug #791207
svn-id: r10202
2003-09-13 01:45:12 +00:00
Joost Peters
befc7ed3db workaround for bug #791207
svn-id: r10200
2003-09-13 01:08:45 +00:00
Max Horn
080128d748 removed superfluous #include
svn-id: r10157
2003-09-10 12:45:42 +00:00
Max Horn
afe56a4aeb added refCon parameter to timer class
svn-id: r10156
2003-09-10 12:43:54 +00:00
Max Horn
65a6bcb90b moved declaration of error/warning/debug from engine.h to util.h
svn-id: r10154
2003-09-10 12:40:41 +00:00
Travis Howell
c832c55f90 Fxo sky module compile
svn-id: r10153
2003-09-10 12:35:29 +00:00
Robert Göffringmann
083be33f1a fix sfx routine
svn-id: r10120
2003-09-09 06:37:01 +00:00
Max Horn
f23a34c9e5 renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
svn-id: r10092
2003-09-08 15:38:34 +00:00
Travis Howell
ffe7cd3feb Actually make these game version message shown by default, so users can better report bugs.
svn-id: r10037
2003-09-06 03:48:08 +00:00
Max Horn
3aa8454efa moved the sound ID param in playRaw before volume/pan
svn-id: r10023
2003-09-05 22:09:56 +00:00
Max Horn
11193b0746 cleaned up sound/mixer.h a bit; renamed some mixer methods for consistency
svn-id: r10018
2003-09-05 20:48:32 +00:00
Paweł Kołodziejski
5a6bce590b changed sounds volume to original volume level, and fixed sounds in bass intro
svn-id: r9963
2003-09-02 07:49:40 +00:00
Paweł Kołodziejski
2533b23a60 added mixer features: volume and pan control per channel
svn-id: r9944
2003-08-31 20:26:21 +00:00
Jonathan Gray
ce42f4d3dd patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree
svn-id: r9807
2003-08-21 13:39:21 +00:00
Robert Göffringmann
af17c1ac51 copied some fixes which only were in 0.5.1 branch.
svn-id: r9799
2003-08-20 12:12:11 +00:00
Robert Göffringmann
e7fb69e3d9 added MDT_PREFER_NATIVE flag to BASS VersionSettings
svn-id: r9772
2003-08-18 23:20:27 +00:00
Robert Göffringmann
cc7700f01d fix sfx restart after restoring a savegame
svn-id: r9770
2003-08-18 20:36:55 +00:00
Torbjörn Andersson
2e38b49d27 Replaced printf()s with debug() and warning().
svn-id: r9710
2003-08-15 15:17:02 +00:00
Jamieson Christian
e1bc6493d8 Replaced ADLIB_ALWAYS and ADLIB_PREFERRED with a more flexible
list of music types supported. This was done because now
PC speaker support must be treated separately, along with
Adlib and native (GM/MT32) support.

This fixes a problem with games that don't support PC speaker
(including V5 games that don't parse SPK resources yet)
being run with -epcspk or -epcjr. Those games now properly
switch to -enull so that music resources still get parsed
and music/script synchronization mechanisms don't break.

svn-id: r9703
2003-08-15 10:19:24 +00:00
Torbjörn Andersson
a02fe9e46e I didn't realize it at first, but LINC-space uses the same character data
as the LINC terminals, so our patched characters looked very out of place
since they didn't have the black outline the other characters had.

I've fixed that, and tweaked the character data for "�" slightly.

svn-id: r9657
2003-08-13 15:29:44 +00:00
Robert Göffringmann
27e65a29c6 remove meaningless warning
svn-id: r9642
2003-08-11 17:47:44 +00:00