Commit Graph

21266 Commits

Author SHA1 Message Date
wraitii 6ed6dcdfd9 Fix xmlvalidator following a4852c4c01
The xmlValidator complained about GUI pages.
ff924aaffc missed that script.

Fixes #5912

Differential Revision: https://code.wildfiregames.com/D3349
This was SVN commit r24594.
2021-01-13 10:33:01 +00:00
wraitii 65772447f7 Fix shadows-on-water option.
Fixes 26f7a3df96 & 8a1b3d6769.
Use watershadows instead of shadowsonwater for coherence.

Reviewed By: vladislavbelov
Differential Revision: https://code.wildfiregames.com/D3348
This was SVN commit r24593.
2021-01-13 10:04:25 +00:00
Stan 9bfdc46aa3 Fix issue with duplicate tags. Perl script doesn't like it.
This was SVN commit r24592.
2021-01-13 09:15:02 +00:00
Freagarach ae5e10b956 Fix typo in e8d99aedee after rebasing.
Spotted by @Angen.

This was SVN commit r24591.
2021-01-13 09:01:45 +00:00
Freagarach 5bd78d774d [Gameplay A24] - Alter ptol structure bonus.
Remove free structures but reduce their wood cost.

Patch by: @Nescio
Differential revision: D3329
Reviewed by: @borg-
This was SVN commit r24590.
2021-01-13 07:00:55 +00:00
Freagarach e8d99aedee [Gameplay A24] - Change nisean_horses technology.
Nisean war horses were reserved for the heaviest shock cavalry (i.e.
champion spearmen in 0 A.D.).
- Limit to Champion Cavalry Spearmen.
- Increase training time by 10%.
- Food cost raised to 400.
- Made the "Horse Breeding" technology a requirement.

Original patch by: @borg-
Taken over by: @Nescio
Reviewed by: @borg-
Comments by: @Feldfeld, @Palaxin, @ValihrAnt
This was SVN commit r24589.
2021-01-13 06:54:21 +00:00
Freagarach fd904dd635 [Gameplay A24] - Add new Gaul civ bonus.
Giving their cavalry +10% melee attack damage.

Patch by: @Nescio
Differential revision: D3328
Reviewed by: @borg-
This was SVN commit r24588.
2021-01-13 06:40:40 +00:00
Stan 0138039a67 Add some new technologies icons and update some others from Delenda Est
This was SVN commit r24587.
2021-01-13 02:36:14 +00:00
Stan 90bdbc9470 Add a unused gaul carnyx player actor for https://code.wildfiregames.com/D3320
This was SVN commit r24586.
2021-01-13 01:48:23 +00:00
Stan b7443e5508 Improved sounds by @Samulis.
Refs: #5856 https://code.wildfiregames.com/D3113

This was SVN commit r24585.
2021-01-13 01:40:13 +00:00
Stan 401d76e1c0 Improved sling impact sounds by @Samulis.
Rename to match conventions, set piority to 80 as per the wiki.

Refs: #5856 https://code.wildfiregames.com/D3113

This was SVN commit r24584.
2021-01-13 01:39:50 +00:00
Stan 501ce20226 Improved shield impact sounds by @Samulis.
Rename to match conventions, set piority to 80 as per the wiki.

Refs: #5856 https://code.wildfiregames.com/D3113

This was SVN commit r24583.
2021-01-13 01:31:58 +00:00
Stan 882459ebc3 Improved arrow impact sounds by @Samulis.
Rename to match conventions, set piority to 80 as per the wiki.

Refs: #5856 https://code.wildfiregames.com/D3113

This was SVN commit r24582.
2021-01-13 01:21:43 +00:00
Stan 2f32b68f1a Fix priorities according to https://trac.wildfiregames.com/wiki/SoundGroup
This was SVN commit r24581.
2021-01-13 00:53:38 +00:00
Stan e5339a66c6 Improved construction sounds by @Samulis
While at it fix the priority following
https://trac.wildfiregames.com/wiki/SoundGroup

Refs: https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24580.
2021-01-13 00:48:44 +00:00
Stan 735c8918af Improved gather meat sounds
Fix an incorrectly named variant,
Enable gather meat sounds
Replace the sword attack sound by a knife attack sound

Patch by: @Samulis
This was SVN commit r24579.
2021-01-13 00:06:03 +00:00
Stan 0f1ba33750 Improved lumbering sounds by @Samulis
Refs: https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24578.
2021-01-12 23:55:15 +00:00
vladislavbelov e5cbd3decd Removes unused GL texture properties after removed FFP.
This was SVN commit r24577.
2021-01-12 23:18:29 +00:00
vladislavbelov f1a3b446f7 Removes the unused terrain rendering function after removed FFP.
This was SVN commit r24576.
2021-01-12 23:14:08 +00:00
Stan 2556fb9ba9 Use the correct sound for healer creation
Patch by: @lion.kanzen
This was SVN commit r24575.
2021-01-12 23:08:22 +00:00
Stan 5093182c4e Improved foraging leaves sound (when gathering fruit). Actually enable the sound. Fix naming.
Patch by: @Samulis
This was SVN commit r24574.
2021-01-12 23:02:57 +00:00
Stan 01c10bf74d New selection sound for the library by @lionkanzen
This was SVN commit r24573.
2021-01-12 22:47:05 +00:00
Stan f44c16462b Improved archery sounds by @samulis
Refs: ​https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24572.
2021-01-12 22:42:14 +00:00
Stan 3a1dbf315e Improved javelin attack sounds by @Samulis
Refs: https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24571.
2021-01-12 22:33:07 +00:00
Stan 9dbf1554f4 Improved pike attack sounds by @Samulis
Refs: https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24570.
2021-01-12 22:32:18 +00:00
Stan f96c3a24a9 Improved spear attack sounds by @Samulis
Refs: https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24569.
2021-01-12 22:29:56 +00:00
Stan 7bf454398c Improved sword attack sounds by @Samulis
Refs: https://github.com/0ADMods/SoundsMod/pull/2

This was SVN commit r24568.
2021-01-12 22:28:27 +00:00
Angen 3273ff13bf [gameplay] 10% loot for support units and ranged slinger
Change loot for support units and citizen soldiers following champion
loot pattern from 84a3f36537

10% loot is present for other citizen soldiers so this makes quite sense
for support units as well

last rebalance done in 94791c53c6

Differential revision: D3327
Comments by: Nescio, borg-
This was SVN commit r24567.
2021-01-12 19:30:30 +00:00
Freagarach a0288b9c9b Rename Gaul Theater to Assembly.
Its function is different. Meaningful values remain unchanged.

Patch by: @Nescio
Differential revision: D3331
This was SVN commit r24566.
2021-01-12 19:25:35 +00:00
Imarok a3eccc043d Hint the location for "You have been attacked" notifications
Icon edited by Stan.
Fixes: #5132
Differential Revision: https://code.wildfiregames.com/D1461
This was SVN commit r24565.
2021-01-12 19:13:16 +00:00
Freagarach 1449ddf439 Correct technology tooltips and formatting.
Also puts resources on a new line and purges entries with `0`.
Moves the Immortal class visible since it is used by a technology (and
thus should be known to a player).

Patch by: @Nescio
Differential revision: D3338
This was SVN commit r24564.
2021-01-12 18:52:12 +00:00
wraitii 7460d0e56e Revert dad2857538 / Keep track of serialized objects using a GCHashTable
This reverts dad2857538. That diff had two issues:
- It modifies the JS objects, which means subsequent serialization in
quicksave are 'dirty'.
- It doesn't work with non-extensible objects. That's rather annoying,
and has already caused problems.
It also revert f0faab7a42, which was necessary because of the second
issue.

Fixes #5908

Differential Revision: https://code.wildfiregames.com/D3336
This was SVN commit r24563.
2021-01-12 18:43:45 +00:00
wraitii 511fe22a83 Add a map to test some 'dancing' evasion behaviour.
Test some cases of projectile evasion using:
- Manual dancing
- Patrol dancing
- 'Square' dancing.
- 'Zigzag' dancing.

Differential Revision: https://code.wildfiregames.com/D3325
This was SVN commit r24562.
2021-01-12 18:03:20 +00:00
wraitii 78764926f8 Fix 9fc6c3c897 - Set entity/template before deserializing.
Following 9fc6c3c897, components Deserialize() was called before
entity/template were set, which is incorrect.

Refs #4698.

Differential Revision: https://code.wildfiregames.com/D3337
This was SVN commit r24561.
2021-01-12 16:15:40 +00:00
Angen a3c810b5eb Remove U+FEFF character from kush elephant_stables and athen wonder
This character is invisible in templates, but pyrogenesis does not know
how to render it, so it renders missing character, which looks bad.
Thanks @s0600204 for grep investigation.

Reviewed by: @Nescio
Differential revision: D3323
This was SVN commit r24560.
2021-01-12 15:17:07 +00:00
Freagarach 71f9e2a30b Regroup special technologies.
Some techs are shared between multiple civs and having them in a folder
that is named differently (successors/hellenes) can be confusing.
This patch deprecates the subfolders and moves all techs in the main
folder.

(Also did svn propset on *.json to not have to do it for every changed
template.)

Patch by: @Nescio
Differential revision: D888
Comment by: @fatherbushido
This was SVN commit r24558.
2021-01-12 14:50:24 +00:00
Freagarach 962c896f28 Check for cmpUnitAI when extracting formations.
59d0885d68 Changed the way to get formation UnitAIs, but didn't account
for selecting entities with and without UnitAI.
This fixes that.

Differential revision: D3333
Reviewed by: @wraitii
Comments by: @Angen, @Stan
This was SVN commit r24557.
2021-01-12 14:28:09 +00:00
Freagarach 300ff96d98 [Gameplay A24] - Enable Mauryan palace.
- Moves the maiden guard champions and heroes there.
- Removes the need to unlock champions.

Patch by: @Nescio
Differential revision: D3330
Reviewed by: @borg-
This was SVN commit r24556.
2021-01-12 14:25:37 +00:00
vladislavbelov ffcfdddb13 Adds author of the original patch for 25332f9b86 to credits.
This was SVN commit r24555.
2021-01-12 08:24:33 +00:00
vladislavbelov 63975ef977 Fixes include for 25332f9b86, map > unordered_map.
This was SVN commit r24554.
2021-01-12 07:49:48 +00:00
vladislavbelov 25332f9b86 Adds #include directive support to shaders
Comments By: Stan, wraitii
Tested By: Freagarach, Stan
Differential Revision: https://code.wildfiregames.com/D3030
This was SVN commit r24553.
2021-01-11 23:23:30 +00:00
Freagarach 7a15ee1c21 [Gameplay A24] - Tweak Fortress cost and Health.
- 10% Lower build time.
- Cost changed from stonly [sic] to stone and wood.
- Reduced Health by 10%.
- Removed resistance addition.
- Equalised the Iberian fortress since there is no historical
justification.

Patch by: @Nescio
Differential revision: D3324
Reviewed by: @borg-
Comment by: @Stan
This was SVN commit r24552.
2021-01-11 20:06:45 +00:00
Stan 205486d6f3 Fix sound errors when no sound card is detected.
Based on a patch by: @Imarok
Refs: #3285

Differential Revision: https://code.wildfiregames.com/D1481
This was SVN commit r24551.
2021-01-11 18:56:33 +00:00
Imarok 687a9335f0 Remove cache detection
Reviewed by: wraitii
Fixes: #4360
Differential Revision: https://code.wildfiregames.com/D3165
This was SVN commit r24550.
2021-01-11 17:30:16 +00:00
Angen 7148aa5554 Display gather rates per subtype
Currently gather rates per subtype of resource are averaged , which
hides important information for players. Therefore they do not realise
some units may be better collecting grain or fruit.

Also removing todo from the code.

Thank @Stan for fruit and grain icons without cursor and new fish.

Differential revision: D3310
Accepted by: wraitii
Comments by: Freagarach, Nescio
Ref: #4077

This was SVN commit r24549.
2021-01-11 16:03:16 +00:00
Freagarach 1b2ef6988a [Gameplay A24] - Introduce two new technologies at the stable.
Now the stable is available for all civs (c4eeb82d83) new techs for it
are welcome.
This introduces:
- town-phase technology that gives cavalry +10% health;
- city-phase technology that gives the stable -0.1 corral batch training
time (similar to the one the barracks has).
The two Persian levy technologies, which used to give -20% training time
and -5% health, now simply grant -10% training time instead.

Patch by: @Nescio
Differential revision: D3317
Reviewed by: @borg-
This was SVN commit r24548.
2021-01-11 13:54:53 +00:00
Freagarach 2223336ce5 Fix cart super dock production queue.
6013aaebd3 removed training_phoenician_naval_architects but failed to
remove it from the super dock of Carthage.
Noticed by by @Angen.

This was SVN commit r24547.
2021-01-11 13:12:12 +00:00
Freagarach 6013aaebd3 [Gameplay A24] - Change ship technologies.
- +2 damage resistance -> +25% health and moved to city phase.
- +2 damage resistance -> +10% movement speed and moved to city phase.
- batch time modifier -> construction time
- Renames some stuff and cleans production queue.

Patch by: @Nescio
Differential revision: D2987
Reviewed by: @borg-
Comment by: @wraitii
This was SVN commit r24546.
2021-01-11 12:56:41 +00:00
Freagarach c2479d961f [Gameplay A24] - Make fireships unable to attack anything but ships.
Since they're essentially floating bonfires.

Patch by: @Nescio
Differential revision: D2802
Reviewed by: @wraitii
Informally accepted by: @borg-
Comment by: @elexis
This was SVN commit r24545.
2021-01-11 12:43:00 +00:00
Freagarach f7a6aa6f70 [Gameplay A24] - Move Citizen Soldier health increase from phase progression to promotion.
Patch by: @Nescio
Differential revision: D3315
Reviewed by: @borg-, @wraitii
This was SVN commit r24544.
2021-01-11 12:35:24 +00:00