1
0
forked from mirrors/0ad
Commit Graph

20567 Commits

Author SHA1 Message Date
Angen 21e3eedd2f Fix computation of clusters and var->let
Compare matrix values against `undefined` instead of relying on `||`
because `||` does not work as intended when distance is `0`.

Differential Revision: https://code.wildfiregames.com/D2761
Fixes: #5761

This was SVN commit r23693.
2020-05-23 12:53:11 +00:00
Angen c8e6c05334 Fix gcc warning reported by Imarok after 204e17206b
Introduced in 204e17206b.
Gcc gives warning about missing parenthesis so this patch is adding
them, not changing result of expression.
Fix proposed by Imarok in P206 after report on irc
http://irclogs.wildfiregames.com/2020-05/2020-05-22-QuakeNet-%230ad-dev.log.

Differential Revision: https://code.wildfiregames.com/D2762
Reviewed by: elexis
This was SVN commit r23692.
2020-05-23 12:21:49 +00:00
Angen 204e17206b Update plural_forms.cpp by tinygettext to reflect needs of translators
Some languages like sk in [[SVN:21907]] have changed crucial line with
information about how many plurals language uses and how to calculate
correct one. However in plural_forms this line could not be matched with
implemented functions so as result object with default settings have
been returned what resulted in using only singular for translatePlural
calls.

Affected languages (12):
sk, lt, uk, cs, pl, ro, mk, he, ga, cy, be, br

I am leaving old variants as they can be useful for another languages.

Differential Revision: https://code.wildfiregames.com/D2751
Comments by: wraitii
This was SVN commit r23690.
2020-05-22 20:06:40 +00:00
s0600204 9034335d22 Correct WallPiece schema help comments
(Fairly sure I've got them right this time.)

Refs: #2944, D900, da35f63279

This was SVN commit r23687.
2020-05-21 19:11:00 +00:00
Itms 6e6c401ee8 Check the library version instead of the mtime of the already-built guard file in build-osx-libs.sh
Use a suffix for bundled libraries in order to rebuild them when we
patch them, refs #2551.

Patch By: Krinkle
Differential Revision: https://code.wildfiregames.com/D2649
This was SVN commit r23686.
2020-05-21 15:28:38 +00:00
elexis 57636140b5 Fix typo (certifiacte -> certificate) imported from gloox in 0e2adda813, reported by pilino1234 on transifex, relayed via Angen on Phabricator.
This was SVN commit r23685.
2020-05-21 10:15:26 +00:00
s0600204 da35f63279 Add help comments to WallPiece component schema
Also resolves whitespace issue in WallSet component breaking structree
and rmgen
wallbuilder when wall curve pieces are listed separated with newlines (&
tabs)
instead of single spaces.

Requested by: Nescio
Refs: #2944, D900

This was SVN commit r23684.
2020-05-21 04:34:13 +00:00
bb b8be438472 Invert a case in 585f9e76a5
This was SVN commit r23683.
2020-05-20 19:47:40 +00:00
bb 585f9e76a5 Create unitAI function to match a target's speed.
Patch By: Freagarach
Differential Revision: D2731
This was SVN commit r23682.
2020-05-20 19:39:36 +00:00
wraitii c1ddc0c4b9 Internationalise Damage Types and Status Effects using (optional) JSON files.
.json files in simulation/data/template/helpers/damage_types and
status_effects will be used to internationalise damage types and status
effects, as well as share common text.
Fixes the order of damage types being inconsistent.

Add the possibility for i10n xml extractor to set a custom context.

Fixes #4801
Related to D2296.

Featuring work from: Freagarach

Differential Revision: https://code.wildfiregames.com/D2337
This was SVN commit r23681.
2020-05-20 17:26:37 +00:00
wraitii 441f17cbeb Fix EntitiesNearPoint range query
Use a fixed range delta around the missile hit-location for neighboring
entities to damage.
Use a common query for GAIA and non-GAIA entities.
Do not presume attackable entities have Health.
Fix an issue where gaia entities were returned twice.

This fixes concerns reported by elexis at 38b2e37a61 and by Freagarach
at 16b452cf91.

Differential Revision: https://code.wildfiregames.com/D2738
This was SVN commit r23680.
2020-05-20 17:03:33 +00:00
Angen d113a94d4d Add missing .(dot) in tooltip in maur_defense_tower.xml
Reported by GunChleoc on transifex.
Introduced in 14bd613288

This was SVN commit r23679.
2020-05-20 16:50:40 +00:00
bb 3f3a699b9e Allow timers to update their interval.
Patch By: Freagarach
Differential Revision: https://code.wildfiregames.com/D2666
This was SVN commit r23678.
2020-05-19 15:42:57 +00:00
Itms c9d9b7be83 macOS build fixes and Jenkins pipelines.
This includes:
- some build fixes
- Jenkins pipelines, in use since January
- a revamped DMG build script, including dmgbuild configuration by Tobbi
and a tweak by norsnor (D2650)

Differential Revision: https://code.wildfiregames.com/D2523
This was SVN commit r23676.
2020-05-17 14:12:53 +00:00
Itms 782a77f106 Allow using system premake5 (with the flag --with-system-premake5) when running update-workspaces.sh, refs #1518.
Differential Revision: https://code.wildfiregames.com/D2519
This was SVN commit r23675.
2020-05-17 11:41:58 +00:00
Stan 4eac7b6958 Rename the Seleucid citizen pikeman to ϕαλαγγίτης phalangitēs / phalangite
Corrects the name of the Seleucid champion pikeman: “silver shields” is
the name of their corps, they fought as phalangites, thus there is no
need to specify that.

Patch by: @Nescio
Comments by: @wowgetoffyourcellphone
Differential Revision: https://code.wildfiregames.com/D2736
This was SVN commit r23674.
2020-05-16 21:14:52 +00:00
Stan 5f38609350 Cleanup Timer.js
Reviewed by: @bb
Comments by: @elexis, @Freagarach, @Polakrity
Differential Revision: https://code.wildfiregames.com/D1776
This was SVN commit r23673.
2020-05-16 17:41:07 +00:00
wackyserious 2f5c4999fe Add missing file reported in: https://wildfiregames.com/forum/index.php?/topic/28160-error-after-revision-23670/
This was SVN commit r23672.
2020-05-16 06:23:50 +00:00
s0600204 40f77d0f0f Rename civinfo page from "History" to "Civilization Overview"
Patch by: Nescio
Accepted by: s0600204
Differential Revision: https://code.wildfiregames.com/D2722
This was SVN commit r23671.
2020-05-15 21:27:35 +00:00
wackyserious 77f901266b Texture Update: Arab Javelineer and Nabatean Camel Archer
Thread:
https://wildfiregames.com/forum/index.php?/topic/25200-committed-arab-javelineer-and-nabatean-archer-unit-texture/

Reviewed by: Sundiata, Alexandermb and Nescio
This was SVN commit r23670.
2020-05-15 10:19:18 +00:00
wackyserious d6dcb558ca Texture Update: Seleucid Thorakites (by wowgetoffyourcellphone)
Thread:
https://wildfiregames.com/forum/index.php?/topic/28150-committed-seleucid-thorakites-unit-texture/

Reviewed by: Stan, Lion.kanzen and wackyserious
This was SVN commit r23669.
2020-05-15 09:25:42 +00:00
wackyserious f864aa5a15 Texture Update: New (and updated) Persian Unit Textures
-Sardian auxillary
-Sogdian archer (basic)
-Hyrcanian cavalry

Thread:
https://wildfiregames.com/forum/index.php?/topic/23634-committed-persian-unit-texture-upgrade/&do=findComment&comment=390782

Feedback by: Nescio
This was SVN commit r23668.
2020-05-15 08:51:22 +00:00
Alexandermb 1491837208 New macedonian aspis.
New roster and cleaner gorgon shield for spartan champion.

Reflective metal for basic athen shields.

This was SVN commit r23666.
2020-05-14 20:13:51 +00:00
bb b109a127e5 Add XPtrickle test after d392472d44, cleanup promotion test.
Patch By: Freagarach
Differentital Revision: https://code.wildfiregames.com/D2670

This was SVN commit r23665.
2020-05-14 15:07:33 +00:00
Alexandermb 9953e2ca85 Upload hele_crest_hair_06.xml actor wich wasn't uploaded on latest committ and replace hele_crest_thracian_hair_p3.xml actor on hair slot.
This was SVN commit r23664.
2020-05-13 14:01:32 +00:00
Alexandermb f6a77a9d7d Fix Seleucid thracian helmets crest to new one and delete unused crest's.
This was SVN commit r23663.
2020-05-12 20:40:09 +00:00
Alexandermb baf5af5a23 Seleucid shields cleaning and new thespian variants.
This was SVN commit r23662.
2020-05-12 19:32:58 +00:00
Stan f2d30ed94d Rename test_resources.js to test_Resources.js for consistency.
Reviewed by: @bb
Differential Revision: https://code.wildfiregames.com/D2730
This was SVN commit r23661.
2020-05-12 17:22:44 +00:00
Stan c08016d950 Optimize GetIdentityClasses in Templates.js
Add unit tests.

Reviewed by: @bb
Differential Revision: https://code.wildfiregames.com/D2404
This was SVN commit r23660.
2020-05-12 15:24:59 +00:00
Alexandermb b61b21afb7 Spartan Dokana shield.
Resize of a helmet/cart_helmet_01_bronze.png

Fix aspis_athen_m.xml variant name

This was SVN commit r23659.
2020-05-11 19:13:46 +00:00
Alexandermb de54570b12 Fix error on aspis_back mesh and delete unused actors
This was SVN commit r23658.
2020-05-11 17:14:35 +00:00
Stan d2d2f1ad2c Fix linting errors in UnitMotionFlying.
Reviewed by: @bb
Comments by: @Angen
Differential Revision: https://code.wildfiregames.com/D2457
This was SVN commit r23657.
2020-05-11 08:19:23 +00:00
bb 74459adfb0 Move canheal function from unitAI to heal component.
Add tests for this function

Patch mostly By: Freagarach
Differential Revision: https://code.wildfiregames.com/D2403
This was SVN commit r23654.
2020-05-10 21:54:39 +00:00
Imarok 20ea4b1329 Enable preSelectedi actions on the minimap
Quickly tested by: Stan
Differential Revision: https://code.wildfiregames.com/D2728
This was SVN commit r23653.
2020-05-10 14:22:39 +00:00
Imarok 1ed64439ea IGUIObject ScriptEventi: optional return value for signalling if the event has been handled
Comments by: badosu, elexis
Differential Revision: https://code.wildfiregames.com/D2727
This was SVN commit r23652.
2020-05-10 14:01:00 +00:00
Imarok 8e916489d6 Allow "orderone"-hotkey for preselected actions.
Patch By: Freagarach
Refs #5750
Differential Revision: https://code.wildfiregames.com/D2729
This was SVN commit r23651.
2020-05-10 11:11:37 +00:00
Alexandermb 70dfac10ff Rename Athen lambda to Athen Alpha Following @wowgetoffyourcellphone suggestion for consistency.
Replace temporary quinquereme shields with carthage aspis while a shield
texture package is done for better performance.

This was SVN commit r23650.
2020-05-09 20:50:13 +00:00
Alexandermb 839af11abc Remove unused carthage shields.
This was SVN commit r23649.
2020-05-09 18:51:15 +00:00
Alexandermb 6a9fd32754 More unused actors cleaning and some corrections following last committ.
This was SVN commit r23648.
2020-05-09 18:47:17 +00:00
Alexandermb a6401d930b Replace themistocles shields variant to the Owl as it was before (Wrong variant being used, pegasus still waiting for cleaning till the pattern is found)
This was SVN commit r23647.
2020-05-09 18:28:21 +00:00
Alexandermb b9bb46e006 Shields texture folder cleaning and shield actors being unused due to new ones.
Fixed hand position on infantry pikeman.

Adjusted Shield position in some howdah.

Replaced Shield cloak on an outdated (to be updated) shield

This was SVN commit r23646.
2020-05-09 17:25:56 +00:00
Alexandermb 70cf017fe6 Correction of 4 aspis with the Lambda or "A" letter with a modern representation instead of a historically accurate one.
Commented by @Nescio

This was SVN commit r23645.
2020-05-09 15:45:41 +00:00
Stan da0f87458b Fix the build script failing to get ICU.
Use the github mirror instead,
Update from 59.1 to 59.2

Accepted by: @Itms
Patch by: @Krinkle
Differential Revision: https://code.wildfiregames.com/D2717
This was SVN commit r23644.
2020-05-09 10:34:34 +00:00
FeXoR d995dcebfa Reduce areas players can't place buildings on due to high inclination/bumpiness on random map Wild Lake.
Reported by OptimusShepard at https://code.wildfiregames.com/D1624

Tested by: FeXoR
This was SVN commit r23642.
2020-05-08 18:14:44 +00:00
vladislavbelov 1e1ce27eba Adds offsets to the terrain resize function and adds comments how the resizing works.
Original Patch By: Clockwork-Muse
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D2724
This was SVN commit r23639.
2020-05-07 21:46:17 +00:00
Stan 5159fe3fa4 Add some new selection textures by Nescio
Refs: https://code.wildfiregames.com/D2503

This was SVN commit r23638.
2020-05-07 18:43:08 +00:00
Angen 093285bf35 Do not stack fleeing orders.
Differential Revision: https://code.wildfiregames.com/D2162
Patch by: Freagarach
Replace current fleeing order with new fleeing order instead adding new
one on top of current fleeing order, what was causing fleeing unit to
move further away as it should.

This was SVN commit r23637.
2020-05-07 17:29:35 +00:00
Stan 5fcade9ffd Improved selection shapes by @Nescio.
Refs: https://code.wildfiregames.com/D2503

This was SVN commit r23636.
2020-05-07 17:22:59 +00:00
Angen d52328f520 Fix typo in 118ebc810c
This was SVN commit r23635.
2020-05-07 17:03:44 +00:00
Angen 990e3163d8 Do not store empty Garrison tag in map xml files after 8bfb449375
Differential Revision: https://code.wildfiregames.com/D2690
Patch by: Freagarach
Reported on forum:
https://wildfiregames.com/forum/index.php?/topic/27867-tag-in-the-map-xml-file/

8bfb449375 introduced Garrison tag to the xml map files.
In case GarrisonHolder was present, but held no entities, empty tag was
written. This is adding check for emptyness so that behaviour is
prevented.

This was SVN commit r23634.
2020-05-07 16:57:45 +00:00