2770 Commits

Author SHA1 Message Date
Oliver Kiehl
c96c900546 fix gcc compile
svn-id: r10399
2003-09-24 12:57:37 +00:00
Chris Apers
c8fbafda9a Disable Palyer_V2A on PalmOS, since the source doesn't compile with it
svn-id: r10397
2003-09-24 08:32:19 +00:00
Travis Howell
d60237eab9 Revert change that caused more problems
svn-id: r10395
2003-09-24 07:40:19 +00:00
Travis Howell
e9dd4dc167 Revert change that caused more problems
svn-id: r10394
2003-09-24 07:38:59 +00:00
Travis Howell
4a62eb3e3b More Amiga V2/V3 sound updates from _Q_:
1. A Player_MOD class, basically acts as a simplified mixer that mixes at 60Hz intervals (or whatever interval you specify), this gives smooth music playback in player_v3a
2. Some changes to player_v3a as a result of #1, including reduced music volume
3. player_v2a, and the necessary additions to scummvm.cpp/scumm.h

svn-id: r10392
2003-09-24 06:56:30 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Paweł Kołodziejski
908eb0823f added HE game putt race
svn-id: r10388
2003-09-24 05:59:32 +00:00
Paweł Kołodziejski
6a2fff0b5b added two HE games
svn-id: r10387
2003-09-23 20:29:50 +00:00
Jonathan Gray
8ccd2934a5 correct description, are these demos in the correct section of version ordering by the way? run strings or similiar over the .w32 files and play match the strings
svn-id: r10372
2003-09-23 09:34:07 +00:00
Paweł Kołodziejski
23e6bc5777 added two different versions of HE demos
svn-id: r10371
2003-09-23 09:01:51 +00:00
Paweł Kołodziejski
698e40ff1b fixed conversion warning under vc7
svn-id: r10370
2003-09-23 08:56:12 +00:00
Max Horn
392651dc1b removed unused macro
svn-id: r10357
2003-09-21 18:15:28 +00:00
Travis Howell
14af07351f Fix #807291
svn-id: r10344
2003-09-21 04:54:34 +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
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
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
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
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
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
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
Jamieson Christian
dffa1cbc2f Removed redundant presets storage.
svn-id: r10266
2003-09-16 21:28:46 +00:00
Jamieson Christian
091b41a278 Partial fix for Bug [636985] ZAK256: No kazoo tune
Implemented a parser for Euphony music. No
FM instrument support yet, as the FM chip used
by FM Towns is not being emulated yet. In the
meantime, a stock FM-emulated GM instrument is
being used instead.

This at least makes the Zak Towns kazoo tune
and the Loom Towns distaff audible. Emulation
of the FM Towns synth chip, or suitable
emulation using the OPL2 synth, is still
under investigation.

svn-id: r10265
2003-09-16 11:44:48 +00:00
Jamieson Christian
e0129c34e7 Feature Request [806641] Increase MIDI
performance by omitting redundancies

Removed the use of the _bank member for iMuse Parts.
The member is still being saved/loaded, and a
warning will display if a non-zero _bank value is
set. If it turns out some musical passage is actually
using the _bank, we'll need to reinstate it.
Otherwise, after sufficient testing we can obsolete
it in the savegames.

svn-id: r10261
2003-09-15 21:35:30 +00:00
Max Horn
8f26c43b49 cleanup
svn-id: r10260
2003-09-15 19:48:54 +00:00
Jonathan Gray
f69d97aadb add putttime target
svn-id: r10257
2003-09-14 22:46:47 +00:00
Jamieson Christian
d91278198b Fix for Bug [805593] MI2: Music stops in LeChuck's fortress
Implemented _cmd_queue save/load. In addition to requiring
_cmd_queue information, this bug arises from a rare assumption
that sound resources are loaded in memory even though they
aren't currently playing. Therefore, a list of sound resources
loaded in memory is included in the savegame, so that all
relevant sound resources are reloaded when the savegame is
loaded. This also fixes an unreported music bug in S&M when
saving a game while outside the Bumpusville mansion.

As a result of savegame format modifications, we are now at
savegame version 23.

svn-id: r10254
2003-09-14 20:34:48 +00:00
Max Horn
6512592d0f moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
svn-id: r10253
2003-09-14 18:16:45 +00:00
Jochen Hoenicke
c902282a05 A hack for bug #770581. This makes the sound much closer to the
original, but I think to make it completely right a bigger change to
the adlib backend would be necessary.

svn-id: r10251
2003-09-14 15:03:12 +00:00
Max Horn
f36473e25b clarified some TODOs
svn-id: r10250
2003-09-14 13:42:28 +00:00
Max Horn
aa94497631 reverse my fix for the sarcophagus problem (I reopened that bug report, as this broke lots of other locked boxees. Now that I have dosbox to compared with the original Zak, I see that we are doing something wrong, and have a notion of what that might be; still need to figure out a way how to fix it
svn-id: r10249
2003-09-14 13:36:49 +00:00
Jonathan Gray
dbc29272e9 use old method to decide on text colouring for loom towns, I think the pink distaff when returning to the first room may be the last bug left now
svn-id: r10247
2003-09-14 00:37:47 +00:00
Max Horn
47827b1f22 disabled a stone old hack; Ender, maybe you remember some details about this fix? anybody feel like playtesting the Mystery Vortex, please? :-)
svn-id: r10246
2003-09-13 23:50:29 +00:00
Paweł Kołodziejski
199e9632b8 fixed badly commit
svn-id: r10244
2003-09-13 21:04:47 +00:00
Max Horn
398af102a1 fix for bug #732414 (ZAK256: Some verbs do not highlight correctly)
svn-id: r10243
2003-09-13 20:55:42 +00:00
Paweł Kołodziejski
b735d9031d implemented fileWrite opcode
svn-id: r10242
2003-09-13 20:54:12 +00:00
Paweł Kołodziejski
bd11fd1217 remove path in filename at delete func too
svn-id: r10239
2003-09-13 18:45:56 +00:00
Paweł Kołodziejski
971fff61b8 fixed size logic in readFileToArray()
svn-id: r10238
2003-09-13 18:36:16 +00:00
Paweł Kołodziejski
0c0f967c59 implemented fileread opcode
svn-id: r10232
2003-09-13 16:25:33 +00:00
Jochen Hoenicke
bcb87f4126 Add a new hull curve entry needed by Indy3. This fixes bug #770698.
svn-id: r10230
2003-09-13 15:02:59 +00:00
Travis Howell
7f81defbff Revert change, was not needed after all.
svn-id: r10228
2003-09-13 14:09:36 +00:00
Max Horn
b6e4fb2ef7 since _hFileTable is only used by Scumm_v6, there is no reason to put it into class Scumm
svn-id: r10227
2003-09-13 13:59:46 +00:00
Paweł Kołodziejski
c334c1103f implemented opcodes: openfile and closefile
svn-id: r10226
2003-09-13 13:41:44 +00:00
Paweł Kołodziejski
f02d38ce5a a little updated opcode: openFile and deleteFile
svn-id: r10221
2003-09-13 12:37:21 +00:00