Search found 1137 matches

by adrian_broher
Mon Feb 10, 2020 12:34 pm
Forum: Programming
Topic: Adding backend support for missiles
Replies: 10
Views: 2382

Re: Adding backend support for missiles [help wanted]

]I'm not sure I've answered your question. Somewhat. When you've created a new Missle class and have added a new OBJ_MISSLE enum entry the selection by ObjectType() is feasible. The negative IDs are there to identify temporary UniverseObjects, that only exist during the lifetime of a combat. It may...
by adrian_broher
Mon Feb 10, 2020 12:07 pm
Forum: Programming
Topic: Adding backend support for missiles
Replies: 10
Views: 2382

Re: Adding backend support for missiles [help wanted]

Is there any first class object for missles? If yes pass the object and cast toward a missle. If not how is a missle represented in the first place?
by adrian_broher
Sun Feb 09, 2020 10:47 pm
Forum: FreeOrion Project
Topic: Snap distribution for 0.4.8, 0.4.9 and in future
Replies: 25
Views: 4427

Re: Snap distribution for 0.4.8, 0.4.9 and in future

> So it also depends what the snap ecosystem promises.

Ecosystem promises my arse. The semantic is clear: latest is latest, not an arbitary version from some time ago.
by adrian_broher
Sun Feb 09, 2020 9:32 pm
Forum: FreeOrion Project
Topic: Snap distribution for 0.4.8, 0.4.9 and in future
Replies: 25
Views: 4427

Re: Snap distribution for 0.4.8, 0.4.9 and in future

> The problem with latest/stable is not solved. If I change it to 0.4.9 potentially 270 players suddenly loose compatibility with their current savegames and I have currently no way to communicate that to the players. What's the point? They can install 0.4.8 if they want to. latest is latest, not pl...
by adrian_broher
Sun Feb 09, 2020 6:57 pm
Forum: Programming
Topic: Python3 migration
Replies: 70
Views: 28868

Re: Python3 migration

C++ changes: Looks like it is almost done for AI, what about UniverseGeneration and TurnEvents? There shouldn't be that much to do. Enabling the python 3 binding building in the SDK is one thing, selecting the python 3 binding in the build system the other. Everthing else should start to work by it...
by adrian_broher
Thu Feb 06, 2020 12:06 am
Forum: Programming
Topic: broken python2 support on openSUSE Tumbleweed
Replies: 2
Views: 962

Re: broken python2 support on openSUSE Tumbleweed

> Is it feasible to apply the current python3 commits to freeorion for 0.4.9 release

No, it's not feasible. Better wait for the next release.
by adrian_broher
Wed Feb 05, 2020 11:15 pm
Forum: Programming
Topic: FOCS Condition implementation
Replies: 5
Views: 1284

Re: FOCS Condition implementation

> If you are proposing a more-persistent cache
I'm currently still trying to grasp the setup so I propose nothing yet.

The problem is that I see the current implementation it makes my toe nails curls, nothing more, nothing less.
by adrian_broher
Wed Feb 05, 2020 9:26 pm
Forum: Programming
Topic: FOCS Condition implementation
Replies: 5
Views: 1284

Re: FOCS Condition implementation

Matching sets rather than each object independently also allows optimizations. Many conditions have parameters or sub-conditions that control how they match candidates. In some cases, those parameters or subconditions can be evaluated once and applied for all candidate objects. If each candidate wa...
by adrian_broher
Wed Feb 05, 2020 4:03 pm
Forum: Programming
Topic: FOCS Condition implementation
Replies: 5
Views: 1284

FOCS Condition implementation

What is the point of the ObjectSets, that are passed arround during evaluation?

Why are there matches and non_matches?

Why was this design chosen over a predicate design (pass in the object under evaluation and return if the condition applies as boolean value)?
by adrian_broher
Tue Jan 14, 2020 8:27 am
Forum: Programming
Topic: Python3 migration
Replies: 70
Views: 28868

Re: Python3 migration

And it absolutely needs to be done within the next release cycle, as Python2 support is fading out. FYI the majority of Linux Platforms are dropping Python2 with their next release. MacOS will drop support with 10.16. Some FO related bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1787241 https:/...
by adrian_broher
Tue Jan 14, 2020 8:12 am
Forum: Programming
Topic: Python3 migration
Replies: 70
Views: 28868

Re: Python3 migration

Vezzra wrote: Sun Jan 12, 2020 11:35 am If that's ok with him - Marcel?
Lolnotin1kyears. :3

But the release mechanism is idiot proof. Update the release versions in the cmake file, create an annotated tag and wait until the build was successful (assuming any of you didn't fuck up the setup).
by adrian_broher
Wed Jan 08, 2020 11:41 pm
Forum: Programming
Topic: Python3 migration
Replies: 70
Views: 28868

Re: Python3 migration

o01eg wrote: Wed Aug 07, 2019 3:36 am SDK not yet moved. It still should be tagged.
What prevents you from doing a release so far?
by adrian_broher
Tue Jan 07, 2020 12:12 am
Forum: Compile
Topic: How to reduce the number of ninja processes?
Replies: 2
Views: 10830

Re: How to reduce the number of ninja processes?

which file to patch before compilation, and how to do that in gentoo? None of the the project files, thats for certain. The cmake build setup of freeorion doesn't enforce a specific build system or job count. Those are set by the person or the plaform that invokes the compile. The `-j` parameter of...
by adrian_broher
Sun Apr 28, 2019 5:45 am
Forum: Compile
Topic: Help with setting up
Replies: 20
Views: 20442

Re: Help with setting up

em3 wrote: Sat Apr 27, 2019 10:06 pm Any particular problems? Is this about move/copy constructors that you mentioned in GitHub?
I don't know as the CI results are way too old to interpret properly. You can give the rebased version a spin: [email protected]:adrianbroher/freeorion.git on the win-cmake branch.
by adrian_broher
Sat Apr 27, 2019 8:58 pm
Forum: Compile
Topic: Help with setting up
Replies: 20
Views: 20442

Re: Help with setting up

Adrian_broher, if you need someone, who doesn't really know CMake and didn't dig into .sln, .vcxproj, .props etc for some time, to do some grunt work with updating your PR, I'm up for it. Thanks for the suggestion, but I have a local branch, which is already up-to-date. However since the introducti...