Tuesday, August 30, 2011
Week 5 - Update
Just as I thought. I didn't have time to even think about TSOTR. So no changes last week. There is still some matters I have to handle early this week, but later this week I might be able to do something.
Sunday, August 21, 2011
Week 4 - Update
This week I was able to sacrifice only one hour coding and few hours designing for my ever hungry TSOTR project. I made use of GameObject a bit easier and designed how to do it and how to do some new parts. Unfortunately next week I might not able to do TSOTR at all. Well, I can always design TSOTR and write down something, but I might not be able to code it at all.
Stats (Made with Code Analyzer by mteel)
Sunday, August 14, 2011
Week 3 - Update
(Elitist Coding)
Hiya, I am just sipping some wine and trying to figure out wtf am I doing. The design of TSOTR is ok, but c++ and how to use it's libraries especially boost is something terrible. When I have stuff like this...
boost::shared_ptr<std::vector<boost::shared_ptr<GameObject>>>playerActions(new std::vector<boost::shared_ptr<GameObject>>);
... in my code I am not sure should I cry or laugh. No, I am not going to back off and switch language. Don't get me wrong. I really like c++, but when you need to get something more or less dynamic stuff code can look like above. Sure I could use typedef this and that, but then code would get even harder to understand, because all definitions would be hidden. Oh and you don't even want to know what kind of error messages monsters like above can produce...
Stats (Made with Code Analyzer by mteel)
Sunday, August 7, 2011
Week 2 - Update
I have been busy with other things lately. So there isn't that many changes. I just found out some major problem with current design. When everything can be the same thing and when there is pointers to those same kind of things, those pointers will run out eventually. Fortunately the problem occurs more easily when using 32-bit programs and we already have 64-bit computers. That means TSOTR will be 64-bit. Unfortunately mingw doesn't really support compiling in 64-bit mode yet. I just got nothing but "..\src\TSOTR.cpp:1:0: sorry, unimplemented: 64-bit mode not compiled in". Sure there are versions of mingw that support 64-bit mode, but those things won't support debugging and thats something I really need. I can continue with 32-bit mode, but eventually TSOTR will need 64-bit mode. So lets hope there will be mingw that supports 64-bit mode and debugging in near future.
Current stats. (Made with Code Analyzer by mteel)
Subscribe to:
Posts (Atom)