Volca on 15/8/2008 at 14:53
You make me tempted to try looking at boost. It seems it can save quite some time. I tried to evade it as an extra dependancy but it looks worth it.
Small remark - are you planning to do any platform independance? The loading methods seem to be little endian only (If I din't overlook something).
I'd gladly join you if I wasn't working on opde already. This seems like a good effort. I hope you can sustain it, unlike the other projects that already tried and failed.
Also, this might interest you:
(
http://www.ogre3d.org/phpBB2/viewtopic.php?t=24625) http://www.ogre3d.org/phpBB2/viewtopic.php?t=24625
eddy on 15/8/2008 at 15:07
Quote Posted by Volca
You make me tempted to try looking at boost. It seems it can save quite some time. I tried to evade it as an extra dependancy but it looks worth it.
Boost is great. I couldn't imagine to work without it ;)
Quote:
Small remark - are you planning to do any platform independance? The loading methods seem to be little endian only (If I din't overlook something).
File loading is endian independend in datastream.h
I didn't test it with a big endian machine though.
I didn't know about this, but it looks quite good.
Volca on 15/8/2008 at 15:10
Quote Posted by eddy
Boost is great. I couldn't imagine to work without it ;)
Tempting :)
Quote Posted by eddy
File loading is endian independend in datastream.h
I didn't test it with a big endian machine though.
I see now, neat!
eddy on 15/8/2008 at 15:20
While we're at boost:
I've just recently browsed through the Opde source code and saw that you're using your own shared_ptr and wrote in a comment that boost's doesn't have downcasting.
This is not true at all if you look at this page:
(
http://www.boost.org/doc/libs/1_35_0/boost/shared_ptr.hpp)
there's both shared_polymorphic_cast and shared_polymorphic_downcast
(I think that this is also mentioned somewhere in the "real" documentation but I cannot find it right now)
Just thought I could tell you about this.. maybe a reason more to use boost ;-)
Volca on 15/8/2008 at 15:24
Thanks for that info. It didn't come up from google in the time I was searching for it. It seems it's time to get rid of that ugly .as<> construct then :)
The_Raven on 16/8/2008 at 00:24
Man, I really need to learn how to code properly* so I can do cool shit like this someday.
*Experience is mostly from coding assignments for school, which my code is usually quite sloppy on. Hell, not too long ago I found out why one of my program was segfaulting so much: I was trying to recurse on main. :o
The_Raven on 17/8/2008 at 22:06
Looks good. :thumb:
Neb on 17/8/2008 at 22:10
Keep up the good work eddy. :cool:
I've just started to learn programming in C++ and was almost tempted to try and make a little game with a similar engine, but it would probably end in tears.
The_Raven on 25/9/2008 at 19:44
Has there been any progress on this lately?