Page MenuHomeWildfire Games
Feed All Stories

Aug 16 2019

Harbormaster failed remote builds in B8874: Diff 9351 for D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable!
Aug 16 2019, 9:35 AM
Vulcan added a comment to D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.

Build was aborted.

Aug 16 2019, 9:35 AM
wraitii added a comment to D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.

So what's the "new" stack model that this patch introduces exactly?
Is the current GUI Model that we can only have one "axis", so pushing 5 times from the same pages results in:

  • Main -> Page1 -> Page2 -> Page3

Instead of the (more expected):

Main -> Page 1
     -> Page 2
     -> Page 3

?

Aug 16 2019, 9:23 AM
wraitii created D2181: Fix rP14372 and rP22666 miniupnpc leak and crash on thread exit.
Aug 16 2019, 9:18 AM
elexis raised a concern with rP22666: pthread -> std::thread (4/7) - Replace pthread in remaining files.

Main Menu -> Host Game -> Back -> Segfault upon NetServer delete

Aug 16 2019, 2:59 AM

Aug 15 2019

elexis added a comment to D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.

Also consider this code:

		for (let i = 0; i < 5; ++i)
			Engine.PushGuiPage("page_splashscreen.xml", {}, () => { warn("close " + i)});
Aug 15 2019, 10:11 PM
elexis updated the diff for D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.

Rebase

Aug 15 2019, 9:16 PM
elexis added a comment to D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.

Current behavior of PushGuiPage(pageName, arguments, callback) (for civ/structree in rP21339, utilizing Pop/PopCB split in rP14496).:

  • (1) The page is closed without callback function being called
  • (2) a different page is opened that decides to call the callback handler when that gets closed
Aug 15 2019, 9:16 PM
Stan added inline comments to D274: Handle modifications of technologies and auras in a system component.
Aug 15 2019, 7:47 PM
Stan added inline comments to D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.
Aug 15 2019, 7:39 PM
wraitii updated the diff for D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.

Add <condition_variable> header.

Aug 15 2019, 7:33 PM
Harbormaster failed remote builds in B8873: Diff 9350 for D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable!
Aug 15 2019, 7:30 PM
Vulcan added a comment to D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.

Build failure - The Moirai have given mortals hearts that can endure.

Aug 15 2019, 7:30 PM
wraitii updated the diff for D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.

Fix debug. RC.

Aug 15 2019, 7:28 PM
Vulcan added a comment to D274: Handle modifications of technologies and auras in a system component.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 7:21 PM
wraitii updated the diff for D274: Handle modifications of technologies and auras in a system component.

Clean up some of the weirdness.

Aug 15 2019, 7:16 PM
wraitii abandoned D1858: Add a MultiKeyMap helper and tests (+ allow tests in /helpers) - D274 prereq.

Merged back into D274

Aug 15 2019, 7:16 PM
wraitii added a comment to D2180: Fix rP22668 Wind computation - move back to signed integers.

m_MapSize ought to be signed but that sounded like it'd change many more lines.

Aug 15 2019, 7:08 PM
elexis removed 1 auditor(s) for rP22668: Wind speed computation rework.: elexis.

Thanks for the quick fix!

Aug 15 2019, 7:04 PM
wraitii committed rP22670: Fix rP22668 Wind computation - switch to signed integers..
Fix rP22668 Wind computation - switch to signed integers.
Aug 15 2019, 7:03 PM
wraitii closed D2180: Fix rP22668 Wind computation - move back to signed integers.
Aug 15 2019, 7:03 PM
elexis added a comment to D2180: Fix rP22668 Wind computation - move back to signed integers.

Ideally there would be no type conversions and all values are constructed in the right type, and the functions receiving them expect exactly that type.
I didnt check much of the code, but GetVertexGroundLevel expects the signed variant already, so it might be right with signed.
Should check that there arent unintented implicit type conversions.

Aug 15 2019, 6:59 PM
Vulcan added a comment to D2180: Fix rP22668 Wind computation - move back to signed integers.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 6:55 PM
wraitii updated the summary of D2180: Fix rP22668 Wind computation - move back to signed integers.
Aug 15 2019, 6:50 PM
wraitii created D2180: Fix rP22668 Wind computation - move back to signed integers.
Aug 15 2019, 6:50 PM
elexis raised a concern with rP22668: Wind speed computation rework..

Shown by gcc 9:

../../../source/renderer/WaterManager.cpp: In member function ‘void WaterManager::RecomputeWindStrength()’:
../../../source/renderer/WaterManager.cpp:1131:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
 1131 |     if (point.X < 0 || point.X >= m_MapSize || point.Y < 0 || point.Y >= m_MapSize)
      |         ~~~~~~~~^~~
../../../source/renderer/WaterManager.cpp:1131:56: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
 1131 |     if (point.X < 0 || point.X >= m_MapSize || point.Y < 0 || point.Y >= m_MapSize)
      |                                                ~~~~~~~~^~~
Aug 15 2019, 4:58 PM
elexis committed rP22669: Small closePage() cleanup for D1684..
Small closePage() cleanup for D1684.
Aug 15 2019, 3:29 PM
Vulcan added a comment to D2110: manual/intro.txt corrections.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 2:18 PM
Nescio updated the diff for D2110: manual/intro.txt corrections.

panels

Aug 15 2019, 2:14 PM
wraitii committed rP22668: Wind speed computation rework..
Wind speed computation rework.
Aug 15 2019, 1:56 PM
wraitii closed D1721: Wind speed computation speed-up.
Aug 15 2019, 1:56 PM
wraitii added a comment to D1721: Wind speed computation speed-up.

Ran some profiling, and I'm not actually sure this speeds things up. But it's still better behaviour as there are some artefacts with the existing code on e.g. Polynesia near the edges, and it's more readable imo so I'll commit anyways.

Aug 15 2019, 1:53 PM
Nescio added a comment to D1808: standardized hero aura descriptions.

Before I can update this, we still need to find a proper format for the formation and garrison aura types.

Maybe what we need first is to have two completely different words to refer to (1) formation as in a way a group of units can organize themselves and (2) formation as in a specific group of units. For example, if we used ‘group’ for the latter, “Same group [class] [change] [attributes]” may work.

A group is an arbitrary selection of entities, which can be defined by e.g. Ctrl+1 and selected by pressing 1 or clicking on the group panel at the left of the screen.

Aug 15 2019, 1:39 PM
Freagarach added a comment to D2110: manual/intro.txt corrections.
In D2110#90731, @Nescio wrote:

Those extra white lines are undesirable.

Then it's obviously a no-go ;)

Aug 15 2019, 1:36 PM
Nescio added a comment to D2110: manual/intro.txt corrections.

[font="sans-bold-16"]
Modes
[font="sans-14"]
The main menu gives access to two game modes:

This means four lines, two of which show up as white lines in game; cf.


with

Those extra white lines are undesirable.

Aug 15 2019, 1:31 PM
Vulcan added a comment to D1807: standardized catafalque aura descriptions.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 1:28 PM
Nescio updated the diff for D1807: standardized catafalque aura descriptions.

Updated, keeping flavour text and capitalizing classes.

Aug 15 2019, 1:25 PM
Freagarach added a comment to D2110: manual/intro.txt corrections.
In D2110#90707, @Nescio wrote:

As for the font tags, I don't fully understand your point. The number of tags remains unchanged. What this patch does is instead of having one font tag in two lines, e.g.

Aug 15 2019, 1:16 PM
Vulcan added a comment to D2179: capitalize classes in team bonus descriptions.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 1:09 PM
Nescio created D2179: capitalize classes in team bonus descriptions.
Aug 15 2019, 1:05 PM
Stan added inline comments to D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.
Aug 15 2019, 1:01 PM
Stan added inline comments to D1721: Wind speed computation speed-up.
Aug 15 2019, 12:58 PM
Nescio added a comment to D2110: manual/intro.txt corrections.

As for the font tags, I don't fully understand your point. The number of tags remains unchanged. What this patch does is instead of having one font tag in two lines, e.g.

[font="sans-bold-16"]Modes
[font="sans-14"]The main menu gives access to two game modes:

it is changed to two font tags in one line, e.g.

[font="sans-bold-16"]Modes[font="sans-14"]
The main menu gives access to two game modes:

to be consistent with e.g.

• [font="sans-bold-14"]Multiplayer[font="sans-14"] – play against human opponents over the internet.
Aug 15 2019, 12:50 PM
Vulcan added a comment to D1721: Wind speed computation speed-up.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 12:40 PM
wraitii abandoned D1483: Use Homebrew to fetch OSX libraries instead of compiling them all.

Abandoning since won't get committed.

Aug 15 2019, 12:36 PM
wraitii updated the diff for D1721: Wind speed computation speed-up.

emplace_back instead of push_back to avoid the braces, and init the move inline.

Aug 15 2019, 12:34 PM
wraitii added inline comments to D1859: Send a message when players change entities - D274 prereq.
Aug 15 2019, 12:33 PM
Nescio added a comment to D1806: standardized structure aura descriptions.

As you can see Siege Engines is capitalized, as requested. Other exceptions probably ought to be listed on the https://trac.wildfiregames.com/wiki/EnglishStyleGuide page.

I think we should capitalize them.

Agreed.

Aug 15 2019, 12:31 PM
Freagarach added inline comments to D1859: Send a message when players change entities - D274 prereq.
Aug 15 2019, 12:26 PM
Nescio added a comment to D2006: standardize resource tooltips.

So basically you prefer [verb] for [resource] instead of [verb] [subtype] for [resource]?

Aug 15 2019, 12:26 PM
wraitii added inline comments to D1721: Wind speed computation speed-up.
Aug 15 2019, 12:24 PM
Vulcan added a comment to D2175: Select formations as a whole by default..

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 12:21 PM
Vulcan added a comment to D1859: Send a message when players change entities - D274 prereq.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 12:17 PM
Freagarach updated the diff for D2175: Select formations as a whole by default..
  • Give variables slightly more informative names.
  • Test.
  • Some other simplifications.
  • Properly update when entities die and probably also when changing owners.
Aug 15 2019, 12:15 PM
Freagarach added inline comments to D2175: Select formations as a whole by default..
Aug 15 2019, 12:15 PM
Nescio added a comment to D2178: Do not quote philosopher names in quotes.txt.

Those are not philosopher names, those are titles of works.

Aug 15 2019, 12:15 PM
elexis added a comment to D2176: Give an option to allow multiple controls groups share same entities..

The tooltip and name must be as transparent as possible, it's probably okay. I think I have to accept this unless you want to change it.

Aug 15 2019, 12:14 PM
wraitii updated the diff for D1859: Send a message when players change entities - D274 prereq.

Make ordering consistent:

  • PlayerChanged is sent
  • Entities are changed owner from invalid to player
  • player ent is destroyed
Aug 15 2019, 12:13 PM
Vulcan added a comment to D2178: Do not quote philosopher names in quotes.txt.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 12:08 PM
elexis added a comment to D1859: Send a message when players change entities - D274 prereq.

RemoveLastPlayer sends before deletion, ReplacePlayer sends after deletion. It should be the same order as for regular entities.

Aug 15 2019, 12:06 PM
Gallaecio created D2178: Do not quote philosopher names in quotes.txt.
Aug 15 2019, 12:04 PM
Harbormaster failed remote builds in B8860: Diff 9338 for D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable!
Aug 15 2019, 12:03 PM
Vulcan added a comment to D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.

Build failure - The Moirai have given mortals hearts that can endure.

Aug 15 2019, 12:03 PM
wraitii updated the diff for D1921: pthread -> std::thread (5/7) - Replace sdl semaphore with condition variable.

Working version, worked around the fact thats SDL semaphores keep a count of how many times they were asked to wake up.

Aug 15 2019, 12:01 PM
Gallaecio added a comment to D2110: manual/intro.txt corrections.

I’ve left a comment regarding font tags.

Aug 15 2019, 11:45 AM
Gallaecio added a comment to D2006: standardize resource tooltips.

I’ve left a few comment. However, I’m not in a position to review the changes as a whole, I unsure whether or not the element removals are OK. Please, add other reviewers for those.

Aug 15 2019, 11:32 AM
Stan added inline comments to D1859: Send a message when players change entities - D274 prereq.
Aug 15 2019, 11:25 AM
Gallaecio committed rP22667: typography corrections in quotes.
typography corrections in quotes
Aug 15 2019, 11:24 AM
Gallaecio closed D1547: typography corrections in quotes.
Aug 15 2019, 11:24 AM
Gallaecio added a reviewer for D2110: manual/intro.txt corrections: Gallaecio.
Aug 15 2019, 11:19 AM
Gallaecio added a reviewer for D2006: standardize resource tooltips: Gallaecio.
Aug 15 2019, 11:19 AM
Gallaecio added a comment to D1806: standardized structure aura descriptions.
In D1806#90158, @Nescio wrote:

We can post-pone this discussion and merge as is.

If you mean whether or not classes should be capitalized […]

Aug 15 2019, 11:14 AM
wraitii committed rP22666: pthread -> std::thread (4/7) - Replace pthread in remaining files.
pthread -> std::thread (4/7) - Replace pthread in remaining files
Aug 15 2019, 11:07 AM
wraitii closed D1920: pthread -> std::thread (4/?) - Replace pthread in remaining files.
Aug 15 2019, 11:07 AM
Silier added inline comments to D1721: Wind speed computation speed-up.
Aug 15 2019, 10:58 AM
Harbormaster failed remote builds in B8857: Diff 9335 for D1721: Wind speed computation speed-up!
Aug 15 2019, 10:55 AM
Vulcan added a comment to D1721: Wind speed computation speed-up.

Build failure - The Moirai have given mortals hearts that can endure.

Aug 15 2019, 10:55 AM
wraitii updated the diff for D1721: Wind speed computation speed-up.

Clean up formatting.

Aug 15 2019, 10:54 AM
Harbormaster failed remote builds in B8856: Diff 9334 for D1859: Send a message when players change entities - D274 prereq!
Aug 15 2019, 10:24 AM
Vulcan added a comment to D1859: Send a message when players change entities - D274 prereq.

Build failure - The Moirai have given mortals hearts that can endure.

Aug 15 2019, 10:24 AM
Harbormaster failed remote builds in B8855: Diff 9333 for D2110: manual/intro.txt corrections!
Aug 15 2019, 10:23 AM
Vulcan added a comment to D2110: manual/intro.txt corrections.

Build failure - The Moirai have given mortals hearts that can endure.

Aug 15 2019, 10:23 AM
Harbormaster failed remote builds in B8853: Diff 9331 for D2110: manual/intro.txt corrections!
Aug 15 2019, 10:23 AM
Vulcan added a comment to D2110: manual/intro.txt corrections.

Build failure - The Moirai have given mortals hearts that can endure.

Aug 15 2019, 10:23 AM
Vulcan added a comment to D1920: pthread -> std::thread (4/?) - Replace pthread in remaining files.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 10:22 AM
wraitii updated the diff for D1859: Send a message when players change entities - D274 prereq.

Cleaned up.

Aug 15 2019, 10:01 AM
Nescio updated the diff for D2110: manual/intro.txt corrections.

ESCEsc

Aug 15 2019, 9:50 AM
Vulcan added a comment to D2110: manual/intro.txt corrections.

Successful build - Chance fights ever on the side of the prudent.

Aug 15 2019, 9:50 AM
Nescio updated the diff for D2110: manual/intro.txt corrections.
Aug 15 2019, 9:47 AM
wraitii updated the diff for D1920: pthread -> std::thread (4/?) - Replace pthread in remaining files.

Add include, RC

Aug 15 2019, 9:45 AM
Nescio updated the diff for D2110: manual/intro.txt corrections.

Updated because of rP22650.

Aug 15 2019, 9:43 AM
wraitii awarded D2176: Give an option to allow multiple controls groups share same entities. a Love token.
Aug 15 2019, 9:37 AM
wraitii added a comment to D2176: Give an option to allow multiple controls groups share same entities..

Feels like this should be the default to me to be honest

Aug 15 2019, 9:37 AM
Freagarach retitled D2176: Give an option to allow multiple controls groups share same entities. from Give an option to allow multiple entities in the same control group. to Give an option to allow multiple controls groups share same entities..
Aug 15 2019, 9:10 AM
Freagarach updated subscribers of D2176: Give an option to allow multiple controls groups share same entities..
Aug 15 2019, 8:58 AM
Silier added inline comments to D2176: Give an option to allow multiple controls groups share same entities..
Aug 15 2019, 8:57 AM

Aug 14 2019

Vulcan added a comment to D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.

Successful build - Chance fights ever on the side of the prudent.

Aug 14 2019, 8:58 PM
Stan added inline comments to D2175: Select formations as a whole by default..
Aug 14 2019, 8:50 PM
elexis updated the diff for D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.

Rebase following preliminary commits.

Aug 14 2019, 8:47 PM
elexis added a comment to D1684: Pass callback function to PushGuiPage and unify PopGuiPage/PopGuiPageCB.
In D1684#87801, @elexis wrote:

Quick-glance review by Yves on January 17th:

Ich glaube man kann einfach mit dem "=" operator eine JS::UndefinedValue() zuweisen, habe es aber nicht ausprobiert.

Aug 14 2019, 8:44 PM