Пример #1
0
 public static int PlaySound(zCSndFX_MSS snd, bool arg)
 {
     return(Process.THISCALL <IntArg>(GetZSound(), 0x004EF7B0, snd, new BoolArg(arg)));
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="snd"></param>
 /// <param name="arg0"></param>
 /// <param name="arg1"></param>
 /// <param name="volume">0.0 to 2.0</param>
 /// <param name="stereo">-1 for only left to +1 for only right</param>
 public static int PlaySound(zCSndFX_MSS snd, bool arg0, int arg1, float volume, float stereo)
 {
     return(Process.THISCALL <IntArg>(GetZSound(), 0x004F0B70, snd, (BoolArg)arg0, (IntArg)arg1, (FloatArg)volume, (FloatArg)stereo));
 }
Пример #3
0
 public static int PlaySound3D(zCSndFX_MSS snd, zCVob vob, int arg, zTSound3DParams param)
 {
     return(Process.THISCALL <IntArg>(GetZSound(), 0x004F10F0, snd, vob, new IntArg(arg), param));
 }