Sven Hesse
2d15e4af78
Checking in patch #1777241 by Uwe Ryssel (GOB: Some optimizations for slow computers)
...
svn-id: r28664
2007-08-19 17:26:06 +00:00
Max Horn
5103e92410
Patch #1776858 : README: some fixes
...
svn-id: r28663
2007-08-19 11:50:13 +00:00
Max Horn
0918f1d014
Fixed two more warnings
...
svn-id: r28662
2007-08-19 11:48:19 +00:00
Torbjörn Andersson
92c6a25695
Fixed some - not all - warnings.
...
svn-id: r28661
2007-08-19 10:21:51 +00:00
Kari Salminen
a777b3e64f
Changed Apple IIGS sample playing frequency multiplier from 1076.0 to C6 (i.e. about 1046.5). Commented out a warning that comes too often.
...
svn-id: r28657
2007-08-18 15:54:29 +00:00
Kari Salminen
d862dc430d
Added support for playing Apple IIGS samples. The code's not very pretty at the moment (Work in progress). Apple IIGS MIDI sound probably broken somehow at the moment.
...
svn-id: r28656
2007-08-18 12:41:24 +00:00
Neil Millstone
4ccec7c25a
Making DS port build again
...
svn-id: r28654
2007-08-18 11:10:41 +00:00
Filippos Karapetis
0566bef991
Corrected some of the colors in the save/load dialogs in IHNM
...
svn-id: r28648
2007-08-18 01:59:18 +00:00
Kari Salminen
aa8db3f74f
Added a definition for Apple IIGS sound emulation mode, made sound initialization set it when appropriate and instruments loading use it.
...
svn-id: r28647
2007-08-17 13:10:57 +00:00
Paweł Kołodziejski
62d5f0629c
added two more parts
...
svn-id: r28646
2007-08-17 11:19:17 +00:00
Filippos Karapetis
769dd1d7a2
Several bugfixes:
...
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene
- sf92 is sfDemoSetInteractive
- It's now possible to use dashes and underscores in savegames
- Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black
- The interface mode is now correctly set in the non-interactive part of the IHNM demo
- sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed
svn-id: r28643
2007-08-17 06:08:18 +00:00
Filippos Karapetis
4722075da3
Removed an obsolete TODO
...
svn-id: r28642
2007-08-17 05:57:32 +00:00
Nicola Mettifogo
eb0798d580
Now using stacks to keep track of multiple levels when parsing location scripts.
...
svn-id: r28639
2007-08-16 19:47:22 +00:00
Max Horn
47b2f533f0
Fixed some warning
...
svn-id: r28638
2007-08-16 18:42:28 +00:00
Nicola Mettifogo
f0f46113ee
Changed more parsing routines to use tables instead of switch statements.
...
svn-id: r28637
2007-08-16 17:28:18 +00:00
Kari Salminen
c987d6aaf0
Added rudimentary classes for different AGI sound resources (IIgsMidi, IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound.
...
svn-id: r28630
2007-08-15 22:00:31 +00:00
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