Search found 716 matches

by x3n
Thu Jan 21, 2016 9:56 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

Yes I noticed that too when I tried to compile on tardis yesterday. Looks like something ISG should be able to fix (but maybe they need a hint) ;) Anyway, I'm glad they upgraded gcc to version 4.9, looks like we're on track. Thanks for testing the snippets @flozi. It seems that gcc indeed fixed the ...
by x3n
Wed Jan 20, 2016 10:04 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

Ok here's a small snippet that reproduces the warning with my compiler (gcc 4.8.1): class A { }; class B : virtual public A { }; class C : virtual public B { }; class D : public C { D& operator=(const D&) = delete; }; And here's a snippet that fixes the warning (by adding a defaulted assignment oper...
by x3n
Wed Jan 20, 2016 8:28 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

Thanks. I got that warning too with gcc 4.8.1, but I thought that it is bogus and gcc fixed it in 4.8.2.
But now that you get this warning also with a recent version of gcc I should probably have a closer look at it.
by x3n
Sun Jan 17, 2016 9:29 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

I merged the branch back to trunk. Orxonox is now officially a C++11 project :beerchug:
by x3n
Sat Jan 02, 2016 9:59 pm
Forum: Coding
Topic: How not to use casts [an ironical comment]
Replies: 2
Views: 19570

How not to use casts [an ironical comment]

Recently I spent some time in Orxonox, when I noticed something strange: healthbar_bug_1.PNG What's that weird blurry thing on the left? Apparently it's supposed to be a health bar, just like the one on the right. Only that, for some reason, one healthbar is blurred and the other is not. Ok well, bu...
by x3n
Thu Dec 31, 2015 2:47 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

I think it's better to remove the forward declaration instead of making it even more hacky. Instead you can include <string> where it makes sense (e.g. UtilPrereqs.h and CorePrereqs.h... or maybe already in OrxonoxConfig.h?)
by x3n
Thu Dec 31, 2015 10:05 am
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

During the past two months we worked through the checklist from the first post of this thread. There was some tedious work (using 'nullptr', adding 'override', etc.) and some tricky work (like variadic templates, type traits, etc.). Thanks a lot to muemart for doing many of those tasks! The branch w...
by x3n
Tue Nov 10, 2015 8:11 pm
Forum: Off Topic
Topic: Delta Time
Replies: 2
Views: 56751

Re: Delta Time

:wallbash: In some games these effects happen because they use animations with discrete steps. So e.g. the "reload" animation has 10 steps and is supposed to take 1 second. Every step needs at least one frame, so if you have less than 10 frames per second, reloading takes longer than a second. This ...
by x3n
Sun Nov 08, 2015 7:37 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

Fascinating, thanks! I'll have a look at it. Ideally we could work around the limitation of 5 parameters and C++14.
For make_index_sequence I think we need at least GCC 4.9 (and MSVC14).
by x3n
Sat Nov 07, 2015 1:43 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

Yes it supports the same compiler arguments like gcc, but that doesn't neccessarily mean it accepts the same code and issues the same warnings
by x3n
Fri Nov 06, 2015 10:06 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Re: Orxonox goes C++11

clang-modernize Oh wow, never heard of that. That could be really helpful. But I'm not sure if Orxonox already compiles with clang. Last time I tried to use clang, I got tons of warnings on the first few files... Anyway, making Orxonox work with clang could be an interesting side project. Any volun...
by x3n
Mon Nov 02, 2015 10:22 pm
Forum: Framework Development
Topic: Orxonox goes C++11
Replies: 43
Views: 212622

Orxonox goes C++11

We're about to move to C++11! Everyone who's interested in the topic can have a look at branch cpp11_v2: http://www.orxonox.net/browser/code/branches/cpp11_v2 You're welcome to test the branch, see if it compiles and works for you, and to add your favorite C++11 features to Orxonox! To use all featu...
by x3n
Thu Oct 08, 2015 9:01 pm
Forum: Framework Development
Topic: What's new in core7?
Replies: 3
Views: 20919

Re: What's new in core7?

The compile time checks were implemented with static assertions from the boost library: template <class T> class ObjectList { BOOST_STATIC_ASSERT((boost::is_base_of<Listable, T>::value)); Rather simple ;) About libraries, modules, and plugins: So far we only distinguished between "libraries" and "mo...
by x3n
Mon Oct 05, 2015 8:49 pm
Forum: Framework Development
Topic: What's new in core7?
Replies: 3
Views: 20919

What's new in core7?

Yesterday I merged the core7 branch back to trunk after almost six months of (interrupted) development. Not because it is completely "done", but rather because the new PPS is about to start and I wanted the new branches to use the updated framework features. I'll have to add some additional tests an...
by x3n
Tue Sep 15, 2015 3:56 pm
Forum: General Development
Topic: Unterschied getXMLController() <---> getController()
Replies: 8
Views: 60754

Re: Unterschied getXMLController() <---> getController

Wegen dem Crash-Log: Das kann schon sein, dass der Stacktrace nicht erzeugt werden kann. Du kannst dir den Code in SignalHandler.cc anschauen (in der util Library). Es wird versucht, eine GDB-Instanz an den laufenden Orxonox-Prozess zu attachen, um den Stacktrace zu erzeugen (unter Linux). Dabei kan...