Commit Graph

10231 Commits

Author SHA1 Message Date
b881c4e327 Move old athenian actors to separate directory + rename the not-so-new actors to regular names
This was SVN commit r18303.
2016-06-03 10:09:03 +00:00
df622b5614 Remove magic number from credits code.
This was SVN commit r18301.
2016-06-03 09:37:58 +00:00
903803ceec Gamesetup ready- and PlayerAssignments-cleanup.
Split logic to onClientJoin onClientLeave.
Remove duplicate, yet slightly different ready button caption.
Rename hosts to newAssignments in the GUI message sent by the NetClient.

This was SVN commit r18299.
2016-06-03 02:28:29 +00:00
0f8b10fc0e Gamesetup cleanup.
Call updateGameAttributes instead of copying the function contents.
Inline numPlayers and remove ternary that returns the same value in both
cases.
Add newlines, change some comments.

This was SVN commit r18298.
2016-06-03 00:21:21 +00:00
c941a2f352 Gamesetup cleanup.
Determine the Seed, AISeed and matchID only once (when starting the
game).
Only specify Seed on random maps.

This was SVN commit r18297.
2016-06-02 23:54:18 +00:00
8b30273a50 GUI engine improvement + gamesetup cleanup.
Grab the list of children of a GUI object directly instead of hardcoding
the names.

This was SVN commit r18296.
2016-06-02 22:49:28 +00:00
31a7181eb8 Hide the continue button from d9caf157e2 once pressed, refs #4031.
This was SVN commit r18295.
2016-06-02 22:39:02 +00:00
53ffe766d8 Fix garrison flags on Gallic and Celtic structures + clean up the Gallic and Celtic structure actors
This was SVN commit r18294.
2016-06-02 20:18:06 +00:00
0fc9a47c85 Fix garrison flags on Carthaginian structures + clean up the Carthaginian structure actors
This was SVN commit r18293.
2016-06-02 19:59:02 +00:00
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
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
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
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
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