Commit Graph

16371 Commits

Author SHA1 Message Date
Vantha 960bd5eace Unique network transmission handling of flares
This patch addresses issues concerning a1796ed71f:

Allow for a more elegant implementation of observer flares.
And still display flares even if the sender is lagging behind:
Split off flares from simulation commands.
Remove the new, problematic 'observer commands' entirely.
Provide an engine function 'SendNetworkFlare' to the JS interface.
-> which sets off the (pretty ordinary) transmission process.
Add a new type of net messages exclusively for flares
-> contains the flare's position and its sender's GUID.
2024-12-16 18:03:25 +01:00
Vantha 75205699d0 Disable flaring during replays
Correct unintended behaviour introduced in a1796ed71f.
2024-12-16 18:03:25 +01:00
paczek654321 48a4aa7f9a Changed the max selection size to 300 from 200.
Patch By: Serihilda
Fixes #6823
2024-12-16 16:35:16 +01:00
Vantha 4b2424b885 Improve some SpecificNames and GenericNames 2024-12-16 00:03:51 +01:00
Feldfeld 5f1f888a33 Fix naval technologies mistakenly appearing as unique 2024-12-15 23:56:05 +01:00
Feldfeld b80b27bf24 Progressive research time for Forge technologies 2024-12-15 23:56:05 +01:00
wowgetoffyourcellphone 3ff2a4ea59 A bunch of minor art updates and new statues by Nifa. 2024-12-15 19:03:52 +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
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
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
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 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
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
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
Dunedan 9d4fa75f8e Fix picking up of translations for game settings
Fixes #6912
2024-12-06 17:03:47 +01:00
wowgetoffyourcellphone 4ebf2037fe Capitoline Wolf by nifa 2024-12-05 03:37:24 +01:00
Antoine Le Gonidec 649cd9b318 Add myself (vv221) to the list of programming contributors 2024-12-03 13:54:38 +01:00
real_tabasco_sauce 82386a68be add real_tabasco_sauce to the art credits 2024-12-01 20:45:48 +01:00
real_tabasco_sauce c279b1c327 improve pack/unpack pngs 2024-12-01 20:45:48 +01:00
Lancelot de Ferrière 533429e800 Handle phenotype in Transform, tweak SetPhenotype logic 2024-11-30 19:12:11 +01:00
real_tabasco_sauce f1afa611a9 add coast_range map 2024-11-27 18:31:30 +01:00
real_tabasco_sauce 06f47f0f46 Add additional range checks to Attack.js
This may decrease performance but increases the feeling of responsiveness in units and addresses unit overshoot.
fixes #7074
2024-11-26 11:09:17 +01:00
real_tabasco_sauce 087f62d062 Update migration and rename the previous map "land grab" 2024-11-25 19:24:01 +01:00
real_tabasco_sauce 98b042a90a add foothills map 2024-11-22 05:08:15 +01:00
Stan 28da29e96b Cache resource gatherer max distance and range.
The string -> double conversion is fairly slow. And we don't need to create many objects this way.
Based on a patch by: @wraitii
2024-11-18 10:36:45 +01:00
Vantha f796beee11 Enable most ships to collect sea treasures
Previously, only merchantmen were able to collect treasures on the sea.
This patch enables all types of ships to do so:
fishing boats, merchantmen, and warships (except fireships).
2024-11-16 22:01:42 +01:00
Dunedan 67cf07b897 Update URLs to the terms to point to Gitea 2024-11-14 19:58:40 +01:00
Vantha 6582e7348e Fix the mouse event mask of the flare button
Update the reference in Minimap.xml to some name changes in
a1796ed71f.
2024-11-14 13:55:58 +01:00
Vantha a1796ed71f Enable observers to see and send flares
This patch gives observers the possibility to see and send flares.
Players keep their color after resigning and "true" observers flare in white.
Observers render all flares; the ones sent by any player or observer.
Player continue to only see their allies' flares.
The flare notification option is converted into a dropdown.
-> adding the possibility to only receive them as observer.
2024-11-14 11:58:15 +01:00
Stan 9e5e2708f4 Raise Loot.js and Looter.js' coverage to 100% 2024-11-13 23:19:56 +01:00
Stan d116d27327 Fix testing components with no Init method() 2024-11-13 23:19:56 +01:00
trompetin17 c843ee3c24 Scrollpanel: Structure Tree 2024-11-12 15:01:43 -05:00
trompetin17 8c250568e7 Add scrollpanel widget
This PR introduces a new ScrollPanel component with the following
capabilities:
- Scroll Orientation Support: Allows scrolling in horizontal, vertical,
  or both directions, providing flexibility for different use cases.
- Partial Object Rendering: Supports partial rendering of objects that
  are only partially visible within the scroll boundaries, improving
  visual accuracy and performance.
- Boundary-Constrained Mouse Interaction: Handles mouse events strictly
  within the panel's visible boundaries, preventing interaction with
  objects outside the scrollable area.
- Minimum Internal Size (min_width, min_height): Introduces support for
  virtual space management, allowing the panel to maintain a minimum
  internal size independent of its actual on-screen dimensions. Even
  when the panel is resized, this ensures that the content respects a
  defined virtual space (with min_width and min_height), effectively
  simulating a larger internal canvas. This is particularly useful for
  large content or scenarios where a more extensive scrollable area is
  required than the current visible panel.
2024-11-12 15:01:42 -05:00
phosit d98c93b35e Add missing await in option reset
Defect introduced in d655455304
Fix #7196
2024-11-12 18:14:23 +01:00