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
e84e0611b0
Fix an issue 1b0fbee2d9
. Selecting ents with and without production queue gave undefined tech cost multipliersOC.
...
This was SVN commit r18236.
2016-05-26 19:56:14 +00:00
4bf0dddace
Add javelin to samnite skirmisher projectile attachpoint. Fixes #4005
...
This was SVN commit r18235.
2016-05-26 18:10:22 +00:00
0856dde011
fix a typo in 58e356babb
, plus a missing semicolon
...
This was SVN commit r18234.
2016-05-26 17:58:08 +00:00
1b0fbee2d9
Let auras and techs modify tech cost. Patch by fatherbushido. Fixes #3930
...
This was SVN commit r18233.
2016-05-26 06:28:23 +00:00
9c67cd6743
transfer the entities angles to the AIs
...
This was SVN commit r18231.
2016-05-25 19:03:41 +00:00
07007f1963
some cleanup in ai
...
This was SVN commit r18230.
2016-05-25 18:43:48 +00:00
3d27d47d54
Seleucid corral
...
This was SVN commit r18229.
2016-05-25 12:39:16 +00:00
09907351a0
Little update to the musicians list, plus alphabetic order for instrument players.
...
This was SVN commit r18228.
2016-05-24 19:17:07 +00:00
d7e7a24168
Gamesetup cleanup (game/map-description), refs #3994 .
...
Add linebreaks.
Eliminate unneeded variables mapName and gameDescription.
Remove a check as g_GameAttributes.map is always defined.
Sort the two one-line statements above the helper variable declarations
to make it more more obvious that the statements don't use them.
This was SVN commit r18227.
2016-05-24 12:56:52 +00:00
b2f3402c50
Network cleanup.
...
Remove unused netmessage type NMT_LAST.
Use CStr instead of the alias CStr8.
Remove unneeded comments.
This was SVN commit r18226.
2016-05-24 12:21:21 +00:00
a99f314a61
Session cleanup.
...
Use let instead of var.
This was SVN commit r18225.
2016-05-24 12:06:22 +00:00
6e17a7d2ff
Session / unit-actions cleanup.
...
Eliminate deprecated for-each.
Merge if-conditions.
Add linebreaks to objects, so that each property is declared on a
separate line, refs #252 .
For consistency, use returns in negative instead of positive cases.
Make three functions global, one of which had been defined thrice.
Remove comments stating the same as the code.
This was SVN commit r18224.
2016-05-24 12:03:33 +00:00
9cc98aaf47
Take new observermode into account in some missing places, refs #3850 , #3168 .
...
This was SVN commit r18223.
2016-05-23 15:26:47 +00:00
33f6713f94
New attempt to get the aura translations included. See 1606d40f68
...
This was SVN commit r18221.
2016-05-23 10:40:26 +00:00
6171f66d06
AI: fix serialization of template changes, fixes #3993 , refs #3858
...
This was SVN commit r18219.
2016-05-22 20:25:41 +00:00
a951762d6c
Add support to the structure tree for units with technologies in their production queue. Patch by s0600204. Fixes #4001
...
This was SVN commit r18218.
2016-05-22 15:32:47 +00:00
38de20c989
Add missing init, refs #3991 .
...
This was SVN commit r18217.
2016-05-21 20:24:38 +00:00
9c9796d8ad
Changes in AI: Decrease a bit the required number of champions in attacks because of the recent increase of their cost,
...
Make more use of corrals when no fields and Cleanups
This was SVN commit r18216.
2016-05-21 17:06:25 +00:00
682086b7fb
do not let the captureStrength become infinite when capturing a damaged structure, fix #3973 , patch by fatherbushido
...
This was SVN commit r18215.
2016-05-21 16:44:20 +00:00
4b5f8dfca6
Remove trailing whitespace and simplify some length checks. Refs #252 .
...
This was SVN commit r18214.
2016-05-21 16:20:27 +00:00
a2bd82d171
Complete phase tooltips. Patch by fatherbushido. Fixes #3451
...
This was SVN commit r18213.
2016-05-21 11:18:06 +00:00
1606d40f68
I18n of auras. Based on patch by fatherbushido. Fixes #3982
...
This was SVN commit r18212.
2016-05-21 09:18:05 +00:00