Code center > Darwinbots Program Source Code
Direction of the Code
Numsgil:
Just ran a profile of 2.4.
Roughly half the clock cycles are VB copying bytes from one place to another.
That means that porting to C++, and using pointers, I bet I could get at least a double increase in speed.
Numsgil:
I'm starting the port over to C++. I'll do the robots module first, then show you guys, so you can have an idea of what sort of coding style I think would work, what it would look like, etc.
Most of the reasons why "not" I've heard are more in the range of "I don't know C++" than anything else. Since it's pretty evenly split... I'll just sort of make the leap, and we'll see what develops.
I'll probably do the graphics in OpenGL since it's cross platform. I'll try to keep everything as platform unspecific as possible. That means we can port it to other OS's probably. Plus that means we can do some neat things with the graphics. Like pan and tilt, so you can see the bots run around in psuedo-3D (they'd all still be in the same plane, but you get the idea...)
I'm looking into finding a GUI editor like Visual Basic. If I can find one that's cross platform too...
That would be neat :P
Numsgil:
FTLK Looks like a good open source, free, GUI creation utility that's cross platform...
I'll give it a try out.
Numsgil:
Um, is it spamming yet?
I've uploaded VC6 to the FTP. ;) ;) ;) (Do you get it yet?)
edit: And I'm looking into wxWidgets which is another GUI creation library that's cross platform.
I'll probably go with whichever is best.
Botsareus:
ok I give up , I was looking for a decompilor for vb two full days.
GREVEN HOW DID YOU GET MY SOURCE CODE?
second qustion:
WHAT ADJASMENTS?
btw:
NUM SORRY FOR RUINING THE HELL OUT OF THIS THREAD, but I cant stop myself.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version