Filippos Karapetis
d4d255cd6d
Implemented music pause and resume
...
svn-id: r28698
2007-08-22 16:00:45 +00:00
Filippos Karapetis
cd3f8577c1
Mutexes are now used in the MIDI music playing code
...
svn-id: r28697
2007-08-22 15:28:31 +00:00
Filippos Karapetis
532c8c4230
Detach the player callback handler when the music is being unloaded. Fixes bug #1734416 - "AUDIO: ITE: Random crashes with the MIDI parser"
...
svn-id: r28696
2007-08-22 12:20:21 +00:00
Filippos Karapetis
02e0d144e8
Implemented Music::stop
...
svn-id: r28695
2007-08-22 11:28:11 +00:00
Filippos Karapetis
9a9e42a1f6
Sprite priorities are now calculated correctly for IHNM
...
svn-id: r28694
2007-08-22 11:11:33 +00:00
Sven Hesse
3778d8619f
Fixed the cutscenes in the CD version of Lost in Time
...
(There's still something wrong with the second one, the one with the agent, though. Probably has to do with the sound key command 10)
svn-id: r28693
2007-08-21 20:44:32 +00:00
Filippos Karapetis
bd4a289493
The height of the save file list slider is calculated correctly now for IHNM
...
svn-id: r28691
2007-08-21 18:23:48 +00:00
Filippos Karapetis
296080e44f
The button sprites of the warnings dialogs of IHNM are loaded correctly now. Also, the save file slider is shown correctly now (although it still needs some tweaking, as its virtual height is still the same as in ITE)
...
svn-id: r28690
2007-08-21 18:07:17 +00:00
Filippos Karapetis
bf1f23d378
Fixed the position of some widgets in the option dialogs of IHNM
...
svn-id: r28689
2007-08-21 18:04:47 +00:00
Kari Salminen
c2c9ab9a22
An encountered zero in an Apple IIGS sample stream turns off looping for that stream. Implemented this.
...
svn-id: r28688
2007-08-21 15:51:28 +00:00
Filippos Karapetis
44f73a1b7c
Simplified blackToPal
...
svn-id: r28686
2007-08-21 14:59:02 +00:00
Filippos Karapetis
96e0eeb94d
Updated some comments
...
svn-id: r28685
2007-08-21 12:46:21 +00:00
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