[Scummvm-devel] Cine engine music player

Gregory Montoir cyx at scummvm.org
Sat Jun 20 12:54:56 CEST 2009


Hi,

Paul Gilbert wrote:
> Hi people,
> 
> This is mostly intended to anyone currently working on the Cine engine. 
> I recently copied the Operation Stealth Adlib playing code for use in 
> Cruise for a Corpse, and was having trouble getting the notes to play 
> properly. I tracked it down to the 'findNote' method - the equivalent 
> routine in the game executable for Cruise returns 'note' as a value 
> between 0 and 11, whereas the Cine routine doesn't.

Good catch. I committed an alternative fix (so we don't have to change 
the .INS/FutureWars adlib channel code).

Gregory


> 
> Looking at the cine source, I notice that the Future Wars Adlib driver 
> does an explict check, after a call to findNote, for if channel == 6, 
> and if so does 'note %= 12'. The Operaiton Stealth version, however, 
> doesn't have anything like this. It may thus have a similar bug with 
> music playback. I don't have a copy of Operation Stealth to test the 
> engine myself, but I thought I'd bring it to the attention of the list, 
> in case this it's still an outstanding problem for that game as well.
> 
> Regards,
> 
> Paul.
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel






More information about the Scummvm-devel mailing list