mirror of
https://github.com/Ragora/TribesReplay.git
synced 2026-01-19 17:44:45 +00:00
**Tweak, Spider Clamp turrets need more Surface area for legal deploy space now**: *Minor tweak to improve long-term server stability. *A new voice Codec, 'GSM' was added to allow voice communication between Linux and Windows users. *Minor Sound system tweaks and fixes. *Minor BOT navigation and seeking improvements. *Fix removing BOTs counting toward the Vote Meter representation. *Improvement for Vehicle Physics, particularly instances when Vehicles would get stuck on their edge. *Fix for BOT's skins not dynamically updating to correct team skin, when Admin team changed them. *Fixed bug where certain cases would cause Cursor to vanish when it should not. *Minor Server query improvements. *Fix Players can be added to the 'Admin List'. *No more voting to BAN, only Super ADMIN may now BAN. *Various GUI improvements, notably the Voice Com. elements in the Lobby, and some minor pointer Icon improvements for certain cases. *Linux 'Penguin' Symbol added for Server List Screen when joining, so users may identify Windows and Linux servers at a glance.
79 lines
1.7 KiB
Plaintext
79 lines
1.7 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
new GuiControl(ConsoleDlg) {
|
|
profile = "GuiDefaultProfile";
|
|
|
|
new GuiWindowCtrl()
|
|
{
|
|
profile = "GuiWindowProfile";
|
|
position = "0 0";
|
|
extent = "640 370";
|
|
text = "Console";
|
|
|
|
new GuiScrollCtrl()
|
|
{
|
|
profile = "GuiButtonProfile";
|
|
position = "0 0";
|
|
extent = "640 350";
|
|
hScrollBar = "alwaysOn";
|
|
vScrollBar = "alwaysOn";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
|
|
new GuiScrollContentCtrl("testScrollContentCtrl")
|
|
{
|
|
profile = "GuiButtonProfile";
|
|
|
|
new GuiConsole("testArrayCtrl")
|
|
{
|
|
profile = "GuiConsoleProfile";
|
|
position = "0 0";
|
|
};
|
|
};
|
|
};
|
|
|
|
new GuiConsoleEditCtrl("ConsoleEntry")
|
|
{
|
|
profile = "GuiTextEditProfile";
|
|
position = "0 350";
|
|
extent = "640 20";
|
|
historySize = 20;
|
|
altCommand = "ConsoleEntry::eval();";
|
|
horizSizing = "width";
|
|
vertSizing = "top";
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|
|
|
|
$ConsoleActive = false;
|
|
|
|
function ConsoleEntry::eval()
|
|
{
|
|
%text = ConsoleEntry.getValue();
|
|
echo("==>" @ %text);
|
|
eval(%text);
|
|
ConsoleEntry.setValue("");
|
|
}
|
|
|
|
function ToggleConsole(%make)
|
|
{
|
|
if (%make)
|
|
{
|
|
if ($ConsoleActive)
|
|
{
|
|
Canvas.popDialog(ConsoleDlg);
|
|
$ConsoleActive = false;
|
|
if ( $enableDirectInput )
|
|
activateKeyboard();
|
|
}
|
|
else
|
|
{
|
|
Canvas.pushDialog(ConsoleDlg, 99);
|
|
$ConsoleActive = true;
|
|
deactivateKeyboard();
|
|
}
|
|
}
|
|
}
|
|
|
|
|