b0b0495fc9
Fix garrison flags on Briton structures + clean up the Briton structure actors
...
This was SVN commit r18292.
2016-06-02 19:44:16 +00:00
d4fa905cb1
Fix garrison flags on Athenian structures + clean up the Athenian structure actors
...
This was SVN commit r18291.
2016-06-02 19:35:59 +00:00
5be948019b
ai cleanup
...
This was SVN commit r18290.
2016-06-02 18:08:14 +00:00
d9caf157e2
Fix a confirmation hotkey bug in the multiplayer dialog. Patch by Imarok, fixes #4031 .
...
Remove a duplicate button and move code from XML to JS.
This was SVN commit r18289.
2016-06-02 16:47:24 +00:00
6df3b0d794
Wall placement cleanup. Somewhat based on patch by bb, refs #3811 .
...
Early return instead of a big if-statement.
Inline r, targetX, targetZ, towerX and towerZ.
Rename s to spacing.
Remove unneeded else keywords.
Eliminate deprecated for-each.
Use let instead of var.
Quote object keys.
++i instead of i++.
Some newlines.
This was SVN commit r18288.
2016-06-02 12:52:54 +00:00
00c3b09008
Patch by Sandarac and bb, fixes #3859 .
...
This was SVN commit r18287.
2016-06-02 12:14:32 +00:00
f15abb066c
Allow garrisoning elephants at the elephant stables. Patch by jonbaer.
...
Also add missing obstruction class to the elephant archer and fix its
walking speed.
This was SVN commit r18286.
2016-06-02 12:05:41 +00:00
74e672d879
Observermode cleanup, fixes #3850 .
...
Recalculate status bars when changing the perspective.
This was SVN commit r18285.
2016-06-02 00:20:02 +00:00
00ea7763f7
GUIInterface / observermode cleanup as recommended by leper, fixes #3999 .
...
Default to the viewed player in the GUIInterface to avoid passing that
separately in some places, refs #3168 .
Thus GetEntityState will be called for the viewed player instead of
observer playerID, therefore
fixes a fog-of-war selection relict when changing the perspective, refs
#3850 .
Also remove some unused player arguments.
This was SVN commit r18283.
2016-06-02 00:09:21 +00:00
662f8ec620
Template cleanup. Patch by fatherbushido, refs #4021 .
...
Move duplicate military colony template to a new parent template.
This was SVN commit r18282.
2016-06-01 23:33:29 +00:00
4223fad060
Make it easier for mods to add their own credits. Fixes #3986
...
This was SVN commit r18281.
2016-06-01 19:37:24 +00:00
ab4c656ff6
make healer more proactive, patch by causative, fixes #3932
...
decrease a bit the increase of heal range with techs, and also decrease
a bit the cost of such techs
This was SVN commit r18280.
2016-06-01 17:59:06 +00:00
ff886b1773
Try to fix issue with probably uninitialised animation frequency, improve error message and clean up code a bit
...
This was SVN commit r18278.
2016-06-01 07:21:50 +00:00
8a8c0b526d
Template Cleanup. Some string fixes for 802d0f0de8
and d238128960
as suggested by leper.
...
This was SVN commit r18277.
2016-06-01 00:13:57 +00:00
8a4af2e7b5
Template cleanup. Patch by Palaxin, refs #4021 .
...
Move duplicate library template to a new parent template.
This was SVN commit r18276.
2016-05-31 23:49:44 +00:00
1bd82494a3
Template cleanup. Patch by Palaxin, fixes #4022 .
...
Move duplicate rotary mill template to a new parent template.
This was SVN commit r18275.
2016-05-31 23:12:07 +00:00
3eea0df931
ai cleanup
...
This was SVN commit r18274.
2016-05-31 21:06:53 +00:00
7060ca888c
petra: continue splitting of attack function in smaller functions, + some cleanup
...
This was SVN commit r18273.
2016-05-31 21:04:13 +00:00
246c758085
All wonders should have rallypoints. Patch by Sandarac, fixes #4002 .
...
This was SVN commit r18271.
2016-05-31 09:49:14 +00:00
2bcb5f7d18
Actually delete it, refs #4016 .
...
This was SVN commit r18270.
2016-05-31 02:16:11 +00:00
8f02ae3fd2
Template cleanup. Patch by fatherbushido, fixes #4016 .
...
Removes duplicate theatron templates and use a parent template instead.
Removes unused Theban theatron.
Fixes a buildtime inconsistency.
Also improve the tooltip string as suggested by leper.
This was SVN commit r18269.
2016-05-31 02:13:20 +00:00
ac4533f7df
Network cleanup, refs #3752 .
...
Replace a TODO comment asking why something is set with a comment
answering that.
This was SVN commit r18268.
2016-05-30 17:59:02 +00:00
b18c4ac217
Code style improvements to df971c3885
...
This was SVN commit r18267.
2016-05-30 17:05:39 +00:00
83af69286d
Allow simulation to set the actor variant selection, and use it for the garrison flag. Fixes #3952 Refs #2679 , #3983
...
This was SVN commit r18266.
2016-05-30 14:07:48 +00:00
df971c3885
Allow to give a frequency to animations, and allow to sync randomly selected animations on base model and prop. Fixes #2324
...
This was SVN commit r18265.
2016-05-30 11:53:19 +00:00
92e28ba947
more petra cleanup
...
This was SVN commit r18263.
2016-05-29 18:37:02 +00:00
25e637dcac
Fix issue with undefined newValue while origValue is defined.
...
This was SVN commit r18262.
2016-05-29 18:10:57 +00:00
1edacf6153
Add another missing hotkey to the ingame manual as mentioned by sanderd17.
...
This was SVN commit r18261.
2016-05-29 17:44:46 +00:00
a8c05c8df3
Revert ba071f8b4e
as it is unsafe for serialization
...
This was SVN commit r18260.
2016-05-29 14:51:15 +00:00
1a8f5f3490
Move rallypoint waypoints smoothly with moving targets
...
This was SVN commit r18259.
2016-05-29 12:49:32 +00:00
3d6c48e357
ai cleanup, mainly var -> let
...
This was SVN commit r18258.
2016-05-29 12:26:41 +00:00
f1610ce4fa
petra: wip changes to make it less dumb against walls
...
and start splitting the huge attack function in small parts
This was SVN commit r18257.
2016-05-29 12:16:53 +00:00
ba071f8b4e
Reduce number of rallypoint recalculations when a target has moved before, but doesn't move now.
...
This was SVN commit r18256.
2016-05-29 12:15:24 +00:00
d238128960
Balance the wonder and improve unique building tooltips.
...
Increase the armor of buildings following 27c46a0a68
.
Triple the research time for the population tech, as it is the most
powerful tech in the game.
Mention that unique building auras stack.
Fix a bad tooltip in pop_wonder.json.
This was SVN commit r18255.
2016-05-28 20:49:45 +00:00
50ba14d16d
Restructure unit_actions.js. Fixes #4007
...
This was SVN commit r18254.
2016-05-28 14:46:20 +00:00
16bad4ee07
Properly handle the case of removed hotkeys in 6162c6388f
, refs #3051 .
...
This was SVN commit r18253.
2016-05-28 10:50:22 +00:00
6162c6388f
Show hotkeys in the tooltips of six buttons.
...
This was SVN commit r18252.
2016-05-27 23:49:14 +00:00
39bf451d49
Use relative template for 0b2f0ea042
.
...
This was SVN commit r18251.
2016-05-27 23:42:34 +00:00
1b598eaccf
ai: remove some redundant get functions
...
This was SVN commit r18250.
2016-05-27 19:59:27 +00:00
0b2f0ea042
Balance hellenic champions.
...
Double the metal cost of elite spartan citizen soldiers, as they have
stats near those of champions.
Use a more reasonable cost for age 2 champions.
Differentiate the armored swordsmen from the other sword champions by
actually increasing it's armor.
This was SVN commit r18249.
2016-05-27 18:58:52 +00:00
802d0f0de8
Unique building aura balancing, refs #3930
...
Owning multiple libraries and theatrons increases the aura bonus
proportionally, so as to incentivize capturing.
Make the library aura more appealing by giving a 10% research time
bonus.
Improve a tooltip.
This was SVN commit r18248.
2016-05-27 17:13:31 +00:00
06b77c1522
Update manual with some new hotkeys.
...
This was SVN commit r18247.
2016-05-27 17:01:18 +00:00
5ad1079a5a
Show the filepath in the command line output when taking screenshots.
...
This was SVN commit r18245.
2016-05-27 14:24:05 +00:00
038e45cba8
Rotate icon, refs #3805 .
...
This was SVN commit r18244.
2016-05-27 13:22:10 +00:00
965e658463
Make ptolemian bolt shooter available. Patch by fatherbushido, fixes #4006 .
...
Let ptolemians produce it in a captured siege workshop.
Remove bolt shooter technology from seleucids, as they don't have that
weapon.
This was SVN commit r18243.
2016-05-27 11:57:20 +00:00
f422b67eb0
Fix issue with hidden techs after researching it
...
This was SVN commit r18242.
2016-05-27 08:37:44 +00:00
67149137c8
Reduce the size of the "Team" label to not overlap the reset-civ button when using 1024x768. Patch by Sandarac, refs #3805 .
...
This was SVN commit r18240.
2016-05-27 01:49:15 +00:00
78accf3d97
Add a button to the gamesetup to reset the selected civilizations of all players to random.
...
Code by Sandarac, icon by Lionkanzen, fixes #3805 .
This was SVN commit r18239.
2016-05-26 22:58:30 +00:00
30e7b3bf25
Implement hotkey to delete units and buildings without confirmation dialog. Patch by Sandarac, fixes #3962 .
...
This was SVN commit r18238.
2016-05-26 22:33:38 +00:00
dacecd0f33
Better syntax for e84e0611b0
...
This was SVN commit r18237.
2016-05-26 20:04:20 +00:00