Page MenuHomeWildfire Games
Feed All Stories

Jun 22 2019

Vulcan added a comment to D1971: Support attack-ground for ranged units..

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

Jun 22 2019, 11:46 AM
Freagarach updated the diff for D1971: Support attack-ground for ranged units..
  • Split "GetTargetPositon"-function in 2D and 3D.
  • "filter(...)[0]" to "find()" for the time being.
Jun 22 2019, 11:45 AM
wraitii added a comment to D1971: Support attack-ground for ranged units..

Looking much better like that, I think.

Jun 22 2019, 10:06 AM
wraitii added inline comments to D1991: simulation2: Remove Vector2D/Vector3D prototype workaround from EngineScriptConversions.
Jun 22 2019, 8:15 AM
Krinkle added inline comments to D1991: simulation2: Remove Vector2D/Vector3D prototype workaround from EngineScriptConversions.
Jun 22 2019, 2:41 AM
vladislavbelov updated subscribers of D1991: simulation2: Remove Vector2D/Vector3D prototype workaround from EngineScriptConversions.

Did you reproduce @Itms steps before the patch?

Jun 22 2019, 2:34 AM

Jun 21 2019

Vulcan added a comment to D1971: Support attack-ground for ranged units..

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

Jun 21 2019, 10:44 PM
Krinkle added a comment to D1988: Workaround differences between libc and libstd string stream parsing of float/doubles.

Looks like the conversation is coming back around to where we were at D1978, but with higher confidence and better understanding.

Jun 21 2019, 10:43 PM
Vulcan added a comment to D1971: Support attack-ground for ranged units..

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

Jun 21 2019, 10:42 PM
wraitii added a comment to D1988: Workaround differences between libc and libstd string stream parsing of float/doubles.

Do we really need that behaviour for wrong strings?

I don't think we do. Doubt we have any code in 0 A.D. that uses it, and I also doubt that any mod relies on that, because it's hardly useful anyhow.

Jun 21 2019, 10:40 PM
Freagarach updated the diff for D1971: Support attack-ground for ranged units..

Fixed check for timer.

Jun 21 2019, 10:37 PM
Freagarach added inline comments to D1971: Support attack-ground for ranged units..
Jun 21 2019, 10:36 PM
Freagarach updated the diff for D1971: Support attack-ground for ranged units..

Looks like formations are working.

  • Added new functions to manage formation ranges.
Jun 21 2019, 10:34 PM
Krinkle requested changes to D1971: Support attack-ground for ranged units..
Jun 21 2019, 10:33 PM
wraitii added inline comments to D1988: Workaround differences between libc and libstd string stream parsing of float/doubles.
Jun 21 2019, 10:28 PM
vladislavbelov added a comment to D1988: Workaround differences between libc and libstd string stream parsing of float/doubles.

I would certainly hope none otherwise MacOS has been behaving wrong for years.
The only place I can think of that parses strings to number is GUI sizes, which would previously parse things like "3b" as "0" instead of the 'correct' "3". I don't think there's mods or 0 A.D. code that relied on that - and I'm not sure we want that code to live.

Do we really need that behaviour for wrong strings?

Jun 21 2019, 10:24 PM
Krinkle updated the summary of D2003: Linting: Enable 'no-floating-decimal' rule in ESLint.
Jun 21 2019, 9:55 PM
Krinkle updated the diff for D2004: Linter: Fix ESLint semicolon-related warnings.

(Re-upload of same diff with more context lines to aid in review.)

Jun 21 2019, 9:47 PM
elexis added a comment to D1990: Add Krinkle to 0 A.D.'s programming credits.

(following rP22378, rP22380)

Jun 21 2019, 9:46 PM
wraitii added a comment to rP22006: Clean up and speed up the water manager distance computations.

Then: not deleting RecomputeBlurredNormalMap was an oversight, and it should be deleted.

Jun 21 2019, 9:45 PM
wraitii added a comment to rP22297: Water GLSL shader improvements around reflections and whitespace fixes..

This uses the skybox for reflections when reflections are disabled

Which is a contradiction.

It's not. Disabling reflections has never meant "show nothing". In fact, from the beginning reflections have been about entity reflection, so I guess your comment is correct. Again, I question your use of the concern option over a trac ticket.

Jun 21 2019, 9:44 PM
Krinkle added a comment to D1990: Add Krinkle to 0 A.D.'s programming credits.

Looks accurate to me :)

Jun 21 2019, 9:43 PM
elexis added a comment to rP22006: Clean up and speed up the water manager distance computations.

Either the function RecomputeBlurredNormalMap is considered obsolete as of rP15484, then rP15484 / rP22006 should have deleted not only some parts of it but all of it, or that code was useful and those two commits shouldn't have removed the calls.

Jun 21 2019, 9:42 PM
wraitii added a comment to D1988: Workaround differences between libc and libstd string stream parsing of float/doubles.

How many lines of our code depend on this behaviour (that wrong strings are still parsed)?

I would certainly hope none otherwise MacOS has been behaving wrong for years.
The only place I can think of that parses strings to number is GUI sizes, which would previously parse things like "3b" as "0" instead of the 'correct' "3". I don't think there's mods or 0 A.D. code that relied on that - and I'm not sure we want that code to live.

Jun 21 2019, 9:42 PM
elexis added a comment to D1985: Skybox calculation - fix regression of rP22039 introduced in rP22297.

(1) So that the one reading this diff knows what's happening.
(2) So that cross-references are inserted

Jun 21 2019, 9:39 PM
wraitii added a comment to D1985: Skybox calculation - fix regression of rP22039 introduced in rP22297.
In D1985#83464, @elexis wrote:

(As mentioned byVladislav on IRC (http://irclogs.wildfiregames.com/2019-06/2019-06-21-QuakeNet-%230ad-dev.log) and in rP22297, this diff is correct because rP22297 reverted (and whitespace-formatted?) a hunk that was removed in rP22039.)

Jun 21 2019, 9:37 PM
wraitii added a comment to rP22006: Clean up and speed up the water manager distance computations.

I don't understand what you want me to change.

Jun 21 2019, 9:31 PM
vladislavbelov requested changes to D1988: Workaround differences between libc and libstd string stream parsing of float/doubles.

How many lines of our code depend on this behaviour (that wrong strings are still parsed)?

Jun 21 2019, 9:11 PM
Freagarach added a comment to D1971: Support attack-ground for ranged units..
In D1971#83463, @Stan wrote:

However I beleive that the spread parameter is made for that. One could use that to compute the circle.

I guess the spread is for unintentional differences in projectile landing location, where my idea is intentional spread.

Jun 21 2019, 8:38 PM
elexis added a comment to rP22029: Change internals of EntityMap to use an std::vector.

Reverted by rP22032.

Jun 21 2019, 8:16 PM
elexis added inline comments to rP15484: Further WIP water improvements. Add 3 different textures for different looks..
Jun 21 2019, 8:14 PM
elexis added a comment to rP22006: Clean up and speed up the water manager distance computations.

the other doesn't need to be called (apparently, since I removed coastal foam, which tbh I don't remember doing).

Coastal foam introduced in rP15576, seems to be present still, seems to be unrelated?
RecomputeBlurredNormalMap was introduced by rP15473, the only consumer of m_BlurredNormalMap was removed by rP15484.

Jun 21 2019, 8:14 PM
elexis added inline comments to rP22016: Properly reset rally points on ownership changes..
Jun 21 2019, 7:27 PM
elexis added a comment to D1985: Skybox calculation - fix regression of rP22039 introduced in rP22297.

(As mentioned byVladislav on IRC (http://irclogs.wildfiregames.com/2019-06/2019-06-21-QuakeNet-%230ad-dev.log) and in rP22297, this diff is correct because rP22297 reverted (and whitespace-formatted?) a hunk that was removed in rP22039.)

Jun 21 2019, 6:57 PM
Stan added a comment to D1971: Support attack-ground for ranged units..

That sounds good and maybe actually better than being that precise though the shape should differ depending on the type of attacker. However I beleive that the spread parameter is made for that. One could use that to compute the circle.

Jun 21 2019, 6:49 PM
Freagarach added a comment to D1971: Support attack-ground for ranged units..

I had a thought today: Usually, when someone wants to order ~10 catapults to attack ground a specific area, it is not desired that all catapults fire at the same location. I do not know whether it is possible, but it would be interesting to add an area to the attack ground order. So that if one clicks the button the cursor appears, but around the cursor a circle (perhaps filled circle) of the area to be bombarded. The circle would initially have a rather small radius (~5 m perhaps) but the radius can be increased/decreased by scrolling the middle mouse button (or pushing +/-). When the actual command is given, the catapults randomly choose a location within that radius to bombard, varying the location with every "PerformAttack".
How does that sound to you?

Jun 21 2019, 6:06 PM
vladislavbelov accepted D1985: Skybox calculation - fix regression of rP22039 introduced in rP22297.

I tested, now the reflection works as after my commit.

Jun 21 2019, 6:00 PM
vladislavbelov added inline comments to rP22297: Water GLSL shader improvements around reflections and whitespace fixes..
Jun 21 2019, 5:50 PM
elexis raised a concern with rP22006: Clean up and speed up the water manager distance computations.
Jun 21 2019, 3:52 PM
elexis added a comment to D78: Speed up the water manager recomputations.
In D78#14568, @mimo wrote:

while at it, here are a few defects i reported to you a long time ago on irc. Would be good to have a look at it some time

Jun 21 2019, 3:48 PM
elexis added a comment to rP22006: Clean up and speed up the water manager distance computations.

(apparently, since I removed coastal foam, which tbh I don't remember doing).

I also can't remember everything I committed immediately sometimes, but why mention this in the commit message, which should inform the reader of the relevant information, so it leaves a worse impression to the reader than it needs to. Just refs the commit id. A commit message shouldn't state all the things one doesn't know, because one should have found the answers to these questions prior to the commit.

Jun 21 2019, 3:33 PM
elexis added a comment to rP22004: Clean up and fix height of water vertex shader..

Tested on a different setup again, seems to look better than the last test I did in D1402, so the change seems right.
The commit actually reverts a change introduced by rP15576.

Jun 21 2019, 3:10 PM
elexis awarded rP21970: Celtic helmet's Update (Including New Battersea Shield) a Like token.
Jun 21 2019, 1:47 PM
elexis awarded rP21968: Fox Update: a Orange Medal token.
Jun 21 2019, 1:46 PM
elexis added a comment to rP21966: Fix an incorrect credit due to a misunderstanding..

refs rP21965

Jun 21 2019, 1:42 PM
elexis awarded rP21965: New Persian Farsi voices by dMZeroCold & dMAthena. a Like token.
Jun 21 2019, 1:39 PM
elexis raised a concern with rP22297: Water GLSL shader improvements around reflections and whitespace fixes..

This uses the skybox for reflections when reflections are disabled

Jun 21 2019, 12:38 PM
autobuild committed rP22393: [i18n] Updated POT and PO files..
[i18n] Updated POT and PO files.
Jun 21 2019, 10:01 AM

Jun 20 2019

Stan added a comment to D1971: Support attack-ground for ranged units..
Jun 20 2019, 10:32 PM
Vulcan added a comment to D1971: Support attack-ground for ranged units..

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

Jun 20 2019, 10:28 PM
Freagarach added inline comments to D1971: Support attack-ground for ranged units..
Jun 20 2019, 10:25 PM
Freagarach updated the diff for D1971: Support attack-ground for ranged units..
  • Some testing on formations.
  • Created "GetTargetPosition" in "UnitAI.js".
  • Removed height-check in "Attack.js".
  • Removed hard-coding of "Ranged"-type in "AttackGround"-order.
  • ...
Jun 20 2019, 10:22 PM
elexis added a comment to D1604: Make capturing optional.

I couldn't convince myself that it would be right to support disabling capturing in the gamesetup for vanilla. But for mods it would be good to provide an easy way to implement that.

Jun 20 2019, 9:21 PM
Stan added inline comments to D1971: Support attack-ground for ranged units..
Jun 20 2019, 9:12 PM
Freagarach added a comment to D1971: Support attack-ground for ranged units..

I think you should be able to make the regular attack work with formations too... Maybe a bit more work.

I'm trying, I'm trying ;)

Jun 20 2019, 8:36 PM
wraitii added a comment to D1971: Support attack-ground for ranged units..

I think you should be able to make the regular attack work with formations too... Maybe a bit more work.

Jun 20 2019, 7:47 PM
wraitii added inline comments to rP15246: Add the Engine code for turrets + use them to get units on walls. The scripted….
Jun 20 2019, 7:24 PM
Freagarach added inline comments to D1971: Support attack-ground for ranged units..
Jun 20 2019, 7:00 PM
Freagarach added a comment to D1604: Make capturing optional.

As far as the opinion of a newbie with hardly any gameplay experience is valued, I agree with @elexis and @wraitii. Despite many edge cases, I do not think it is too hard te remove capture from all templates and stuff, but I haven't really searched for it yet ;)
A thought: When capturing GAIA animals (e.g. sheep, horses) gets incorporated, that should be treated differently as it may turn into a core aspect of the game.

Jun 20 2019, 6:51 PM
Stan added inline comments to D1971: Support attack-ground for ranged units..
Jun 20 2019, 5:59 PM
Freagarach added a comment to D1971: Support attack-ground for ranged units..

Is the ATTACKGROUND state still necessary?

That state belongs to the Formation-part. I left it in so I can easily monitor what is happening when testing stuff (attackground vs non-attackground). And return to vanilla easily when things fail again.
The "Individual" "AttackGround" state is already merged with "combat".

Jun 20 2019, 5:52 PM
Silier added a comment to D1396: Remove not needed checks and code for VS2015 [VS2013 -> VS2015].

as we are now compiling game with vs15, this is not needed

Jun 20 2019, 5:05 PM
wraitii added a comment to D1943: UnitAI fix return value on "enter" according to FSM logic.

I mean to look at this after the Unit AI cleanup from the UM rewrite is mostly finished.

Jun 20 2019, 4:09 PM
wraitii added a comment to D1670: Singleton g_Game and g_SoundManager.

I kind of fail to see the point of replacing a constant with a function call. It's more code to read and provides us little.

Jun 20 2019, 4:09 PM
wraitii added a comment to D1604: Make capturing optional.

I don't really like our current capturing, but I don't think we want a "no-capture" game mode in Vanilla 0 A.D., and as @elexis said mods can just remove Capturable.
If capturing is deemed bad enough that people would rather play without it, we should just rework the feature or remove it.

Jun 20 2019, 3:48 PM
Stan added a comment to D1954: Do not send Reflection and Refraction matrices to shader when not needed.

@wraitii Thoughts on this ?

Jun 20 2019, 3:45 PM
Stan added a reviewer for D1943: UnitAI fix return value on "enter" according to FSM logic: wraitii.
Jun 20 2019, 3:44 PM
Stan added a reviewer for D1396: Remove not needed checks and code for VS2015 [VS2013 -> VS2015]: vladislavbelov.
Jun 20 2019, 3:43 PM
D1670: Singleton g_Game and g_SoundManager now requires review to proceed.

I think it would be nice to have this.

Jun 20 2019, 3:42 PM
Stan added a reviewer for D1604: Make capturing optional: Restricted Owners Package.

@wraitii @Freagarach.

Jun 20 2019, 3:40 PM
wraitii added a comment to rP22297: Water GLSL shader improvements around reflections and whitespace fixes..

@vladislavbelov D1985

Jun 20 2019, 8:58 AM
wraitii added a comment to rP22352: Unit Motion - wrap target state into a struct.
In rP22352#34056, @Stan wrote:

Raising concern for a warning reported by @Krinkle. No biggie but the target parameter isn't used anymore.
Why doesn't it set the the class attribute anymore ?

Jun 20 2019, 8:57 AM
wraitii added a comment to rP22352: Unit Motion - wrap target state into a struct.
In rP22352#34056, @Stan wrote:

Raising concern for a warning reported by @Krinkle. No biggie but the target parameter isn't used anymore.
Why doesn't it set the the class attribute anymore ?

Jun 20 2019, 8:57 AM
Stan added a comment to D1483: Use Homebrew to fetch OSX libraries instead of compiling them all.

Well maybe you guys could try to use my conan patch ? You will need to change the copy to osx instead of win32 and likely edit premake libs.

Jun 20 2019, 8:55 AM
wraitii added a comment to D1971: Support attack-ground for ranged units..

Is the ATTACKGROUND state still necessary?

Jun 20 2019, 8:53 AM
Stan abandoned D1691: Remove boost "system" from Mac OS build system..

I'm abandoning this :) It probably can be reopened when we actually remove these references.

Jun 20 2019, 8:52 AM
wraitii added inline comments to D1846: Adds a "properties"-property to resources and let mods be able to prevent resources from being bartered, traded and/or tributed..
Jun 20 2019, 8:51 AM
Stan raised a concern with rP22352: Unit Motion - wrap target state into a struct.

Raising concern for a warning reported by @Krinkle. No biggie but the target parameter isn't used anymore.
Why doesn't it set the the class attribute anymore ?

Jun 20 2019, 8:50 AM
wraitii added a comment to D1483: Use Homebrew to fetch OSX libraries instead of compiling them all.

I think this means versions are no longer controlled and libs no longer statically linked, thus the build no longer standalone and deterministic.
I'm still new, but I very much liked the idea of it being controlled in the repo, statically linked, and deterministic. I don't know how often this is an issue in CPP code bases, but for other code bases this typically increases bugs, things working for one dev but not another, harder to contribute due to rare issues specific to ones own environment, waste more triaging/patching/maintenance cost on lib stuff.

Jun 20 2019, 8:47 AM
wraitii resigned from D1691: Remove boost "system" from Mac OS build system..
In D1691#83383, @Stan wrote:

Yeah I don't think that will work ever. I'm not sure where @fabio saw that it could be removed.

Weird that it compiled when I tried above. Guessing my compilation setup is a bit too customised for these kind of patches.

Jun 20 2019, 8:41 AM
Stan added a comment to D1691: Remove boost "system" from Mac OS build system..

Yeah I don't think that will work ever. I'm not sure where @fabio saw that it could be removed.

Jun 20 2019, 8:28 AM
Krinkle added a comment to D1691: Remove boost "system" from Mac OS build system..

I tried to test this on macOS 10.14 Mojave, but couldn't get it to work.

Jun 20 2019, 4:49 AM
Krinkle added a comment to D1483: Use Homebrew to fetch OSX libraries instead of compiling them all.

I think this means versions are no longer controlled and libs no longer statically linked, thus the build no longer standalone and deterministic.

Jun 20 2019, 4:36 AM
Krinkle created D2004: Linter: Fix ESLint semicolon-related warnings.
Jun 20 2019, 1:45 AM
Krinkle retitled D1993: petra: Fix all ESLint and JSHint warnings from petra: Fix up most eslint warnings to petra: Fix all ESLint and JSHint warnings.
Jun 20 2019, 1:14 AM
Krinkle created D2003: Linting: Enable 'no-floating-decimal' rule in ESLint.
Jun 20 2019, 1:14 AM
Krinkle updated the diff for D1993: petra: Fix all ESLint and JSHint warnings.

Fixed the two remaining JSHint warnings as well.

Jun 20 2019, 12:58 AM
Krinkle added a comment to D1993: petra: Fix all ESLint and JSHint warnings.
In D1993#83352, @Stan wrote:

Maybe you can fix the last two warning (trailing dots)

Jun 20 2019, 12:19 AM
Stan added a comment to D1993: petra: Fix all ESLint and JSHint warnings.

Maybe you can fix the last two warning (trailing dots)

Jun 20 2019, 12:06 AM

Jun 19 2019

Krinkle added inline comments to D1993: petra: Fix all ESLint and JSHint warnings.
Jun 19 2019, 11:28 PM
Stan added a comment to D1993: petra: Fix all ESLint and JSHint warnings.

The auto fix failed I guess.

Jun 19 2019, 11:18 PM
Vulcan added a comment to D1993: petra: Fix all ESLint and JSHint warnings.

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

Jun 19 2019, 11:08 PM
Krinkle updated the diff for D1993: petra: Fix all ESLint and JSHint warnings.
  • Used eslint --fix to automatically fix the curly warnings as well per the 0AD coding conventions.
  • Implemented the proposal for making the PETRA module files to use a slightly simpler structure. The previous structure had some extra indirection with variable overrides that didn't actually work (as ESLint correctly flagged), and turned out to be redundant anyhow.
Jun 19 2019, 11:06 PM
Nescio added a comment to D1957: Basic implementation of extended restricted bartering support..

Another error occurs when the AI has built a market:

Jun 19 2019, 10:37 PM
Stan added inline comments to D1971: Support attack-ground for ranged units..
Jun 19 2019, 9:44 PM
Stan updated subscribers of D1993: petra: Fix all ESLint and JSHint warnings.
In D1993#83293, @Stan wrote:

Before this get committed you might as well want to fix the warnings that appeared in the Vulkan console.

The only remaining one should be for curly. Due to there being almost 50/50 adherence to that, I wasn't sure whether it is a style we still want to follow consistently or whether it might be something we want to disable and allow developer to choose on case-by-case basis whether curly braces are useful.

Jun 19 2019, 9:38 PM
Freagarach updated the summary of D1957: Basic implementation of extended restricted bartering support..
Jun 19 2019, 9:09 PM
Freagarach added a comment to D1957: Basic implementation of extended restricted bartering support..
In D1957#83325, @Nescio wrote:

You're right, I mixed up, selling works fine. My problem is actually with the buying part. Instead of bartering a fixed 100 silver and getting +409 food in return, I want to buy 100 food and pay only the silver equivalent.
For comparison, if you go to the supermarket, you don't want to know how much bread you can get with €100, you want to know how much one bread will cost you.
Basically, there is a fundamental difference between a barter-based economy and a currency-based economy.

[EDIT] This patch doesn't really support currency, it supports restricted bartering, which works but is not exactly the same.

Jun 19 2019, 9:08 PM
Krinkle added a comment to D1993: petra: Fix all ESLint and JSHint warnings.
In D1993#83293, @Stan wrote:

Before this get committed you might as well want to fix the warnings that appeared in the Vulkan console.

Jun 19 2019, 8:57 PM
Krinkle added inline comments to D1993: petra: Fix all ESLint and JSHint warnings.
Jun 19 2019, 8:55 PM