Commit Graph

2745 Commits

Author SHA1 Message Date
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
Travis Howell
989f3f9215 Another fm towns sound fix from Hibernatus
svn-id: r10217
2003-09-13 12:04:48 +00:00
Max Horn
d6eddef542 clarified Loom related comments
svn-id: r10213
2003-09-13 11:26:51 +00:00
Travis Howell
c4d293bab1 Add comments from Hibernatus
svn-id: r10210
2003-09-13 07:04:20 +00:00
Travis Howell
e8f7f2a4e1 Another fm towns sound fix from Hibernatus
svn-id: r10209
2003-09-13 06:56:47 +00:00
Travis Howell
ac8e16cc2e Update comment
svn-id: r10208
2003-09-13 04:38:37 +00:00
Travis Howell
cc427cdcdd More Amiga V3 sound updates from unused.
svn-id: r10201
2003-09-13 01:42:36 +00:00
Travis Howell
c805e260a9 Fix COMI regression for now, seems to require x min/max values for camera to be set first.
svn-id: r10191
2003-09-12 09:50:33 +00:00
Max Horn
a86f6ed55c fix/workaround for bug #770717 (ZAK: Zak walking on spot)
svn-id: r10189
2003-09-12 00:42:36 +00:00
Max Horn
dff4f8f445 my TODO was correct ;-) fixes regression in Zak
svn-id: r10188
2003-09-12 00:07:42 +00:00
Max Horn
76d8ebf52f no need to manually call update_screen after a warp_mouse - if the backend needs to do a redraw in order to move the mouse, then it's the responsibility of the backend to ensure that it gets one
svn-id: r10186
2003-09-11 23:44:03 +00:00
Max Horn
7be171f910 changed actor walking for V2 games a bit; this fixes bug #774529 (Zak: Annie walking in funny places)
svn-id: r10185
2003-09-11 23:31:46 +00:00
Max Horn
0161cd4bb8 let getObjActToObjActDist round up when dividing the distance by 8 for V1/V2 games. This helps in fixing bug #774529, but might cause regressions...
svn-id: r10184
2003-09-11 23:23:40 +00:00
Max Horn
538812d9fc yet another tiny cleanup.... yeah yeah, I know I am annoying
svn-id: r10182
2003-09-11 22:36:21 +00:00
Max Horn
32c0168087 cleanup
svn-id: r10181
2003-09-11 22:26:44 +00:00
Max Horn
f21f830633 fix long standing bug in walkActorOld() (though I have no idea if it affects anything :-)
svn-id: r10180
2003-09-11 22:12:24 +00:00
Max Horn
ff225c470c cleanup
svn-id: r10179
2003-09-11 22:00:36 +00:00
Max Horn
c697e0fa67 nicer box matrix output in V3-V8 games
svn-id: r10178
2003-09-11 20:49:10 +00:00
Max Horn
6aa7a63ea0 fix V1/V2 walkmatrix debug command
svn-id: r10177
2003-09-11 18:23:53 +00:00
Max Horn
ce7e59e1ae V2 walk matrix support
svn-id: r10176
2003-09-11 14:11:45 +00:00
Max Horn
6c4d6889f5 hum, why was this not commited by CVS?
svn-id: r10175
2003-09-11 14:11:31 +00:00
Max Horn
41a8905519 fix for room-scroll regression in V1/V2 (essentially, we never init the camera y-values, except here, for these games)
svn-id: r10174
2003-09-11 13:43:30 +00:00
Max Horn
e94a0683aa fixed kBoxLocked handling, bug #771483 (ZAK: Pushing Sarcophagous feet on Mars)
svn-id: r10173
2003-09-11 13:40:22 +00:00
Max Horn
becabcce13 fixed version check
svn-id: r10172
2003-09-11 13:39:27 +00:00
Max Horn
06c93b1821 oops
svn-id: r10171
2003-09-11 13:02:13 +00:00
Travis Howell
a323d65cc3 Should redraw in both cases.
svn-id: r10170
2003-09-11 12:48:02 +00:00