Filter empty sitreps

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Message
Author
User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: Filter empty sitreps

#46 Post by vincele »

After a lot of fumbling around, I got something that seems to work, it's rediffed against svn current.

[The extension diff has been deactivated and can no longer be displayed.]

Please test & comment
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Filter empty sitreps

#47 Post by Geoff the Medio »

Code: Select all

6>..\..\UI\SitRepPanel.cpp(507): error C3861: 'srdbg': identifier not found

User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: Filter empty sitreps

#48 Post by vincele »

Here's one without the debug code...

[The extension diff has been deactivated and can no longer be displayed.]

All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Filter empty sitreps

#49 Post by Geoff the Medio »

Slightly edited version committed. Changes were {} placement, and passing the list of sitreps by const reference instead of by value.

User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: Filter empty sitreps

#50 Post by vincele »

Thanks a lot, I'll pop another one from the stack...
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

Post Reply