Пример #1
0
	// Sound effect factory
	SoundEffect SimpleFMOD::LoadSoundEffect(const char *filename, FMOD_MODE mode)
	{
		return SoundEffect(this, filename, channelEffects, mode);
	}
Пример #2
0
	SoundEffect SimpleFMOD::LoadSoundEffect(int resourceId, LPCTSTR resourceType, FMOD_MODE mode)
	{
		return SoundEffect(this, resourceId, resourceType, channelEffects, mode);
	}
Пример #3
0
            type.meta = {
                
            };

            type.LoadBaseClasses( db, typeID, { 
                 
            } );

            // Constructors
            
            type.AddConstructor<SoundEffect>(
                [](m::ArgumentList &args)
                {
                    return m::Variant { 
                        SoundEffect(  )
                    };
                }, 
                {
                    
                },
                false
            );
            
            // Dynamic Constructors
            
            type.AddConstructor<SoundEffect>(
                [](m::ArgumentList &args)
                {
                    return m::Variant { 
                        new SoundEffect(  )