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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-12-13, 09:55 PM   #7
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,975
Downloads: 153
Uploads: 11
Default

Another update:

I changed the turning radius variable from r to rp, and that seems to have fixed the problem. Do computers dislike short variable names? There are other variables with one letter and they are ok. Oh well.

The problem with the sketch window was unrealated. There is an auxiliary window that is used for different calculations. Some are related to the solution, some are entirely seperate. A couple of these functions used the Abg (angle, bearing) variable and would overwrite the value that the sketch function used. This would mess up the sketch when it was done after the aforementioned aux. functions. I renamed the variables to fix this.

After banging my head against the wall, I feel almost euphoric now.
TorpX 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 02:05 AM.


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