Kari Salminen
b99153050a
Moved AgiSound definition around and also changed it from a struct to a class.
...
svn-id: r28629
2007-08-15 18:37:52 +00:00
Kari Salminen
ec3f37956d
Removed unneeded code from inside #if 0 ... #endif -clauses.
...
svn-id: r28628
2007-08-15 16:46:37 +00:00
Kari Salminen
fa9a6cef84
Removed use of decodeSound(int resnum). Not needed at the moment (Probably going to be replaced by other functionality later).
...
svn-id: r28627
2007-08-15 16:44:13 +00:00
Kari Salminen
fe9bb43622
Removed use of USE_IIGS_SOUND (#define).
...
svn-id: r28626
2007-08-15 16:40:45 +00:00
Kari Salminen
d4998087aa
Changed use of USE_CHORUS (#define) to g_useChorus (static boolean).
...
svn-id: r28625
2007-08-15 16:31:15 +00:00
Kari Salminen
4d83eef351
Made AGI's 4-channel PCjr sound not need structure packing pragmas anymore. Also added more use of little endian reading macros.
...
svn-id: r28624
2007-08-15 15:55:38 +00:00
Nicola Mettifogo
429af74320
Oops oops. This fixes the bug fix.
...
svn-id: r28623
2007-08-14 19:57:20 +00:00
Nicola Mettifogo
dc35b37d93
Oops. Removed debug code.
...
svn-id: r28622
2007-08-14 19:55:10 +00:00
Nicola Mettifogo
70f69a18bb
Fixed bug (array-overflow) in NS introduction. This randomly caused the intro to crash during sketching.
...
svn-id: r28621
2007-08-14 19:53:32 +00:00
Nicola Mettifogo
32164ff210
Defined new Table for location scripts level-0 statements, and changed parseLocation to use a function pointer array instead of a big switch statement.
...
svn-id: r28620
2007-08-14 18:58:47 +00:00
Nicola Mettifogo
d02441a372
Fixed a couple of mistyped strings, solving a crash in the introduction of BS and a soon-to-be-spotted issue in BRA.
...
svn-id: r28619
2007-08-14 16:39:25 +00:00
Matthew Hoops
2b24e5cb1d
fix issues with parentheses
...
svn-id: r28618
2007-08-14 14:40:11 +00:00
Travis Howell
c9031ebb7f
Limit loading external fonts, to required game versions.
...
svn-id: r28617
2007-08-14 13:42:05 +00:00
Kari Salminen
e888aa1217
Shuffled around AgiGameID's declaration and an include to get stuff hopefully working now with GCC too.
...
svn-id: r28616
2007-08-14 13:36:03 +00:00
Kari Salminen
f55c8407b0
Added forward declaration for enum AgiGameID (Was breaking compilation on GCC).
...
svn-id: r28615
2007-08-14 13:12:06 +00:00
Kari Salminen
8a8b97c230
Moved Apple IIGS related structs' read & finalize functions' implementations to sound.cpp and left the declarations in sound.h.
...
svn-id: r28614
2007-08-14 12:54:57 +00:00
Kari Salminen
af85709cfd
Defined some functions in Agi::SoundMgr and moved stuff generally around between AGI's sound.h and sound.cpp. Assimilated calcTrueSampleSize into another function.
...
svn-id: r28613
2007-08-14 12:44:44 +00:00
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