Darwinbots Forum

Code center => Darwinbots Program Source Code => Topic started by: Zelos on April 01, 2005, 09:18:00 AM

Title: egrid 2,36
Post by: Zelos on April 01, 2005, 09:18:00 AM
ive looked at the egrid in 2,36, buts whats the point whit it now? is it only to show us how it will be? and why should you be able to see silica?
Title: egrid 2,36
Post by: shvarz on April 01, 2005, 10:12:56 AM
Yeah, I think it does not do anything right now...  It does not even adjust to field sizes >1.  Just an example of what it would look like.  And my guess is that the layers that wa can see are just examples - they may not even make it to the final e-grid.
Title: egrid 2,36
Post by: PurpleYouko on April 01, 2005, 12:26:47 PM
What you see in the e-grid in 2.36 is just what I threw together in a couple of hours to test out the system

Right now the only layer that actually does anything is O2. At the start of a sim, all values are randomized in this layer then the values gradually spread form high to low until the whole grid is homogenized.

Other than that though, there are no interactions with anything except for the special case that shots not hitting anything are dumped to the grid as temperature just to test the interaction. (possibly disabled in the release)

You can pretty much ignore the e-grid in 2.36 as it isn't any use to anybody yet.

I thought Num was going to disable it for this release anyway.

At least he disabled the grid interaction that was crashing on anything above size 1.
Title: egrid 2,36
Post by: Numsgil on April 01, 2005, 01:17:16 PM
I was going to disable it but it meant alot of commenting code and perhaps not commenting all the code correctly, so I just disabled it from appearing when you pause.  If you want to look at it, you can use the menu.

I'm pretty sure I've said this elsewhere already...
Title: egrid 2,36
Post by: PurpleYouko on April 01, 2005, 01:36:03 PM
My updated code that I will send on Monday takes care of the pausing issue too. It is just a small mod in MDIForm1.

I also note that on my slower home PC, when running from code, the progress is a little jumpy due to the e-grid updating routine. I disabled this and it runs much smoother now.
Title: egrid 2,36
Post by: Botsareus on April 01, 2005, 02:07:38 PM
Num, did you know that in vb you can select a big porsion of code and comment it with one button? You dont have to go comment one line at a time...
Title: egrid 2,36
Post by: Numsgil on April 01, 2005, 03:05:14 PM
Quote
Num, did you know that in vb you can select a big porsion of code and comment it with one button? You dont have to go comment one line at a time...
 :blink:   You can?  Tell me!  I've been haunted by the lack of mass commenting functionality.

That wasn't the problem in this case though.  There were alot of one liners that would need to be commented out, as well as menus that would need to be removed.  Not worth it IMO.
Title: egrid 2,36
Post by: Botsareus on April 01, 2005, 03:54:38 PM
Microsoft Visual Basic Menu > View > ToolBars > Edit[ \// ]

Edit ToolBar > Comment Block

[you]more fun stuff:[/you]

Edit ToolBar > Indent

[you]Dont like the button Arrangement?[/you]

Microsoft Visual Basic Menu > View > ToolBars > Castumize....

[you]Finaly the shortcuts:[/you]

Back click in empty space of Microsoft Visual Basic Menu
Title: egrid 2,36
Post by: Numsgil on April 01, 2005, 04:11:25 PM
You learn something new everyday.