SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-30-10, 04:13 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
Nah, I think he crashed coming down off a 3 day cafine rush.
nope, rewriting all the code that used polling to monitor items to event driven. Also making the options file a repository for all the persistent settings used and adding accessor methods (get/set) for all the user options so that I can implement a page in the game's options page that will allow the user to change settings on the fly.
Finishing up on the notepads for all the scopes also...

Did anyone notice that the 2 draggable compasses I added to the nav map are upside down?? I flipped them so they are correct now in v2.1.0
TheDarkWraith is offline   Reply With Quote
Old 04-30-10, 04:28 PM   #2
McHub532
Seasoned Skipper
 
Join Date: Dec 2008
Location: Arizona
Posts: 665
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Did anyone notice that the 2 draggable compasses I added to the nav map are upside down?? I flipped them so they are correct now in v2.1.0
Yep, noticed that one but was too tired.. saved game and went to bed.. and then haven't used them so forgot about it.
__________________
Thomas Jefferson - "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

McHub532 is offline   Reply With Quote
Old 04-30-10, 04:33 PM   #3
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
Default

2.1.0 Wow looking forward to this
SeaWolf U-57 is offline   Reply With Quote
Old 04-30-10, 04:33 PM   #4
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Also making the options file a repository for all the persistent settings used and adding accessor methods (get/set) for all the user options so that I can implement a page in the game's options page that will allow the user to change settings on the fly.
Are you hinting that this will be included with 2.1?

Or is this down the road a bit?
7thSeal is offline   Reply With Quote
Old 04-30-10, 04:46 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by 7thSeal View Post
Are you hinting that this will be included with 2.1?

Or is this down the road a bit?
I'm trying for 2.1 but it might get pushed to 2.2 due to all the changes I've made to 2.1. It (2.1) is more like a total rewrite of the code and thus needs to be fully tested (and hopefully the errors will be of a small number)
TheDarkWraith is offline   Reply With Quote
Old 04-30-10, 04:59 PM   #6
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I'm trying for 2.1 but it might get pushed to 2.2 due to all the changes I've made to 2.1. It (2.1) is more like a total rewrite of the code and thus needs to be fully tested (and hopefully the errors will be of a small number)
The releases you've made so far in increments seems to have worked well for keeping the bugs to a minimum and tracking down quickly. No need to rush it because of us (kids in a candy store) waiting around.
7thSeal is offline   Reply With Quote
Old 04-30-10, 04:49 PM   #7
speedbird
Gunner
 
Join Date: Mar 2010
Location: Brighton, UK
Posts: 91
Downloads: 127
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Did anyone notice that the 2 draggable compasses I added to the nav map are upside down?? I flipped them so they are correct now in v2.1.0
I thought it was me, I almost gave up drinking because of it...
speedbird is offline   Reply With Quote
Old 04-30-10, 04:55 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v2.1.0 is probably going to have some bugs in it, it's just inevitable with the amount of changes I've made to the code. Just report the bugs as always and I'll fix them.

In every version up to 2.1.0 when a file needed to access the options file it imported it. There were many files that needed access to the options file so there were many copies of all these variables floating around (every file had it's own copies of the variables). This was very inefficient on memory and didn't provide for global variables. So I shifted everything over to accessor methods (get/set) and now when a file needs to access an option in the options file (or set an option in the options file) it calls the associated accessor method. This provides for persistent settings for all the variables. Every file gets the same 'state' of the variable in the options file when they ask for it. This was needed for the notepads on the attack, obs, and uzo. This also saves on memory as now only one set of options file variables are being used.
TheDarkWraith is offline   Reply With Quote
Old 04-30-10, 04:53 PM   #9
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by TheDarkWraith View Post
Also making the options file a repository for all the persistent settings used and adding accessor methods (get/set) for all the user options so that I can implement a page in the game's options page that will allow the user to change settings on the fly.
Now this sounds more like how game configuration options should be done. It would really reduce user confusion and increase usability. Will these setting remain persist after exiting game and restarting?
I wish UbiSoft had done something like this for things like Periscope Depth, Snorkel Depth, Crash Dive Depth, Dive Depth, Decks Awhash etc. that can be changed during game play.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 04-30-10, 04:57 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
Now this sounds more like how game configuration options should be done. It would really reduce user confusion and increase usability. Will these setting remain persist after exiting game and restarting?
I wish UbiSoft had done something like this for things like Periscope Depth, Snorkel Depth, Crash Dive Depth, Dive Depth, Decks Awhash etc. that can be changed during game play.
Eventually I will make the settings persistant across saved games by saving the options back to the options file in their current state. That will be a couple of versions away though. I need to ensure all the bugs are worked out before going down that road.
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.