FreeOrion

Forums for the FreeOrion project
It is currently Sat May 25, 2013 9:19 pm

All times are UTC




Post new topic Reply to topic  [ 123 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9
Author Message
 Post subject:
PostPosted: Sat Oct 02, 2004 3:04 am 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
Geoff the Medio wrote:
I vaguely recall this being discussed, but I don't recall the answer...

Is there any reason that the "debug mode" couldn't have the ability to add or remove starlanes / wormholes?


Yeah. There's a pretty strong reason why you shouldn't be able to do that; that should only ever be done by the server, not a client. We don't want to let such data paths exist to make it easy for cheaters. By contrast, making everything visible happens at the server.

Quote:
And, actually, is there any reasons the game couldn't add or remove starlanes in normal play... perhaps with effects or something similar?


No, there's no reason why we couldn't do that. In fact, one day... but not today, ok? Let's leave this until v0.4 or later. The effects code is already taking way too long.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 02, 2004 3:58 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
tzlaine wrote:
Quote:
And, actually, is there any reasons the game couldn't add or remove starlanes in normal play... perhaps with effects or something similar?


No, there's no reason why we couldn't do that. In fact, one day... but not today, ok? Let's leave this until v0.4 or later. The effects code is already taking way too long.

There's no rush... I was just asking if it was doable ever, not that it be done for v0.3.


Top
 Profile  
 
 Post subject: order of pruning
PostPosted: Sat Jul 02, 2005 11:20 pm 
Offline
Space Krill

Joined: Tue Jun 28, 2005 3:24 am
Posts: 9
I personally think that with delaunchy triangulation this would be a good order.
1. topographical pruning should be done first, (it wont disconet any systems from the rest of the map).
2. check for angles being too small.
3. then check for systems too close to a lane (here's some sudo code).

Code:
if( (sin( m[u]/  [/u]angle) * length_of_smaller_lane) <= too_close)
{
smaller_lane.delete();
}
else
{}


notes: i know a bit of scheme and a little java (I've taken an introductory class in computer science) im also reading jave demystified
underline a / and add two spaces to get / .


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 123 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group