Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

sound
Class JSI_Sound

IJSObject
   |
   +--CJSObject
         |
         +--JSI_Sound

   in JSI_Sound.h
   in JSI_Sound.cpp

class JSI_Sound
extends CJSObject


Field Summary
 Handle m_Handle
          
private bool m_SoundDisabled
          
   
Fields inherited from class CJSObject
m_NativeProperties, m_NonsharedProperties, m_ScriptProperties, m_EngineOwned, JSI_class
 
Constructor Summary
JSI_Sound( const CStr& Filename )
          
~JSI_Sound()
          
 
Method Summary
 JSBool Construct( JSContext* cx, JSObject* UNUSED( obj ), uint argc, jsval* argv, jsval* rval )
          
 bool Fade( JSContext* cx, uintN argc, jsval* argv )
          
 bool Free( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) )
          
 bool Loop( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) )
          
 bool Play( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) )
          
 static void ScriptingInit()
          
 bool SetGain( JSContext* cx, uintN argc, jsval* argv )
          
 bool SetPitch( JSContext* cx, uintN argc, jsval* argv )
          
 bool SetPosition( JSContext* cx, uintN argc, jsval* argv )
          
 CStr ToString( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) )
          
   
Methods inherited from class CJSObject
ScriptingInit, ScriptingShutdown, GetProperty, SetProperty, HasProperty, AddProperty, AddProperty, AddProperty, AddMethod, AddProperty, AddLocalProperty, GetScript, CreateScriptObject, ReleaseScriptObject, Shutdown
   
Methods inherited from class IJSObject
HasProperty, GetProperty, AddProperty, AddProperty
 

Field Detail

m_Handle

public Handle m_Handle;

m_SoundDisabled

private bool m_SoundDisabled;


Constructor Detail

JSI_Sound

public JSI_Sound( const CStr& Filename );

~JSI_Sound

public ~JSI_Sound();


Method Detail

Construct

public JSBool Construct( JSContext* cx, JSObject* UNUSED( obj ), uint argc, jsval* argv, jsval* rval );

Fade

public bool Fade( JSContext* cx, uintN argc, jsval* argv );

Free

public bool Free( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );

Loop

public bool Loop( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );

Play

public bool Play( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );

ScriptingInit

public static void ScriptingInit();

SetGain

public bool SetGain( JSContext* cx, uintN argc, jsval* argv );

SetPitch

public bool SetPitch( JSContext* cx, uintN argc, jsval* argv );

SetPosition

public bool SetPosition( JSContext* cx, uintN argc, jsval* argv );

ToString

public CStr ToString( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD