Page MenuHomeWildfire Games
Feed All Stories

May 10 2022

Freagarach updated the diff for D4486: Fix maps after rP26298..

JS only.

May 10 2022, 6:35 AM
Freagarach updated the summary of D4486: Fix maps after rP26298..
May 10 2022, 6:32 AM
marder updated the summary of D4598: [GUI] fancy endgame message.
May 10 2022, 6:10 AM
autobuild committed rP26868: [Windows] Automated build..
[Windows] Automated build.
May 10 2022, 6:02 AM

May 9 2022

vladislavbelov requested review of D4642: Add EGL support for Wayland.
May 9 2022, 10:12 PM
wraitii committed rP26867: Fix map errors from GetTemplate not being available in the sim.
Fix map errors from GetTemplate not being available in the sim
May 9 2022, 8:14 PM
wraitii closed D4630: Fix map errors from GetTemplate not being available in the sim.
May 9 2022, 8:13 PM
Vulcan added a comment to D4630: Fix map errors from GetTemplate not being available in the sim.

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

May 9 2022, 7:55 PM
Vulcan added a comment to D4630: Fix map errors from GetTemplate not being available in the sim.

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

May 9 2022, 7:51 PM
wraitii updated the diff for D4630: Fix map errors from GetTemplate not being available in the sim.

C++ changes only, CC

May 9 2022, 7:36 PM
wraitii added inline comments to D4630: Fix map errors from GetTemplate not being available in the sim.
May 9 2022, 7:35 PM
wraitii committed rP26866: Fix crash in non-visual autostart from not loading terrain textures.
Fix crash in non-visual autostart from not loading terrain textures
May 9 2022, 7:31 PM
wraitii closed D4627: Fix crash in non-visual mode from not loading terrain textures.
May 9 2022, 7:31 PM
wraitii committed rP26865: UnitMotion - Fix Clearance serialization and only allow changing passability of….
UnitMotion - Fix Clearance serialization and only allow changing passability of…
May 9 2022, 7:29 PM
wraitii closed D4629: Fix rP26801 - Only allwo changing passability of formation controllers..
May 9 2022, 7:29 PM
lyv added inline comments to D4641: Fixes shader program and technique reloading.
May 9 2022, 4:19 PM
Stan added inline comments to D4641: Fixes shader program and technique reloading.
May 9 2022, 3:56 PM
wraitii added inline comments to D4641: Fixes shader program and technique reloading.
May 9 2022, 3:15 PM
Stan added inline comments to D4641: Fixes shader program and technique reloading.
May 9 2022, 2:30 PM
vladislavbelov requested review of D4641: Fixes shader program and technique reloading.
May 9 2022, 1:48 PM
vladislavbelov added a comment to D4640: Avoids drawing text in GUI if it will be clipped.

you're also going to render them in that case, despite the width/height being 0 (unless I'm incorrect here) ?

May 9 2022, 1:44 PM
wraitii added a comment to D4640: Avoids drawing text in GUI if it will be clipped.

You might run in a situation where clipart == CRect(), but I'm not sure that's actually something that can happen in practice.

Currently it's intended to not clip if clipart == CRect().

May 9 2022, 1:36 PM
vladislavbelov added a comment to D4640: Avoids drawing text in GUI if it will be clipped.

You might run in a situation where clipart == CRect(), but I'm not sure that's actually something that can happen in practice.

May 9 2022, 1:25 PM
wraitii added a comment to D368: Gameplay Scripting: Entity and Actor coding for Secondary Attacks.

For reference, AoE 2 added a ranged/melee unit recently: https://www.youtube.com/watch?v=rvJdOKktoMA
The switching is not automatic but manual.

May 9 2022, 1:23 PM
wraitii added a comment to D4640: Avoids drawing text in GUI if it will be clipped.

not clipping if the clipping area is 0 by 0

Why?

May 9 2022, 1:22 PM
vladislavbelov committed rP26864: Adds XML path of GL shader descriptions to file dependencies..
Adds XML path of GL shader descriptions to file dependencies.
May 9 2022, 12:13 PM
vladislavbelov added a comment to D4640: Avoids drawing text in GUI if it will be clipped.

not clipping if the clipping area is 0 by 0

Why?

May 9 2022, 11:50 AM
vladislavbelov requested review of D4640: Avoids drawing text in GUI if it will be clipped.
May 9 2022, 11:49 AM
wraitii added a comment to D3886: Resistance paradigm change: Unspecified value = invulnerable, not 0 resistance..

As I pointed out in the forum, 0 and undefined aren't actually equivalent anyways. The formula we use is:
effectData.Damage[type] * Math.pow(0.9, resistanceStrengths.Damage[type]). You'll notice that Math.pow(0.9, 0) is 1, whereas Math.pow(0.9, undefined) is NaN, as one would expect. Thus a guard must be added, and thus there is an obvious difference.

May 9 2022, 10:27 AM
vladislavbelov committed rP26863: Fixes RenderDoc captures by calling glGetProgramivARB to get constants only for….
Fixes RenderDoc captures by calling glGetProgramivARB to get constants only for…
May 9 2022, 10:22 AM
vladislavbelov committed rP26862: Fixes depth texture sampling in ARB shaders after rP26485. Fixes #6537.
Fixes depth texture sampling in ARB shaders after rP26485. Fixes #6537
May 9 2022, 9:56 AM
vladislavbelov closed D4639: Fixes depth texture sampling in ARB shaders after rP26485.
May 9 2022, 9:55 AM
autobuild committed rP26861: [i18n] Updated POT and PO files..
[i18n] Updated POT and PO files.
May 9 2022, 9:16 AM
Freagarach accepted D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

With the inline and D4605, I get no OOS with the rejointest.
The patch reads correct from a functional view.

May 9 2022, 7:25 AM
Freagarach added a comment to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

The pass class name _was_ serialised? And the reason it worked was probably because the pass class name didn't change ove the course of a match. ^^

May 9 2022, 7:01 AM
Freagarach added a comment to D4486: Fix maps after rP26298..

The specific approach taken here doesn't strike me as bad, but I think C++ wise I'd prefer what I've done in D4630 with the component manager. It's less code & more maintainable IMO.

If you could fix/merge the convenience function please, then I can move that from this diff and go back to JS. ^^

May 9 2022, 6:53 AM
autobuild committed rP26860: [Windows] Automated build..
[Windows] Automated build.
May 9 2022, 6:50 AM
Langbart resigned from rP26485: Moves GL depth comparison function to SamplerDesc..

see D4639

May 9 2022, 2:41 AM
Langbart added a comment to D4639: Fixes depth texture sampling in ARB shaders after rP26485.

Arcanist wouldn't let me apply the patch, but doing it manually did the trick.
Patch fixes the problem described in the ticket.

May 9 2022, 2:39 AM
vladislavbelov requested review of D4639: Fixes depth texture sampling in ARB shaders after rP26485.
May 9 2022, 1:24 AM
vladislavbelov committed rP26859: Fixes dynamic GL buffer orphaning forgotten in rP26406. Fixes #6533.
Fixes dynamic GL buffer orphaning forgotten in rP26406. Fixes #6533
May 9 2022, 12:46 AM
vladislavbelov closed D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.
May 9 2022, 12:46 AM
Vulcan added a comment to D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.

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

May 9 2022, 12:45 AM
Vulcan added a comment to D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.

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

May 9 2022, 12:35 AM
vladislavbelov updated the diff for D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.
May 9 2022, 12:12 AM
Langbart raised a concern with rP26485: Moves GL depth comparison function to SamplerDesc..

a problem with openGL ARB was tracked down to this changeset.
see #6537

May 9 2022, 12:09 AM
vladislavbelov committed rP26858: Adds renderer backend interface and dummy backend..
Adds renderer backend interface and dummy backend.
May 9 2022, 12:03 AM
vladislavbelov closed D4636: Adds dummy renderer backend.
May 9 2022, 12:03 AM

May 8 2022

vladislavbelov added inline comments to D4575: Implement ES6 Module Loading.
May 8 2022, 11:39 PM
vladislavbelov added inline comments to D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.
May 8 2022, 11:18 PM
Stan added inline comments to D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.
May 8 2022, 11:10 PM
Stan added a comment to D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.

I suppose comparison with older versions is a bit unfair due to the very badly optimized greek helmets...

May 8 2022, 10:45 PM
Langbart added a comment to D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.

Apply the patch and compile the game

Ok

Compare performance for Combat Demo Huge

Before: ~170
After:~85
https://ttm.sh/bkP.jpg

May 8 2022, 10:11 PM
Stan added a comment to D4575: Implement ES6 Module Loading.

Could be nice to have tests for this class if possible? Using the test mods.

May 8 2022, 9:43 PM
Vulcan added a comment to D4575: Implement ES6 Module Loading.

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

May 8 2022, 9:31 PM
Vulcan added a comment to D4575: Implement ES6 Module Loading.

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

May 8 2022, 9:29 PM
lyv updated the diff for D4575: Implement ES6 Module Loading.

Add hotloading

May 8 2022, 9:04 PM
Vulcan added a comment to D4575: Implement ES6 Module Loading.

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

May 8 2022, 7:08 PM
Vulcan added a comment to D4575: Implement ES6 Module Loading.

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

May 8 2022, 7:05 PM
lyv updated the diff for D4575: Implement ES6 Module Loading.

Covert to class to keep cache exclusive to a ScriptInterface

May 8 2022, 6:44 PM
vladislavbelov retitled D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406 from Fixes dynamic backend buffer orphaning forgotten in rP26406 to Fixes dynamic GL buffer orphaning forgotten in rP26406.
May 8 2022, 5:04 PM
lyv added a comment to D4575: Implement ES6 Module Loading.

The cache cannot be shared over interfaces as the modules themselves are bound to a compartment.

May 8 2022, 5:02 PM
vladislavbelov requested review of D4638: Fixes dynamic GL buffer orphaning forgotten in rP26406.
May 8 2022, 5:01 PM
lyv added inline comments to D4628: Fix non-visual autostart, as well as client/host autostart..
May 8 2022, 4:07 PM
wraitii added a comment to D4575: Implement ES6 Module Loading.

High-level comments:

  • I think this is something we should move towards. It's saner than our current code in the GUI IMO, and could lower load times and sort out the common mess somewhat efficiently.
  • I think you'll need to have the module cache at the ScriptInterface level but I would need to check the SM docs
  • We have a question for loading whole directories, but maybe we should treat it as an implicit import * as FILENAME from FILENAME.js
  • We need to consider how to handle hot reloading as well.
May 8 2022, 3:39 PM
wraitii added inline comments to D4628: Fix non-visual autostart, as well as client/host autostart..
May 8 2022, 3:31 PM
lyv added a comment to D4628: Fix non-visual autostart, as well as client/host autostart..

I find this an improvement over the status quo.

May 8 2022, 2:35 PM
Vulcan added a comment to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

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

May 8 2022, 1:58 PM
Vulcan added a comment to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

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

May 8 2022, 1:55 PM
wraitii added a comment to D4461: Unit pushing: lower static exntesion following rP26245.

Its better, but they still switch unitAI gather/approching state.
EDIT1: better video, which compares pushing with rP26244 (left) vs rP26261 (right)
[ Video ]

May 8 2022, 1:51 PM
wraitii updated the diff for D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

Commonalize code, maybe fix serialisation issue, am confused by why it seemed to work before.

May 8 2022, 1:44 PM
wraitii added a comment to D4629: Fix rP26801 - Only allwo changing passability of formation controllers..

You'll need to update cmpUnitMotionFlying to also update the clearance in cmpObstruction.

May 8 2022, 1:42 PM
Vulcan added a comment to D4628: Fix non-visual autostart, as well as client/host autostart..

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

May 8 2022, 1:35 PM
Vulcan added a comment to D4628: Fix non-visual autostart, as well as client/host autostart..

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

May 8 2022, 1:34 PM
Vulcan added a comment to D4628: Fix non-visual autostart, as well as client/host autostart..

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

May 8 2022, 1:21 PM
Vulcan added a comment to D4628: Fix non-visual autostart, as well as client/host autostart..

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

May 8 2022, 1:20 PM
wraitii updated the summary of D4628: Fix non-visual autostart, as well as client/host autostart..
May 8 2022, 1:18 PM
wraitii updated the summary of D4628: Fix non-visual autostart, as well as client/host autostart..
May 8 2022, 1:17 PM
wraitii updated the diff for D4628: Fix non-visual autostart, as well as client/host autostart..

remove Civilisations.js, failed to notice that.

May 8 2022, 1:14 PM
wraitii updated the diff for D4628: Fix non-visual autostart, as well as client/host autostart..
  • Move gamesettings from gui/gamesettings/ to gamesettings/. This moves attributes as well.
  • Move autostart files from gui/autostart/ to autostart/. Note that gui/autostart/ still exists as it's used in the tutorial button from the main menu.
  • Implement a placeholder autostart/entrypoint.js in the mod mod.
  • Rename the JSI_VFS functions to be explicitly about their function: the ability to write and the potential restricted folders.
  • Load the full autostart/ folder instead of just the entrypoint script to allow easier extensions in mods.
  • Don't require autostart when using --autostart-client in non-visual mode.
May 8 2022, 1:08 PM
wraitii added a comment to D4461: Unit pushing: lower static exntesion following rP26245.

To me it seems like this is just a bad edge case since the house is so close? I didn't notice that it would happen extensively, but maybe I'm wrong.

May 8 2022, 11:40 AM
marder added a comment to D4461: Unit pushing: lower static exntesion following rP26245.

To me it seems like this is just a bad edge case since the house is so close? I didn't notice that it would happen extensively, but maybe I'm wrong.

May 8 2022, 11:38 AM
Vulcan added a comment to D4627: Fix crash in non-visual mode from not loading terrain textures.

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

May 8 2022, 10:58 AM
Vulcan added a comment to D4627: Fix crash in non-visual mode from not loading terrain textures.

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

May 8 2022, 10:57 AM
wraitii updated the diff for D4627: Fix crash in non-visual mode from not loading terrain textures.

spaces

May 8 2022, 10:46 AM
lyv added inline comments to D4486: Fix maps after rP26298..
May 8 2022, 10:24 AM
wraitii added a comment to D4486: Fix maps after rP26298..
In D4486#197129, @Stan wrote:

So do you and @wraitii agree on this or are you still debating which of the patches is the right move ?

Good question. :) I haven't seen a formal agreement on the patch level, but our discussion on Friday seemed to hint to this patch.

I think we've largely agreed that long-term, the proper fix here is to implement a templateLoader-level ListTemplates(TemplateType) function, and use different root elements (<Entity>, <Technology>, <Civilization>).

May 8 2022, 10:19 AM
Freagarach added inline comments to rP24953: Unify UnitAI and AnimalAI..
May 8 2022, 8:45 AM
Freagarach added a comment to D4486: Fix maps after rP26298..
In D4486#197129, @Stan wrote:

Was the message used by the AI?

Nope. Do notice the message was already not sent anymore. I only remove the declaration and the listener in cmpTrainer.

May 8 2022, 7:20 AM

May 7 2022

vladislavbelov committed rP26857: Fixes grayscaleFactor usage in Canvas2D ARB shader added in rP25603. Fixes #6536.
Fixes grayscaleFactor usage in Canvas2D ARB shader added in rP25603. Fixes #6536
May 7 2022, 10:57 PM
vladislavbelov committed rP26856: Fixes incorrect type of objectColor in overlay line ARB shader introduced in….
Fixes incorrect type of objectColor in overlay line ARB shader introduced in…
May 7 2022, 9:48 PM
Stan updated subscribers of D4486: Fix maps after rP26298..

Was the message used by the AI?

May 7 2022, 3:47 PM
phosit accepted D4636: Adds dummy renderer backend.

It looks fine. I don't notice a performance difference.

May 7 2022, 11:47 AM
Vulcan added a comment to D4486: Fix maps after rP26298..

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

May 7 2022, 9:31 AM
Vulcan added a comment to D4486: Fix maps after rP26298..

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

May 7 2022, 9:29 AM
Freagarach updated the diff for D4486: Fix maps after rP26298..

Purge obsolete message.

May 7 2022, 9:12 AM
Freagarach added inline comments to rP25691: Map flares.
May 7 2022, 7:58 AM
Freagarach planned changes to D4584: [WIP] - Technologies to templates..

See discussion on IRC yesterday.
https://irclogs.wildfiregames.com/%230ad-dev/2022-05-06-QuakeNet-%230ad-dev.log

May 7 2022, 7:00 AM
Freagarach committed rP26855: Fix slow formation movement on spamclick by increasing instant turn angle to….
Fix slow formation movement on spamclick by increasing instant turn angle to…
May 7 2022, 6:48 AM
Freagarach closed D4593: Fix slow formation movement on spamclick; increase instant turn angle.
May 7 2022, 6:48 AM