Commit Graph

22616 Commits

Author SHA1 Message Date
Kari Salminen
27ea9d581b Unified intendation, purely visual changes.
svn-id: r28611
2007-08-14 08:49:20 +00:00
Kari Salminen
cbba39d0bb Not saving Apple IIGS instrument header's unneeded info anymore (Priority increment and spare byte).
svn-id: r28610
2007-08-14 08:47:49 +00:00
Nicola Mettifogo
76e1be89c3 Partially reverting commit 28568, so now engine is back in charge for parsing locations. I'm going to convert this if/else/else hell into smaller opcode-like routines to achieve more flexibility first, and then assign version-specific opcodes to subclasses.
svn-id: r28609
2007-08-14 08:03:13 +00:00
Torbjörn Andersson
92ea1804ca GCC doesn't like the extra qualifier when DECLARE_COMMAND_PARSER() etc. are
used within the class definition. Added macros for the unqualified form. Feel
free to give them a less cumbersome name -- I just wanted to be able to compile
ScummVM again. :-)

svn-id: r28608
2007-08-14 05:38:27 +00:00
Sven Hesse
20eb2fca57 Making it work again for 16bit VMDs
svn-id: r28606
2007-08-14 01:57:44 +00:00
Sven Hesse
22996d1cd9 Fixed talking videos sync
svn-id: r28605
2007-08-14 01:48:37 +00:00
Sven Hesse
e7e26ad767 The talking videos work a bit better now. The sync and coordinates are still screwy
svn-id: r28604
2007-08-14 00:42:32 +00:00
Nicola Mettifogo
3c43ebd49f Added invalid opcode entries in slot 0 of opcode lists, and adjusted indices to avoid small decrements.
svn-id: r28603
2007-08-13 23:58:17 +00:00
Nicola Mettifogo
681ae6ca85 Moved opcode initialization to new routine.
svn-id: r28602
2007-08-13 23:49:38 +00:00
Nicola Mettifogo
0f489597aa Changed instruction parsing to array of function pointers.
svn-id: r28601
2007-08-13 23:44:13 +00:00
Nicola Mettifogo
a2a450dfae Changed Table to return 0 instead of -1 when lookup fails. Lookup already yields 1-based values when the item is found.
svn-id: r28600
2007-08-13 23:17:17 +00:00
Nicola Mettifogo
9694215490 Changed Command parsing/execution and Instruction execution from switch statements into arrays of function pointers.
svn-id: r28599
2007-08-13 22:59:13 +00:00
Kari Salminen
7460eb55a1 Added a couple of simple AgiSound stop, play, isPlaying-functions.
svn-id: r28598
2007-08-13 21:15:27 +00:00
Kari Salminen
eb7dd9970f Grouped wave lists together into oscillators (Oscillators always consists of two waves).
svn-id: r28597
2007-08-13 16:05:46 +00:00
Filippos Karapetis
d5b7a57536 Fix for some cases where the protagonist from some savegames in IHNM was not loaded correctly
svn-id: r28596
2007-08-13 15:57:04 +00:00
Kari Salminen
985ac6ceaa Made calcTrueSampleSize seek back to stream's start when ending the function.
svn-id: r28595
2007-08-13 15:18:44 +00:00
Kari Salminen
8801cf9b3c Moved read- and finalize-functions into corresponding structs and fixed calls to them where needed.
svn-id: r28594
2007-08-13 15:13:58 +00:00
Kari Salminen
2dcdbd12af Add gob-engine's map_v4.cpp to gob.vcproj. Fixes compilation with msvc8.
svn-id: r28593
2007-08-13 14:52:09 +00:00
Kari Salminen
c0cde76df9 Added more functions to help with determining the Apple IIGS samples' real lengths.
svn-id: r28592
2007-08-13 14:06:30 +00:00
Sven Hesse
5bacb6edee Woodruff is now controllable
svn-id: r28591
2007-08-13 14:04:50 +00:00
Travis Howell
32164654a6 Add details for Japanese PCE version of Loom.
svn-id: r28590
2007-08-13 12:43:09 +00:00
Travis Howell
d519431811 Add details for Japanese PCE version of Loom.
svn-id: r28588
2007-08-13 12:41:49 +00:00
Eugene Sandulenko
837381f1d4 Fix linking errors.
svn-id: r28587
2007-08-13 10:12:07 +00:00
Travis Howell
397aeeebfb Ooops, remove extra white space.
svn-id: r28586
2007-08-13 09:58:59 +00:00
Eugene Sandulenko
daf5c30551 Switch Parallaction back to single gameid (to be compatible with 0.10.x), and
made it use new AdvancedDetector features.

svn-id: r28585
2007-08-13 09:02:11 +00:00
Eugene Sandulenko
fb72a5539c (At last) switched Kyra detection to AdvancedDetector
svn-id: r28584
2007-08-13 09:00:52 +00:00
Eugene Sandulenko
6004c1142b Use new AD code in AGOS detection.
svn-id: r28583
2007-08-13 08:59:38 +00:00
Eugene Sandulenko
7dcb8503a3 Add possibility to serve engines with complex Engine class instantiation
svn-id: r28582
2007-08-13 08:58:04 +00:00
Filippos Karapetis
7a04b16d73 When restarting an animation, make sure that the animation's current frame is set to 0. This fixes issues where replaying the same animation would lead to a crash (e.g. with Gorrister at the animal cages)
svn-id: r28581
2007-08-13 08:51:40 +00:00
Travis Howell
7e2390deb9 Add Lost In Time demo.
svn-id: r28580
2007-08-13 07:55:47 +00:00
Filippos Karapetis
f3158075bb The sprite set by sfSetObjImage is assigned correctly now for IHNM. This fixes several cases where objects with more than one frame were incorrectly displayed
svn-id: r28571
2007-08-13 01:20:42 +00:00
Filippos Karapetis
742d503b92 Removed an obsolete TODO
svn-id: r28570
2007-08-13 01:09:48 +00:00
Nicola Mettifogo
d95994e660 Fix build.
svn-id: r28569
2007-08-12 20:27:45 +00:00
Nicola Mettifogo
3465571b12 Added preliminary support for loading locations in BRA:
- changed parseLocation to invoke subclasses for version-specific keywords.
- implemented loading of background resources (backgrounds should be visible)

svn-id: r28568
2007-08-12 19:11:37 +00:00
Torbjörn Andersson
d7b6f0ecc8 Clear _curFile in closeVideo(). This fixes a regression in Lost in Time, where
the screen would go blank after closing the notebook.

svn-id: r28567
2007-08-12 18:15:54 +00:00
Nicola Mettifogo
10ee427772 Changed signature of disk routines for backgrounds to something resembling revisions prior to 28524, yet keeping the new useful BackgroundInfo struct. Those routines can now be used to fill specific fields of the struct, instead of having them create a new one at each call.
This feature is needed by BRA, since background, mask and path are specified by different instructions in the script.

svn-id: r28566
2007-08-12 17:13:21 +00:00
Nicola Mettifogo
0ec634ea06 Fixed location retrieval.
svn-id: r28565
2007-08-12 13:54:31 +00:00
Nicola Mettifogo
12d9e7aed9 Added first location selection for each part.
svn-id: r28564
2007-08-12 13:54:01 +00:00
Nicola Mettifogo
a3e1907837 Added more resource loading.
svn-id: r28563
2007-08-12 13:47:19 +00:00
Nicola Mettifogo
c408e30bb9 BRA now loads tables and correctly selects episode (part) for resource loading.
svn-id: r28562
2007-08-12 13:27:48 +00:00
Nicola Mettifogo
de30651476 Disk can now load tables for BRA.
svn-id: r28561
2007-08-12 13:21:45 +00:00
Nicola Mettifogo
6bbeb8c6d1 Added simple game loop to BRA. The game still crashes after menu.
svn-id: r28560
2007-08-12 13:10:04 +00:00
Nicola Mettifogo
9125ccb3eb Oops. Buffers are now initialized properly.
svn-id: r28559
2007-08-12 13:06:42 +00:00
Travis Howell
efaca7c657 Change BRA to default to 1x scaler.
svn-id: r28558
2007-08-12 12:52:38 +00:00
Travis Howell
4c9a175ff9 Fix BRA regressions.
svn-id: r28557
2007-08-12 12:51:10 +00:00
Nicola Mettifogo
ee7102d0e7 Pushed menu handling into Parallaction_ns.
svn-id: r28556
2007-08-12 12:44:26 +00:00
Travis Howell
9a9f801e93 Remove left over debug ocde.
svn-id: r28555
2007-08-12 12:26:46 +00:00
Nicola Mettifogo
41b8ec417c Added menu options enum to BRA and some refactoring.
svn-id: r28554
2007-08-12 12:24:59 +00:00
Torbjörn Andersson
84dbc41e47 Fixed warning.
svn-id: r28553
2007-08-12 11:39:02 +00:00
Paul Gilbert
04f2c4e1e4 Added missing calls to the sound system
svn-id: r28552
2007-08-12 11:19:01 +00:00