v23115 (05/30/01):

- (bug fix) Fixed an authentication hole that allowed arbitrary IP connections to a LAN server.  The policy now is: LAN servers will disallow any connections from IP addresses that do not match the Class B network address of the server (or match one of them, in a multihomed server).  So if your server's address is 12.13.14.15, clients from 12.13.*.* will be considered, but clients from 12.12.*.* will be immediately rejected.  In addition, a LAN server will only allow 4 unique Class C ids at any one time.  This should be sufficiently lenient for even the largest LAN parties, but should eliminate the auth hole.

- (bug fix) Fixed a server crash on mission change when the last human player leaves the game in mid cycle.

- (bug fix) Fixed a bug that could reset your Shape Detail setting to max

- (bug fix) Client join message name correction

- (bug fix) All known in-game Chat HUD bugs are fixed (partial lines from paging up/down and resize issues, etc.).

- (bug fix) Infinite missile lock-on sound bug is fixed. Dead. Finito. No more. Pushing up the daisies.

- (bug fix) Stitched up a hole associated with one of the base shapes. Small fry compared to the memory leaks.

- (bug fix) Found a particle crash issue and plugged it up good.

- (bug fix) Fixed a shield impact internal compile error that was crunching frame rate.

- (bug fix) Turns out we tweaked it so inventory stations were counting as turrets for turret placement purposes. D'oh. Fixed.

- (bug fix) A rare crash that occurred with the Radeon VE card has been resolved.

- (bug fix) Fixed a crash that could occur when a flare grenade was released when inside a force field.

- (bug fix) Deployable turrets (spider and spike) and Deployable inv stations now do damage in their explosion when they are destroyed.

- (optimization) The following missions were refined in order to optimize framerate:
	Alcatraz
	Caldera
	Flashpoint
	Gauntlet
	IceBound
	Insalubria
	Overreach
	Respite
	Sirocco

- (optimization) Adjusted the LOD of the logo projectors found in CnH missions.

- (optimization) Changed object shield shapes from the form-fitting forcefields into a less poly-intensive dome effect. Also gave shields a lower memory profile.

- (optimization) Changed the way the clouds' planes are clipped. Sky's the limit, right?

- (optimization) Missile sound script calls moved from script into code for faster processing.

- (memory leak) Fixed a large memory leak. This plus the other leaks mentioned here should finally put the nail in the coffin on the "degrading server performance" issue.

- (memory leak) Fixed a memory leak associated with the pretty lightning effects on maps like Casern Cavite.memory leaks:

- (memory leak) Fixed a memory leak in our fancy text list control and the gui text list.

- (memory leak) Fixed a memory leak involving memory use and resource allocation.

- (improvement) Targeting laser prediction should be better now.

- (improvement) You can specify a server's IP address manually at the join screen

- (improvement) You can now specify "-password <pw>" on the command line to join a server that requires a password.

- (improvement) Heavy armors are tougher against snipers. You now require four headshots or five body shots to kill a Juggernaut with a laser rifle.

- (improvement) Footspeed of all armors increased slightly, as well as a minor boost to jetpack performance. Some improvements made to air resistance for mediums and heavy armors (very subtle).

- (improvement) The jetpack effect was reverted back to the old effect (by popular demand).

- (improvement) A Chat HUD message has been added that is displayed whenever you try to deploy a mine, but your team's maximum number of mines has already been deployed. Previously, the mine would just blow up and not explain why it detonated. Now, it still blows up, but tells you why it happened.

- (improvement) Polished up the health meter on the HUD so when you're still alive, it displays a visible sliver of positive health.

- (improvement) Made framerate and gameplay changes to Caldera. The attackers' base has been moved farther from the defenders, and the switch has been put in one of the upper chambers, while the stations are located separately from the generators. The changes should fix a serious defensive advantage.

- (improvement) After you buy a vehicle, you now fade into the driver's seat if your armor and pack make you an eligible pilot/driver.

- (improvement) Added a "rogue" mine message so that if you are killed by a mine laid by someone who has left the building, the death message is more accurate.

- (improvement) Increased speed of belly turret projectiles so that it is more effective in general (especially for air defense).

- (improvement) Modified name tags of vehicles when you place your reticle over them. Names are now more consistent and descriptive.

- (improvement) Missile and AA turrets now have a longer maximum range (you'll still need to deploy sensors to get this added range, but they can fire farther if you do). They also react more quickly to available targets.

- (community) The "compose email", "forum post", and "news submission" windows are now resizable and movable.
This commit is contained in:
Robert MacGregor 2017-07-17 23:20:27 -04:00
parent b58ea2862a
commit 7d0bae2fd4
80 changed files with 4200 additions and 8778 deletions

View file

@ -1,84 +1,104 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(EMailComposeDlg) {
profile = "DlgBackProfile";
profile = "GuiModelessDialogProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
key = "76";
state = "replyMail";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "70 36";
new ShellWindowCtrl(EmailComposeWindow) {
profile = "ShellWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "67 37";
extent = "500 408";
minExtent = "48 92";
minExtent = "386 230";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "COMPOSE EMAIL";
maxLength = "255";
noTitleBar = "0";
frameBase = "gui/window";
borderWidth = "2";
resizeWidth = "1";
resizeHeight = "1";
canMove = "1";
canClose = "1";
closeCommand = "EmailComposeDlg.Cancel();";
new ShellTextEditCtrl(Email_ToEdit) {
profile = "NewTextEditProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "bottom";
position = "72 22";
extent = "408 38";
position = "51 30";
extent = "443 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
variable = "$EmailToAddress";
helpTag = "0";
text = "BigDevDawg,Symlink,Diamondback,Todesritter";
maxLength = "2000";
historySize = "0";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellTextEditCtrl(EMail_CCEdit) {
profile = "NewTextEditProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "bottom";
position = "72 48";
extent = "408 38";
position = "51 56";
extent = "443 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
variable = "$EmailCCAddress";
helpTag = "0";
text = "brunhilda,jett,DrAwkward,Rated z";
maxLength = "2000";
historySize = "0";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellTextEditCtrl(Email_Subject) {
new ShellTextEditCtrl(EMail_Subject) {
profile = "NewTextEditProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "bottom";
position = "72 74";
extent = "408 38";
position = "51 82";
extent = "443 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
variable = "$EmailSubject";
helpTag = "0";
maxLength = "48";
historySize = "0";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "height";
position = "27 109";
extent = "447 244";
position = "11 117";
extent = "478 250";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
@ -93,23 +113,28 @@ new GuiControl(EMailComposeDlg) {
horizSizing = "width";
vertSizing = "height";
position = "7 7";
extent = "417 230";
extent = "448 236";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiMLTextEditCtrl(EmailBodyText) {
profile = "ShellMessageTextProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "417 230";
extent = "448 236";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "3600";
deniedSound = "InputDeniedSound";
};
};
};
@ -117,10 +142,12 @@ new GuiControl(EMailComposeDlg) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "81 353";
extent = "128 38";
position = "96 368";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "EmailComposeDlg.Cancel();";
accelerator = "escape";
helpTag = "0";
@ -129,12 +156,14 @@ new GuiControl(EMailComposeDlg) {
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
horizSizing = "left";
vertSizing = "top";
position = "291 353";
extent = "128 38";
position = "306 368";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "EMailComposeDlg.SendMail();";
helpTag = "0";
text = "SEND";
@ -144,10 +173,12 @@ new GuiControl(EMailComposeDlg) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "28 84";
position = "8 91";
extent = "47 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Subject:";
maxLength = "255";
@ -156,10 +187,12 @@ new GuiControl(EMailComposeDlg) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "38 22";
position = "13 30";
extent = "50 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "LaunchAddressDlg();";
helpTag = "0";
text = "TO:";
@ -169,10 +202,12 @@ new GuiControl(EMailComposeDlg) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "38 48";
position = "13 56";
extent = "50 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "LaunchAddressDlg();";
helpTag = "0";
text = "CC:";

81
base/gui/EnterIPDlg.gui Normal file
View file

@ -0,0 +1,81 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(EnterIPDlg) {
profile = "DlgBackProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "155 175";
extent = "330 130";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "ENTER IP ADDRESS";
maxLength = "255";
noTitleBar = "0";
new ShellTextEditCtrl(IPEntry) {
profile = "NewTextEditProfile";
horizSizing = "center";
vertSizing = "bottom";
position = "28 35";
extent = "273 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
altCommand = "EnterIPDlg.onDone();";
helpTag = "0";
maxLength = "24";
historySize = "0";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "43 75";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.popDialog( EnterIPDlg );";
accelerator = "escape";
helpTag = "0";
text = "CANCEL";
simpleStyle = "0";
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "187 75";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "EnterIPDlg.onDone();";
helpTag = "0";
text = "DONE";
simpleStyle = "0";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -1,67 +1,80 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(ForumsComposeDlg) {
profile = "DlgBackProfile";
profile = "GuiModelessDialogProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
action = "Reply";
parentPost = "18598";
forum = "58";
post = "12846";
topic = "3822";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "70 36";
new ShellWindowCtrl(FC_Window) {
profile = "ShellWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "69 32";
extent = "500 408";
minExtent = "48 92";
minExtent = "412 176";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "FORUMS POST";
maxLength = "255";
noTitleBar = "0";
frameBase = "gui/window";
borderWidth = "2";
resizeWidth = "1";
resizeHeight = "1";
canMove = "1";
canClose = "1";
closeCommand = "Canvas.popDialog(ForumsComposeDlg);";
new GuiTextCtrl() {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "22 37";
position = "8 37";
extent = "47 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Subject:";
maxLength = "255";
};
new ShellTextEditCtrl(FP_SubjectEdit) {
profile = "NewTextEditProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "bottom";
position = "65 29";
extent = "360 38";
position = "51 29";
extent = "443 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
variable = "$ForumsSubject";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "width";
vertSizing = "height";
position = "27 63";
extent = "448 298";
position = "11 63";
extent = "478 304";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
@ -73,37 +86,44 @@ new GuiControl(ForumsComposeDlg) {
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
horizSizing = "width";
vertSizing = "height";
position = "7 7";
extent = "418 284";
extent = "448 290";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiMLTextEditCtrl(ForumsBodyText) {
profile = "ShellMessageTextProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 -130";
extent = "418 414";
position = "0 0";
extent = "448 290";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "1";
maxChars = "3600";
deniedSound = "InputDeniedSound";
};
};
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
horizSizing = "left";
vertSizing = "top";
position = "239 358";
extent = "128 38";
position = "274 368";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.popDialog(ForumsComposeDlg);";
helpTag = "0";
text = "CANCEL";
@ -111,12 +131,14 @@ new GuiControl(ForumsComposeDlg) {
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
horizSizing = "left";
vertSizing = "top";
position = "351 358";
extent = "128 38";
position = "366 368";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "ForumsPost();";
helpTag = "0";
text = "POST";
@ -125,11 +147,13 @@ new GuiControl(ForumsComposeDlg) {
new ShellBitmapButton(QuoteBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "22 357";
vertSizing = "top";
position = "21 368";
extent = "172 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "GetQuotedText();";
helpTag = "0";
text = "INCLUDE TOPIC POST TEXT";

View file

@ -7,27 +7,35 @@ new GuiControl(GenDialog) {
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellDlgFrame() {
profile = "ShellDlgProfile";
horizSizing = "center";
vertSizing = "center";
position = "185 93";
extent = "317 271";
position = "161 168";
extent = "317 143";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "EDITOR";
text = "LOCK TOPIC";
maxLength = "255";
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "169 229";
position = "169 99";
extent = "79 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.PopDIalog(\"GenDialog\");";
helpTag = "0";
text = "CANCEL";
simpleStyle = "0";
@ -36,11 +44,13 @@ new GuiControl(GenDialog) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "233 229";
position = "233 99";
extent = "79 38";
minExtent = "32 38";
visible = "1";
command = "Canvas.PopDIalog(\"GenDialog\");";
hideCursor = "0";
bypassHideCursor = "0";
command = "TopicsPopupMenu.ExecuteLock();";
helpTag = "0";
text = "OK";
simpleStyle = "0";
@ -50,15 +60,18 @@ new GuiControl(GenDialog) {
horizSizing = "right";
vertSizing = "bottom";
position = "9 53";
extent = "298 180";
extent = "298 52";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 0";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
@ -66,32 +79,26 @@ new GuiControl(GenDialog) {
horizSizing = "right";
vertSizing = "bottom";
position = "4 4";
extent = "274 172";
extent = "274 44";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellFancyTextList() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
new GuiMLTextEditCtrl(LockTopicReason) {
profile = "ShellMessageTextProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "289 26";
minExtent = "8 20";
extent = "274 44";
minExtent = "8 8";
visible = "1";
helpTag = "0";
startScrollRegion = "0 0";
headerBitmap = "gui/server_tabs";
sortArrowBitmap = "gui/shll_sortarrow";
barBase = "gui/shll_bar";
glowOffset = "4";
rowHeight = "17";
headerFontColor = "8 19 6 255";
headerFontColorHL = "25 68 56 255";
separatorColor = "192 192 192 255";
drawSeparators = "0";
headerSort = "1";
allowReposition = "0";
lineSpacing = "2";
allowColorChars = "1";
maxChars = "80";
deniedSound = "InputDeniedSound";
};
};
};
@ -103,8 +110,11 @@ new GuiControl(GenDialog) {
extent = "286 17";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "TRIBE";
text = "REASON";
maxLength = "255";
};
};
};

View file

@ -309,7 +309,7 @@ new GuiControl(MessageHud)
horizSizing = "right";
vertSizing = "bottom";
position = "120 375";
extent = "400 24";
extent = "356 24";
minExtent = "8 8";
visible = "1";

View file

@ -0,0 +1,93 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(MoveThreadDlg) {
profile = "DlgBackProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl(MoveThreadDlgPane) {
profile = "ShellPaneProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "168 155";
extent = "277 125";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "MOVE THREAD";
maxLength = "255";
noTitleBar = "0";
new ShellPopupMenu(MoveToForumList) {
profile = "ShellPopupProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "17 43";
extent = "247 36";
minExtent = "49 36";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
rolloverBarBitmap = "gui/shll_pulldownbar_rol";
selectedBarBitmap = "gui/shll_pulldownbar_act";
noButtonStyle = "0";
};
new GuiTextCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "27 35";
extent = "225 16";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Select New Forum:";
maxLength = "255";
};
new ShellBitmapButton(mtdOKbtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "201 72";
extent = "65 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "TopicsPopupMenu.ExecuteMove();";
helpTag = "0";
text = "OK";
simpleStyle = "0";
};
new ShellBitmapButton(mtdCancelbtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "142 72";
extent = "75 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.PopDIalog(\"MoveThreadDlg\");";
helpTag = "0";
text = "CANCEL";
simpleStyle = "0";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -28,7 +28,7 @@ new GuiChunkedBitmapCtrl(NewsGui) {
maxLength = "255";
noTitleBar = "0";
new ShellBitmapButton() {
new ShellBitmapButton(NewsSubmitBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";

View file

@ -1,35 +1,47 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(NewsPostDlg) {
profile = "DlgBackProfile";
profile = "GuiModelessDialogProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "90 36";
extent = "460 408";
minExtent = "48 92";
new ShellWindowCtrl(NP_Window) {
profile = "ShellWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "85 39";
extent = "470 373";
minExtent = "388 209";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "POST NEWS";
text = "SUBMIT NEWS";
maxLength = "255";
noTitleBar = "0";
frameBase = "gui/window";
borderWidth = "2";
resizeWidth = "1";
resizeHeight = "1";
canMove = "1";
canClose = "1";
closeCommand = "Canvas.popDialog( NewsPostDlg );";
new GuiTextCtrl() {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "24 40";
position = "3 40";
extent = "60 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Category:";
maxLength = "255";
@ -38,10 +50,12 @@ new GuiControl(NewsPostDlg) {
profile = "ShellPopupProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "81 31";
position = "60 31";
extent = "175 36";
minExtent = "49 36";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
maxLength = "255";
maxPopupHeight = "200";
@ -54,37 +68,45 @@ new GuiControl(NewsPostDlg) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "24 70";
position = "3 70";
extent = "60 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Title:";
maxLength = "255";
};
new ShellTextEditCtrl() {
profile = "NewTextEditProfile";
horizSizing = "right";
horizSizing = "width";
vertSizing = "bottom";
position = "80 62";
extent = "359 38";
position = "59 62";
extent = "405 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
variable = "$NewsTitle";
helpTag = "0";
maxLength = "48";
historySize = "0";
password = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "width";
vertSizing = "height";
position = "27 97";
extent = "407 254";
position = "11 97";
extent = "448 236";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
@ -96,26 +118,31 @@ new GuiControl(NewsPostDlg) {
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
horizSizing = "width";
vertSizing = "height";
position = "7 7";
extent = "377 240";
extent = "418 222";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiMLTextEditCtrl(NewsPostBodyText) {
profile = "ShellMessageTextProfile";
horizSizing = "right";
vertSizing = "bottom";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "377 240";
extent = "418 222";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "3600";
deniedSound = "InputDeniedSound";
};
};
};
@ -123,10 +150,12 @@ new GuiControl(NewsPostDlg) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "68 354";
extent = "128 38";
position = "93 333";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.popDialog(NewsPostDlg);";
accelerator = "escape";
helpTag = "0";
@ -135,15 +164,17 @@ new GuiControl(NewsPostDlg) {
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
horizSizing = "left";
vertSizing = "top";
position = "264 354";
extent = "128 38";
position = "277 333";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "PostNewsProcess();";
helpTag = "0";
text = "POST";
text = "SUBMIT";
simpleStyle = "0";
};
};

View file

@ -2154,7 +2154,7 @@ new GuiControl(OptionsDlg) {
value = "32";
usePlusMinus = "1";
};
new GuiTextCtrl() {
new GuiTextCtrl(OP_MasterServerTxt) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -2220,7 +2220,7 @@ new GuiControl(OptionsDlg) {
selectedBarBitmap = "gui/shll_pulldownbar_act";
noButtonStyle = "0";
};
new ShellToggleButton() {
new ShellToggleButton(OP_CheckEmailTgl) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -2235,7 +2235,7 @@ new GuiControl(OptionsDlg) {
text = "CHECK EMAIL WHILE PLAYING";
maxLength = "255";
};
new ShellToggleButton() {
new ShellToggleButton(OP_ChatDisconnectTgl) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -2294,7 +2294,7 @@ new GuiControl(OptionsDlg) {
value = "500";
usePlusMinus = "1";
};
new ShellBitmapButton() {
new ShellBitmapButton(OP_EditChatMenuBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -2400,7 +2400,7 @@ new GuiControl(OptionsDlg) {
text = "SHOW PERSONAL SKINS";
maxLength = "255";
};
new GuiTextCtrl() {
new GuiTextCtrl(OP_LaunchScreenTxt) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";

View file

@ -127,8 +127,8 @@ new GameTSCtrl(PlayGui) {
horizSizing = "left";
vertSizing = "bottom";
position = "8 23";
extent = "92 5";
minExtent = "92 5";
extent = "93 5";
minExtent = "93 5";
visible = "1";
setFirstResponder = "0";
modal = "1";
@ -136,7 +136,7 @@ new GameTSCtrl(PlayGui) {
fillColor = "0.353000 0.373000 0.933000 0.800000";
frameColor = "0.000000 1.000000 0.000000 1.000000";
opacity = "0.8";
subRegion = "0 0 92 10";
subRegion = "0 0 93 10";
pulseRate = "500";
pulseThreshold = "0.3";
};
@ -147,8 +147,8 @@ new GameTSCtrl(PlayGui) {
horizSizing = "left";
vertSizing = "bottom";
position = "8 5";
extent = "92 8";
minExtent = "92 8";
extent = "93 8";
minExtent = "93 8";
visible = "1";
setFirstResponder = "0";
modal = "1";
@ -156,7 +156,7 @@ new GameTSCtrl(PlayGui) {
fillColor = "0.000 1.000 0.000 0.800000";
frameColor = "0.000000 1.000000 0.000000 0.000000";
opacity = "0.8";
subRegion = "0 0 92 10";
subRegion = "0 0 93 10";
pulseRate = "500";
pulseThreshold = "0.3";
};
@ -167,8 +167,8 @@ new GameTSCtrl(PlayGui) {
horizSizing = "left";
vertSizing = "bottom";
position = "8 30";
extent = "92 3";
minExtent = "92 3";
extent = "93 3";
minExtent = "93 3";
visible = "1";
setFirstResponder = "0";
modal = "1";
@ -410,6 +410,8 @@ new GameTSCtrl(PlayGui) {
missileMarker2 = "gui/RET_missile_marker_red";
missileFlash1 = "gui/RET_missile_horizflash_red";
missileFlash2 = "gui/RET_missile_vertflash_red";
LOSMarkerUpdate = 250; // amount of time in ms that markers get LOS updates. Turn this down to get more updates or up to get less.
};
new GuiControl(dashboardHud) {

View file

@ -222,7 +222,7 @@ new GuiControlProfile ("LaunchTabProfile")
fontSize = $ShellButtonFontSize;
fontColor = "60 140 140";
fontColorHL = "6 245 215";
fontColorNA = "5 5 5";
fontColorNA = "64 64 64";
fontColorSEL = "6 245 215";
fixedExtent = true;
bitmapBase = "gui/lnch_tab";