Search found 1062 matches

by tzlaine
Mon Dec 19, 2011 1:45 pm
Forum: Compile
Topic: Linux Freeorion compile problem (boost 1.48.0?)
Replies: 4
Views: 2380

Re: Linux Freeorion compile problem (boost 1.48.0?)

This should be fixed in SVN now.
by tzlaine
Thu Dec 15, 2011 4:04 pm
Forum: Compile
Topic: Linux GiGi compile problem
Replies: 19
Views: 5605

Re: Linux GiGi compile problem

This is fixed in SVN now. Feel free to use Boost 1.47 or 1.48 as you like now.
by tzlaine
Mon Nov 21, 2011 12:38 am
Forum: Compile
Topic: Issues compiling Mac/Win
Replies: 18
Views: 8080

Re: Issues compiling Mac/Win

[On OSX] Looking at the error messages I noticed that cmake seems to have problems with path names which contain white spaces. Error copying file (if different) from "/Users/gernot/software projekte/freeorion-sdk/FreeOrion/GG/libltdl/config.h" to "/Users/gernot/software projekte/free...
by tzlaine
Fri Nov 18, 2011 10:12 pm
Forum: Compile
Topic: Issues compiling Mac/Win
Replies: 18
Views: 8080

Re: Issues compiling Mac/Win

Also, there are CMake build files available for both GG and FO. You can use them to build plain old makefiles, or XCode files as well. These are what I use exclusively to do my Linux development.
by tzlaine
Sun Nov 06, 2011 3:39 pm
Forum: Dev Blogs
Topic: The New FreeOrion Parser
Replies: 0
Views: 8065

The New FreeOrion Parser

What Happened First off, for those of you that don't know a "parser" is a bit of code that reads plain text (AKA a "string"), and does something with it. FreeOrion has a parser that reads the FO config files (e.g. techs.txt) and builds the appropriate data structures to represen...
by tzlaine
Mon Oct 24, 2011 6:33 pm
Forum: Other Game Design
Topic: Tech Tree Discussion: FO vs. MoO2
Replies: 50
Views: 9552

Re: Tech Tree Discussion: FO vs. MoO2

...The basis for the theory-application-refinement design decision was that it provides interesting choices. Specifically, it is supposed to make you choose between sinking a lot of resources into a new area of research (theories, and to a lesser extent, applications), or sinking those same resourc...
by tzlaine
Mon Oct 24, 2011 2:49 pm
Forum: Other Game Design
Topic: Tech Tree Discussion: FO vs. MoO2
Replies: 50
Views: 9552

Re: Tech Tree Discussion: FO vs. MoO2

The refinement concept was decided on a long time ago, as someone mentioned earlier, even before Geoff became involved in FO. The basis for the theory-application-refinement design decision was that it provides interesting choices. Specifically, it is supposed to make you choose between sinking a lo...
by tzlaine
Sun Oct 23, 2011 4:59 pm
Forum: Programming
Topic: [PATCH] GetBoldFont/GetTitleFont try/catch
Replies: 8
Views: 1509

Re: [PATCH] GetBoldFont/GetTitleFont try/catch

One other thing. There is a copy of DejaVuSans.ttf now baked into libGiGi. You can access it by calling GG::GUI::GetGUI()->GetStyleFactory()->DefaultFont() (or similar, I din't try compiling that). This should probably be a last-chance fallback.
by tzlaine
Fri Oct 21, 2011 1:42 pm
Forum: Graphics
Topic: cursor icons
Replies: 10
Views: 5567

Re: cursor icons

I don't think there is a "current cursor". At least there's no graphic included that i can find. What you are seeing is, i expect your system's cursor. But 16x16 is standard cursor size, and that's what my new cursors are (give or take a pixel). The black outline may not show up well in t...
by tzlaine
Tue Oct 18, 2011 2:17 pm
Forum: General Discussion
Topic: Left handed mouse problem
Replies: 12
Views: 3236

Re: Left handed mouse problem

A bunch of source code changes would need to be made to do this. A higher priority is probably to have a fully remappable set of keyboard hotkeys. I'm surprised you don't just leave the mouse as it is while left-hand mousing. I switch occasionally if my right had is getting tired or sore, and don't...
by tzlaine
Sun Oct 16, 2011 10:38 pm
Forum: Programming
Topic: [RESOLVED] Condition::Contains implementation
Replies: 115
Views: 13079

Re: Condition::Contains implementation

A form of Carsten's approach, using std::vector directly, including calls to reserve(), is now in SVN. Out of curiosity, I took only the simple-match branches of Condition::*::Eval() and replaced it with a version of what Carsten describes on the first page of this thread. Instead of getting new num...
by tzlaine
Sun Oct 16, 2011 9:29 pm
Forum: Programming
Topic: Bullet version
Replies: 2
Views: 994

Re: Bullet version

This is not relevant for FO. We use mainly the really simple bits of Bullet. I use the latest version of Bullet whenever I set up development on a fresh system (which happens a lot for me), with no problems.
by tzlaine
Sun Oct 16, 2011 3:49 am
Forum: Programming
Topic: [PATCH] WithinStarlaneJumps implementation
Replies: 78
Views: 8333

Re: [PATCH] WithinStarlaneJumps implementation

After a bit of googling , it appears that boost::serialization binary archives aren't portable between OSes. I switched to binary serialization a while ago to reduce the file sizes, but apparently that has broken cross-platform serialization... I assume you both were running on Linux, though... I d...
by tzlaine
Sat Oct 08, 2011 2:46 pm
Forum: Compile
Topic: Issues with 'templatized' version of GG's Slider / CUISlider
Replies: 7
Views: 2809

Re: Issues with 'templatized' version of GG's Slider / CUISl

What compiler are you using? Neither gcc 4.1 nor gcc 4.5 give meany errors (at least regarding the Slider code).
by tzlaine
Fri Oct 07, 2011 8:37 pm
Forum: Programming
Topic: [RESOLVED] Condition::Contains implementation
Replies: 115
Views: 13079

Re: Condition::Contains implementation

I'm not sure where you got the information about C++11 from, though, cppreference.com even shows extensions of the splice() feature for c++11. std::list can have an O(1) size() or an O(1) splice(), but not both (because it's impossible to have both). c++03 allows implementations to pick which one t...