mirror of
https://github.com/Tribes2-SCP/AssetCompat.git
synced 2026-01-19 20:24:53 +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
14
scripts/t2Compat/etcFunctions.cs
Normal file
14
scripts/t2Compat/etcFunctions.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// etcFunctions.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.
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// We pretty much will always return false here because we're obviously
|
||||||
|
// not doing demo builds.
|
||||||
|
function isDemo()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
@ -7,4 +7,6 @@
|
||||||
// functionality.
|
// functionality.
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
exec("scripts/playerFunctions.cs");
|
exec("t2Compat/etcFunctions.cs");
|
||||||
|
exec("t2Compat/audioFunctions.cs");
|
||||||
|
exec("t2Compat/playerFunctions.cs");
|
||||||
Loading…
Reference in a new issue