v22460 (04/13/01):

**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.
This commit is contained in:
Robert MacGregor 2017-07-17 23:10:36 -04:00
parent f9ca0b52f9
commit 116be1648d
52 changed files with 912 additions and 442 deletions

View file

@ -7,6 +7,7 @@ new GuiControl(MainChatHud) {
minExtent = "8 8";
visible = "1";
modal = "1";
bypassHideCursor = "1";
setFirstResponder = "0";
new GuiNoMouseCtrl() {

View file

@ -89,7 +89,7 @@ new GuiChunkedBitmapCtrl(ChatGui) {
lineSpacing = "0";
lineContinuedIndex = "5";
allowedMatches[0] = "http";
matchColor = "0 0 255 255";
matchColor = "4 235 105 255";
};
};
};
@ -152,6 +152,7 @@ new GuiChunkedBitmapCtrl(ChatGui) {
maxLength = "255";
password = "0";
glowOffset = "9 9";
tabComplete = "1";
};
new GuiTextCtrl() {
profile = "ShellTextRightProfile";

View file

@ -63,18 +63,13 @@ function ToggleConsole(%make)
{
Canvas.popDialog(ConsoleDlg);
$ConsoleActive = false;
if(!ConsoleDlg.mouseOn)
CursorOff();
if ( $enableDirectInput )
activateKeyboard();
}
else
{
Canvas.pushDialog(ConsoleDlg, 99);
ConsoleDlg.mouseOn = Canvas.isCursorOn();
$ConsoleActive = true;
if(!ConsoleDlg.mouseOn)
CursorOn();
deactivateKeyboard();
}
}

View file

@ -10,7 +10,8 @@ new GuiChunkedBitmapCtrl(CreditsGui) {
variable = "$ShellBackground";
helpTag = "0";
useVariable = "1";
qLineCount = "0";
hideCursor = "1";
qLineCount = "0";
new ShellPaneCtrl() {
profile = "ShellPaneProfile";

View file

@ -283,7 +283,6 @@ function Editor::onSleep(%this)
MoveMap.pop();
GlobalActionMap.unbind(keyboard, "tab");
lockMouse(false);
CursorOn();
%this.popDialogs();

View file

@ -10,6 +10,16 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
variable = "$ShellBackground";
helpTag = "0";
useVariable = "1";
forumCount = "-1";
refreshFlag = "0";
state = "done";
eid = "112";
ebstat = "1";
initialized = "1";
key = "163";
TDialogOpen = "0";
bflag = "4";
TextCheck = "0";
new ShellPaneCtrl(ForumShell) {
profile = "ShellPaneProfile";
@ -152,6 +162,13 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
drawSeparators = "0";
headerSort = "0";
allowReposition = "0";
noSelect = "0";
lastID = "413653";
state = "done";
highestUpdate = "413653";
lastDate = "04/20/2001 11:09am";
allRead = "1";
key = "162";
};
};
new ShellScrollCtrl() {
@ -186,12 +203,14 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "532 180";
extent = "532 36";
minExtent = "8 8";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
deniedSound = "InputDeniedSound";
};
};
};
@ -336,7 +355,7 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "137 1908";
extent = "137 414";
minExtent = "8 8";
visible = "1";
helpTag = "0";
@ -392,7 +411,7 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "52 1161";
extent = "52 1902";
minExtent = "8 8";
visible = "1";
helpTag = "0";
@ -424,6 +443,7 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
drawSeparators = "0";
headerSort = "1";
allowReposition = "0";
noSelect = "0";
};
};
new GuiTextCtrl() {
@ -455,39 +475,39 @@ new GuiChunkedBitmapCtrl(ForumsGui) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "234 300";
extent = "117 38";
position = "291 300";
extent = "82 38";
minExtent = "32 38";
visible = "1";
command = "ForumsRefreshTopics();";
helpTag = "0";
text = "REFRESH TOPICS";
text = "REFRESH ";
simpleStyle = "0";
};
new ShellBitmapButton(FM_NextThreads) {
new ShellBitmapButton(FTNextBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "406 309";
extent = "90 38";
position = "357 300";
extent = "53 38";
minExtent = "32 38";
visible = "0";
command = "ForumsGoTopics(1);";
visible = "1";
command = "ForumsGui.NextThreadPage();";
helpTag = "0";
text = "NEXT TOPICS";
text = "--->";
simpleStyle = "0";
};
new ShellBitmapButton(FM_PrevThreads) {
new ShellBitmapButton(FTPrevBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "324 309";
extent = "90 38";
position = "254 300";
extent = "53 38";
minExtent = "32 38";
visible = "0";
command = "ForumsGoTopics(2);";
visible = "1";
command = "ForumsGui.PreviousThreadPage();";
helpTag = "0";
text = "PREV TOPICS";
text = "<---";
simpleStyle = "0";
};
new ShellBitmapButton(RForumsBtn) {

View file

@ -10,6 +10,7 @@ new GuiControl(FrameOverlayGui) {
setFirstResponder = "True";
modal = "false";
helpTag = "0";
bypassHideCursor = "1";
new GuiConsoleTextCtrl(TextOverlayControl) {
profile = "GuiTextProfile";

View file

@ -301,6 +301,7 @@ new GuiControl(MessageHud)
extent = "640 480";
minExtent = "8 8";
visible = "0";
bypassHideCursor = "1";
new ShellFieldCtrl(MessageHud_Frame)
{
@ -351,6 +352,7 @@ new GuiControl(ChatMenuHudDlg)
extent = "640 480";
minExtent = "8 8";
visible = "0";
bypassHideCursor = "1";
new ShellFieldCtrl(ChatMenuHud)
{

View file

@ -148,13 +148,8 @@ function InteriorDontRestrict::onAction()
function interiorDebugDialog::onWake( %this )
{
%this.cursor = isCursorOn();
if ( !%this.cursor )
CursorOn();
}
function interiorDebugDialog::onSleep( %this )
{
if ( !%this.cursor )
CursorOff();
}

View file

@ -93,6 +93,5 @@ function InteriorPreviewGui::onSleep(%this)
GlobalActionMap.unbind(keyboard, "tab");
GlobalActionMap.unbind(keyboard, "f9");
lockMouse(false);
CursorOn();
}

View file

@ -7,63 +7,113 @@ new GuiControl(JoinChatDlg) {
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl(JoinChatPane) {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "117 47";
position = "120 60";
extent = "400 360";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "CHOOSE CHAT CHANNEL";
maxLength = "255";
noTitleBar = "0";
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "center";
vertSizing = "height";
position = "91 36";
extent = "218 232";
minExtent = "24 52";
new ShellFancyArrayScrollCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "48 39";
extent = "304 227";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 3";
fieldBase = "gui/shll_field";
fixedHorizontal = "1";
vertSpacerBitmap = "gui/shll_vertspacer";
horzSpacerBitmap = "gui/shll_horzspacer";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
new VirtualScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 7";
extent = "194 218";
position = "0 16";
extent = "304 211";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "0";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 0";
new ShellTextList(JoinChatList) {
profile = "ShellTextArrayProfile";
new VirtualScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "194 8";
position = "4 4";
extent = "280 203";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
enumerate = "1";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
new GuiControl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "288 9616";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
};
};
};
new ShellFancyTextList(JoinChatList) {
profile = "ShellServerBrowserProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "284 223";
minExtent = "8 20";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
altCommand = "JoinChatDlg.join();";
helpTag = "0";
startScrollRegion = "0 0";
headerBitmap = "gui/server_tabs";
sortArrowBitmap = "gui/shll_sortarrow";
fieldBase = "gui/shll_field";
barBase = "gui/shll_bar";
glowOffset = "4";
rowHeight = "19";
headerFontSize = "0";
headerFontColor = "8 19 6 255";
headerFontColorHL = "25 68 56 255";
separatorColor = "192 192 192 255";
drawSeparators = "0";
headerSort = "1";
allowReposition = "0";
noSelect = "0";
allowColorChars = "0";
};
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
@ -73,8 +123,10 @@ new GuiControl(JoinChatDlg) {
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.popDialog(JoinChatDlg); LaunchTabView.viewTab(\"CHAT\",ChatGui,0);";
accelerator = "escape";
accelerator = "escape";
helpTag = "0";
text = "CANCEL";
simpleStyle = "0";
@ -83,10 +135,12 @@ new GuiControl(JoinChatDlg) {
profile = "GuiDefaultProfile";
horizSizing = "center";
vertSizing = "top";
position = "86 269";
extent = "228 36";
position = "67 269";
extent = "272 36";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellTextEditCtrl(JoinChatName) {
@ -94,13 +148,19 @@ new GuiControl(JoinChatDlg) {
horizSizing = "right";
vertSizing = "bottom";
position = "48 0";
extent = "180 38";
extent = "223 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "JoinChatName.onCharInput();";
altCommand = "JoinChatDlg.join();";
helpTag = "0";
maxLength = "24";
historySize = "0";
maxLength = "255";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new GuiTextCtrl() {
@ -111,8 +171,11 @@ new GuiControl(JoinChatDlg) {
extent = "44 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Channel:";
maxLength = "255";
};
};
new ShellBitmapButton() {
@ -123,6 +186,8 @@ new GuiControl(JoinChatDlg) {
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "JoinChatDlg.join();";
helpTag = "0";
text = "JOIN CHAT";

View file

@ -156,7 +156,7 @@ new GuiChunkedBitmapCtrl(LobbyGui) {
minExtent = "8 20";
visible = "1";
helpTag = "0";
startScrollRegion = "4 0";
startScrollRegion = "3 0";
headerBitmap = "gui/server_tabs";
sortArrowBitmap = "gui/shll_sortarrow";
fieldBase = "gui/shll_field";

View file

@ -9,6 +9,7 @@ new GameTSCtrl(PlayGui) {
visible = "1";
setFirstResponder = "1";
modal = "1";
hideCursor = "1";
helpTag = "0";
beaconBaseTextureName = "gui/beacon_base";
beaconTargetTextureName = "gui/crosshairs";

View file

@ -8,6 +8,7 @@ new GuiControl(TaskHudDlg) {
minExtent = "8 8";
visible = "0";
helpTag = "0";
bypassHideCursor = "1";
new ShellFieldCtrl() {
profile = "GuiChatBackProfile";