Darwinbots Forum
Code center => Darwinbots Program Source Code => Topic started by: happyhamsterchan on May 16, 2010, 09:24:25 AM
-
I LOVE C++!!!
So, when I found out about DB2.5, I was happy. Where can I get the source? How far along is the development? Is there a gui and stuff?
-
I set up a repo for it: DarwinbotsC (http://www.darwinbots.com/svn/DarwinbotsC/).
It used FoxGUI for the GUI. OpenGL + GLUT for the graphics. It was also not a whole lot better than the VB source and rather buggy to boot. But if you want to dive in to it be my guest
-
what do you mean by "not a whole lot better"?
what do you mean by "not a whole lot better"?
-
The problems with the VB source are partly that it's in VB (VB6 has it's own flavor of issues), but also partly just the way it's architected. The C code is probably an 85% straight port of the VB code, so it inherits most of the same issues.
-
what dort of architecture problems? How is db3 architected differently? how easy would it be to switch architectures?
-
why are we currently working on db2 from time to time, if db2.5 is almost done?
-
oh also, now that I have the code, how do I execute it?
-
what dort of architecture problems? How is db3 architected differently? how easy would it be to switch architectures?
Things are just very... flat. Non-compartmentalized. The graphics dig in to the physics and the DNA and bot memory and all that. It's like a complicated phone operator's switchboard. eg: picture of a switchboard (http://etc.usf.edu/clipart/12900/12900/switchboard_12900_lg.gif). Makes the code hard to maintain because a bug in area A might be caused by a bug in area W.
why are we currently working on db2 from time to time, if db2.5 is almost done?
DB2, for all it's faults, is a relatively stable code base. Whereas the C++ port was basically feature complete but still needed bug fixing. And as I've come to learn, the last 10% of a project take 90% of the time.
So given that I wanted to start over in C# and do things right from the ground up, it just made sense to abandon the C++ code.
oh also, now that I have the code, how do I execute it?
It's just C++ code. Nothing fancy. Stick it in either Visual Studio (I used VS6 for this, but it should work in later versions) or GCC and hit compile.