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 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-27-13, 02:01 AM   #10
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,797
Downloads: 1214
Uploads: 4
Default

Quote:
Originally Posted by privateer View Post
As far as replaceing/copying S3D and how it works? I'd not waste the time when there's still a bunch of stuff you could address that S3D does not handle.
That is a point.. I'll only consider replacing it's functionality if I have nothing else to do... so it's a last resort thingy!!

Quote:
Is that prudent? I mean, AFAICT the ini structure itself with those [Gxx Iyyy] identifiers just represents the actual UI tree (or forest, actually), but flattened backwards. These bracketed numbers don't present any meaningful info for editing, do they? Plus if you store them, you'd have to recalculate them for the whole subtree every time you add or remove UI elements, instead of just once when saving the file.

IDs (ItemID, ParentID), on the other hand, are a different matter, since they are pretty much responsible for the actual UI structure.
I've done it this way to keep the original INI structure and make reading/saving the INI straight forward - It's just a simple tree walk.
Maybe it'll also help the modder keep track of what he/she's doing.
No problem with the PMs

I've used a variety of dev kits MsC, C++, Visual Basic and Masm (and other similar embedded stuff) , but still gravitate to Masm - I like tinkering . The structures of the languages are literally the same, as you have to conform to the WinApi anyway.

Last edited by vanjast; 12-27-13 at 02:21 AM.
vanjast is offline   Reply With Quote
 

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:19 PM.


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.