Commit Graph

17350 Commits

Author SHA1 Message Date
Imarok 34f41dbe52 Style text alignment cleanup
Reviewed by: vladislavbelov
Differential Revision: https://code.wildfiregames.com/D174
This was SVN commit r19787.
2017-06-16 12:47:10 +00:00
elexis c237b1a1c5 Prevent unintentional selection of all units following 8f36ca47a1 / D326 when doubleclicking while not in selection input mode.
Differential Revision: https://code.wildfiregames.com/D634
Fixes #4631.
Refs #4414.
Patch By: causative
This was SVN commit r19786.
2017-06-16 11:06:06 +00:00
elexis be91dde045 Don't place muskox on mountains on arctic summer.
This was SVN commit r19783.
2017-06-16 00:34:09 +00:00
elexis ee6a3b0094 Hide rubble in the fog of war except to the owner, so that other players don't see deleted buildings, especially civic center foundations.
Should use a special filter once the AI supports it (#4611), so that
decorative rubble can be placed by maps too.

Differential Revision: https://code.wildfiregames.com/D635
Reviewed By: fatherbushido
Refs #3601 #3910 #3179

This was SVN commit r19782.
2017-06-16 00:13:49 +00:00
elexis bedb13ea28 Delete gui/common/functions_utility_error.js.
Move the one function in it that is globally called from the engine to
the other function that is called equally.

This was SVN commit r19781.
2017-06-15 22:44:24 +00:00
elexis ab67d1a6f3 Delete gui/common/init.xml.
It became almost unused throughout the years and just causes confusion
when reading include lists.

Refs D619.

This was SVN commit r19780.
2017-06-15 22:11:48 +00:00
elexis 18b876bd55 Delete common/l10n.js.
It held resource strings when introduced by 0f21151c4b, but those were
moved to json files in 52f311da2b. 9b041467a2 moved two trivial
functions of this file to tooltips.js.
Remove a wrong comma from the JSdoc comment.
Alwas return a string.

Differential Revision: https://code.wildfiregames.com/D618
Confirmed by Itms in a forum PM that this doesn't break string freeze.

This was SVN commit r19779.
2017-06-15 20:42:03 +00:00
mimo 4ca1379bd9 petra: additional tunings following d5dcb0c61e + fix a warning when army defense 0 is turned into an attack
Differential Revision: https://code.wildfiregames.com/D632
This was SVN commit r19778.
2017-06-15 19:50:17 +00:00
Itms 860b5bbfce Revert an unfortunate early break introduced in 2527aabd5d, patch by Sandarac.
Reviewed By: Itms
Differential Revision: https://code.wildfiregames.com/D641
This was SVN commit r19777.
2017-06-15 17:45:16 +00:00
mimo 0179915f21 remove an unused computation in petra
This was SVN commit r19775.
2017-06-14 17:40:58 +00:00
Imarok b94a54b18a Use direct gui.scale instead of reciprocal gui.scale
Patch by Dariost.

Differential Revision: https://code.wildfiregames.com/D328
This was SVN commit r19774.
2017-06-14 17:13:44 +00:00
Imarok 2729596624 Gamesetup - Hide mapfilter option if there are no maps matching the filter
Reviewed by: elexis. Fixes: #4423.
Differential Revision: https://code.wildfiregames.com/D365
This was SVN commit r19773.
2017-06-13 09:42:16 +00:00
elexis 9b041467a2 More comfortable and safe resource name translation without breaking translation freeze.
Throw a reference error instead of silently using an untranslated string
if someone would have passed a non-existing translation context.
Throw a property undefined warning if someone passed a non-existing
resource when trying to translate it.
Both warnings had been introduced in 0f21151c4b, were removed by
52f311da2b but now occur without adding code explicitly.

Differential Revision: https://code.wildfiregames.com/D625
Reviewed By: s0600204
This was SVN commit r19771.
2017-06-13 03:12:51 +00:00
elexis ca9b3799b4 Remove an unneeded complicated resource-not-found warning in the ResourceSupply component which is already covered by template validation.
It was a leftover from s0600204's proposal from 52f311da2b (refs #3934)
to disable resources with a boolean property.

Differential__Revision: https://code.wildfiregames.com/D625
Reviewed By: s0600204
This was SVN commit r19770.
2017-06-13 03:11:43 +00:00
elexis 74512ef01c Remove emptyinit.xml workaround file for atlas introduced in abaea508ac that silenced an engine warning stating that the GUI page doesn't provide a JS init function.
Still throw that error if the function exists but could not be called
with JS_CallFunction.

Differential Revision: https://code.wildfiregames.com/D620
This was SVN commit r19769.
2017-06-13 02:50:41 +00:00
elexis 28de0fc775 Fix undefined resource warnings in 33b331f9fa / D23 (that occur in filter functions but not if statements) reported by fabio.
Fixes #4629
Differential Revision: https://code.wildfiregames.com/D629
Reviewed By: s0600204
This was SVN commit r19768.
2017-06-12 15:15:43 +00:00
elexis f3a00b9e65 Train bireme at the briton crannog for consistency with the regular dock and allow researching the town phase at a captured one.
Differential Revision: https://code.wildfiregames.com/D627
Reviewed By: mimo
This was SVN commit r19766.
2017-06-11 16:46:08 +00:00
Imarok 707897e5af Correctly init the statistics sequences.
Fixes #4620. refs 4a0673e44e, 31a41ab735. Reviewed by: elexis.
Differential Revision: https://code.wildfiregames.com/D616
This was SVN commit r19765.
2017-06-11 16:06:07 +00:00
elexis 03550f7595 Fix whitespace and lineendings in few recent commits.
This was SVN commit r19763.
2017-06-11 00:51:11 +00:00
elexis 33b331f9fa Correct resource order in the GUI.
Differential Revision: https://code.wildfiregames.com/D23
Reviewed By: s0600204
This was SVN commit r19762.
2017-06-11 00:17:59 +00:00
mimo e8008aa4fa fix error in 57fbcab3bf spotted by Sandarac, fixes #4627
This was SVN commit r19761.
2017-06-10 08:16:16 +00:00
elexis 561f66600c Actually display the gamesetup autocomplete tooltip string from D322 / b4e5858f6d.
Reported by echotangoecho.

This was SVN commit r19760.
2017-06-10 01:21:50 +00:00
elexis f882bfd56a Remove lobby MapPlayerList style from bffe917914 which overshadows the duplicate theme from common/ (only difference was scroll_bottom which isn't helpful).
This was SVN commit r19759.
2017-06-09 22:04:30 +00:00
elexis 17e26fae99 Remove unused deprecated label styles following 0cd825e552 (that if ever used again, should be added to a directory for that specific theme).
This was SVN commit r19758.
2017-06-09 21:55:33 +00:00
Imarok 6de6ae66d3 Fix selected graphs in summary always reset, when switching tabs
Patch by: mmoanis, Fixes: #4555
Differential Revision: https://code.wildfiregames.com/D599
This was SVN commit r19757.
2017-06-09 17:08:49 +00:00
mimo 57fbcab3bf petra: fix a side effect of d5dcb0c61e
Differential Revision: https://code.wildfiregames.com/D607
This was SVN commit r19756.
2017-06-09 17:07:50 +00:00
mimo 395fe8a86d Petra: do not create trade route crossing enemy territory
Differential Revision: https://code.wildfiregames.com/D600
This was SVN commit r19755.
2017-06-09 17:04:50 +00:00
elexis 81088344cb Purge embarassing typo in 026dcf10eb / D204 that made gaia ships on Danubius ignore instead of focus players ships.
This was SVN commit r19752.
2017-06-09 00:06:45 +00:00
Imarok b2801979c8 Fix typo in a397f9bccb.
This was SVN commit r19751.
2017-06-08 21:12:55 +00:00
elexis 1af6203b9c Stop spawning gaia attackers from civic centers if these were captured (not only upon destruction).
Differential Revision: https://code.wildfiregames.com/D608
Refs D380 /d724347812
Reviewed By: fatherbushido
This was SVN commit r19750.
2017-06-08 15:10:30 +00:00
elexis bb3638a9b5 Always set the Seed property from autostarted games, because it is required and used to initialize the RNG of the simulation following 6eaf76d653.
Differential Revision: https://code.wildfiregames.com/D592
Refs #4127, #3965

This was SVN commit r19749.
2017-06-08 14:47:55 +00:00
elexis 1e1ba6e284 Alternative player placement on River Archipelago: left strip vs right strip.
Differential Revision: https://code.wildfiregames.com/D610
Reviewed By: FeXoR
This was SVN commit r19748.
2017-06-08 12:16:59 +00:00
elexis 5d4cff9ec4 Remove fake minimum attack distances.
These structures can always attack near enemies because the minimum
attack range is within the building obstruction.
Thus prevent the minimum attack distance tooltip from D267 to show
misleading numbers, refs D111.
Remove the effective minimum attack distance of the hero cavalry archer
too for consistency with all other units following 5f78bb7318.

Differential Revision: https://code.wildfiregames.com/D611
Reviewed By: fatherbushido
This was SVN commit r19747.
2017-06-08 11:39:45 +00:00
fatherbushido 6d9e9bc54c Fix a broken texture call in an atlas only actor. Follow up of 5f67763e97. Refs #3796.
This was SVN commit r19746.
2017-06-08 07:42:20 +00:00
mimo 9b7dfdaa23 remove some unused AI var and rename a function to better reflects its use
This was SVN commit r19745.
2017-06-07 18:26:15 +00:00
elexis 15408203b2 Reload gamesetup maplist each GUI update (as was the case before D322 / b4e5858f6d), fixes a bug reported by causative (the clients always showed Map: Unknown).
This was SVN commit r19742.
2017-06-05 20:57:43 +00:00
elexis b19612c31a Fix whitespace and three refs instead of copies in the glooxwrapper/StunClient code identified by leper in 61261d14fc.
This was SVN commit r19741.
2017-06-05 20:44:00 +00:00
mimo 766f3ee8f5 petra: fix 72f6e02747 when a unit is promoted the same turn the attack is launched
Differential Revision: https://code.wildfiregames.com/D601
This was SVN commit r19740.
2017-06-05 14:13:31 +00:00
mimo 3a75da6008 petra: following d5db047c9a, avoid to choose a decaying structure as target
Differential Revision: https://code.wildfiregames.com/D586
This was SVN commit r19739.
2017-06-05 13:50:20 +00:00
Imarok 57b6e6a2bd Change toggle buddy button caption dynamically
Reviewed by: elexis
Differential Revision: https://code.wildfiregames.com/D578
This was SVN commit r19736.
2017-06-04 22:25:54 +00:00
Itms b6beb07255 Improve the strings from 6b743e30b3.
Reviewed by: scythetwirler, elexis
Differential Revision: https://code.wildfiregames.com/D603
This was SVN commit r19735.
2017-06-04 21:47:36 +00:00
Itms e59a304358 Reveal the Alpha 22 name!
This was SVN commit r19734.
2017-06-04 21:30:40 +00:00
Itms 4d31ff14eb Spelling corrections for Gauls.
Rename Britomartus to Viridomarus.
Patch by Phormio.

Differential Revision: https://code.wildfiregames.com/D493
This was SVN commit r19733.
2017-06-04 20:59:55 +00:00
Itms 2527aabd5d Fix hero selection rings becoming unsaturated when moving. Patch by Sandarac, refs 0a53c5e06a, #2627.
Differential Revision: https://code.wildfiregames.com/D563
This was SVN commit r19732.
2017-06-04 13:04:04 +00:00
mimo a63d7cc430 fix tutorial not translated
Reviewed By: Itms
Differential Revision: https://code.wildfiregames.com/D602
This was SVN commit r19730.
2017-06-04 12:23:48 +00:00
mimo ba10046350 revert some unwanted changes in previous commit
This was SVN commit r19728.
2017-06-03 19:01:38 +00:00
mimo e9e7922b5d Don't send useless "Invalid command" debug warnings when regaining capture points
Patch by Sandarac

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D430
This was SVN commit r19727.
2017-06-03 18:59:21 +00:00
Itms db0570e71e String changes, based on feedback from translators.
Reviewed By: Phormio
Differential Revision: https://code.wildfiregames.com/D561
This was SVN commit r19726.
2017-06-03 16:30:18 +00:00
fatherbushido 67d0a6a2ad Cleanup of 8387195fd2: use relative templates and change prepare times. Noticed by elexis.
This was SVN commit r19725.
2017-06-03 16:14:26 +00:00
elexis 0a1d669a0b Reduce rabbit health from 100HP to 10HP to make them more realistically huntable and have them consistent with chicken (5HP).
Increase footprint slightly for both artistic and gameplay reasons.

Differential Revision: https://code.wildfiregames.com/D562
Patch By: borg-
Refs #3786, D540

This was SVN commit r19723.
2017-06-03 01:11:52 +00:00