1
0
forked from mirrors/0ad
Commit Graph

24380 Commits

Author SHA1 Message Date
wowgetoffyourcellphone 3ff2a4ea59 A bunch of minor art updates and new statues by Nifa. 2024-12-15 19:03:52 +01:00
Ralph Sennhauser accecc5894 Bump premake-core to 5.0.0-beta3
This is the version used for Windows already and contains the fix for
building against spidermonkey on all Linux distributions.

Backport patch to fix running on *BSD. Also make clang default on *BSD
as a toolset will always added to generated makefiles in beta3, so it
won't magically do what we expect when not adding --cc explicitly.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-12-15 18:34:27 +01:00
Stan d15f1c29e4 Unify library building logs 2024-12-15 15:41:37 +01:00
Stan 7b195d6a5d Add compatibility mode detection for Windows 2024-12-14 13:47:10 +01:00
Dunedan b0cc1488a7 Update the mod.io API URL
mod.io updated their API URLs, and the old one is being deprecated.
Therefore, this updates our config to point to the new one.
2024-12-14 09:16:08 +01:00
Ralph Sennhauser 36e1109624 Remove obsolete pre-commit excludes
With the removal of the premake sources all exclude directives in
.pre-commit-config.yaml are obsolete, so remove them.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-12-13 21:15:13 +01:00
Ralph Sennhauser 159117ded3 Fix readmes for premake modules
Markdown linter requires a heading and the heading not ending in a dot,
make the readmes not trigger a violation.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-12-13 21:15:12 +01:00
Feldfeld 0e183ec1ce Remove duplicate Woad Warriors civ bonus in Civilization Overview 2024-12-13 20:53:25 +01:00
real_tabasco_sauce b0ba7bd33a Sparta Civ Differentiation adjustments
Let the gerousia train heroes as in com mod
move the champ move speed tech to the syssiton in p1, make it cheaper as in com mod.
let the syssition provide 10 pop space to improve feasibility early in the game.
make the agoge a civ bonus.
increase the champion base attack rate from 1.0 to 0.9 so that the unit is inherently better than other champ spearmen, not just from upgrades availablity.
2024-12-13 20:10:50 +01:00
Vladislav Belov 239720fd22 Adds @vladislavbelov as a codeowner to related parts. 2024-12-12 00:19:04 +01:00
phosit 916db9a544 Correct the path to the ReportingErrors page
It was wrong, leading to a 404.
2024-12-11 20:23:23 +01:00
real_tabasco_sauce d1f6c04ba5 reduce cavalry capture attack from 2.5 -> 1.75 for CS and 5 -> 3.5 for champ 2024-12-11 07:08:22 +01:00
Vladislav Belov e27909e603 Fixes SPIR-V compilation for compute_skinning shader.
Currently we don't mix storage images and storage buffers in the same
shader. Also we don't sample textures when we use storage buffers.
In the future we need to avoid shifting descriptor sets.
2024-12-11 01:18:05 +01:00
Dunedan 721e90ba6a Fix compilation of SM with recent Python versions
This adds a patch for a bug in SpiderMonkey, preventing compilation of
SpiderMonkey with Python >=3.12.8 and Python >=3.13.1. The bug is
tracked upstream in https://bugzilla.mozilla.org/show_bug.cgi?id=1935621
2024-12-10 22:51:31 +01:00
Ralph Sennhauser ead62bba78 Update trac links with gitea links
This replaces all links pointing to trac with their corresponding links
to gitea. Also replace http with https while at it.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-12-10 11:29:48 +01:00
Vladislav Belov 38a0a0cf2e Adds GPU skinning to the options page. 2024-12-09 22:47:20 +01:00
Vladislav Belov 5d4df9cbe4 Enables GPU skinning by default. 2024-12-09 22:47:18 +01:00
Vladislav Belov de1257c8da Adds GPU skinning support via compute shaders.
We use a shader with 64 bones by default to consume less uniform memory.
But if we meet bigger skeletons we batch and handle them afterwards.
In the future we need to sort the input models to have less changes for
bound buffers. Also we might want to skin up to 4 models per a single
dispatch.
2024-12-09 22:47:17 +01:00
Vladislav Belov 9e371824c2 Adds storage buffer support to Vulkan and GL.
The idea is similar to the storage images but we need a separate
descriptor set in Vulkan and a program interface to gather used buffer
in GL.

For Vulkan we also need to track buffers to free used descriptor sets.
2024-12-09 22:47:15 +01:00
Vladislav Belov 4fb9a20c37 Removes the old code from the model_* shaders. 2024-12-09 22:47:14 +01:00
Vladislav Belov 6b18e58017 Adds a compute shader to perform a GPU skinning.
The main logic is taken from the experimental code in the model_common
shader but rewritten to use storage buffers as inputs.
2024-12-09 22:47:07 +01:00
real_tabasco_sauce 074451e732 Naval Overhaul balance adjustments
Increased boat vs boat TTK, allow fire ships to behave like a melee ship with a more player controlled area affect attack.
2024-12-09 20:25:44 +01:00
real_tabasco_sauce c2cc13f1f5 decrease effectiveness of melee promotion, compensate for mercs 2024-12-09 20:25:44 +01:00
real_tabasco_sauce 2c90b6bd8c civ specific corrections after melee rebalance 2024-12-09 20:25:44 +01:00
real_tabasco_sauce c73ef0756c Melee/Ranged rebalance from the community mod
Ranged units -25% dps in the form of attack rate
Melee units decreased armor (5h5p->3h3p for CS infantry)
Melee units 50% more damage
Building and siege hack armor adjusted to compensate
2024-12-09 20:25:44 +01:00
Ralph Sennhauser b863e99388 Add check for use of gmake action
Since 7d6a0c695a we use gmake2 instead of gmake, add a check in case
someone calls premake without the wrapper script update-workspace
telling them to use gmake2 instead as support for gmake was removed.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-12-09 19:03:05 +01:00
real_tabasco_sauce 82877e03a1 reduce the strength of the polybolos civ bonus 2024-12-09 16:35:17 +01:00
real_tabasco_sauce 88fcaf7706 make the academy and small pyramid cheaper 2024-12-09 16:35:17 +01:00
real_tabasco_sauce e9fdead305 let champions from non-barracks and non-stable buildings train 25% faster 2024-12-09 16:33:24 +01:00
Feldfeld 6406f1c84f Civil technologies update 2024-12-09 16:32:07 +01:00
Feldfeld a1428d3641 Hero updates for Mauryans, Kushites, Persians, Athenians 2024-12-09 16:29:17 +01:00
abian 05bc5aa71a Lower MaxGatherers for small trees with <=100 wood
- Reduced the MaxGatherers value for the smallest trees with 100 or
  less wood from the default (8) to 6 or 4.

- The affected trees are Bush (4), Atlas Cedar Sapling (4), Cretan Date
  Palm (Short) (6), and Fir Sapling (4).

- Small trees with 100 or less wood that already had a MaxGatherers
  value lower than the default (8), such as Bamboo (Single) (1) and
  Baobab Sapling (2), were left unchanged.
2024-12-09 16:12:55 +01:00
Itms 762c686a0d Remove check for SpiderMonkey minor version 2024-12-09 10:46:14 +01:00
Itms 72ea129751 Fix SpiderMonkey debug DEFINEs in pkg-config 2024-12-09 10:46:13 +01:00
Itms 0de5f2fb25 Upgrade SpiderMonkey to ESR 115 2024-12-09 10:46:12 +01:00
Itms cc72142205 Adapt 0 A.D. to SpiderMonkey ESR 102
This follows the migration guide at:
https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples

Based on patch by: wraitii
Differential Revision: https://code.wildfiregames.com/D5002
2024-12-09 10:43:35 +01:00
Itms 6a5488832e Upgrade SpiderMonkey to ESR 102 2024-12-09 10:43:31 +01:00
Itms 2e32636a53 Use Mozilla's mach to build SpiderMonkey
This removes the need for many customizations in the build script.
2024-12-09 10:42:21 +01:00
Itms 88d3550aaa Fix SpiderMonkey build on Windows 2024-12-09 10:31:34 +01:00
Itms f88bac98b4 Fix SpiderMonkey build on recent macOS
Fixes #6905
Fixes #6915
2024-12-09 10:30:49 +01:00
Itms 682de9f289 Unbundle SpiderMonkey
This deletes the RETRY flag from the build script, which can be
manually mocked if needed.
2024-12-09 10:11:34 +01:00
Itms 040038624c Bump Rust version in Linux CI 2024-12-09 10:11:16 +01:00
Lancelot de Ferrière 7590723606 Fix non-PCH builds 2024-12-09 09:53:25 +01:00
phosit d0ebcbe038 Allow to change a password from the lobby page
Fixes #2543
2024-12-08 17:13:47 +01:00
Dunedan 5a4180efb1 Fix the tooltip of the Han Academy
Fixes #6921
2024-12-08 09:27:38 +01:00
Lancelot de Ferrière cb6fb77eaa Speed up ChainPlacer.js::Place
ChainPlacer.js creates a new array that it fills with the -1 value before computing its clumps. This is slow.
By simply storing values differently, we can avoid doing that altogether, leading to faster mapgen.
Hard to say in general but I think this might be about 3-4% faster on a typical map.
2024-12-07 20:27:36 +01:00
Lancelot de Ferrière 2535e5f5b4 Use JS for autostart parsing 2024-12-07 20:27:23 +01:00
Lancelot de Ferrière ffa6943057 Reapply "Update various macos Libraries"
This reverts commit e609af395d.
2024-12-07 18:36:33 +01:00
Lancelot de Ferrière e609af395d Revert "Update various macos Libraries"
This reverts commit 8c9ed820cb.
2024-12-07 18:20:16 +01:00
Lancelot de Ferrière 8c9ed820cb Update various macos Libraries 2024-12-07 18:15:15 +01:00