mirror of
https://github.com/Tribes2-SCP/AssetCompat.git
synced 2026-02-13 03:33:49 +00:00
Moved compat scripts to scripts/t2Compat; Added an etcFunctions.cs for unclassified compat fixes; Added isDemo() to always return false
This commit is contained in:
parent
849df151aa
commit
72bee49824
4 changed files with 17 additions and 1 deletions
22
scripts/t2Compat/audioFunctions.cs
Normal file
22
scripts/t2Compat/audioFunctions.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// playerFunctions.cs
|
||||
//
|
||||
// Various helper functions that many Tribes 2 scripts expect to exist which
|
||||
// can be implemented wholly in script. Those that must perform more
|
||||
// sophisicated engines must be implemented as engine functions.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function alxCreateSource(%profile, %file)
|
||||
{
|
||||
%handle = sfxCreateSource(%profile, %file);
|
||||
}
|
||||
|
||||
function alxPlay(%handle)
|
||||
{
|
||||
%handle.play(-1);
|
||||
}
|
||||
|
||||
function alxGetWaveLen(%file)
|
||||
{
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue