AGSMuse

From Adventure Game Studio | Wiki
Jump to: navigation, search

AGSMuse module written by monkey_05_06, based on scripts by khnum.

Download

Description

Emulates iMuse effects within AGS.

Macros (#define-s)

AGSMUSE_VERSION

Defines the current version of the module.

AGSMUSE_VERSION_100

Defines version 1.0 of the module.

Functions and Properties

AGSMuse.Play

static void AGSMuse.Play(int musicNumber)

Plays MUSICNUMBER. If music is currently playing it will be faded out and MUSICNUMBER faded in.

Caveats

May not actually fully emulate the iMuse effect, it is based on scripts by khnum. There is also no cross-fading of tracks, though presumably there should be.

Licensing

 // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation  files  (the  "Software"),  to
 // deal in the Software without restriction, including without  limitation  the
 // rights to use, copy, modify, merge, publish, distribute, sublicense,  and/or
 // sell copies of the Software, and to permit persons to whom the  Software  is
 // furnished to do so, subject to the following conditions:
 //
 // The above copyright notice and this permission notice shall be  included  in
 // all copies or substantial portions of the Software.
 //
 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,  EXPRESS  OR
 // IMPLIED, INCLUDING BUT NOT LIMITED TO  THE  WARRANTIES  OF  MERCHANTABILITY,
 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL  THE
 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE  FOR  ANY  CLAIM,  DAMAGES  OR  OTHER
 // LIABILITY, WHETHER IN AN ACTION OF  CONTRACT,  TORT  OR  OTHERWISE,  ARISING
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 // IN THE SOFTWARE.

Changelog

Version 1.0

 Date:        21 October 2006, 5:12 P.M. GMT -6:00
 Author:      monkey_05_06
 Description: First public version of module.