mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
commit
3082bb3adc
28 changed files with 132 additions and 74 deletions
|
|
@ -441,7 +441,12 @@ GlobalActionMap.bind(keyboard, "ctrl o", bringUpOptions);
|
|||
//------------------------------------------------------------------------------
|
||||
// Debugging Functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function showMetrics(%val)
|
||||
{
|
||||
if(%val)
|
||||
metrics("fps gfx shadow sfx terrain groundcover forest net");
|
||||
}
|
||||
GlobalActionMap.bind(keyboard, "ctrl F2", showMetrics);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
|
|
|
|||
|
|
@ -45,6 +45,12 @@ function loadStartup()
|
|||
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
|
||||
}
|
||||
|
||||
function StartupGui::onWake(%this)
|
||||
{
|
||||
$enableDirectInput = "1";
|
||||
activateDirectInput();
|
||||
}
|
||||
|
||||
function StartupGui::click(%this)
|
||||
{
|
||||
%this.done = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue