6451a4c3c1
Petra: improve choice of workers, fixes #3586 , patch from otero
...
This was SVN commit r17827.
2016-03-04 17:08:45 +00:00
6b19eefdcb
cleanup of some foreach
...
This was SVN commit r17826.
2016-03-04 16:51:52 +00:00
9d2b8a74b7
petra: do not let the ai build too much towers or fortresses
...
This was SVN commit r17824.
2016-03-03 18:38:13 +00:00
d3e9aa2101
petra: complete changes started in 8d0223d6aa
+ some cleanup"
...
This was SVN commit r17823.
2016-03-03 16:18:12 +00:00
7403b92785
petra cleanup: use some arrow functions for sort
...
This was SVN commit r17822.
2016-03-02 17:10:26 +00:00
8d0223d6aa
petra: do not anymore assume that workers are necessarily builders and gatherers
...
This was SVN commit r17821.
2016-03-02 16:58:02 +00:00
8725c3ae7a
Diplomacy-manager cleanup.
...
Move resource-tributing button code to a custom function.
Shorten comment.
Reuse RESOURCES.
Inline tributeResource.
This was SVN commit r17820.
2016-03-02 16:56:44 +00:00
ed1afbebfc
Diplomacy-manager cleanup.
...
Move the text setup to a custom function.
Reuse colorizePlayernameByID.
Add newlines.
This was SVN commit r17819.
2016-03-02 16:44:57 +00:00
17e6b316fa
Diplomacy manager cleanup.
...
Move the diplomatic stance button initialization to a custom function.
Always hide the button if locked-teams is enabled, refs #3702 .
Inline setDiplomacy.
This was SVN commit r17818.
2016-03-02 16:38:05 +00:00
23d37f188a
cleanup of some missing tabs
...
This was SVN commit r17817.
2016-03-02 16:25:14 +00:00
e99e7e33ba
Diplomacy manager cleanup.
...
Split openDiplomacy into four smaller functions, starting with
diplomacyFormatAttackRequestButton in this commit.
Hide the button if the user has no allies and after defeat/win.
This was SVN commit r17816.
2016-03-02 16:23:46 +00:00
af396c9bf9
Player-component cleanup.
...
Remove deprecated for-each and inline a variable.
This was SVN commit r17815.
2016-03-02 15:00:24 +00:00
458b4a6567
Prohibit user-initiated diplomacy-changes in the simulation while ceasefire is active, refs #2749 .
...
This was SVN commit r17814.
2016-03-02 14:43:18 +00:00
012b686e7c
Two early returns. Refs #3265 .
...
This was SVN commit r17813.
2016-03-02 13:42:47 +00:00
163af24a6c
cleanup in petra, patch by otero
...
This was SVN commit r17812.
2016-03-01 17:57:19 +00:00
9c6082ec23
fix garrison aura from heros, patch by fatherbushido
...
This was SVN commit r17811.
2016-03-01 17:19:16 +00:00
04c94da3cb
add some missing spaces in previous commit
...
This was SVN commit r17810.
2016-03-01 17:12:38 +00:00
c9b0db7f5f
Techs can now modify an aura
...
Wonder population bonus is now an aura (reverted when the wonder is
destroyed) with 10 pop (wonder) with an additionnal +40 with the tech
patch by fatherbushido
This was SVN commit r17809.
2016-03-01 17:10:42 +00:00
b88fd4fe09
fix typo from 8a3bbdf4db
...
This was SVN commit r17808.
2016-02-29 17:21:35 +00:00
ba0700f612
garrisoning only works between mutual allies
...
This was SVN commit r17806.
2016-02-28 12:58:52 +00:00
ae309ed550
Replace the inscription on the altar in the main menu background.
...
The new inscription fits better with the scene, set in Sparta, and is
the Greek original epitaph written on the Cenotaph of Thermopylae,
according to Herodotus:
"Go, tell the Spartans, stranger passing by, that here, obedient to
their laws, we lie."
The previous inscription was apparently a fraction of a sentence and was
about Spartan foreign policy in Ionia.
Suggestion and research by Danny, art by wowgetoffyourcellphone.
This was SVN commit r17805.
2016-02-27 21:31:59 +00:00
c2fad862d8
Correct a typo in 2b0c40d7b2
, thanks fede for reporting, fixes #3794 .
...
This was SVN commit r17804.
2016-02-26 22:40:22 +00:00
652ec4f8e5
fix some resetting of gatherer walk animation
...
This was SVN commit r17802.
2016-02-24 18:57:23 +00:00
ec43274e2b
drop carried resources when finishing to build a dropsite
...
This was SVN commit r17801.
2016-02-24 18:49:28 +00:00
05cf535c58
do not drop resources when garrisoning in allied structure
...
This was SVN commit r17800.
2016-02-24 17:45:13 +00:00
632901043e
Give the mauryan pillar of ashoka a trade speed bonus, fixes #3639 .
...
This was SVN commit r17799.
2016-02-23 23:30:42 +00:00
4ebcae8fa6
Highlight unassigned players in the player-assignments dropdown. Sort by player index. Based on patch by dalerank, fixes #3508 .
...
This was SVN commit r17798.
2016-02-23 22:40:43 +00:00
8b85b72dfc
Fix water-terrain painting following 6cc00f6a82
. Based on patch by niektb.
...
This was SVN commit r17797.
2016-02-23 17:47:55 +00:00
2b0c40d7b2
Translate some untranslated strings, refs #3665 .
...
Add a chat message if the control-all units cheat was used, refs #2676 .
This was SVN commit r17796.
2016-02-23 17:29:39 +00:00
df42b9caba
Commands.js cleanup.
...
This was SVN commit r17795.
2016-02-23 15:51:09 +00:00
e10ff35869
Commands.js cleanup. Remove unneeded characters of all sorts and use "early-continues".
...
This was SVN commit r17794.
2016-02-23 15:04:28 +00:00
b60c6f6b15
Commands.js cleanup - fix whitespace.
...
This was SVN commit r17793.
2016-02-23 14:52:20 +00:00
8a3bbdf4db
Commands.js cleanup. Fix remaining for-each loops and increment operators.
...
This was SVN commit r17792.
2016-02-23 14:49:03 +00:00
e953ca23ba
Commands.js cleanup. Replace deprecated for-each.
...
This was SVN commit r17791.
2016-02-23 14:36:50 +00:00
3a502c0d21
Commands.js cleanup, use fat-arrows.
...
This was SVN commit r17790.
2016-02-23 14:13:46 +00:00
844566c787
Translate the developer-overlay notification at the receiving end, fixes #3304 .
...
This was SVN commit r17789.
2016-02-23 12:27:34 +00:00
7a5d75be11
Better placement for initial resources on Island Stronghold, based on patch by niektb, refs #3455 .
...
First place all starting entities before placing initial resources to
avoid placing them on each other.
Don't place initial mines near the territory of allies.
This was SVN commit r17788.
2016-02-23 11:51:16 +00:00
c6804aad35
Small RMS library style improvement.
...
This was SVN commit r17787.
2016-02-23 10:46:32 +00:00
fc298eb3f5
Show time-notifications to observers, refs #3168 .
...
This was SVN commit r17786.
2016-02-22 22:53:48 +00:00
b68654b52d
Inlining this is not possible due to the closure.
...
This was SVN commit r17785.
2016-02-22 17:23:46 +00:00
97c3a166a8
Don't shoot an undocumented arrow from UnitAI if the entity also has a BuildingAI component shooting arrows. Fixes #3763 .
...
Instead, add the arrow to the affected unit templates (except bireme and
trireme, refs #3196 ).
This was SVN commit r17784.
2016-02-22 17:01:16 +00:00
94ccb153a6
BuildingAI style fixes, refs #3763 .
...
Remove a duplicate targetUnits-, some useless length-checks and unneeded
comments.
This was SVN commit r17783.
2016-02-22 16:44:57 +00:00
8f630789e6
Add/move the Mercenary
tag to VisibleClasses
, so that all mercenaries are influenced by auras and techs.
...
Patch by fatherbushido, fixes #3770 .
This was SVN commit r17782.
2016-02-22 11:13:31 +00:00
6006edf031
Revert approach to detect offline players without remembering disconnect messages, since it doesn't work for entities of unassigned players. Refs #3677 .
...
Remove unused AIManager.
Inline playerData.
This was SVN commit r17780.
2016-02-20 17:37:19 +00:00
6e9fd4ccf2
fix the ungarrison-all command from allied structures
...
This was SVN commit r17779.
2016-02-20 15:04:00 +00:00
7918347342
Hide the offline-hint for gaia, refs #3677 .
...
Inline some variables.
This was SVN commit r17777.
2016-02-19 14:36:36 +00:00
4cda0b7040
Don't show the offline hint for AI-assigned players, refs #3677 .
...
This was SVN commit r17774.
2016-02-18 14:46:45 +00:00
6cc00f6a82
Reduce base-height of the random map island stronghold, so units don't walk too far into the water. Patch by niektb, refs #3455 .
...
This was SVN commit r17773.
2016-02-18 13:50:10 +00:00
f8b20d181d
Add chat-addressee dropdown, refs #1767 .
...
Add observer-only chat and allow private messages from observer to
observer.
Prevent defeated players from using the team-chat, fixes #3441 .
This was SVN commit r17771.
2016-02-18 01:09:56 +00:00
365cbf5b64
Apply auras to resource costs of buildings. Fix some broken loops over a Map. Patch by fatherbushido, fixes #3769 .
...
This was SVN commit r17770.
2016-02-17 23:27:36 +00:00