Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Nov 25, 2017 1:52 am

All times are UTC




Post new topic  Reply to topic  [ 68 posts ]  Go to page Previous 1 2 3 4 5
Author Message
 Post subject: Re: Xenon HUD
PostPosted: Mon Sep 11, 2017 9:44 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 419
@phkb I noticed that sometimes you use p = null; in the end of a function, but other times not (same of other variables such as ps, h, w, etc.). Is there a reason why a variable should (or not) be set to null at the end of a function, e.g. does it help with performance or something? I don't seem to see any difference between using it or not using at all.


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Mon Sep 11, 2017 10:23 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1806
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
This came about because I thought explicitly de-referencing objects may have a bearing on memory usage. In hindsight I don't think it makes any difference at all, so it is largely redundant. I think you can safely ignore them.

_________________
My OXP's


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Mon Sep 11, 2017 11:14 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 419
Thanks for the info, much appreciated. I am considering removing all x = null; lines from my code then, for the sake of consistency.


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Thu Sep 14, 2017 1:45 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sun Jul 21, 2013 12:26 pm
Posts: 552
Found two minor issues:

- Crosshairs are not displayed after the first launch in the game (this was present in the previous version)

- Exception in the logs:
Quote:
14:58:57.496 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (XenonHUD 1.5.7): TypeError: worldScripts.ShipConfiguration_Core is undefined


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Thu Sep 14, 2017 8:33 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1806
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Thanks Astrobe. I have a new version in the works so I'll add these fixes in as well.

_________________
My OXP's


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Wed Sep 20, 2017 11:47 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1806
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Version 1.5.8 is now available via the download manager. Apart from the bug fixes for the issues noted by Astrobe, I've also added a "Fuel Leak" warning indicator to the display.

_________________
My OXP's


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Sun Oct 22, 2017 5:32 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1806
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Version 1.5.9 has just been released. In this version:
  • Fixed issue where scanner zoom setting was not being restored from a save game immediately after the game is launched. Note: the fix involves updating the default HUD to use the non-linear scanner with ultra zoom.
  • Performance tweaks.

_________________
My OXP's


Top
   
 Post subject: Re: Xenon HUD
PostPosted: Fri Nov 17, 2017 3:45 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1806
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Version 1.5.10 has been released. In this version:
- Better handling of situation when buying a new ship replaces the player's ship script object.
- Small tweaks for performance.
- Better handling of player ship destruction.
- Bug fixes.

_________________
My OXP's


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 68 posts ]  Go to page Previous 1 2 3 4 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited