Search found 31 matches

by stride
Fri Oct 17, 2008 8:10 pm
Forum: General Discussion
Topic: All said and done?
Replies: 5
Views: 2330

Re: All said and done?

*grudge alert* I find input like that pointless. You show no respect for the people involved and the hours spent on this project. We must all remember that people have real lives, and also that members and founders is here on a voluntary basis. They are not a paid support staff ;) So... if you need ...
by stride
Thu Oct 16, 2008 8:20 am
Forum: General Discussion
Topic: Font support for Central European languages...
Replies: 24
Views: 4887

Re: Font support for Central European languages...

Gratulations! Kids are great :) I spent some more time looking into the FreeOrion and FreeType code, and it appears we can leave the StringTable code as is. There is little to gain from making the stringtable keys UTF8-safe, and leaving the datatype as std::string will still hold the UTF8 byte seque...
by stride
Thu Oct 09, 2008 12:49 pm
Forum: General Discussion
Topic: Font support for Central European languages...
Replies: 24
Views: 4887

Re: Font support for Central European languages...

I've taken a quick look at adding UTF-8 support. One approach seems to be adding it to the stringtable and GG elements only, which might be sufficient. I spent some time googling around. Here is what I found: Freetype lib in use supports Unicode, and once "glyphs" have been rendered into bitmaps wha...
by stride
Wed Oct 08, 2008 11:52 am
Forum: Programming
Topic: StringTable, [[KEY]] Expansion
Replies: 5
Views: 1398

Re: StringTable, [[KEY]] Expansion

Ok... I read up on std::set, cyclic reference problem fixed: Index: StringTable.cpp =================================================================== --- StringTable.cpp (revision 2680) +++ StringTable.cpp (working copy) @@ -60,6 +60,8 @@ (("'''" >> MULTI_LINE_VALUE >> "'''" >> _n) | SINGLE_LINE_V...
by stride
Wed Oct 08, 2008 9:00 am
Forum: Programming
Topic: StringTable, [[KEY]] Expansion
Replies: 5
Views: 1398

Re: StringTable, [[KEY]] Expansion

What do you mean by "It works (c), but loop checks remains." ? Does the order of strings matter? In particular, can a string refer to another string defined after it in the stringtable? What happens if a string references another string which itself references another string? (Again, does order mat...
by stride
Wed Oct 08, 2008 8:10 am
Forum: Programming
Topic: StringTable, [[KEY]] Expansion
Replies: 5
Views: 1398

StringTable, [[KEY]] Expansion

Added [[KEY]] Expansion in values on stringtable load. It works (c), but loop checks remains. Index: StringTable.cpp =================================================================== --- StringTable.cpp (revision 2680) +++ StringTable.cpp (working copy) @@ -60,6 +60,8 @@ (("'''" >> MULTI_LINE_VALU...
by stride
Tue Oct 07, 2008 7:23 am
Forum: Programming
Topic: Comments regarding code
Replies: 3
Views: 1125

Re: Comments regarding code

There are some potential pathfinding issues remaining with how things are set up now. If you play around with it, you might notice some quirks, particular relating to cases where the path tree is revealed between giving an order and a move choice being made by a ship en route. As well, the whole mo...
by stride
Mon Oct 06, 2008 7:50 am
Forum: Programming
Topic: Comments regarding code
Replies: 3
Views: 1125

Comments regarding code

Spent some time this weekend looking into the code, and I'm impressed. Well done, good quality! :) A little disappointed to see that pathfinding etc is implemented already, as that type of challenges is my personal favorites. Nice touch using Boost's graph lib for that. I do have to admit that I'm h...
by stride
Sat Oct 04, 2008 12:46 am
Forum: Programming
Topic: Graphviz layout
Replies: 5
Views: 1218

Re: Graphviz layout

Here you are Index: TechTreeWnd.cpp =================================================================== --- TechTreeWnd.cpp (revision 2680) +++ TechTreeWnd.cpp (working copy) @@ -1918,27 +1918,44 @@ Logger().debugStream() << "Tech Tree Layout Preparing Tech Data"; - std::map<std::string, Agnode_t*> ...
by stride
Fri Oct 03, 2008 7:57 pm
Forum: Programming
Topic: Graphviz layout
Replies: 5
Views: 1218

Re: Graphviz layout

Geoff the Medio wrote:Looks interesting... Can you post a patch with the relevant code changes?
I'll take a look. Need to wrap my head around Boost libs, templating and namespaces first :)
by stride
Fri Oct 03, 2008 1:11 pm
Forum: Programming
Topic: Graphviz layout
Replies: 5
Views: 1218

Graphviz layout

It's awesome seeing graphviz used in freeorions slick interface! I've used it before in a couple of monitoring solutions for monstrous size networks. Very cool and layout stinks every once in a while. However, I've found subgraphing into cluster0, cluster1 etc to be helpful sometimes. Here's a coupl...
by stride
Wed Oct 01, 2008 7:38 am
Forum: Compile
Topic: Scons can't find 'boost/shared_ptr.h'
Replies: 11
Views: 5955

Re: Scons can't find 'boost/shared_ptr.h'

Thanks for posting what you needed to do to get it working. I'm surprised it took that much, as the include and linker paths were intended to be relative for most dependencies (eg. excluding Python) though I haven't actually tried with the 2005 Express Edition myself... Compiler and linker paths ar...
by stride
Tue Sep 30, 2008 11:04 pm
Forum: Compile
Topic: Scons can't find 'boost/shared_ptr.h'
Replies: 11
Views: 5955

Re: Scons can't find 'boost/shared_ptr.h'

Got it working with MS Visual C++ 2005 Express SP1 without any scons compile after some trial and error. Started by creating D:\FreeOrion to hold all stuff. Yeah, C: is always nearly full. Unzipped the SDK so it ended up in D:\FreeOrion\FreeOrion_SDK. Deleted old FreeOrion source still in the SDK's ...
by stride
Mon Sep 29, 2008 10:53 am
Forum: Other Game Design
Topic: Regarding research
Replies: 46
Views: 3673

Regarding research

When playing MOO and other games using the concept of developing something to gain a tech, a weapon, or whatever - I find these tech/development-trees to be rather static and boring. Typically more advanced techs obsolete earlier techs etc. In the later stages of the game you have it all and tend to...
by stride
Mon Sep 29, 2008 9:36 am
Forum: Story
Topic: Alternate Backstory (with an eye toward Gameplay)
Replies: 73
Views: 11249

Re: Alternate Backstory (with an eye toward Gameplay)

Stumbling over ancient artifacts then gaining some advantage would be a really nice addition to the game :) I'm assuming a race to some degree does not know what future technologies are available to research, except the ones you are on the verge of discovering. One advantage of ancient artifacts cou...