Kari Salminen
55896e7584
Added note of clarification on enum AgiSoundType's different values.
...
svn-id: r28684
2007-08-21 09:12:00 +00:00
Max Horn
5155d8df62
64bit AGOS fix by Mark Weaver
...
svn-id: r28683
2007-08-20 20:18:06 +00:00
Filippos Karapetis
c50c20b2c2
Cleanup: Removed obsolete TODOs
...
svn-id: r28682
2007-08-20 20:00:40 +00:00
Filippos Karapetis
a6171ec349
Fix for bug #1776993 - "ITE: Cannot exit a room (regression)"
...
svn-id: r28679
2007-08-20 19:14:22 +00:00
Kari Salminen
ef1fca15f0
Removed extra commas from lookup-tables' ends.
...
svn-id: r28676
2007-08-20 10:43:07 +00:00
Kari Salminen
ef0bd468a2
Made Apple IIGS MIDI file parsing work (They aren't completely standard MIDI files). Enables playing the MIDI files (No sound! Only stepping through). Speed's probably not correct.
...
svn-id: r28674
2007-08-19 23:57:12 +00:00
Kari Salminen
42e257b08d
Removed superfluous variable checkings. Made it so that Apple IIGS mixing code doesn't try to mix MIDI sounds yet as mixing them isn't yet supported.
...
svn-id: r28673
2007-08-19 23:33:22 +00:00
Kari Salminen
72fd923cf5
Fixes previously crashing sound. Crash happened because of PCjr 4-channel mixing code trying to use uninitialized values (phase, ins etc) when mixSound was called before anything was playing.
...
svn-id: r28672
2007-08-19 23:28:38 +00:00
Max Horn
5b711795d0
Some cleanup / const correctness / OOfication
...
svn-id: r28671
2007-08-19 20:48:11 +00:00
Sven Hesse
07586c378e
Small correction
...
svn-id: r28670
2007-08-19 20:31:48 +00:00
Max Horn
df9414c9a1
Fixed warning about global symbol 'chn' being shadowed by local declaration 'chn' (note: naming a global var 'chn' is probably a bad idea. And using a class would be far better anyway ;)
...
svn-id: r28669
2007-08-19 20:31:15 +00:00
Torbjörn Andersson
b6017da9e2
Always update the video's position, even if it's already been loaded, because
...
it won't necessarily be played at the same position every time. For instance,
in Lost in Time you can look at the captain's chair several times. The position
of the video seems to depend on exactly where on the screen you clicked.
svn-id: r28668
2007-08-19 19:07:31 +00:00
Nicola Mettifogo
dd215f3e9f
Fixed bug #1777058 .
...
svn-id: r28666
2007-08-19 19:05:41 +00:00
Max Horn
2e70246e3c
Fixing code formatting
...
svn-id: r28665
2007-08-19 18:39:49 +00:00
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