Search found 633 matches

by em3
Tue Jan 26, 2021 11:01 am
Forum: Compile
Topic: Many instances of new warnings
Replies: 8
Views: 5427

Re: Many instances of new warnings

I struggle with C++ syntax (it's quite different from the little C++ I learnt during my degree 20 years ago), but this Boost library and the whole OO stuff was born in hell. Oh, the OO stuff is not the problem. Templates and meta-programming are. They are a powerful tool, but analyzing code that ac...
by em3
Fri Jan 22, 2021 2:37 pm
Forum: Compile
Topic: Many instances of new warnings
Replies: 8
Views: 5427

Re: Many instances of new warnings

At least the second one seems severe. As if someone was passing a string literal to a function accepting pointers to non-const characters.
by em3
Fri Jan 15, 2021 4:57 pm
Forum: Dev Blogs
Topic: Dead Code Must Be Removed
Replies: 7
Views: 2528

Re: Dead Code Must Be Removed

The Clang compiler has some very robust tools for detecting unused and unreachable code.
by em3
Fri Oct 30, 2020 12:59 pm
Forum: Programming
Topic: Potential replacement of FOCS with Python
Replies: 107
Views: 36582

Re: Potential replacement of FOCS with Python

I thought Python was not meant to be used as an engine to run the effects, but as a way to construct c++ effects data structures. As such, it would be ran only at the start, right?
by em3
Thu Oct 29, 2020 10:17 am
Forum: Scripting & Balancing
Topic: Racial Purity policy
Replies: 11
Views: 1594

Re: Racial Purity policy

Alternatively, the concentration camps could be replaced with forced labor camps with lesser impact (lesser production bonus, small target population decrease, happiness decrease), and having racial supremacy or racial superiority policy (whatever the final name) would add the depopulation effect wh...
by em3
Fri Oct 23, 2020 5:45 pm
Forum: Programming
Topic: The Git/GitHub Questions, Answers and Howto Thread
Replies: 216
Views: 74197

Re: The Git/GitHub Questions, Answers and Howto Thread

Well, yeah. Technically you can. Note, that any PR from Feature-2 to upstream/master will contain also commits from Feature-1. If Feature-1 is merged before Feature-2 it won't be a problem, as the commit is the same (same hash, same parents) and Feature-2 PR will no longer include Feature-1 changes ...
by em3
Fri Oct 23, 2020 9:38 am
Forum: Programming
Topic: Build fails
Replies: 8
Views: 2036

Re: Build fails

I've pretty much given up on keeping track of the multiple accounts of people who have two completely unrelated names on the forum and github... That's entirely reasonable. I just wanted to make it clear, so that I don't count as "two votes" in favor of my pull request. :) Thank you for q...
by em3
Thu Oct 22, 2020 10:42 pm
Forum: Programming
Topic: Build fails
Replies: 8
Views: 2036

Re: Build fails

That would be me. :oops:
by em3
Sun Oct 18, 2020 8:50 am
Forum: Programming
Topic: Build fails
Replies: 8
Views: 2036

Re: Build fails

The Windows build works with the Visual Studio project files and on other OS's, so more includes aren't needed. A file is using a function without including a required header. That it works seems more like an accident. I'll bite, though. I'll see what is the difference between the generated .sln an...
by em3
Sat Oct 17, 2020 11:59 pm
Forum: Programming
Topic: Build fails
Replies: 8
Views: 2036

Re: Build fails

I'm using CMAKE, but it's just calling MSBuild under the hood. I'm using the solution as generated by CMAKE, but my understanding was that it should work.

Should I make a PR with the missing #include?
by em3
Sat Oct 17, 2020 5:52 pm
Forum: Programming
Topic: Build fails
Replies: 8
Views: 2036

Build fails

I'm attempting to build FO after updating to latest master. All over the codebase, I get errors like this: error C2039: "min": Nie jest składową "std" ... this translates to: error C2039: "min": Is not a member "std" One of the files with such problem is GG/GG...
by em3
Wed Oct 14, 2020 3:42 pm
Forum: FreeOrion Project
Topic: Site is down?
Replies: 3
Views: 1072

Re: Site is down?

I see it's back up. What was the problem?
by em3
Wed Oct 14, 2020 10:25 am
Forum: FreeOrion Project
Topic: Site is down?
Replies: 3
Views: 1072

Site is down?

When opening https://www.freeorion.org/ I get 500 internal server error response with the following message displayed: Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Cannot contact the database server) The forums are, apparently, not affected.
by em3
Tue Sep 22, 2020 9:04 am
Forum: Other Game Design
Topic: Leaders
Replies: 14
Views: 5743

Re: Leaders

I'm wondering if the scale that FreeOrion provides (number of systems and ships) lends itself well to introducing micro-manageable localized mobile bonuses (that is, leaders).

Global "advisors", on the other hand, are not leaders in the common understanding of video game tropes, I believe.
by em3
Wed Aug 05, 2020 1:16 pm
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 112
Views: 19549

Re: Potential GiGi replacements: Godot

o01eg wrote: Wed Aug 05, 2020 1:07 pm Looks like some games also migrates to Godot: https://github.com/unknown-horizons/godot-port and https://github.com/wesnoth/haldric
Wesnoth? Well, I'd never!
Didn't know the first one.