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:
Robert MacGregor 2015-11-22 14:09:19 -05:00
parent 849df151aa
commit 72bee49824
4 changed files with 17 additions and 1 deletions

View 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;
}

View file

@ -7,4 +7,6 @@
// functionality. // functionality.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
exec("scripts/playerFunctions.cs"); exec("t2Compat/etcFunctions.cs");
exec("t2Compat/audioFunctions.cs");
exec("t2Compat/playerFunctions.cs");