elexis
01b667ab86
Invincible women on survival of the fittest to prevent women fights and cheap tower kills. Based on patch by bb, refs #3102 .
...
This was SVN commit r18915.
2016-11-06 03:11:04 +00:00
elexis
9468cfdc8c
Don't use black for gaia on survival of the fittest, refs #3102 .
...
Some GUI elements use white until the first diplomacy change.
The choice black is confusing, problematic as there is a dark gray
player color and
problematic as black words in the chat have no contrast to the black
background.
Changing playercolors in running games is a questionable feature, thus
don't attempt to inform the GUI via a GUIInterface notification now.
This was SVN commit r18914.
2016-11-06 02:16:40 +00:00
elexis
0555ace16e
Don't spawn units for defeated players and players who won on survival of the fittest. Refs #3102 .
...
The previous code errored as the trigger point became gaia, consequently
trying to access the undefined playerCivicCenter of gaia.
Remove two useless loops by sending the command for all entities instead
of one command for each entity.
Rename attackerEntities to attackerTemplates and attackerCount to
attackersPerTemplate.
This was SVN commit r18913.
2016-11-06 01:46:56 +00:00
elexis
d124b32f6a
Prevent out of scope usage of cmpTrigger, which would result in an OOS on rejoin, refs #4310 .
...
This was SVN commit r18912.
2016-11-05 21:46:32 +00:00
elexis
554032e507
Revert 06bf79b7e8 as it revealed an OOS on rejoin in the engine code, refs #4232 #4316 .
...
This was SVN commit r18911.
2016-11-05 20:44:58 +00:00
elexis
5a25f7817f
Slightly nerf gallic naked fanatic rush.
...
15% less HP, walk speed from 17.3 to 16.5 (as cavalry has 17.5).
Discussed with borg, Hannibal_Barca and nigel87.
This was SVN commit r18910.
2016-11-05 20:23:36 +00:00
elexis
53570da065
Fix an OOS on rejoin on survival of the fittest. Patch by Itms, fixes #4310 .
...
The code kept the reference to the trigger component before
deserialization,
thus accessed the empty civic center array instead of the deserialized
one.
refering to the actual Trigger component instead of
This was SVN commit r18909.
2016-11-05 16:40:20 +00:00
LordGood
3c9100b4e2
Trimming off the inactive Gaul roof variations that call missing texture files
...
This was SVN commit r18908.
2016-11-05 14:21:20 +00:00
elexis
f569e5ce04
Don't throw errors attempting to spawn templates that don't exist on survival of the fittest. Patch by bb, refs #3102 .
...
This was SVN commit r18907.
2016-11-04 14:56:32 +00:00
elexis
31c7713e9b
Remove a hunk with commented out code and a hunk of broken duplicate code from survival of the fittest, refs #3102 .
...
The removed code is redundant with the AlliedVictoryCheck of the
EndGameManager which is called for all victory conditions.
The code is broken because it suggests last man standing mode while
actually not implementing it.
As of #4143 , players can chose between allied victory or last man
standing mode. They should be able to chose on this map too.
This was SVN commit r18906.
2016-11-04 14:53:57 +00:00
elexis
b83168cfbf
Revert 9846f374a0 as it doesn't work with the packaged version, refs #4313 , because that comes with DDS files instead of PNGs and FileExists does not translate that like the sprite attribute does.
...
This was SVN commit r18905.
2016-11-04 12:18:11 +00:00
elexis
661cb8c932
Add URLs and keywords for the software search in the gnome software center and it's derivates used by many linux flavors, fixes #3734 .
...
Add a menu entry for atlas.
Add some translations for the product description provided by native
speaking players and contributors.
This was SVN commit r18904.
2016-11-01 18:07:21 +00:00
elexis
6d81ba0476
Tag persian skirmishers as mercenaries and make their cost consistent with the other mercenary champions. Patch by fatherbushido.
...
This was SVN commit r18901.
2016-11-01 16:35:56 +00:00
Itms
aba2e53714
Update the list of bundled languages for A21.
...
This was SVN commit r18900.
2016-11-01 16:33:33 +00:00
elexis
b08113b0bb
Fix some weird water colors on some maps (like green on latium) that were revealed by the new water shader in ead8436b3d. Patch by Imarok, reviewed by Stan, fixes #4288 .
...
This was SVN commit r18897.
2016-11-01 09:57:53 +00:00
elexis
aad0ef4673
Nerf population bonus of all celtic civs, not only britons, refs 48e5101239, reviewed by fatherbushido.
...
This was SVN commit r18896.
2016-11-01 09:37:33 +00:00
fatherbushido
27e2a33573
Change order of preferred classes for ships attack. Refs #4194 .
...
This was SVN commit r18895.
2016-10-31 19:10:54 +00:00
elexis
4c0dbcf51b
Nerf mauryan chariot spam by allowing them to be trained only at the fortress. Suggestion by nigel87.
...
This was SVN commit r18894.
2016-10-31 17:24:10 +00:00
elexis
bc9bdc151f
Sentry tower icon by Lion.Kanzen, refs #3959 .
...
This was SVN commit r18893.
2016-10-31 16:00:08 +00:00
elexis
569424d9f7
Add missing preferred classes to ships. Reviewed by fatherbushido, refs #4194 .
...
This was SVN commit r18892.
2016-10-31 13:59:55 +00:00
elexis
48e5101239
Nerf british population bonus for town phase buildings, in agreement with borg and fatherbushido.
...
This was SVN commit r18891.
2016-10-31 13:56:40 +00:00
elexis
0db69d55fb
Don't use multilayered textures on Ngorongoro as the blending is broken. Patch by Vladislav, refs #4219 .
...
This was SVN commit r18890.
2016-10-31 13:43:02 +00:00
elexis
7dbd225783
Fix mistake in c1774bc4f2.
...
This was SVN commit r18889.
2016-10-31 13:32:18 +00:00
mimo
06d6410ac3
complete 0c8c879ed1 in case the stats of the original and upgraded structures are different
...
This was SVN commit r18888.
2016-10-30 12:29:26 +00:00
fatherbushido
42b42e8d64
Slightly nerf champion cavalry archers by reducing a bit accuracy and pierce damage. Reduce a bit accuracy of basic cavalry archer to keep consistency. Agreed by scythetwirler.
...
This was SVN commit r18887.
2016-10-29 18:11:06 +00:00
FeXoR
af40768b14
Fixes an oversight in 37e5d6a5af that made random map Latium throw an error. Fixes #4296
...
This was SVN commit r18886.
2016-10-29 12:53:35 +00:00
elexis
f15f49c93b
Add Open Age Ratings Service metadata to the appdata file, allowing the Gnome Software Center to show an accurate age rating depending on the country of the user. Patch by Jeru, reviewed by feneur, refs #3734 .
...
This was SVN commit r18885.
2016-10-28 18:10:57 +00:00
mimo
02bf76bbdc
petra: check that the foundation still exist when builders approach it
...
This was SVN commit r18884.
2016-10-28 18:08:48 +00:00
mimo
0c8c879ed1
petra: take into account possible upgrade in garrison manager
...
This was SVN commit r18883.
2016-10-28 18:04:52 +00:00
elexis
4898e94c81
Remove unneeded braces and whitespace in empty lines.
...
This was SVN commit r18882.
2016-10-28 16:11:59 +00:00
elexis
d8665adf42
Random map script cleanup.
...
Remove many unneeded parenthesis when assigning variables.
Use min and max to avoid ternaries.
Simplify ternaries that return booleans.
Remove == true from checks.
This was SVN commit r18881.
2016-10-28 16:01:02 +00:00
elexis
5a384f4eaf
Fix an OOS on rejoin when a ptolemian lighthouse revealing the shoreline was built prior. Patch by Itms and wraitii, fixes #4277 .
...
Serialize the mapsize in the pathfinder and the reveal shoreline flag in
the range manager.
Reload the rangemanager data after other components have been
deserialized.
Use the SerializeCommon pattern in the pathfinder to avoid code
duplication.
Move the shoreline logic from the Vision component to the range manager.
Remove unused interface mocks from the rangemanager test following
b05879e151 .
This was SVN commit r18879.
2016-10-28 15:34:24 +00:00
fatherbushido
b70af394df
Take account of control group when checking if we can upgrade an entity. Fix a call to an unknown function. Style reviewed by elexis, logic overviewed by wraitii. Fix #4285 .
...
This was SVN commit r18878.
2016-10-28 12:17:16 +00:00
wraitii
a64f3c7597
Fix an oversight in the water shader that made water buggy with disabled reflections. Fixes #4287
...
This was SVN commit r18877.
2016-10-27 20:19:13 +00:00
elexis
37e5d6a5af
Array simplifications for random map scripts.
...
Use for...of loop and remove unneeded array and length variables.
Use fill and concat to remove unneeded loops.
Utilize map to create new arrays instead of reusing the same inside
fill.
Remove an unneeded non-recursive copy in the RandomGroup placer.
This was SVN commit r18876.
2016-10-27 16:32:24 +00:00
elexis
1234227f98
Simple random map script cleanups.
...
Merge else and if.
Remove else after continue/return.
Use ternaries and remove duplicate terms.
This was SVN commit r18875.
2016-10-27 12:47:17 +00:00
elexis
720183b127
Fix broken whitespace in cycladic archipelago.
...
Merge two if-statements in latium.
This was SVN commit r18874.
2016-10-27 12:39:42 +00:00
elexis
c1774bc4f2
Trivial random map script cleanup.
...
Remove duplicate comments and add more progress updates.
Few whitespace fixes and ternaries.
This was SVN commit r18873.
2016-10-27 12:27:47 +00:00
elexis
f92279bbef
Remove unused clWater and clRiver tile class from maps that don't have water nor rivers.
...
Remove pointless restraint checks on clWater on oasis before the water
is painted.
This was SVN commit r18872.
2016-10-27 12:20:54 +00:00
elexis
7523355699
Fix fish placement on cantabrian highlands and fortress, as these maps failed to pass the restrictions as an array.
...
Remove duplicate fish placement from english channel.
Allow placing docks on neareastern badlands to gather the placed fish by
increasing the waterheight from the default 19.9 to 20.
This was SVN commit r18871.
2016-10-27 12:13:05 +00:00
elexis
700ec18723
Don't place fish on land on the random map archipelago, fixes #3746 .
...
This was SVN commit r18870.
2016-10-27 12:05:55 +00:00
elexis
143b0a7bd1
Prevent resource collisions on the random map latium and spread mines a bit.
...
This was SVN commit r18869.
2016-10-27 12:04:57 +00:00
elexis
7854c7cc36
Allow non-forest resources to be placed in the middle strip of the latium random map (by only marking the actual cliffs as such instead of everything on that strip).
...
This was SVN commit r18868.
2016-10-27 11:59:04 +00:00
elexis
58a8380dd9
Don't move that string to another transifex resource while in string freeze.
...
This was SVN commit r18866.
2016-10-26 23:23:37 +00:00
elexis
f37faa57e3
Add missing translate call to the upgrade tooltip and fix a newline removed by b5340a19ad which was only needed by the resource tooltip. Reported by fatherbushido.
...
Merge duplicate technology requirement tooltips.
This was SVN commit r18865.
2016-10-26 23:19:19 +00:00
mimo
f74639e7d9
add some missing semicolon
...
This was SVN commit r18864.
2016-10-24 18:00:14 +00:00
mimo
3bbadc33ab
petra: do not try to defend an ally cc if attacked before its construction began
...
This was SVN commit r18863.
2016-10-24 17:58:59 +00:00
elexis
d90e5af9c5
Random map script cleanup.
...
Annotate and move the envrionment defaults to the file that contains the
methods to change them.
Remove redundant watercolor entry and add default water tint to a map
that didn't specify it.
Add a comment about the default waterheight pitfall (4391498cf4 ).
Add missing quotes and spaces, remove unneeded comments.
This was SVN commit r18862.
2016-10-24 12:53:23 +00:00
elexis
85d357e182
Notify players of who used the reveal map developer cheat.
...
This was SVN commit r18861.
2016-10-23 21:36:07 +00:00
elexis
6b983bbf06
Change the perspective to "observer" to reveal the map to observers who watched a player resign, while keeping the choice to see the old territory from d5b85c7ffc.
...
This was SVN commit r18860.
2016-10-23 16:21:33 +00:00
elexis
44f0929ea6
Don't throw FSM update errors (type=16 state=6) when kicking clients while others haven't finished the authentication, loading screen or synchronization yet, refs #3241 .
...
This was SVN commit r18859.
2016-10-23 15:44:02 +00:00
elexis
20399b72f1
Fix a bug where the networked game would never start if a client would disconnect while synchronizing, fixes #4289 .
...
This was SVN commit r18858.
2016-10-23 15:13:16 +00:00
elexis
072cbbe26b
Delay the exit message box in multiplayer games until after the synchronization is finished, to avoid stacking message boxes.
...
This was SVN commit r18857.
2016-10-23 14:49:32 +00:00
niektb
6056ebb64f
Fix png encoding
...
This was SVN commit r18856.
2016-10-23 13:58:30 +00:00
niektb
8d1ece4060
New icon for the Persian Ishtar Gate, made by Lion.Kanzen. Refs #3959
...
This was SVN commit r18855.
2016-10-23 13:48:28 +00:00
elexis
d6eabc9f0a
Remove the number of players recommendation per mapsize as it's plain wrong, refs #4141 .
...
This was SVN commit r18854.
2016-10-23 12:57:57 +00:00
fatherbushido
e0ac50778e
Tweak elevation bonus of sentry tower to match his height. Add elevation bonus to attack tooltip (it was missing in structure tree and selection panel). Reviewed by elexis.
...
This was SVN commit r18853.
2016-10-23 12:25:55 +00:00
elexis
37f8441703
Add missing mime types to the templates added after d883fc332d and remove the UTF-8 byte order mark from the seleucid military colony introduced in edc1b2c066.
...
This was SVN commit r18852.
2016-10-21 13:53:21 +00:00
elexis
dc8c359847
Rename pers_palace.xml since that template contains the currently unused palace while the Apadana is the palace found in the game.
...
This was SVN commit r18851.
2016-10-21 13:42:58 +00:00
fatherbushido
f42a6d391a
Tweak elephant hero stats. There were some inconsistencies with champion elephant template. Remove some hard bonuses forgotten in previous balancing commits. Reviewed by elexis.
...
This was SVN commit r18850.
2016-10-21 13:07:17 +00:00
elexis
57c546d1c1
Increase the number of units to garrison for some special buildings, reviewed by fatherbushido:
...
from 5 to 10 for champion buildings and persian palaces,
from 0 to 6 for embassies,
from 0 to 5 dogs for the kennel
while keeping the garrison limit of the seven other special buildings at
5.
This was SVN commit r18849.
2016-10-21 12:06:26 +00:00
elexis
20ea96e784
Reset the rallypoint when capturing that building or unit, since the rallypoint command is only meaningful to the player that issued it. Reviewed by fatherbushido.
...
This was SVN commit r18848.
2016-10-21 11:34:20 +00:00
elexis
7d3639a0f6
Add the least amount of code to fix the disappearance of the phase requirements tooltip after f4bfe7c3ad and mark the incomplete implementation from b8245da606 as TODO, to be solved by refs #3993 . Patch by fatherbushido.
...
This was SVN commit r18847.
2016-10-21 11:30:25 +00:00
elexis
f4a5a665dd
Reduce the maximum crush damage of siege towers (25 / second) by half and increase pierce damage. Reviewed by fatherbushido.
...
This was SVN commit r18846.
2016-10-21 10:12:20 +00:00
elexis
d5b85c7ffc
See the explored territory of defeated players in observermode.
...
This was SVN commit r18845.
2016-10-20 16:31:52 +00:00
fatherbushido
7b37ed8c05
Adds melee visible classes to war dog, so it's affected by military selection filter and some upgrades. Noticed by elexis.
...
This was SVN commit r18844.
2016-10-20 10:12:22 +00:00
elexis
fcc99da9e6
Slightly increase the size of the locale configuration dialog and its GUI elements to fit the longest translations. Patch by Imarok, fixes #2925 .
...
This was SVN commit r18843.
2016-10-19 13:32:10 +00:00
elexis
11dc6df143
Fix a gamesetup bug where the clients would see two players with the same color, while the host already sees the corrected version after increasing the number of players.
...
This was SVN commit r18842.
2016-10-18 18:53:28 +00:00
elexis
d1f4a6ab40
Give the Sentry Tower some territory influence. Reviewed by fatherbushido.
...
This was SVN commit r18841.
2016-10-18 16:42:27 +00:00
elexis
15dd804112
Remove trailing whitespace of all map scripts (as in all whitespace that doesn't come before any non-whitespace character on the same line).
...
This was SVN commit r18840.
2016-10-18 13:08:01 +00:00
elexis
f24fd75577
Add missing semicolons found with jshint to all map scripts.
...
This was SVN commit r18839.
2016-10-18 12:52:00 +00:00
fatherbushido
31b9481c08
Tweak obstruction size of the stonehenge wonder. It seems it was not updated when the model changed. Reviewed by elexis. Fixes #3861 .
...
This was SVN commit r18837.
2016-10-17 09:59:05 +00:00
elexis
f7ddad6455
Use native lineendings.
...
This was SVN commit r18836.
2016-10-16 21:21:45 +00:00
wraitii
7f8f820e35
Fix an oversight in d8c11434a8/18823, fixes #4270 .
...
This was SVN commit r18835.
2016-10-16 20:17:31 +00:00
elexis
0991c22026
Take vision range techs into account on ownership change (capturing or defeat). Solves an OOS, reviewed by wraitii, fixes #4279 , refs #3989 .
...
This was SVN commit r18833.
2016-10-15 18:22:10 +00:00
mimo
c24831387a
Initialize UnitAI component of initial garrisoned units, fixes #4281
...
This was SVN commit r18832.
2016-10-13 17:38:13 +00:00
elexis
c5e87628fb
Remove the unneeded hardcoding of the Alt+F4 hotkey which causes 0AD on linux to exit unintentionally after receiving the window focus from another window which was closed with that hotkey (with multiple tiling window managers). Reviewed by Philip, tested by Imarok and Itms, fixes #4272 .
...
The hotkey introduced in 5135bcb899 was likely a workaround for the
custom windows SDL (wsdl) implementation which is no longer in use.
This was SVN commit r18830.
2016-10-11 15:48:02 +00:00
fatherbushido
f80ffc20fd
Fix 4edff555a3: damage only one unit when the main target is missed by a projectile and others units are reached, to be coherent when the main target is hit. Commented by leper. Refs #4276 .
...
This was SVN commit r18829.
2016-10-11 06:03:10 +00:00
fatherbushido
4edff555a3
Fix an issue with ranged attack: wrong units were damaged. Refs #4276 . Commented by leper and Itms.
...
This was SVN commit r18828.
2016-10-10 18:59:59 +00:00
fatherbushido
fbadd0995d
Fix an issue with splash damage. The ranged attack strengths were parsed instead of the splash strengths. Refs #4276 .
...
This was SVN commit r18827.
2016-10-10 18:49:57 +00:00
mimo
106e4bddbf
petra: check that we are dealing with a foundation before trying to provide it with builders, fixes #4271
...
This was SVN commit r18826.
2016-10-10 16:41:31 +00:00
Itms
9c2404e40e
Some tweaks in order to fix the non-graphical test modes (serialization test, etc.), and possible future non-visual players like headless game servers.
...
The internal data of the component, which is serialized, should not
depend on the presence of a visual Unit.
Also remove a misleading comment about a simple initialization code.
Refs #4270
This was SVN commit r18824.
2016-10-10 10:56:13 +00:00
Itms
ef7486c5d3
Fix a number of things in cmpVisualActor:
...
* Rewrite the Update function, add more details and information in
comments, and properly serialize everything that function needs.
* Fix the broken deserialization code by using a sane helper function.
* Fix the `SelectMovementAnimation` function.
Fixes #4270 .
This was SVN commit r18823.
2016-10-10 10:49:49 +00:00
Itms
d8c11434a8
Save the animation sync offset, for consistency's sake.
...
Refs #4270
This was SVN commit r18822.
2016-10-10 10:41:36 +00:00
Itms
79b37bd4dc
Improve style and whitespace in CCmpVisualActor.
...
Refs #4270
This was SVN commit r18821.
2016-10-10 10:37:58 +00:00
FeXoR
9512eb7cd2
Optimizes random map Caledonian Meadows: Broadened paths, much faster generation, added progress indicators, larger bases. Reviewed by Itms. Fixes #4275
...
This was SVN commit r18819.
2016-10-09 21:03:14 +00:00
fatherbushido
ba2bb82406
Remove friendly fire for splash damage of quinquremes to make it coherent with catapults. Decided in dev meeting.
...
This was SVN commit r18818.
2016-10-09 19:50:34 +00:00
elexis
2029a3f763
Fix missing maxArrowCount in the GUIInterface causing a wrong projectile tooltip in the session. Reviewed by fatherbushido, refs #3816 .
...
Also unify the garrison limit property names in GUIInterface and
Template parsing (thereby also distinguishing a garrison limit of 0 and
undefined in that equation).
This was SVN commit r18817.
2016-10-09 15:53:23 +00:00
elexis
5f1736cbd4
Don't place chicken inside civic centers and unify chicken placement code. Reviewed by FeXoR, fixes #3836 .
...
This was SVN commit r18816.
2016-10-09 15:07:48 +00:00
elexis
1f8c75db08
Don't break string freeze.
...
This was SVN commit r18815.
2016-10-08 18:05:37 +00:00
elexis
5e88ae118a
Let the "will to fight" upgrade also boost siege engine and ship attack damage. Patch by fatherbushido.
...
This was SVN commit r18814.
2016-10-08 16:26:13 +00:00
Itms
0030f6ad2b
In CCmpVisualActor, m_Unit is not initialized when running without graphics, so we must check that pointer everytime. Also make one call consistent with the rest of the file.
...
Fixes #4238 , refs #3952
This was SVN commit r18812.
2016-10-08 08:49:35 +00:00
fatherbushido
bb0924bb6c
Fix computational errors in Damage.js for testing collision of a point with the square or the cirle footprint of an entity. Logic reviewed by Itms, style reviewed by elexis.
...
This was SVN commit r18811.
2016-10-07 20:36:24 +00:00
fatherbushido
a5b399de29
Fix two issues related to splash damage: fix a mismatch between the string false and the false boolean, fix an issue with an omitted array of players. Noticed by Mate-86. Patch by leper. Refs #3610 , #1910 , c4c315f6a0.
...
This was SVN commit r18810.
2016-10-07 20:29:56 +00:00
elexis
3c72c16d6c
Add a missing check for undefined resource costs when picking the unit portrait in observermode. Patch by Imarok, fixes #4269 .
...
This was SVN commit r18809.
2016-10-07 17:57:03 +00:00
fatherbushido
bb438eca09
Removes useless divsions in Damage. Read by elexis.
...
This was SVN commit r18808.
2016-10-07 10:05:38 +00:00
elexis
35945eff53
Revert the persistance of playersettings for skirmish maps in b642f0d876, because it overwrites potential team numbers suggested by the map. Tested by mimo, fixes #4248 , refs #3120 .
...
Keep the code simplification and removal of duplicate code.
This was SVN commit r18806.
2016-10-06 15:13:30 +00:00
elexis
f450ba1398
Use the default AI instead of not assigning one when the map doesn't specify it ( c1b5e8c8b7 broke that). Tested by mimo, refs #4248 .
...
This was SVN commit r18805.
2016-10-06 15:03:40 +00:00
elexis
d7e51f2a4f
Fix an OOS without rejoin after selecting the first unit.
...
Introduced by 46ead523b8 , caused by serializing the aura cache which is
initialized by the tooltip calls from the GUI.
Reviewed by Itms, in combination with 09e775446e fixes #4239 .
This was SVN commit r18804.
2016-10-06 14:11:56 +00:00
elexis
46bfa4dbe3
Fix a warning when pressing the delete hotkey when nothing is selected introduced by a754b1bad4, refs #3823 .
...
This was SVN commit r18803.
2016-10-05 21:34:22 +00:00
elexis
c99281be39
Nerf iberian tower by reducing garrison limit from 10 to 8. Reviewed by fatherbushido.
...
This was SVN commit r18802.
2016-10-05 17:15:58 +00:00
FeXoR
c139b24a6b
Fixes the peak and final map control to be swapped that where added in 4e4f0dbbd8. Patch by pilino1234 - added to the credits. Reviewed by Imarok. Fixes #4262
...
This was SVN commit r18798.
2016-10-01 16:16:18 +00:00
Itms
636da605bb
Following e757fb84d5: also regenerate the JS values for AI maps upon deserialization.
...
Fixes #4247 , refs #4191
This was SVN commit r18797.
2016-10-01 12:29:44 +00:00
fatherbushido
b74b807444
Fixes a counter mistake when an upgrade is complete. Reviewed by elexis. Refs #4255 , #2706 .
...
This was SVN commit r18796.
2016-10-01 11:27:08 +00:00
niektb
902a0f5914
New icon for the Persian Hall made by Lion.Kanzen
...
This was SVN commit r18795.
2016-09-30 19:53:56 +00:00
Itms
c1b28ba1e0
Fix some strings reported by translators.
...
This was SVN commit r18793.
2016-09-29 20:54:13 +00:00
Itms
fd8d918764
Reveal the name of the new Alpha.
...
This was SVN commit r18792.
2016-09-29 19:54:51 +00:00
elexis
e81b557d9b
Don't refund the upgrade costs when the upgrade completes. Patch by fatherbushido, fixes #4255 , refs #2706 .
...
This was SVN commit r18791.
2016-09-29 12:01:34 +00:00
elexis
9cea2bb8fe
Fix paired techs following a754b1bad4. Patch by Imarok, fixes #4251 , refs #3823 .
...
This was SVN commit r18790.
2016-09-29 10:25:48 +00:00
fatherbushido
5bbed34aaf
Disable upgrade for the gaia palisades rock fort template. The bugs was noticed by elexis in gauls sandbox map. Refs #4125 , 5d4604e767.
...
This was SVN commit r18789.
2016-09-28 15:38:05 +00:00
elexis
a29407bb89
Don't overwrite cached template data by by cloning the referenced object, thus fix a GUI bug revealed by refs #3823 . Patch by Imarok, refs #4251 .
...
This was SVN commit r18788.
2016-09-28 11:52:25 +00:00
elexis
46ece38e29
Display the correct cost when selecting multiple entities that can perform the same upgrade. Patch by Imarok, refs #2706 , #3823 .
...
This was SVN commit r18787.
2016-09-28 11:34:05 +00:00
elexis
7c3c5f6173
Fix some string issues reported on transifex.
...
This was SVN commit r18786.
2016-09-27 18:29:32 +00:00
elexis
e4ceff3e54
Add 2px of black border to the patrol icon. Icon by Stan, refs #1720 .
...
This was SVN commit r18785.
2016-09-26 14:57:50 +00:00
elexis
a29f18968a
Fix broken string as noticed by fatherbushido, refs #1720 .
...
This was SVN commit r18784.
2016-09-26 12:13:08 +00:00
elexis
2e488571de
Fix some whitespace and remove unneeded parenthesis and brackets in the RallyPointCommands simulation helper.
...
This was SVN commit r18783.
2016-09-26 10:25:47 +00:00
FeXoR
8d4af29faf
Adding random map Caledonian Meadows. Fixes #4245
...
This was SVN commit r18781.
2016-09-25 21:53:39 +00:00
elexis
bd9240a3ef
Siege statistics for the summary screen. Patch by Mate-86, fixes #4033 .
...
This was SVN commit r18780.
2016-09-25 21:45:21 +00:00
elexis
a85c6c6967
Patrol units. Patch by Imarok, based on patch by svott, reviewed by fatherbushido and bb.
...
This was SVN commit r18779.
2016-09-25 21:33:05 +00:00
fatherbushido
51b7b80de2
Removes old depreciated technologies from production queue of atlas only (or skirmish map) structures. Refs #4170 .
...
This was SVN commit r18778.
2016-09-25 21:27:08 +00:00
fatherbushido
4ea54e10e7
Slightly increases armour of mauryans macemen champions wich had been signifantly nerfed in previous alphas. Agreed by scythetwirler.
...
This was SVN commit r18777.
2016-09-25 21:12:16 +00:00
elexis
24f149237f
Show bartered resources to observers, fixes #3839 .
...
This was SVN commit r18776.
2016-09-25 20:26:25 +00:00
elexis
92a1ba9426
Filterable ingame chat history. Based on patch by Imarok, reviewed by bb, fixes #4069 .
...
Rename session chatPanel style to chatPanelOverlay and merge other
chatPanel styles in common/.
Fix a singleplayer bug where messages send by the player wouldn't be
shown in the chat overlay due to a missing guid != "local" check.
Save the user preference whether to show the history to the user config
file.
Remove /enemy /ally and /observer aliases for simplicity.
This was SVN commit r18775.
2016-09-25 20:10:38 +00:00
elexis
6e3cdb2f5d
Use a custom style for the text in the Diplomacy manager instead of abusing the ChatPanel style, refs #4069 .
...
This was SVN commit r18774.
2016-09-25 19:56:35 +00:00
elexis
a754b1bad4
Correctly handle commands and production for multiple units and mixed selections. Patch by Imarok, reviewed by Itms, fixes #3823 . Fixes #3492 , #3288 , #3668 .
...
This was SVN commit r18773.
2016-09-25 19:38:10 +00:00
elexis
a867fca514
Petra AI: Use ally instead of team chat, since it should eventually be able to use diplomacy. Based on patch by bb, refs #4143 , #3102 , #4069 .
...
This was SVN commit r18772.
2016-09-25 14:00:26 +00:00
elexis
905dffe89c
Show an icon with tooltip in the summary screen indicating which player was defeated, has won or is still playing. Patch by javiergodas, reviewed by niektb, fixes #4187 .
...
This was SVN commit r18771.
2016-09-25 13:48:59 +00:00
fatherbushido
83ac228a9c
Reduces attack of garrisoned arrows in buildings by 20%, since champions were nerfed in b5bf0c7e86 and while buildings became much harder to capture in 27c46a0a68 and 8b14bfe78b. Removes a duplicate entry. Reviewed by elexis and FeXoR.
...
This was SVN commit r18770.
2016-09-25 13:47:50 +00:00
elexis
58f7e9d5fb
Patrol icon by Stan, refs #1720 .
...
This was SVN commit r18769.
2016-09-25 13:33:47 +00:00
elexis
19de6a4204
Add minimum distance to outposts since players made walls of them and since they shoot an arrow each when garrisoned.
...
Since vision range is 80m (120m upgraded), a minimum distance of 50m
should be more than fine enough for the intended purpose.
This was SVN commit r18768.
2016-09-25 11:20:26 +00:00
fatherbushido
4f50f9251f
Reverts 591771a0be as capture doesn't work for units with BuildingAI. Refs #3356 , #4189 , #4000 .
...
This was SVN commit r18766.
2016-09-25 10:07:12 +00:00
fatherbushido
903460994d
Adds missing preferred classes in some templates. Fixes #4194 .
...
This was SVN commit r18765.
2016-09-25 06:54:56 +00:00
elexis
af40d51068
Add gamesetup filter for new maps, fixes #4246 .
...
Don't complain if there are no maps of the selected maptype for the
current mapfilter.
This was SVN commit r18764.
2016-09-24 21:30:20 +00:00
elexis
9bce5324b1
Order the carried resources as usual. Patch by Imarok, refs #3113 .
...
This was SVN commit r18763.
2016-09-24 21:12:47 +00:00
Itms
58704fa140
Remove a function relying on systems that are not optimized at all. This function is not actually used by Petra.
...
If it is needed at some point, this map should be handled and updated
the same way as the passability map and territory map are.
Refs #4191
This was SVN commit r18760.
2016-09-24 15:21:20 +00:00
Itms
e757fb84d5
More clever map updates for the AI.
...
This patch fixes frequent memory issues by removing several dummy
allocations and a lot of memory footwork.
Fixes #4191
This was SVN commit r18759.
2016-09-24 15:16:55 +00:00
LordGood
edc1b2c066
its a biggie, finishing up the seleucids, new wood towers and some gaul roof and fortress stuff. I dont care much for mass late uploads like this, everything works on my end
...
This was SVN commit r18758.
2016-09-24 14:52:55 +00:00
Itms
172c222e9b
Fix a possible source of segmentation fault in our custom version of ObjectIdCache.
...
Patch by echotangoecho, refs #4053
This was SVN commit r18757.
2016-09-24 13:48:11 +00:00
Itms
fd8f689f35
Whitespace and indentation fix for readme.txt
...
This was SVN commit r18756.
2016-09-24 10:37:21 +00:00
elexis
b8f1ad155b
Delete two orphaned templates.
...
This was SVN commit r18755.
2016-09-24 00:47:25 +00:00
elexis
5d4604e767
Make wooden tower upgradable to the defense tower. Reviewed by fatherbushido, siole and Hannibal Barca, fixes #4125 .
...
Let towers cost 50 wood and reduce the stone cost by 50.
The upgrade costs so much that it's cheaper to build a stone tower than
building and upgrading a wooden tower, but still cheaper than building a
wooden and stone tower.
Increase the minimum distance between wooden tower to 60, so that the
upgrade won't circumstance the minDistance of the stone tower.
Add missing newline to the entity limit tooltip of the upgrade component
(refs #2706 ) that was never visible before.
This was SVN commit r18754.
2016-09-24 00:16:59 +00:00
elexis
06bf79b7e8
Offer the same techs and production queue at the Temple of Vesta as are available to the general roman temple (in particular Sibylline Books tech).
...
Reviewed by fatherbushido, fixes #4232 .
This was SVN commit r18753.
2016-09-23 22:36:45 +00:00
Itms
09e775446e
Fix a frequent rejoining OOS. We actually need to serialize the data loaded from the disk, because JS objects in the memory or newly loaded from the disk will not behave the same way.
...
Fixes #4239 , refs #3834 .
This was SVN commit r18752.
2016-09-23 21:24:14 +00:00
elexis
ad1a4d6121
Autocomplete hotkey tooltips for the gamesetup-, session- and lobby chat and replay playerlist filter.
...
Delete hotkey tooltips for replay menu and save and load dialogs.
Reviewed by bb, fixes #4145 .
This was SVN commit r18751.
2016-09-23 21:16:12 +00:00
elexis
22efe2fa8a
Add missing new file in ca90df29c0 as reported by bb, refs #4222 .
...
This was SVN commit r18750.
2016-09-23 20:36:29 +00:00
elexis
43ecbbc09e
Fix a trade cart UnitAI error occuring rarely on defeat, by clearing the traderoute if the trader changed ownership. Patch by mimo, fixes #4131 .
...
Also simplify MoveToMarket.
This was SVN commit r18749.
2016-09-23 16:11:26 +00:00
elexis
127ca4e177
More immersive descriptions for _kalis new maps. Patch by Hannibal Barca, reviewed by Itms, fixes #4226 .
...
This was SVN commit r18748.
2016-09-23 15:44:14 +00:00
elexis
19002a1396
Back to work hotkey. Patch by Imarok, refs #4008 .
...
This was SVN commit r18747.
2016-09-23 15:16:33 +00:00
elexis
6f1e46a641
Resize the gray phase bar background in the structure tree to end after the last template of that phase. Patch by usey11, fixes #3939 .
...
This was SVN commit r18746.
2016-09-23 09:38:45 +00:00
elexis
ca90df29c0
Add click button sound to the gamesetup icon buttons and credits page. Patch by Vladislav, fixes #4222 , refs #3805 , #3744 .
...
This was SVN commit r18745.
2016-09-23 09:07:38 +00:00
elexis
8ce1929966
Sort the country dropdown choices alphabetically in the localization settings. Patch by Vladislav, fixes #4221 .
...
This was SVN commit r18744.
2016-09-23 08:58:08 +00:00
fatherbushido
8f82a97c23
Adds the missing hero garrison aura to Chanakya hero. It was missing as the template doesn't inherit of an hero template. Adds back entries of this template mistakenly removed in 94791c53c6. Noticed by elexis. Fixes #4233 .
...
This was SVN commit r18742.
2016-09-21 14:32:54 +00:00
fatherbushido
e894c78fd3
Uses MatchesClassList for restricted classes tests in order to allow more flexibility as whitelisting. Uses it for fishing boat template and fixes a cursor inconsistency. Patch by erraunt and elexis. Fixes #4092
...
This was SVN commit r18741.
2016-09-21 12:51:14 +00:00
elexis
65752e7b29
Revert the usage of the "disable" tag in the Loot component, since these should become mandatory instead of optional.
...
Fix a typo "disabled".
This was SVN commit r18740.
2016-09-21 11:00:01 +00:00
elexis
49127cf68a
Gamesetup player assignment column header position adjustment for the smallest supported resolution 1024x768.
...
Increase the size of the color label by stealing some space from
neighboring fields,
so it works for all translations with the minimum resolution, fixes
#3761 , refs #1580 .
Right-align civ-info and reset buttons with the dropdowns for consistent
appearance, refs #3805 .
Ensure column headers/buttons can't overlap by giving neighboring fields
identical left/right values.
This was SVN commit r18739.
2016-09-20 11:22:15 +00:00
elexis
94791c53c6
Loot balancing overhaul and cleanup. Based on patch by fatherbushido, refs #4193 .
...
Add missing loot entry to many new buildings that were added after
d7b31da2dc and ships.
Give civic centers and wonders a significant amount.
Food related structures contain some food.
Temples somehow yielded 500 metal loot previously.
Remove experience point loot from non-defensive buildings.
Merge loot for cavalry and hero templates.
Swordsmen and sword cavalry loot 5 metal, slingers 5 stone, other units
5 wood.
Remove some duplicate Looter, MiniMap, Selectable and
TrainingRestriction entries.
Remove pointless sentence "Special Building." from persian hall tooltip.
This was SVN commit r18738.
2016-09-20 01:58:44 +00:00
elexis
b5340a19ad
Remove two unneeded newlines in the needed resources tooltip.
...
Don't display the projectile tooltip in the construction panel, since
that also doesn't show the attack tooltip.
(Since there is not much choice between attacking structures, the attack
information doesn't help deciding which
structure to build. Displaying the tooltips would require 3 lines.)
This was SVN commit r18737.
2016-09-20 00:38:36 +00:00
elexis
4391498cf4
Reduce the waterheight from the default 19.9 to 18 after the heightmap interpolation in refs #4174 made water visible in wrong locations. Fixes #4231 .
...
This was SVN commit r18736.
2016-09-19 22:00:03 +00:00
elexis
0c6cc228c0
Unify siege armor. Buff bolt shooters and siege towers slightly. Reviewed by fatherbushido.
...
Increase crush armor of most siege from 1 to 5,
decrease crush armor of rams from 10 to 5.
Bolt shooters were not affected by d38adc7cd0 , but nerfed too much in
8a2638a8f5 .
Thus make them stronger as in that commit, but weaker than before it by
increasing their repeat rate by 25%.
Remove minimum attack distance of the macedonian siege tower and
shoot one arrow per unit garrisoned but at most 10 arrows,
rather than shooting only one arrow for 2 units garrisoned.
This was SVN commit r18735.
2016-09-19 14:08:48 +00:00
elexis
3b816e82ab
Loot tooltips. Patch by Mate-86, fixes #4193 .
...
This was SVN commit r18733.
2016-09-19 01:21:09 +00:00
elexis
85efeaac5a
Crannog icon by LionKanzen, refs #3959 .
...
This was SVN commit r18732.
2016-09-19 01:13:01 +00:00
elexis
02848dcd17
Simple petra AI regicide support. Patch by Sandarac, refs #4142 .
...
The AI will retreat the hero in regicide games once it reaches less than
70% health.
It will garrison it in healing structures. Elephant heroes will retreat
to the home base.
Once the hero has healed, it will be used for attacks again.
This was SVN commit r18731.
2016-09-18 14:27:03 +00:00
Itms
caef42084d
Add missing JSAutoRequest calls. (hopefully all of them have been spotted now)
...
Patch by echotangoecho, refs #4053
This was SVN commit r18730.
2016-09-18 09:34:45 +00:00
Itms
184d64cdc8
Fix building on Fedora, by adding the Position Independant Code flag when building with gcc. This flag is not supposed to break anything and did not cause troubles when testing it on some other platforms than Fedora.
...
Based on patch by bb, fixes #3869
This was SVN commit r18729.
2016-09-18 08:54:27 +00:00
elexis
eb09c2a8c5
Show the portrait of the most common (or most costly) unit type in the selection group buttons on the left hand side. Patch by Imarok, fixes #2163 .
...
This was SVN commit r18728.
2016-09-16 10:47:00 +00:00
Itms
72a26857e9
Use the current OS X version instead of a hardcoded value in the path to the OSX development tools, when building the OSX bundle.
...
Patch by jurgemaister, plus some little fixes, fixes #3884 .
Tested on OSX 10.11.
This was SVN commit r18726.
2016-09-15 13:41:16 +00:00
elexis
c92e74138a
Use the local timezone when localizing UTC timestamps. Patch by Imarok, fixes #3350 , refs #2938 .
...
Thus show the correct time in the lobby, savegame and replay menu.
This was SVN commit r18725.
2016-09-15 13:16:48 +00:00
elexis
5d3f1ce348
Extend the shared ally vision tech tooltip to mention the allied summary screen entries and the resource / population tooltips. Patch by Imarok, reviewed by fatherbushido.
...
This was SVN commit r18724.
2016-09-13 16:54:39 +00:00
elexis
1ca4c7c988
List Bahrain as a naval map, since ships are required to cross the persian gulf to Bahrain and Qatar.
...
This was SVN commit r18723.
2016-09-12 22:15:07 +00:00
fatherbushido
85a187b89f
Tweaks hp modification of the phase city tech to keep the current balance as tech modifications calculations changed in 9368ffe345.
...
This was SVN commit r18722.
2016-09-12 15:38:13 +00:00
elexis
c43654c120
Display the number of clients too when typing the /list chat command.
...
This was SVN commit r18720.
2016-09-12 02:23:19 +00:00
elexis
24a488bacc
Increase the maximum observer limit to 32 for the upcoming release, refs #4210 .
...
This was SVN commit r18719.
2016-09-11 22:46:00 +00:00
Itms
5f67763e97
Remove or fix some broken art files. Bring wrld_med_plant.png back from the dead.
...
Based on patch by stanislas69, refs #2524
Fixes #3796
This was SVN commit r18718.
2016-09-11 16:28:45 +00:00
elexis
ca51672225
Fix typo in a68881dd0f.
...
This was SVN commit r18717.
2016-09-11 15:30:06 +00:00
fatherbushido
fb9da87264
Restores armour entry in economic structure template wich was mistakenly removed in 27c46a0a68. Slighty reduces stats compares to a20. Fixes #4195 . Reported by Warbeast. Agreed by scythetwirler. Reviewed by elexis.
...
This was SVN commit r18716.
2016-09-10 11:24:22 +00:00
elexis
a68881dd0f
Five new random map scripts by _kali: Bahrain, Harbor, Howe Sound, Ngorongo and Rouen.
...
Besides harbor, they are portraying actual geographic regions.
Some environmental improvements by niektb.
This was SVN commit r18714.
2016-09-07 20:06:01 +00:00
elexis
f63cef5ad0
Fix few typos in comments.
...
This was SVN commit r18713.
2016-09-07 17:02:25 +00:00
Itms
a8403bd7e5
Add a linker flag on Windows allowing the game to be large address aware. This allows the game to use more than 2GB of RAM. https://msdn.microsoft.com/en-us/library/wz223b1z.aspx
...
However, this can mask memory issues, so this flag will not be enabled
by default. The autobuilder will use it, so SVN playtesters and release
users can benefit from it. Windows users compiling the game themselves
will have the 2GB limitation.
Fixes #4190 , refs #1619 , #4191
Flag tested by Stan
This was SVN commit r18711.
2016-09-07 09:03:47 +00:00
FeXoR
64b1da0ddf
Adds globalscripts/BicubicInterpolation.js, the corresponding license_mit.txt and points to it for other files with the same license in LICENSE.txt - reviewed by Philip and Itms. Uses that to fix an interpolation issue in gaia.js and also fixes a "fail by one" there - reviewed by elexis. Fixes #4174
...
This was SVN commit r18710.
2016-09-06 21:49:57 +00:00
fatherbushido
a673a330a5
Fixes a typo in 8c6944f58f.
...
This was SVN commit r18709.
2016-09-06 13:14:51 +00:00
fatherbushido
baed376b06
Removes Town class from wallset template. It was misleading because palisades and walls are not Town structure and they didn't even count as such buildings because the built walls don't inherit class from wallset.
...
This was SVN commit r18708.
2016-09-06 12:47:09 +00:00
fatherbushido
8c6944f58f
Adds Capturable component tests. Fixes a message. Thanks elexis and sanderd17 for the remarks. Fixes #4149 .
...
This was SVN commit r18707.
2016-09-05 20:02:33 +00:00
fatherbushido
58c8812cc7
Removes duplicated entries in crannog template. Noticed by Imarok.
...
This was SVN commit r18706.
2016-09-05 14:08:55 +00:00
fatherbushido
417aec9495
Fixes village, town, city classes inconsistencies in templates. Reported by WarBeast. Refs #4147 .
...
This was SVN commit r18705.
2016-09-05 12:45:07 +00:00
Itms
b60cf4663d
Whitespace fixes, patch by echotangoecho, refs #1619
...
This was SVN commit r18704.
2016-09-05 08:34:19 +00:00
elexis
c056b9bfb9
Fix critical gamesetup bug again where the game can't be started after a previously assigned disconnected client rejoins a full game. Same as #3602 , reintroduced by b642f0d876, refs #3120 . Fixes #4120 .
...
This was SVN commit r18702.
2016-09-05 02:15:04 +00:00
elexis
565709701e
Hide the "I'm ready" button to observers. Patch by echotangoecho, fixes #4112 .
...
Right-align the affected buttons and neighboring GUI objects.
This was SVN commit r18701.
2016-09-05 01:53:08 +00:00
elexis
f61f051d74
New random map script Marmara by _kali, reviewed by niektb.
...
This was SVN commit r18700.
2016-09-04 22:30:03 +00:00
elexis
c118467c33
Fix broken transparency of the mediterranean mappreview image.
...
This was SVN commit r18699.
2016-09-04 22:25:57 +00:00
fatherbushido
ff2fe5d04a
Fixes immortals technology as it affected also the persian mercenary champion spearman. Reported by WarBeast.
...
This was SVN commit r18698.
2016-09-04 21:36:45 +00:00
elexis
488b4482d9
Skirmish map Two Seas overhaul by Stan, refs #2881 .
...
Adds starting resources and units, forests, mines, animals, treasures
and some decoratives.
This was SVN commit r18697.
2016-09-04 21:19:14 +00:00
elexis
e0c30745f9
Template manager cleanup. Patch by leper, refs #2951 .
...
Move an early return to the top of the function.
Add an early return in case an error was determined.
Remove unneeded variables ok and templatePath.
Replace includeSubdirectories boolean with a flags int to merge
duplicate vfs::ForEachFile calls.
This was SVN commit r18696.
2016-09-04 15:28:36 +00:00
fatherbushido
2e1441d2ba
Fixes a copy paste error introduced in 46ead523b8 for a roman hero aura, noticed by WarBeast. Reviewed by elexis.
...
This was SVN commit r18695.
2016-09-04 10:34:57 +00:00
elexis
c2078bd0c6
Supress an error warning that isn't valid for unsortable ordered lists and hide sorting sprites if sorting is disabled. Based on patch by Imarok, refs #3905 .
...
This was SVN commit r18694.
2016-09-03 22:22:11 +00:00
fatherbushido
53d5f9f573
Adds melee cavalry to garrison arrow classes for some buildings and ships that can garrison cavalry. Previously all ranged units and all infantry were allowed wich was misleading. Discussed with Yves and reviewed by elexis.
...
This was SVN commit r18693.
2016-09-03 13:09:08 +00:00
elexis
317502d915
Objectives dialog. Icon by Lionkanzen. Reviewed by bb, fixes #3263 #4141 .
...
Explain the new victory conditions and last man standing option in the
gamesetup.
Add an ingame dialog showing these explanations and all other chosen
gamesetup options,
so that players don't have to recall them and late observers don't have
to ask.
This was SVN commit r18692.
2016-09-03 09:11:02 +00:00
elexis
9b52dfb554
Allow queuing orders if an action is preselected. Patch by Imarok, refs #1720 .
...
This was SVN commit r18691.
2016-09-03 07:42:08 +00:00
Itms
8284cc4302
SpiderMonkey 38 upgrade: 35/35
...
Some comments for the next SpiderMonkey upgrade. That's all folks, fixes
#3708
This was SVN commit r18689.
2016-09-02 16:55:13 +00:00
Itms
2a33c4476f
SpiderMonkey 38 upgrade: 34/35
...
Use the C++ API for Maps. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1121332
This was SVN commit r18688.
2016-09-02 16:54:00 +00:00
Itms
0cc23c1964
SpiderMonkey 38 upgrade: 33/35
...
Remove a workaround. Note that this removal is incomplete. Based on
patch by leper.
This was SVN commit r18687.
2016-09-02 16:53:22 +00:00
Itms
9b794593db
SpiderMonkey 38 upgrade: 32/35
...
JS_GetStringCharsAndLength was removed, use
JS_Get{Latin1,TwoByte}StringCharsAndLength instead.
Actually handle strings in both the Latin1 and TwoByte cases since we
need to.
This saves some space when serializing and also when running as they are
stored that way in the vm.
Also handle the error case.
Patch by leper.
For more information:
https://blog.mozilla.org/javascript/2014/07/21/slimmer-and-faster-javascript-strings-in-firefox/
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1037869
This was SVN commit r18686.
2016-09-02 16:51:09 +00:00
Itms
72ec5d9767
SpiderMonkey 38 upgrade: 31/35
...
Remove workaround for crash when using multiple ctxts per runtime, this
was fixed upstream. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=890243 and
https://bugzilla.mozilla.org/show_bug.cgi?id=905926
This was SVN commit r18685.
2016-09-02 16:50:07 +00:00
Itms
f06eb5536b
SpiderMonkey 38 upgrade: 30/35
...
Upstream added a compartment option to preserve JIT code during
non-shrinking GCs, so use it. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1068697
This was SVN commit r18684.
2016-09-02 16:48:41 +00:00
Itms
27c434e2bd
SpiderMonkey 38 upgrade: 29/35
...
We now have better error messages, so fix the tests to account for that.
Patch by leper.
This was SVN commit r18683.
2016-09-02 16:47:33 +00:00
Itms
fe52bf0457
SpiderMonkey 38 upgrade: 28/35
...
The GC API changed to have explicit start and step methods, and the
start/shrink cases now take the gc kind as a parameter. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1099152
This was SVN commit r18682.
2016-09-02 16:46:39 +00:00
Itms
80c8c2c3d6
SpiderMonkey 38 upgrade: 27/35
...
JS_NewRuntime had the useHelperThreads param removed and a
maxNurseryBytes param added. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=941805 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1034621
This was SVN commit r18681.
2016-09-02 16:45:45 +00:00
Itms
58cace1156
SpiderMonkey 38 upgrade: 26/35
...
JS_Define{,UC}Property{,ById} has the attrs parameter moved in front of
the getter and setter params. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=959787
https://bugzilla.mozilla.org/show_bug.cgi?id=1088002 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1211607
This was SVN commit r18680.
2016-09-02 16:44:33 +00:00
Itms
99534a15f1
SpiderMonkey 38 upgrade: 25/35
...
Remove the proto parameter from JS_DefineObject. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1127494
This was SVN commit r18679.
2016-09-02 16:41:36 +00:00
Itms
ffd4207c30
SpiderMonkey 38 upgrade: 24/35
...
Work around upstream API breakage by moving from a define to a const
member and not using the namespace explicitly.
This is caused by https://bugzilla.mozilla.org/show_bug.cgi?id=896116
and this patch by leper was submitted at
https://bugzilla.mozilla.org/show_bug.cgi?id=1236373
This was SVN commit r18678.
2016-09-02 16:40:01 +00:00
Itms
ef6d1c77c8
SpiderMonkey 38 upgrade: 23/35
...
JS_GetArrayBufferData now takes an AutoCheckCannotGC parameter. Patch by
leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1061288
This was SVN commit r18677.
2016-09-02 16:38:31 +00:00
Itms
c396155ad8
SpiderMonkey 38 upgrade: 22/35
...
Parallel compilation was renamed to Offthread compilation. Patch by
leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1020364
This was SVN commit r18676.
2016-09-02 16:37:35 +00:00
Itms
2db0fb27ae
SpiderMonkey 38 upgrade: 21/35
...
The naming conventions for typed array types changed. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1021790
This was SVN commit r18675.
2016-09-02 16:36:40 +00:00
Itms
f77441fb10
SpiderMonkey 38 upgrade: 20/35
...
Some options have been moved from ctxt to runtime. Patch by leper.
This was SVN commit r18674.
2016-09-02 16:35:58 +00:00
Itms
8f7ba9acf8
SpiderMonkey 38 upgrade: 18/35
...
JS_SetErrorReporter now takes a JSRuntime instead of a JSContext. Patch
by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=981198
This was SVN commit r18673.
2016-09-02 16:35:03 +00:00
Itms
2aa75a05d4
SpiderMonkey 38 upgrade: 18/35
...
Renamed JS_Compile{,UC}Function to JS::CompileFunction. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1089026
This was SVN commit r18672.
2016-09-02 16:34:02 +00:00
Itms
8747b1c098
SpiderMonkey 38 upgrade: 17/35
...
JS_GetUint*Array now takes an AutoCheckCannotGC parameter. Based on
patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1061288
This was SVN commit r18671.
2016-09-02 16:33:10 +00:00
Itms
c06eda0209
SpiderMonkey 38 upgrade: 16/35
...
JS_GetTypeName was removed from the API, but we asked upstream to add it
back (https://bugzilla.mozilla.org/show_bug.cgi?id=1037718 ).
This was SVN commit r18670.
2016-09-02 16:32:26 +00:00
Itms
ef764d5d64
SpiderMonkey 38 upgrade: 15/35
...
Temporary workaround dropping of parent parameter from JS_NewObject* by
switching to JS_NewObjectWithGivenProto.
We should just drop support for serializing the parent since upstream is
dropping the parent parameter from all those functions.
Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1136906 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1136345
This was SVN commit r18669.
2016-09-02 16:30:35 +00:00
Itms
c3710c9632
SpiderMonkey 38 upgrade: 14/35
...
JS_NewObject has no parent or proto arg anymore, use
JS_NewObjectWithGivenProto instead. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1136906
https://bugzilla.mozilla.org/show_bug.cgi?id=1127443 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1136345
This was SVN commit r18668.
2016-09-02 16:29:21 +00:00
Itms
8d15411abf
SpiderMonkey 38 upgrade: 13/35
...
Update JS_NewObject to JS_NewPlainObject, with new parameters. Patch by
leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1136906 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1125356
This was SVN commit r18667.
2016-09-02 16:28:17 +00:00
Itms
c99ae7ca1c
SpiderMonkey 38 upgrade: 12/35
...
Major update to the JSClass stubs. Based on patch by leper.
https://bugzilla.mozilla.org/show_bug.cgi?id=1103152
This was SVN commit r18666.
2016-09-02 16:26:54 +00:00
Itms
b01300c222
SpiderMonkey 38 upgrade: 11/35
...
Renamed JS_CallHeapFooTracer to JS_CallFooTracer. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1052388
This was SVN commit r18665.
2016-09-02 16:25:42 +00:00
Itms
761abd587e
SpiderMonkey 38 upgrade: 10/35
...
Use operator= instead of .set(). Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1128110
This was SVN commit r18664.
2016-09-02 16:24:46 +00:00
Itms
c7c3ef9f92
SpiderMonkey 38 upgrade: 09/35
...
Use .toFoo() instead of JSVAL_TO_FOO. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=952650
This was SVN commit r18663.
2016-09-02 16:23:44 +00:00
Itms
1223efcef8
SpiderMonkey 38 upgrade: 08/35
...
Update ObjectToIDMap to the ESR38 version and use the unbarriered
tracers. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1052388
This was SVN commit r18662.
2016-09-02 16:22:42 +00:00
Itms
548601b2d8
SpiderMonkey 38 upgrade: 07/35
...
Use operator[] instead of handleAt. Patch by leper.
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=972385
This was SVN commit r18661.
2016-09-02 16:21:03 +00:00
Itms
4b028508ae
SpiderMonkey 38 upgrade: 06/35
...
Check for the new SpiderMonkey version.
This was SVN commit r18660.
2016-09-02 16:19:31 +00:00
Itms
ca80797dcc
SpiderMonkey 38 upgrade: 05/35
...
Update premake scripts.
This was SVN commit r18659.
2016-09-02 16:18:57 +00:00
Itms
7e6a960e83
SpiderMonkey 38 upgrade: 02/35
...
Update files for building SpiderMonkey.
Add a script for starting the tracelogger, as well as some instructions,
to be detailed in the wiki.
This was SVN commit r18656.
2016-09-02 16:14:11 +00:00
fatherbushido
add6b0206c
Adds a missing civ requirement for a pair technology.
...
This was SVN commit r18653.
2016-09-01 07:35:13 +00:00
elexis
8f1b37b216
Major ordered list GUI cleanup. Patch by Imarok, fixes #3905 .
...
Remove m_SelectedDef, m_SelectedColumnOrder and m_HeadingHeight. Use
GetSetting and SetSetting instead. Thus
implement selecting a column / column order sprite from JS correctly.
Since the actual list sorting is done in JS, only the column header
sprites were inaccurate.
Remove "selected_def" since that is redundant with "selected_column".
Merge "selected_column" with "default_column" (and
"selected_column_order" with "default_column_order") since
all properties provided in XML pages are defaults and to remove the
copying on init.
Rename "def" to "column" and "ObjectDef" to "COListColumn".
Replace 30px header height hardcoded in the C++ with an option set by
the style.
Remove the unneeded requirement to specify a "list_name".
Thus rename "list_name" to "list_month" in the replay menu.
Remove unneeded "list_" prefix and substr(5) in column checks.
Use ranged loops.
Fix typo "Avalible".
Add an error message if the GUI style doesn't specify the selected
column order.
This was SVN commit r18652.
2016-08-31 19:29:48 +00:00
elexis
a4a99bc129
Fix a lot of whitespace in gui/.
...
This was SVN commit r18650.
2016-08-27 15:33:22 +00:00
leper
fe8d096364
Add GetPlayersByDiplomacy to cmpPlayer.
...
This is in turn used by GetEnemies and the new GetAllies and
GetMutualAllies.
Use these in a few places as those are common queries.
Fixes #4161 .
Reviewed by: fatherbushido
This was SVN commit r18649.
2016-08-27 15:28:02 +00:00
leper
38c9d48708
Prevent leaking internal data in cmpPlayer.
...
Refs #4161 .
Reviewed by: fatherbushido
This was SVN commit r18648.
2016-08-27 15:27:44 +00:00
leper
2366d36f54
Remove unneeded includes.
...
Refs #4161 .
Reviewed by: fatherbushido
This was SVN commit r18647.
2016-08-27 15:27:13 +00:00
leper
2c5cddd684
Move message registrations to the right file.
...
Refs #4161 .
Reviewed by: fatherbushido
This was SVN commit r18646.
2016-08-27 15:26:54 +00:00
leper
c4c315f6a0
Remove cmpPlayerManager.GetAllPlayerEntities() which leaked internal data.
...
And all uses thereof could easily be replaced.
This changes the data structure of cmpTrigger.conquestEntitiesByPlayer
to
not store the player entity at all, and since that is now gone replaces
the
object by the array that was its sole property.
Refs #4161 .
Reviewed by: fatherbushido
This was SVN commit r18645.
2016-08-27 15:26:23 +00:00
fatherbushido
737ede0f89
Improves military-only-selection modifier, now filters fishing boat and merchant ship. Uses the same classes filter for find-idle-warrior. Reviewed by elexis. Fixes #4129 .
...
This was SVN commit r18644.
2016-08-27 10:34:21 +00:00
leper
35f8061ef2
Remove Armour from fish templates. Fixes #4169 .
...
Given that Armour needs Health disabling one but not the other is an
error.
This was SVN commit r18643.
2016-08-26 19:37:12 +00:00
elexis
eb20661e34
Fix an oversight in 84bde41394, as reported by gameboy.
...
This was SVN commit r18642.
2016-08-26 14:19:01 +00:00
elexis
dfea781d71
Session GUI cleanup.
...
Remove a wrong space in a tooltip if the delete hotkey isn't set.
This was SVN commit r18641.
2016-08-26 10:05:23 +00:00
elexis
859dffd949
Add disabled effect for Stone themed buttons and Modern themed checkboxes. Patch by Imarok, fixes #4165 .
...
This was SVN commit r18639.
2016-08-25 22:35:01 +00:00
elexis
b50ffac36b
GUI sprite cleanup.
...
Move training panel portrait sprite from common/ to session/.
This was SVN commit r18638.
2016-08-25 22:14:56 +00:00
elexis
29c95f3a49
GUI sprite / style cleanup.
...
Merge common/styles.xml (which contains only the special default style)
with common/common_styles.xml.
Rename common/common_sprites.xml to common/sprites.xml.
This was SVN commit r18637.
2016-08-25 20:23:17 +00:00
elexis
84bde41394
GUI style / sprite cleanup.
...
Move remains of common/sprite1.xml to common/common_sprites.xml.
Remove duplicates bkFillBlack and bkTranslucent.
Rename bkWhiteBorderBlack to BackgroundWhiteBorderBlack.
Move BackgroundSessionTooltip and BackgroundInformationTooltip to
session/.
Remove unused BackgroundErrorTooltip.
This was SVN commit r18636.
2016-08-25 18:36:05 +00:00
elexis
eab5436d55
Fix oversight in 42cef1d29f.
...
This was SVN commit r18635.
2016-08-25 18:12:24 +00:00
elexis
52504bbfa8
GUI style / sprite cleanup.
...
Move civ icon overlay entries from common/ to session/.
Move main menu entries from common/ to pregame/.
Remove unused pgButton.
This was SVN commit r18634.
2016-08-25 13:59:25 +00:00
elexis
a8837fed41
Major GUI stlye and sprite cleanup.
...
Remove many unused and orphaned entries from common/,
including the entire Wheat theme from more than a decade ago and
most parts of the Stone theme.
Besides being unused, nearly all of the styles were ugly and don't fit
to the existing theme.
No entry should be reintroduced without being actually used somewhere
and if so, use a new subdirectory with the name of the theme.
This was SVN commit r18633.
2016-08-25 13:24:03 +00:00
fatherbushido
f5eabf8ec8
Reverts e38665d7a6 (excepting the buildtime part of iberian and macedonian fortress templates) as #3818 must be fixed in a cleaner way. Fixes a typo. Refs #3818 .
...
This was SVN commit r18632.
2016-08-25 10:44:19 +00:00
elexis
9fb4e9ef90
GUI style cleanup.
...
Remove commented out, unused scrollbars and a style.
This was SVN commit r18631.
2016-08-25 09:45:41 +00:00
elexis
4935c4384e
GUI sprite cleanup.
...
Remove the commented out StonePanel theme which is superseded by thin
and large border variations.
This was SVN commit r18630.
2016-08-25 09:36:36 +00:00
elexis
6df480260e
Main menu cleanup.
...
Remove code that was commented out.
Remove unneeded comments.
Use JSdoc comments.
Move globals to the top of the file.
Quotes for object keys.
This was SVN commit r18629.
2016-08-24 11:18:26 +00:00
elexis
42cef1d29f
Hero / group icon color fade cleanup.
...
Move globals to the top of the file.
Proper case for globals.
Rename restartAble to restartable.
Use proper JSdoc comments.
Whitespace fixes.
Abbreviate with rgbToGuiColor.
This was SVN commit r18628.
2016-08-24 10:10:30 +00:00
elexis
11d10baf26
Delete old main menu background whose reference was removed in 6bcb3f5695 ( 2779512c6e). Delete commented out sprites.
...
This was SVN commit r18627.
2016-08-23 15:57:37 +00:00
leper
2f12bae102
Deal ranged damage even if the attacker dies. Patch by LeanderH. Fixes #3610 .
...
Create a Damage system component from the Damage helper object and parts
of
the Attack component. This fixes the issue by making ranged damage
independent
of the attacking entity.
While there fix the issue of damaging all nearby entities in case the
actual
target was not hit, instead of only a single one.
This was SVN commit r18625.
2016-08-22 01:00:57 +00:00
leper
7947351a08
Add regression test for damage being dealt if the attacker dies. Based on patch by LeanderH. Refs #3610 .
...
This was SVN commit r18624.
2016-08-22 01:00:30 +00:00
leper
014a6d621b
Keep mounting the cache directory in tests. Fixes oversight in 493990f472.
...
This was SVN commit r18623.
2016-08-22 01:00:23 +00:00
leper
e4c527d5c5
Fix indentation.
...
This was SVN commit r18622.
2016-08-21 20:35:13 +00:00
leper
4ed7d6c202
Fix compilation failure.
...
This was SVN commit r18621.
2016-08-21 20:35:10 +00:00
leper
9998592542
Remove unused variable.
...
This was SVN commit r18620.
2016-08-21 20:35:08 +00:00
leper
e7df8edc7d
Mark method const.
...
This was SVN commit r18619.
2016-08-21 20:35:06 +00:00
fatherbushido
f79a9bd4c4
Removes 3 redundant numerical informations in tooltips. Reviewed by elexis.
...
This was SVN commit r18618.
2016-08-21 16:22:42 +00:00
fatherbushido
ea48757635
Cleans simulation templates xml files: sorts components by alphabetical order, fixes identation and removes tabs. Reviewed by elexis. Fixes #4160 .
...
This was SVN commit r18617.
2016-08-21 16:19:03 +00:00
fatherbushido
289916b4d2
Updates Identity classes and visible classes documentation. Cleans inconsistencies (identation, some classes were sometimes in Classes and other times in VisibleClasses, adds missing class for javelinist cavalry hero, removes Camel classes from traders and seleucid cavalry, removes unused and misleading Light, Medium, Heavy classes). Comments by Sanderd17, elexis and s0600204. Refs #4147
...
This was SVN commit r18616.
2016-08-21 09:03:00 +00:00
elexis
9846f374a0
Suppress a file not found error and show the placeholder image instead of plain magenta if the mappreview wasn't found.
...
This was SVN commit r18614.
2016-08-17 23:11:11 +00:00
elexis
7470e88624
Always save the replay metadata (summary screen info) when ending the application. Patch by Imarok, fixes #4020 .
...
This was SVN commit r18613.
2016-08-17 15:17:43 +00:00
scythetwirler
3a2b418c0e
Fixes off-by-one error.
...
This was SVN commit r18612.
2016-08-17 00:30:57 +00:00
elexis
d789a09be5
Add missing component check to fix regicide on survival of the fittest. Patch by bb, refs #2160 .
...
This was SVN commit r18611.
2016-08-16 10:51:54 +00:00
scythetwirler
27f2b2e04d
Guess who hasn't used SVN in a while...actually svn add the new file.
...
This was SVN commit r18610.
2016-08-16 03:38:56 +00:00
scythetwirler
5e643ba6be
Splits lobby bot into a ratings bot and a main bot. Fixes #3022 .
...
This was SVN commit r18609.
2016-08-16 03:35:53 +00:00
Itms
b9a6d2af16
Use the debugger output on Windows for invalid parameter tests (see bd9bc6db78).
...
This way, the test output is not polluted by the error messages when
running in debug mode.
This was SVN commit r18608.
2016-08-15 12:15:19 +00:00
fatherbushido
9a7dbc55ae
Removes duplicated unused unit templates. Greek references by Itms. Reviewed by elexis.
...
This was SVN commit r18607.
2016-08-15 11:51:57 +00:00
elexis
6eaf76d653
Actually seed the random number generator used in the simulation. Reviewed by sanderd17, fixes #4127 .
...
This was SVN commit r18604.
2016-08-14 16:28:54 +00:00
elexis
00a469be1b
Show the last-man-standing option regardless of whether it is possible to set it. Reviewed by fatherbushido, refs #3970 .
...
This was SVN commit r18603.
2016-08-14 15:35:58 +00:00
elexis
0c21c24754
Replay menu init performance improvement, reviewed by Imarok.
...
displayReplayList was called once per filter initialization i.e. 8 times
too often on init.
This can save multiple seconds when opening the menu.
This was SVN commit r18602.
2016-08-14 10:34:23 +00:00
elexis
e4000d11cf
Display the gamestart time in the lobby. Patch by Imarok, combined with d7d0a7f869 fixes #3476 .
...
XPartaMupp patch reviewed by scythetwirler.
This was SVN commit r18601.
2016-08-14 09:03:30 +00:00
elexis
416049e4b4
Remove charge attack from the templates which isn't implemented nor designed yet. Patch by fatherbushido, fixes #4139 .
...
Remove the unused "recharge" attack timer which was introduced in
b21e798243 but should have been removed with 4e5c5e2d8f .
This was SVN commit r18599.
2016-08-11 14:35:50 +00:00
elexis
fb46ce578f
Give the Carthaginian hero Maharbal a melee attack bonus instead of the not implemented charge bonus. Based on patch by fatherbushido, refs #4139 .
...
This was SVN commit r18598.
2016-08-11 14:20:00 +00:00
elexis
7a0703872f
Remove a wrong argument from e3b3261a62.
...
This was SVN commit r18597.
2016-08-11 13:20:31 +00:00
fatherbushido
f941744c7b
Removes a useless newline in training limit tooltip. Patch by elexis.
...
This was SVN commit r18596.
2016-08-11 12:34:11 +00:00
fatherbushido
66bd4e9da7
Deletes unused technology file forgotten in 94a240737c, removes 2 tooltips duplicated with aura tooltips. Reviewed by elexis.
...
This was SVN commit r18595.
2016-08-11 12:27:22 +00:00
fatherbushido
657070aea6
Moves misplaced desciptions from requirementsTooltips to tooltips in technology json files.
...
This was SVN commit r18594.
2016-08-11 08:49:53 +00:00
niektb
849b79fcec
New icon for the Temple of Vesta by Stanislas69 with help from Lion.Kanzen en a little retouching from wowgetoffyourcellphone.
...
This was SVN commit r18593.
2016-08-10 17:50:41 +00:00
niektb
3102424439
Add Open animation to Ptolemian Gate. Made by Stanislas69.
...
Fix the Ptolemian Gate obstructions on the fly.
This was SVN commit r18592.
2016-08-08 18:32:28 +00:00
Itms
bb1f86f515
Remove duplication of the Hexify function.
...
Remove the useless extern keyword from function declarations in
ps/Util.h.
Patch by echotangoecho, refs #4095
This was SVN commit r18591.
2016-08-08 12:50:39 +00:00
Itms
e3cdb2253d
Fix calls to CXeromyces::Terminate in the main loop to fix several possible memory leaks.
...
Make init/shutdown order consistent in some places.
This was SVN commit r18589.
2016-08-08 08:32:57 +00:00
Itms
162535c7b7
Tiny whitespace cleanup.
...
This was SVN commit r18587.
2016-08-07 17:44:27 +00:00
fatherbushido
04a81620f9
Update translation messages after the removal of the gate conversion tooltip in b2f4b0f494. Reviewed by elexis. Refs #2706 .
...
This was SVN commit r18586.
2016-08-06 16:31:19 +00:00
Yves
9e4f0cc543
Properly shut down SpiderMonkey using JS_ShutDown.
...
This also adds some validation to ensure the correct order of JS_Init,
JS_NewRuntime, JS_DestroyRuntime and JS_ShutDown calls.
Refs #3708
This was SVN commit r18584.
2016-08-06 15:41:59 +00:00
elexis
e3b3261a62
Attack component tests, reviewed by sanderd17.
...
This was SVN commit r18583.
2016-08-05 18:44:00 +00:00
fatherbushido
7ce9e7675f
Adds and updates documentation in /components/interfaces/ files. Reviewed by elexis. Fixes #4128
...
This was SVN commit r18581.
2016-08-03 12:04:49 +00:00
Itms
4e87fef3da
The old debug API has been removed in SpiderMonkey 38, so remove profiler1 script profiling.
...
Patch by leper, refs #3708
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1069694
This was SVN commit r18580.
2016-08-02 16:58:30 +00:00
Itms
72ca6c5f80
Style cleanup by leper, preparing the SpiderMonkey update. Refs #3708
...
This was SVN commit r18579.
2016-08-02 16:12:11 +00:00
elexis
f7ff71e8d5
Hotkeys to repair, ungarrison and focus on the rallypoint. Patch by Imarok, refs #4008 .
...
This was SVN commit r18578.
2016-08-02 15:42:35 +00:00
Itms
493990f472
Fix engine tests when no mods are present, by making the pathfinder tests consistent with the rest of the tests.
...
This was SVN commit r18577.
2016-08-02 15:38:39 +00:00
fatherbushido
335b55d49b
Add tests to AuraManager component. Fixes #4123
...
This was SVN commit r18576.
2016-08-02 12:19:40 +00:00
sanderd17
8af205fd71
Fix building of fields + update tests to make sure this doesn't happen again. Refs #4121
...
This was SVN commit r18575.
2016-08-02 11:54:18 +00:00
elexis
69b3c5871b
Print warnings when no or the wrong list of mods is passed when starting non-visual replays. Patch by ArnH, fixes #2807 .
...
This was SVN commit r18574.
2016-08-02 11:11:10 +00:00
elexis
fba9346947
Fix regicide spawn point preference bug, refs #2160 .
...
On maps with multiple buildings it didn't prioritize the civic center.
This part would require a findLastIndexOf array function to avoid the
loop.
This was SVN commit r18572.
2016-07-31 00:40:26 +00:00
elexis
105e1484fb
The repair button is expected to work with construction sites.
...
This was SVN commit r18571.
2016-07-30 23:52:09 +00:00
elexis
edd5d20733
Hide unassigned hotkeys. Patch by Imarok, refs #3051 .
...
This was SVN commit r18570.
2016-07-30 16:30:07 +00:00
sanderd17
51eb4b255c
Don't let the props inherit the 'idle' animation if the parent doesn't have the needed animation. Fixes #4071
...
This was SVN commit r18568.
2016-07-29 11:57:27 +00:00
sanderd17
09ab4fe9d3
Add tests to the Foundation component + fix some minor issues found by implementing the tests. Fixes #4121
...
This was SVN commit r18567.
2016-07-29 11:48:07 +00:00
sanderd17
ab2c73e93a
Allow to set 'unused' as a hotkey to disable that action. Patch by Imarok. Fixes #3051
...
This was SVN commit r18565.
2016-07-27 12:29:31 +00:00
elexis
c70975b116
Pompeii random map script by _kali.
...
This was SVN commit r18564.
2016-07-27 11:35:19 +00:00
fatherbushido
0fcc1fbce6
Fixes scenario map missing units introduced in previous commit, refs f3d35d8a8a.
...
This was SVN commit r18563.
2016-07-25 20:31:23 +00:00
fatherbushido
f3d35d8a8a
Prevents training of unexpected units in buildings introduced in 60a2af2988, lets mace trains 2 mercs in captured stoa or in their own stoa for scenario map, fixes #4011 .
...
This was SVN commit r18562.
2016-07-25 18:54:28 +00:00
elexis
20b4e039be
Fix fileendings of files with mixed fileendings in the public mod (except art, l10n) and in source/ (except for source/third_party/).
...
Thus fix lineendings in files that were missed in bcbf25bfbd , as
reported by Imarok.
(SVN throws an error when trying to set the native filending property on
a file with mixed fileendings. However when recursing it hides this
error).
This was SVN commit r18561.
2016-07-25 12:58:47 +00:00
elexis
a0058c533b
Don't throw errors and hide the summary screen button when encountering an empty replay metadata file.
...
That kind of file can be written in case the partition has no more space
left when ending the game.
This was SVN commit r18560.
2016-07-25 11:26:56 +00:00
elexis
e262e021b0
Fix an off by one error. Reported by fatherbushido, refs #2160 .
...
This was SVN commit r18559.
2016-07-25 11:20:34 +00:00
elexis
bcbf25bfbd
Fix line endings of all files in source/ except source/third_party/.
...
This was SVN commit r18558.
2016-07-25 09:07:45 +00:00
elexis
ba25ffef74
rmlib2 simplifications.
...
This was SVN commit r18556.
2016-07-24 04:25:45 +00:00
elexis
8e1dcbe2fa
Mediterranean tree balancing.
...
Increase minimum distance between forests so as to carve more space for
player buildings. Reported by sentado, based on patch by _kali.
Adapt metal and stone mine numbers to keep the same probability.
This was SVN commit r18555.
2016-07-24 04:24:44 +00:00
elexis
c8d7992820
Mediterranean shoreline heightdata fix for easier dock placement (especially in caucasus). Reported by sentado, patch by _kali.
...
This was SVN commit r18554.
2016-07-24 04:19:56 +00:00
elexis
e80f0f9930
Mediterranean bugfix for a rare case where birch trees were placed in north africa
...
(since the localbiome wasn't set for stronghold bases).
Remove non-existing roads which were not accessed before.
This was SVN commit r18553.
2016-07-24 04:18:10 +00:00
elexis
a3da37ffd3
Gaia control improvements.
...
Don't throw errors when finishing a gaia foundation.
Allow cheats for gaia.
This was SVN commit r18552.
2016-07-24 02:19:34 +00:00
elexis
c652e0942a
Session cleanup.
...
Move some code from selectViewPlayer to updateTopPanel.
Inline variable civName.
Move one check out of an if-statement in selectViewPlayer.
Merge duplicate call Engine.GetGUIObjectByName("civIcon") for
consistency with other code.
This was SVN commit r18551.
2016-07-24 02:17:43 +00:00
elexis
64624d121c
Tree balancing of the red sea map.
...
Sometimes players didn't have any wood close by while usually all
players have practically limitless wood around. Reported by sentado.
Thus enforce greater distance between big forests and add some tiny
forests in between them.
Keep a big distance between all forests as it is supposed to be a
desert.
This was SVN commit r18550.
2016-07-23 17:30:32 +00:00
LordGood
6543e78cce
Seleucid dock
...
This was SVN commit r18549.
2016-07-23 10:15:46 +00:00
elexis
eaf0f88420
Add missing vertical heightmap scaling to _kali's new random map scripts.
...
This was SVN commit r18548.
2016-07-22 18:26:53 +00:00
elexis
9da74739d4
Gah, refs fb8f360ef0.
...
This was SVN commit r18547.
2016-07-22 15:12:11 +00:00
elexis
9c4344a940
Acoustic notification when someone mentions the name of the player in the lobby or game chat. Patch and soundfile by andy5995.
...
This was SVN commit r18545.
2016-07-21 15:31:39 +00:00
elexis
8dddd369ef
Basic regicide gamemode. Based on patch by Sandarac, refs #2160 .
...
Spawn a random hero at gamestart and defeat the player if the hero dies.
Consider nomad maps where units spawn without buildings or start on a
ship.
Correct a comment for TriggerHelper.SpawnUnits.
Make shuffleArray available to GUI and simulation and use it to
randomize heroes.
This was SVN commit r18544.
2016-07-21 15:12:49 +00:00
elexis
34c26767ca
Add reddish dust to red sea. Actor by Stan, reviewed by _kali.
...
This was SVN commit r18543.
2016-07-21 11:20:33 +00:00
elexis
41474760e2
Remove healers from the idle worker queue as that is typically used to get units back to work or delete the workers if they can't work anymore. Thanks sanderd17 for a quick opinion.
...
Idle healers still show up when pressing the idle worker selection lasso
filter hotkey (I by default).
This was SVN commit r18542.
2016-07-21 10:46:32 +00:00
mimo
26b29e1de7
fix fa7e0c10ba
...
This was SVN commit r18541.
2016-07-21 07:44:28 +00:00
elexis
8e98de87ec
Reset Last Man Standing flag when enabling rated games, to avoid the warn, refs #3970 .
...
This was SVN commit r18540.
2016-07-21 01:12:02 +00:00
elexis
fb8f360ef0
Fix missing observermode for players who won (and that's why a ternary was used there before 9f796068f8).
...
Don't start the defeat music when clicking on resign and then restarting
it right on the next turn.
This was SVN commit r18539.
2016-07-21 01:06:35 +00:00
elexis
c84d41dc41
Hide walk speed tooltip for unpacked siege engines.
...
This was SVN commit r18538.
2016-07-21 00:04:42 +00:00
elexis
1bb3438450
Add missing round to cf04bad4bc, refs #3841 .
...
This was SVN commit r18537.
2016-07-20 23:55:25 +00:00
elexis
ec3200dfee
Session and lobby cleanup.
...
Remove unused variable label and rating.
Remove hardcoded group limit of 10.
Inline pointless constant guiName.
This was SVN commit r18535.
2016-07-20 16:21:42 +00:00
elexis
d7d0a7f869
Submit and display more information about matches in the lobby. Patch by Imarok, refs #3476 .
...
Includes team numbers, online/offline- and won/defeated state, AI type
and difficulty for running games and
only the playernames with observer-player distinction in the gamesetup.
Use JSON format inside the XML stanza and minimize traffic by packing
teams.
Use the observer distinction to correctly apply the "full games" trigger
in the lobby, fixes #3143 .
XPartaMupp patch applied by scythetwirler.
unescapeText function by sanderd17, refs #3409 .
This was SVN commit r18534.
2016-07-20 16:04:23 +00:00
elexis
cf04bad4bc
Ingame summary screen and allied resource / population tooltips for active players. Patch by Imarok, also reviewed by fatherbushido and discussed with mimo, fixes #3841 .
...
Shows (only) the stats of the current player in the summary screen while
playing.
Also shows those of mutual allies too if the shared vision tech is
researched.
Display the resources and population counts of allies in the tooltips of
the top panel.
Use a sprintf for the pop / limit ratio and remove hardcoded resource
strings in the XML, refs #3934 .
This was SVN commit r18533.
2016-07-20 01:22:07 +00:00
mimo
fa7e0c10ba
fix a call to DeleteEntityAndReturn with undefined arguments, + some cleanup, refs #2706
...
This was SVN commit r18532.
2016-07-19 18:25:31 +00:00
mimo
01ff2fb0e0
petra: reset some collections only if needed
...
This was SVN commit r18531.
2016-07-19 17:26:03 +00:00
elexis
a498d18738
Fix a stronghold placement bug. Patch by _kali, fixes #4088 .
...
Furthermore add two TODOs about other known placement bugs and
don't enforce close player placement if the team consists of only two
players,
since controlling much territory is more important than having a
neighboring allied CC close by.
This was SVN commit r18530.
2016-07-19 15:33:05 +00:00
elexis
2feeda802d
Show the garrisoned healrate in tooltips, revealing not necessarily intuitive rates for special buildings and ships.
...
This was SVN commit r18529.
2016-07-19 13:19:37 +00:00
elexis
d0639c4df6
Ram garrison balancing.
...
Garrison up to 10 men in rams and 12 in persian ones, in order to
have a greater chance of attacking enemies with many melee champs
defending,
since the new balancing in alpha 21 requires siege engines to destroy
buildings, see d38adc7cd0 and 27c46a0a68 .
Remove undocumented garrisoned healrate of rams introduced in
d1ed264c9b .
That commit introduced it in many places, which were removed in later
commits.
Leave the positive garrisoned healrate of ships and special buildings
for now,
assuming that there are supplies on ships (but not in rams).
Add garrisoned healrate tooltips in the following commit.
This was SVN commit r18528.
2016-07-19 13:17:02 +00:00
mimo
9132fd4406
petra: try to improve detection of inaccessible targets
...
This was SVN commit r18526.
2016-07-17 18:28:20 +00:00
mimo
df55f73894
ai: remove a useless argument
...
This was SVN commit r18525.
2016-07-17 17:10:01 +00:00
elexis
ea3492a9a5
Fix averaging of heightmaps which broke on giant mapsizes. Thanks Sandarac for reporting.
...
This was SVN commit r18524.
2016-07-17 12:59:10 +00:00
elexis
33e3e6c2ab
Three new random map scripts by _kali showing actual geographical regions: Amazon, Mediterranean and Red Sea.
...
Includes a water and skyset fix by niektb. Partially reviewed by FeXoR.
Like last time, commits can be found at
https://github.com/0ADMods/maps_random_by_kali
This was SVN commit r18523.
2016-07-15 19:39:42 +00:00
elexis
a83f2a376b
Update the idle-worker hotkeys as they were changed in ff6b80305c. Patch by andy5995, reviewed by Itms, fixes #4089 , see also 4eea798d79.
...
This was SVN commit r18521.
2016-07-14 02:09:35 +00:00
elexis
82f1987114
Clean an out-of-scope variable usage. Patch by Stan.
...
This was SVN commit r18520.
2016-07-14 01:58:05 +00:00
elexis
1459fe0f8e
Nuke a confusing warning that is thrown everytime the host selects a map that the clients done have.
...
This was SVN commit r18519.
2016-07-13 23:09:29 +00:00
elexis
6ade29d0da
Rename DeleteMessages to DeleteWonderVictoryMessages to help distinguish it from possible other trigger script methods ( ced8ceed47).
...
This was SVN commit r18518.
2016-07-13 18:42:35 +00:00
elexis
df18564038
Merge duplicate big house templates. Patch by Sandarac, reviewed by mimo, fixes #4100 .
...
While at it, remove the revert of the
civbonus_hellenic_architecture.json in the hellenic house templates
(1091 Health * 1,1 = 1200 Health),
since the templates should be independent from the number of the json
file (thus restore the missing 10% bonus for hellenic houses).
Construct big houses in 50 (respectively 55) seconds instead of 60
seconds for the same reason (and using a number that is more round than
53 without increasing the buildtime).
This was SVN commit r18517.
2016-07-13 18:09:08 +00:00
mimo
224fec3954
petra: techCostMultiplier applies only to techs and not to trained units
...
This was SVN commit r18516.
2016-07-13 13:28:53 +00:00
Itms
ec1de0eac1
Small fix to the previous commit. The variable was unused and overwritten, thus hiding the issue.
...
This was SVN commit r18515.
2016-07-13 07:03:47 +00:00
Itms
ced8ceed47
Properly handle wonder victory messages after a player has won.
...
Patch by Sandarac, reviewed by elexis, fixes #4010
This was SVN commit r18514.
2016-07-13 06:51:59 +00:00
elexis
d29806ff2d
Structure tree cleanup.
...
Use Math.max/min and quote object keys for the wallpiece parsing.
This was SVN commit r18513.
2016-07-13 02:02:47 +00:00
elexis
92bf34d68d
Fix duplicate lobby rating transfer due to the report being sent for every player instead of only the local player, refs 9f796068f8, #4013 .
...
This is still a bug in XPartaMupp as that should in theory avoid
obviously invalid reports
(defeating players twice in the 'simulation' of the lobby bot).
This was SVN commit r18512.
2016-07-12 11:24:46 +00:00
elexis
4c0f12bce3
Fix autostart replays following a23884d79a by grabbing g_GameAttributes from the simulation instead of the GUI. Patch by Imarok, refs #3143 .
...
Don't remove attribs from the init attributes as that is still used by
the loading screen to show the mapname.
This was SVN commit r18510.
2016-07-12 01:49:48 +00:00
elexis
cab6a8c633
Prevent fishing ships from trying to attack entities besides fauna, refs #4092 .
...
This was SVN commit r18509.
2016-07-11 23:55:07 +00:00
elexis
c1eff53eab
Complete the previous commit to account for both rmlib2 files.
...
This was SVN commit r18508.
2016-07-11 18:01:01 +00:00
Itms
2d3a9b1a55
Use var instead of const in rmgen2 and fix a typo. Reported by FeXoR, patch by elexis
...
This was SVN commit r18507.
2016-07-11 17:40:05 +00:00
Itms
3d7c6981ca
Fix a too early return and a wrong negation in the attack component "cleanup" of a09c59e044 that broke RestrictedClasses, thus stopped violent animals from attacking. Remove an unneeded space. Slaughter two if-statements whose condition is never satisfied (due to GetAttackTypes never returning that item) introduced in 092206b12e and ef4a1e261c.
...
Patch by elexis
This was SVN commit r18506.
2016-07-11 17:25:19 +00:00
sanderd17
4eea798d79
Add descriptions for the Shift modifier. Patch by andy5995
...
This was SVN commit r18504.
2016-07-10 18:02:16 +00:00
mimo
73d62fb903
make the ai use allied dropsites when shared, fixes #4085
...
This was SVN commit r18503.
2016-07-10 17:44:48 +00:00
fatherbushido
800662ec63
Walls templates cleanup. Use relative templates for Health. Let gates inherit the long wall template instead of the defensive structure template to reduce redundancy / duplicate entries. Remove unused costs as gate is a wall upgrade. Let a non zero cost build time to gate to fix infinite repair rate, ref #3707 , #3811 .
...
This was SVN commit r18502.
2016-07-09 21:50:25 +00:00
mimo
ca76fb5053
finetune the load savedgame layout of f7ff2f2e99
...
This was SVN commit r18501.
2016-07-09 18:24:00 +00:00
fatherbushido
e38665d7a6
Use decimals instead of integers to allow relative templates for resource costs, as proposed by sanderd17, fixes #3818 . Use relative templates following 68f87cb556.
...
This was SVN commit r18500.
2016-07-08 15:33:50 +00:00
mimo
ff4e751dce
petra cleanup
...
This was SVN commit r18499.
2016-07-08 15:13:04 +00:00
elexis
84fae4baeb
Fix lineendings for all map files.
...
This was SVN commit r18498.
2016-07-08 08:42:49 +00:00
fatherbushido
c8c7dbc6a4
Fix missing actor.
...
This was SVN commit r18497.
2016-07-08 08:28:16 +00:00
fatherbushido
90f0e32f84
Mauryan wall to gate conversion costs wood instead of stone as they are made of wood.
...
This was SVN commit r18495.
2016-07-07 10:28:31 +00:00
elexis
8f0439b016
Remove one array with hardcoded resources used for icons in tooltips. Patch by s0600204, refs #3934 .
...
This was SVN commit r18494.
2016-07-07 01:32:41 +00:00
elexis
888a281552
Complete rename of 9d20881ef4.
...
This was SVN commit r18493.
2016-07-07 01:22:03 +00:00
elexis
275be69883
Fix missing this-reference in 9d20881ef4 and update gamesetup following a874b3c1c3.
...
This was SVN commit r18492.
2016-07-07 00:10:26 +00:00
mimo
20866bd9d8
petra cleanup
...
This was SVN commit r18491.
2016-07-06 18:51:43 +00:00
LordGood
db3f332aa4
Stan's Ptolemaic military colony and a few updates I forgot to commit with the seleucid blacksmith
...
This was SVN commit r18490.
2016-07-06 14:49:07 +00:00
Itms
ec2e2a84a4
Fix and improve 001c411cc2.
...
This was SVN commit r18489.
2016-07-05 20:23:12 +00:00
mimo
05195d0692
apply leaveFoundation to enemies when under ceaseFire, fixes #3667 , patch by Sandarac
...
This was SVN commit r18488.
2016-07-05 17:13:35 +00:00
elexis
4fc8dc517f
Delete command improvements and bugfixes.
...
Allow deleting of miraged foundations.
Add component method to set units undeletable. Based on patch by bb,
refs #3102 .
If the control-all-units cheat is active, delete sheep, mostly captured
buildings and undeletable units.
Merge duplicate delete checks in the GUI. Thereby take into account the
control-all-units cheat and undeletability in all places.
Disable the delete button if the entity can't be deleted.
Add a tooltip for undeletability.
Don't colorize whitespace.
Remove unneeded comments.
This was SVN commit r18487.
2016-07-05 01:17:07 +00:00
elexis
5769321038
Show selection panels of other players in case the control-all-units cheat is active.
...
This was SVN commit r18486.
2016-07-05 00:51:15 +00:00
elexis
d9fa069ee7
Fix session implementation of the splash tooltip of 22b72a362b and related cleanup.
...
Add comments to document that GetEntityState and GetTemplateDataHelper
need to use the same object structure.
Remove four unneeded conditionals that are always true from
GetTemplateDataHelper.
Inline 3 splash damage variables in the attack component.
This was SVN commit r18485.
2016-07-04 22:16:35 +00:00
elexis
de8bb7fe28
Skirmish map "Dueling Cliffs" by scythetwirler, reworked by niektb.
...
This was SVN commit r18483.
2016-07-04 02:45:27 +00:00
elexis
afa4b0cba1
Fix autocomplete in gamesetup, see 09fdf716e9. Thanks echotangoecho for reporting.
...
This was SVN commit r18482.
2016-07-03 20:53:43 +00:00
elexis
437cc13b95
Make charge attack unavailable from the simulation.
...
The order change to GetAttackTypes in a09c59e044 revealed that it was
only the GUI not triggering the buggy code.
Eliminate for-each of UnitAI calling that function.
This was SVN commit r18481.
2016-07-03 20:41:03 +00:00
elexis
0f38095dfd
Remove the outdated tooltip following 0624045e6c.
...
This was SVN commit r18480.
2016-07-03 20:40:19 +00:00
elexis
d99c5ce064
Fix typo.
...
This was SVN commit r18479.
2016-07-03 11:25:59 +00:00
mimo
bbe75c14f8
Implements the ai changes from s0600204 resource-agnostic patch, refs #3934
...
This was SVN commit r18478.
2016-07-03 10:26:34 +00:00
elexis
22b72a362b
Splash damage tooltip.
...
This was SVN commit r18477.
2016-07-03 04:08:52 +00:00
elexis
0624045e6c
Train women from houses in village phase, as that's typically the only time when they are trained.
...
This was SVN commit r18476.
2016-07-03 03:13:50 +00:00
elexis
fe8b65b708
Show the actual walk speed in the ingame tooltip. Patch by fatherbushido.
...
This was SVN commit r18475.
2016-07-03 02:25:57 +00:00
elexis
0fd2c517f5
Lobby cleanup.
...
Cache the viewed profile directly.
Remove the rating check since it is always true ("-2" used if the rating
doesn't exist).
This was SVN commit r18474.
2016-07-03 02:14:03 +00:00
elexis
02f89aad41
Fix wrong variable declaration in 8d9255eaee and merge duplicate, as reported by mimo.
...
This was SVN commit r18473.
2016-07-03 02:01:00 +00:00
elexis
2a3d380e75
Upgrade component cleanup, refs #2706 .
...
Use the cheat multiplier for upgrading and un/packing.
Remove if-statements that are always true.
Remove unused undefined "time" item from array in the selection panel.
Pass that object directly instead of copying each property explicitly.
Various indentation fixes in the selection panel code.
This was SVN commit r18472.
2016-07-03 01:50:55 +00:00
elexis
c24b6b582d
Fix tests. Patch by fatherbushido, refs #2706 .
...
Some simplifications and array functions.
Fix indentation, thanks pastebin.
This was SVN commit r18471.
2016-07-02 21:32:09 +00:00
wraitii
f468ac936b
Fix to the upgrade commit, including one by fatherbushido. Refs #2706
...
This was SVN commit r18470.
2016-07-02 16:05:56 +00:00
niektb
967a500d37
Fix Roman Siege Wall after b2f4b0f494. Patch by fatherbushido.
...
This was SVN commit r18469.
2016-07-02 08:35:31 +00:00
wraitii
b2f4b0f494
Allow entities to upgrade into other entities.
...
This new components allows giving the upgrade a cost, required
technologies, and a required time.
Implement gates using this generic component.
Fixes #2706
This was SVN commit r18467.
2016-07-01 19:43:26 +00:00
elexis
1276b98965
Argh.
...
This was SVN commit r18466.
2016-07-01 15:18:09 +00:00
elexis
a09c59e044
Attack component cleanup.
...
Use .filter(), .every() and .some() to simplify, Math.max/min instead of
if-statements, inline functions, add newlines and allow attack orders
while flying.
This was SVN commit r18465.
2016-07-01 15:05:09 +00:00
elexis
9d20881ef4
Update healer tooltips to also show up in the selection details with actual values from the simulation. Based on patch by fatherbushido, fixes #4026 .
...
Also clean up the Health component.
Rename healer to heal (as that is the actual component name).
Remove the structure tree code to replace a proper Templates.js
implementation.
This was SVN commit r18464.
2016-07-01 13:32:34 +00:00
elexis
bb69a6fb86
Tooltip cleanup.
...
Use toFixed instead of round hacks, refs #3395 .
Show one more digit in the speed tooltip.
This was SVN commit r18463.
2016-07-01 10:37:01 +00:00
elexis
e611dd6993
Remove unneeded population bonus tooltip strings. Patch by fatherbushido, refs dde2cd38be.
...
This was SVN commit r18462.
2016-07-01 10:03:14 +00:00
elexis
1e5d67b6bb
Fix missing replacement in 4d9565297d. Thanks Imarok for reporting.
...
This was SVN commit r18460.
2016-06-30 12:30:36 +00:00
elexis
b134047abe
Also add a reset-teams button for consistency, refs #3805 .
...
This was SVN commit r18459.
2016-06-30 12:03:37 +00:00
elexis
b642f0d876
Persist the the valid subset of chosen player settings when changing the skirmish map. Patch by Offensive ePeen, refs #3120 .
...
This was SVN commit r18458.
2016-06-30 10:02:32 +00:00
elexis
e6e8efec1c
Tooltip cleanup.
...
Remove duplicate arguments from the helper function to get the
template/entity data.
This was SVN commit r18457.
2016-06-30 02:12:26 +00:00
elexis
ef9eb787be
Remove wrong space from 4d9565297d.
...
This was SVN commit r18456.
2016-06-30 02:11:30 +00:00
elexis
1114afa939
Garrison tooltips by fatherbushido.
...
Show how many units can be garrisoned, the number of arrows shot by
default, per unit and limit, fixes #3816 .
Thus remove a lot of hardcoded numbers in the translated strings and
correct a wrong number for the mauryan ship, fixes #3904 .
This was SVN commit r18455.
2016-06-30 01:31:40 +00:00
elexis
4d9565297d
Tooltip overhaul.
...
Also contains a patch by fatherbushido for attackRateDetails and
getAttackTooltip to
not show something broken for buildingAI units that can capture, fixes
#4061 (see #4000 ).
Make tooltip functions uniform.
Pass template everywhere
instead of template.armour in getArmorTooltip
rate in getRepairRateTooltip and getBuildRateTooltip and
entState in attackRateDetails.
Add an early return for every tooltip function.
Use empty string instead of "Armor: (None)" for trees etc..
Don't prefix tooltip return values with "\n", but let the user of that
function add them.
Thus make tooltip concatenation much nicer (f.e. draw.js).
Use a loop instead of duplicating per damage type in damageTypesToText.
Add font functions to avoid duplicating tag code.
Merge sprintf's and inline variables.
Add few TODOs.
Fix some strings:
Use "%(specificName)s %(fontStart)s(%(genericName)s)%(fontEnd)s")
instead of "(" + foo + ")" ...
Use existing "%(percentage)s%%" instead of foo + "%" in
armorLevelToPercentageString.
Remove
duplication by calling/introducing shared functions (getEntityTooltip,
getHealthTooltip, getGatherTooltip, getVisibleEntityClassesFormatted),
unused function damageTypeDetails which was also a duplicate of
damageTypesToText,
unused function damageValues,
some warns that are equivalent to errors they attempt to cover up
(getAttackTypeLabel, getCostComponentDisplayIcon, getEntityNames,
getEntityNamesFormatted),
some unused variables,
"???" and translate("???").
Don't fix translate("Foo:") strings to avoid a lot of translation work.
This was SVN commit r18454.
2016-06-30 01:16:09 +00:00
elexis
30c7a2ef18
Remove gathering capacity from elephant archers as they are way too clumsy for that (as they would use the melee/slaughter attack too).
...
It might be unexpected in the first place to let them gather.
(However that is not really weirder than having cavalry hunt sheep.)
This was SVN commit r18453.
2016-06-29 13:35:20 +00:00
elexis
a23884d79a
Cache gameAttributes in the session. Patch by Imarok, refs #3143 , #3263 .
...
This was SVN commit r18452.
2016-06-29 01:45:20 +00:00
elexis
46cabf0fde
Add missing JSAutoRequest calls. Based on patch by echotangoecho, refs #4053 .
...
This was SVN commit r18451.
2016-06-29 00:00:44 +00:00
FeXoR
d30ee0292b
Fixes a bug in random map library placer.js function SimpleObject.place() that placed entities outside of the playable map area. Add a constant MAP_BORDER_WIDTH to remove magic numbers. Also removed some unneeded brackets in the changed files. Fixes 4012
...
This was SVN commit r18450.
2016-06-28 11:37:56 +00:00
FeXoR
0f1cef8766
Code cleanup of random map lib map.js.
...
This was SVN commit r18449.
2016-06-27 22:42:12 +00:00
wraitii
9b3ec336fe
Make non-refraction water less transparent.
...
This was SVN commit r18448.
2016-06-27 13:50:54 +00:00
wraitii
d60d7d7da6
pow is behaving in undefined ways for negative numbers and this lead to issues on nvidia and amd. Fix this and comment for future reference. Thanks to fatherbushido for the debugging help.
...
This was SVN commit r18447.
2016-06-27 11:36:10 +00:00
elexis
e782e23ff9
Fix 8da8d28102 as it didn't update the ingame summary screen and did a wrong inline. Reported by Imarok.
...
This was SVN commit r18446.
2016-06-27 11:18:56 +00:00
mimo
307ed87829
petra: fix some rare case trying to attack an ally
...
This was SVN commit r18444.
2016-06-26 18:18:29 +00:00
wraitii
ead8436b3d
Improve water rendering, partly based on a patch by aeonios, including:
...
-increase the size of the refraction and reflection texture
-blur the refraction map depending on depth
Fixes #3781
This was SVN commit r18443.
2016-06-26 16:54:58 +00:00
wraitii
a4a45e4dc4
Fix compiler warning, thanks to elexis. Refs #4056
...
This was SVN commit r18442.
2016-06-26 16:51:52 +00:00
elexis
9f796068f8
Win and defeat cleanup, fixes #4013 .
...
Add a new simulation message and chat notification for players who won.
Avoid duplicate playerstate messages in the sim and GUI by triggering
changes with a function instead of a message.
Reveal the map on defeat/win exclusively in the player component
(instead of having a silly GUI proxy and doing it also in the
EndGameManager sometimes).
Remove the skipAlliedVictory argument from the player component, since
that shouldn't contain references to the EndGameManager, refs #3970 .
Show a proper message box on win/loss and add the hint for hosts
disconnecting other players.
Do defeat/win procedure in the GUI when such a message arrives, instead
of checking onTick for playerstate changes.
Thus don't show that confirmation again on every rejoin.
Don't show a pointless message box if IsAtlasRunning.
Explain that the session.js variable is needed to avoid an
order-of-execution bug.
Select "observer" item when rejoining as a defeated player.
Remove an unneeded call to updateTopPanel.
This was SVN commit r18441.
2016-06-26 04:40:50 +00:00
elexis
8da8d28102
Savegame / summary screen / replay menu cleanup, refs #1090 .
...
Savegame / replay menu selected game information:
Show players who won the game (not only defeat).
Show translated civs instead of the civ code.
Use a translation for "%(team)s:\n%(playerDescriptions)s".
Merge nearly duplicate objects passed to formatPlayerInfo.
Merge deleteGame and deleteGameWithoutConfirmation.
Summary screen:
Construct the summary screen title in place, not in the session, nor
replay menu.
Remove g_Players from the replay metadata since all relevant
information is contained in the sim data.
Split g_GameData into gui and sim.
Access g_GameData instead of data for consistency.
Move code from XML to JS.
Don't use victory music when observers enter the summary screen (just
keep the current track like when exiting the game as a player).
Rename updateObjectPlayerPosition to initPlayerBoxPositions.
This was SVN commit r18440.
2016-06-26 03:36:55 +00:00
wraitii
898ab5229b
Change profiling calls to get a better view of what is actually slow and what is not.
...
This was SVN commit r18438.
2016-06-25 13:12:35 +00:00
FeXoR
d2e081b602
Separate getFullEntityList() - gathering all entities placed until now on a random map in a list - from getMapData(). Preparation for committing collision detection and beautifier patches. Fixes #4068
...
This was SVN commit r18437.
2016-06-25 12:00:06 +00:00
wraitii
be1b5a9fa7
Improve Profiler2 JS interface with multiple threads and frameless threads. Add a setting to the analysis graphs. Refs #4056
...
This was SVN commit r18436.
2016-06-25 10:12:04 +00:00
wraitii
c886206d96
Fix crash after opening profiler2 with GPU profiling following 3cbe96d24c. Refs #4056
...
This was SVN commit r18435.
2016-06-25 09:11:10 +00:00
mimo
98f8541581
remove a useless leftover var
...
This was SVN commit r18434.
2016-06-24 18:03:19 +00:00
elexis
d8e9642d09
Fix lineendings of all files in simulation/.
...
This was SVN commit r18433.
2016-06-24 12:39:22 +00:00
elexis
989df9cb3b
Fix lineendings of JS simulation components.
...
This was SVN commit r18432.
2016-06-24 12:23:39 +00:00
elexis
b8fbfe2d20
Survival of the fittest cleanup. Based on patch by bb, refs #3102 .
...
Show notificaiton to all players and observers.
Whitespace fixes.
let instead of var.
This was SVN commit r18430.
2016-06-23 22:37:42 +00:00
mimo
9c980173e3
petra cleanup
...
This was SVN commit r18429.
2016-06-23 18:25:27 +00:00
elexis
62f4a4f7ca
Lobby / gamesetup cleanup.
...
Translate the map "random" in the lobby.
Fix a warning in getMapDisplayName reported by echotangoecho when
hosting a lobby game and selecting the random map.
Use the right translation of that "random" map in b84b9a374a (since it's
not the maptype).
Notice mapInfoName still shouldn't be colored.
This was SVN commit r18428.
2016-06-23 14:33:28 +00:00
elexis
89fd897fd9
Buff quinquereme, especially the garrisoning of expensive catapults. Patch by causative, fixes #4065 .
...
This was SVN commit r18427.
2016-06-23 13:20:46 +00:00
wraitii
95d3612b68
Fix Profiler2 calls in UserReport.cpp, which lead to multiple Leave events being recorded without corresponding enter events. Possible fix for the linux crash of profiler2.
...
This was SVN commit r18426.
2016-06-23 10:01:31 +00:00
wraitii
490ee7387f
Fix a double to float coercion and JS errors with empty threads in Profiler2 . Refs #4056
...
This was SVN commit r18424.
2016-06-22 16:46:49 +00:00
wraitii
3cbe96d24c
Revamp Profiler2 to make it more usable.
...
Features include new graphs to compare runtime of functions and runtimes
across reports, as well as new profiling functions that only profile
spikes.
This was SVN commit r18423.
2016-06-22 13:38:05 +00:00
elexis
68bc88fb95
Savegame GUI cleanup..
...
Move duplicate reallyDeleteGame to shared file.
Inline getPlayerInfoText since it is used only once, refs #1090 .
Merge deleteGame and deleteGameWithoutConfirmation.
Use let instead of var.
This was SVN commit r18422.
2016-06-22 11:42:43 +00:00
elexis
2735494a92
Configurable batch size when training units. Patch by Sandarac, fixes #4059 .
...
This was SVN commit r18421.
2016-06-22 11:13:40 +00:00
niektb
70417715be
Enhanced autumn trees from Delenda Est. Related forum topic: https://wildfiregames.com/forum/index.php?/topic/20833-autumn-tree-content-mod/#comment-317651
...
This was SVN commit r18420.
2016-06-21 15:45:14 +00:00
elexis
0f807c643a
GUI cleanup.
...
Point out missing functionality and unused properties in the
implementation of checkboxes.
Don't specify a useless font tag for checkboxes in the templates.
This was SVN commit r18419.
2016-06-21 14:38:06 +00:00
wraitii
9e526614be
Accidentally left a change from #4056 in in 7c21a0cf8e.
...
This was SVN commit r18418.
2016-06-21 11:13:00 +00:00
wraitii
7c21a0cf8e
Header cleanup: profile.h is no longer unnecessarily included in scriptinterface.h but rather in the required .cpp files
...
This was SVN commit r18417.
2016-06-21 10:33:11 +00:00
elexis
bc40ebb97e
Improve bartering GUI responsiveness and immediately switch to the selected resource instead of waiting one turn. Refs #3194 .
...
This was SVN commit r18416.
2016-06-21 09:34:26 +00:00
elexis
4fde34c168
Revert be5f2d2bb5 since the implicit conversion throws a warning.
...
This was SVN commit r18415.
2016-06-21 00:06:14 +00:00
mimo
600f21578f
cleanup of some replay and savedgame stuff
...
This was SVN commit r18414.
2016-06-20 17:43:16 +00:00
elexis
be5f2d2bb5
Remove an unneeded String() conversion.
...
This was SVN commit r18413.
2016-06-20 16:09:57 +00:00
elexis
23a9fa1e65
Trigger script cleanup.
...
Remove tons of trailing whitespace.
Format JSdoc comments properly.
Use alphabetical sorting in array.
let instead of var.
Eliminate deprecated for-each.
This was SVN commit r18412.
2016-06-20 15:59:14 +00:00
elexis
86db6dcf12
Implement wonder victory games that are finished instantaneously after build, refs #3234 .
...
Thus don't supplement the hypothetically missing wonderduration
gameattribute with a hardcoded simulation default.
This was SVN commit r18411.
2016-06-20 15:46:21 +00:00
mimo
f7ff2f2e99
improve load game UI, fixes #1090
...
This was SVN commit r18409.
2016-06-19 21:01:25 +00:00
niektb
5bc0de7f3a
Put the newly credited persons in 24b2a2b828 in an alphabetical order
...
This was SVN commit r18408.
2016-06-19 18:13:35 +00:00
niektb
24b2a2b828
Three new fauna portraits made by Foaly
...
This was SVN commit r18407.
2016-06-19 18:08:39 +00:00
elexis
5186560466
Suppress a warning.
...
This was SVN commit r18406.
2016-06-19 14:37:38 +00:00
elexis
22f6daf612
Add missing territory to corrals (to prevent decay in connected allied territory).
...
Increase territory of the storehouse slightly to allow adjacent
buildings.
This was SVN commit r18405.
2016-06-19 14:32:42 +00:00
mimo
dbe985cd78
petra: remove some useless return
...
This was SVN commit r18404.
2016-06-18 17:34:02 +00:00
mimo
e8291130bd
petra: update list of enemy structures when diplomacy changes
...
This was SVN commit r18403.
2016-06-18 16:59:34 +00:00
elexis
932b0c1e3e
Trireme and bireme ship balancing.
...
The mauryan empire is not known to have the strongest fleet, so reduce
their ships hitpoints to the average for that model.
Redue bireme metal cost to make it an actual alternative to the trireme,
considering population cost and hitpoints.
Remove a hardoded linenumber in a comment.
This was SVN commit r18402.
2016-06-18 14:30:21 +00:00
elexis
64d14b9fc6
Fix "supersedes" indentation issue of technologies in 4c22d4631a.
...
This was SVN commit r18401.
2016-06-18 11:07:44 +00:00
elexis
b28dfb42df
Fix indentation of auras in 46ead523b8. Patch by fatherbushido, reported by leper, fixes #4062 , refs #3792 .
...
This was SVN commit r18400.
2016-06-18 10:45:33 +00:00
elexis
09fdf716e9
Session cleanup.
...
Move chat window and developer overlay to a custom file.
Use String(foo) instead of ""+foo.
Remove a pointless loop and GetGUIObjectByName call in autoCompleteNick.
Remove noisy line-comments.
This was SVN commit r18399.
2016-06-17 15:38:07 +00:00
elexis
f4b818bec4
Wonder mode cleanup.
...
Remove unused, seemingly unusable wonder duration multiplier, refs
#3234 .
Replace wonderDuration of the EndGameManager with gameTypeSettings,
since the component should be agnostic about victory condition logic.
Remove an unused cmpEndGameManager.
Inline a variable, few newlines, let intsead of var.
This was SVN commit r18398.
2016-06-17 14:24:30 +00:00
elexis
8c69309e7c
Missing semicolon, rephrase comment, refs #3216 .
...
This was SVN commit r18397.
2016-06-17 12:08:40 +00:00
elexis
f60befe098
Capture statistics summary. Patch by maveric and Imarok, fixes #3216 .
...
Also colorize the headings, use two lines per player and remove
duplication of an ugly regex hack.
This was SVN commit r18395.
2016-06-17 02:27:11 +00:00
elexis
df764c0200
Increase vision range proportionally when increasing the attack range. Patch by Imarok, fixes #3989 .
...
This was SVN commit r18394.
2016-06-17 01:11:39 +00:00
elexis
a214f83017
Trader cleanup.
...
Remove unused required goods.
Won't be used since setting the goods individually for every trader is
overkill.
This was SVN commit r18393.
2016-06-16 20:54:31 +00:00
elexis
7c9c715ddc
Tech tree cleanup.
...
Newlines.
Eliminate deprecated for each.
One or two simplifications.
This was SVN commit r18392.
2016-06-16 20:26:36 +00:00
elexis
a874b3c1c3
Colorize playernames in the kick/ban chat notification, refs #3241 .
...
This was SVN commit r18391.
2016-06-16 17:13:02 +00:00
sanderd17
450973a624
Clean up some code-style issues reported by leper
...
This was SVN commit r18390.
2016-06-16 14:51:12 +00:00
elexis
ed7924f9ca
Session GUI cleanup
...
Use arrow functions.
Inline exchangeResources which was defined in the wrong file.
Remove unused selectRequiredGoods. Related code should be removed likely
too.
Add missing translate.
This was SVN commit r18389.
2016-06-16 01:08:36 +00:00
elexis
8aea8d0849
Replace magic number with a readable string, refs #3436 .
...
This was SVN commit r18388.
2016-06-16 00:40:21 +00:00
mimo
f25921ba24
improve 2392f6fe8e as these checks are also done in Commands.js, thanks to leper
...
This was SVN commit r18387.
2016-06-15 21:20:04 +00:00
mimo
6da94fef96
petra cleanup, spotted by leper
...
This was SVN commit r18386.
2016-06-15 21:06:09 +00:00
elexis
156b360f06
Print engine version to the logfiles.
...
This was SVN commit r18385.
2016-06-15 19:26:28 +00:00
elexis
ed225e1fc4
Chat cleanup, refs #3870 .
...
Remove toggleChatWindow which duped openChat and closeChat.
Toggling the chat window with hotkeys is pointless due to the focus.
Inline setTeamChat.
Add some newlines, 2 missing semicolons and remove unneeded comments.
This was SVN commit r18384.
2016-06-15 16:54:16 +00:00
elexis
8302eeaf73
Rest of the previous commit.
...
This was SVN commit r18383.
2016-06-15 16:16:55 +00:00
elexis
0ce02441ee
Simulation cleanup
...
Use QueryPlayerIDInterface to remove duplication as suggested by leper.
Remove its duplicate GetPlayerComponent.
Add IsOwnedByHelper and IsOwnedByEntityHelper to remove duplicated ally
check functions.
Remove unused function GetPlayerFilter from 17c473f2f3 .
Remove unused variables and access to undefined ones identified using
jshint.
Rename cmpPlayerMan.
This was SVN commit r18382.
2016-06-15 16:13:08 +00:00
elexis
84d5fb2d34
Tooltip GUI engine cleanup.
...
Merge some if statements.
Fix whitespace.
Remove unneeded comments and braces.
Remove one duplicated statement out of an if-statement.
This was SVN commit r18381.
2016-06-15 15:40:05 +00:00
elexis
997ea01b2b
Fix typo in 366085e037 as reported by mimo.
...
This was SVN commit r18380.
2016-06-14 21:29:37 +00:00
elexis
a296909f91
GUI engine cleanup.
...
Merge a check.
Remove unneeded comments and braces.
Some whitespace fixes.
This was SVN commit r18379.
2016-06-14 15:06:39 +00:00
elexis
a9426a3f26
Distinguish private and public room level messages in the lobby. Patch by scythetwirler, refs #3865 .
...
This was SVN commit r18378.
2016-06-14 14:07:52 +00:00
elexis
8d9255eaee
Lobby cleanup.
...
Remove duplicate assignments in updateGameSelection.
Add function senderFont to remove duplication.
Add newlines to reduce line length and have properties of different
objects start on the same level of indentation.
Use logical OR instead of ternary in two occurances (mapTypeIdx).
This was SVN commit r18377.
2016-06-14 13:28:54 +00:00
elexis
b65594832d
Lobby cleanup.
...
Use let instead of var.
Merge redundant assignment in updateSubject.
This was SVN commit r18376.
2016-06-14 12:34:46 +00:00
elexis
fb5e738920
Lobby cleanup. Patch by scythetwirler, refs #3865 .
...
Replace an ugly workaround of ccb534259d with a proper check.
This was SVN commit r18375.
2016-06-14 12:17:37 +00:00
elexis
949f22b67d
Victory check cleanup.
...
Use let instead of var.
Add newlines and a missing semicolon.
Remove an excess semicolon.
This was SVN commit r18374.
2016-06-14 11:18:28 +00:00
elexis
62061557db
Host on arbitrary UDP ports. Patch in cooperation with Imarok, fixes #3575 .
...
This was SVN commit r18372.
2016-06-13 16:56:14 +00:00
elexis
7b655b7ea6
Implement multiplayer dialog retries, fixes #4035 , refs #3575 .
...
Cleanup:
Move all code to hide elements to switchSetupPage.
Remove nasty second argument from switchSetupPage by just hiding every
page.
To avoid another state variable, immediately set g_IsConnecting to true
by calling startConnectionStatus when trying to host.
Use .some instead of a loop.
This was SVN commit r18371.
2016-06-13 14:29:52 +00:00
elexis
320798f901
Don't select "everyone" but the previously selected chat addressee when someone connected or disconnected. Fixes #3956 .
...
This was SVN commit r18369.
2016-06-12 21:11:01 +00:00
elexis
31decd6274
Messed up variable name in 9dc66a27d8.
...
This was SVN commit r18368.
2016-06-12 15:29:43 +00:00
sanderd17
929711febb
Fix skirmish entities to use Hellenic actors after removing the Athenian duplicates.
...
This was SVN commit r18367.
2016-06-12 15:13:09 +00:00
elexis
9dc66a27d8
Pass pointer by ref.
...
This was SVN commit r18366.
2016-06-12 14:37:13 +00:00
elexis
6e2106edd8
Fix whitespace, refs #3000 .
...
This was SVN commit r18365.
2016-06-12 13:54:00 +00:00
elexis
38c7d7224a
Elephants are not expected to capture buildings.
...
This was SVN commit r18363.
2016-06-11 16:07:28 +00:00
elexis
a0960f4f89
Show the player color and name of units from other players garrisoned in allied buildings. Fixes #4052 .
...
This was SVN commit r18362.
2016-06-11 15:02:34 +00:00
elexis
d7d1d8ccb5
Implement buttons for up to 10 heroes. Patch by Clockwork-Muse, fixes #3000 .
...
This was SVN commit r18361.
2016-06-11 13:46:04 +00:00
FeXoR
759aaa2264
Fixes a bug introduced in 0bf90da597 that prevents entity placement on some rectangular maps e.g. Phoenician Levant and Corsica vs Sardinia. Also fixes a typo in the Phoenician Levant .js and .json files. Fixes #4012
...
This was SVN commit r18360.
2016-06-11 11:16:07 +00:00
elexis
ab9cef172b
Savegame cleanup.
...
Implement loading of multiplayer savegames that were created by
observers.
This was SVN commit r18359.
2016-06-11 00:30:11 +00:00
wraitii
001c411cc2
Remove a division by a fixed equal to one in NearestNavcell in the short-range pathfinder which was from profiling on VC2013/windows 7 responsible for about 10% of ComputeShortPath.
...
This was SVN commit r18358.
2016-06-10 22:57:28 +00:00
elexis
c94cd66a57
Savegame cleanup.
...
Remove the player assignments altogether (506350d6fa ) as the C++ part
already saves the playerID.
Grab the playerID directly from the game instead of passing it around
needlessly.
This was SVN commit r18357.
2016-06-10 19:04:57 +00:00
elexis
6ba90a2555
Session cleanup.
...
Move message polling code from onTick to messages.js and blend it in.
This was SVN commit r18356.
2016-06-10 13:17:47 +00:00
elexis
506350d6fa
Savegame, session and gamesetup cleanup.
...
Don't save the player assignments to savegames as
the GUIDs are outdated and the GUI data only applies to the player that
saved the game.
Remove unneeded argument from getPlayerData.
Remove invalid (ready should be status) and unneeded playerAssignment
data when selecting a map in singleplayer mode.
Show filenames of saved games in the debug log.
This was SVN commit r18355.
2016-06-10 13:03:13 +00:00
mimo
a792503cab
completes the ai adaptation to cost multipliers, fixes #4003
...
This was SVN commit r18353.
2016-06-09 19:28:54 +00:00
mimo
dd823dd572
ai cleanup
...
This was SVN commit r18352.
2016-06-09 19:25:40 +00:00
wraitii
41bc367bd1
Messed up 01603708de
...
This was SVN commit r18350.
2016-06-09 17:45:50 +00:00
wraitii
01603708de
Reuse vectors in the short-range pathfinder, making SplitAAEdges much faster and reducing memory fragmentation substantially. Refs #3588
...
This was SVN commit r18349.
2016-06-09 17:38:59 +00:00
elexis
91e4ac58e3
Ensure in the simulation that locked teams and last man standing aren't enabled simultaneously. Suggested by leper, refs #3970 .
...
This was SVN commit r18348.
2016-06-09 15:35:12 +00:00
elexis
f92447f88b
Observer mode cleanup, refs #3168 .
...
For consistency remove grayout from unit action commands (unload all,
delete, ...) as suggested by sanderd17 some time ago.
Remove unneeded grayout from unittype specific ungarrison buttons (as
the grayout is added automatically in this case).
Allow focusing on rallypoints for observers (should be added to the
allied commands too).
Add newlines and inline some variables.
This was SVN commit r18347.
2016-06-09 15:32:41 +00:00
elexis
4bb9c80001
Continue to allow cheating and some other commands after winning the game. Refs #3168 .
...
This was SVN commit r18346.
2016-06-09 14:47:25 +00:00
elexis
fab2e9274a
Lobby cleanup. Based on patch by Imarok, refs #3575 .
...
Fix a typo and use let instead of var.
This was SVN commit r18345.
2016-06-09 13:59:40 +00:00
wraitii
d1cc3dcb80
Re-use the same vector for the range manager spatial subdivision queries to cut down on allocations and memory fragmentation. Refs #4045
...
This was SVN commit r18344.
2016-06-08 17:06:58 +00:00
elexis
2165250316
Clarify translated string, as reported on transifex.
...
This was SVN commit r18343.
2016-06-08 11:12:10 +00:00
elexis
cd3c52c53f
Last Man Standing mode. Based on patch by Sandarac, fixes #3970 .
...
Also fix a simulation bug (check for allied victory on game start).
The mode is not a victory condition as it applies to all victoriy
conditions.
This was SVN commit r18342.
2016-06-08 11:03:16 +00:00
elexis
70e6be5196
GUI engine cleanup.
...
Remove unneeded parenthesis and few whitespace changes.
This was SVN commit r18341.
2016-06-07 15:57:33 +00:00
sanderd17
ffd1639f05
Implement damage variants with an example for the Iberian fire ship. Fixes #3983
...
This was SVN commit r18340.
2016-06-07 13:21:32 +00:00
elexis
a7b310f3bd
GUI engine cleanup.
...
Fix typos, remove unneeded comments.
This was SVN commit r18339.
2016-06-07 12:02:33 +00:00
mimo
29a069b6fb
petra cleanup
...
This was SVN commit r18337.
2016-06-05 20:52:21 +00:00
Itms
260f925ad9
Some fixes and improvements suggested by leper
...
This was SVN commit r18336.
2016-06-05 20:48:22 +00:00
LordGood
ee8061d867
fixed market actor and seleucid spec texture
...
This was SVN commit r18335.
2016-06-05 15:31:48 +00:00
mimo
d3ffa91fa9
petra cleanup
...
This was SVN commit r18334.
2016-06-05 14:44:17 +00:00
mimo
e260fab9a0
petra: first part of adaptation to cost multipliers, ref #4003
...
This was SVN commit r18333.
2016-06-05 14:39:37 +00:00
sanderd17
98f1d02d88
Fix garrison flag on new seleucid blacksmith
...
This was SVN commit r18332.
2016-06-05 08:47:22 +00:00
LordGood
f064b0566c
Seleucids blacksmith, fixed a few things with the corral and barracks too
...
This was SVN commit r18331.
2016-06-05 05:31:05 +00:00
mimo
756d23c987
petra cleanup
...
This was SVN commit r18330.
2016-06-04 17:36:14 +00:00
sanderd17
f6b9cbf280
Remove duplicate temple actors
...
This was SVN commit r18329.
2016-06-04 14:15:52 +00:00
sanderd17
29b6f8273f
Fix garrison flags of hellenistic civs + remove duplication for a number of athen vs hele actors + clean up some actors
...
This was SVN commit r18328.
2016-06-04 14:02:19 +00:00
sanderd17
279a9ed785
Move old Persian building
...
This was SVN commit r18327.
2016-06-04 13:29:08 +00:00
sanderd17
e573ea54a2
Move some old hellenistic actors to the old directory
...
This was SVN commit r18326.
2016-06-04 13:25:30 +00:00
mimo
04123e7725
some cleanup, reported by leper
...
This was SVN commit r18325.
2016-06-04 12:43:02 +00:00
sanderd17
c08bde9100
Fix garrison flags on Spartan buildings + clean up some actors
...
This was SVN commit r18323.
2016-06-04 12:18:47 +00:00
elexis
248a48d88a
Major network cleanup. Patch by Imarok.
...
Access the server from the client only, not from the GUI (except for
autostarted games).
Thereby lay the foundation for clients to setup the game (refs #3806 )
and dedicated hosting (refs #3556 ).
Doesn't transfer nor remove the SetTurnLength showcase from 0ebe3486b6 .
This was SVN commit r18322.
2016-06-04 12:08:30 +00:00
sanderd17
1871213496
Fix garrison flags on Seleucid buildings + clean up some actors
...
This was SVN commit r18321.
2016-06-04 12:06:48 +00:00
sanderd17
9a38ae6455
Fix garrison flags on Roman buildings + clean up some actors
...
This was SVN commit r18320.
2016-06-04 11:58:10 +00:00
sanderd17
c0f0f6fb53
Fix garrison flags on Ptolemaeic buildings + clean up some actors
...
This was SVN commit r18319.
2016-06-04 11:31:21 +00:00
elexis
6377670543
Simulation cleanup.
...
Fix previous commit and add missing semicolon.
This was SVN commit r18318.
2016-06-04 02:33:53 +00:00
elexis
40e8600a58
Statistics tracker cleanup.
...
Inline some variables.
Simplify domestic animal check.
Remove trailing whitespace.
This was SVN commit r18317.
2016-06-04 01:58:37 +00:00
elexis
a84b9a087c
Fix some string issues pointed out by leper.
...
This was SVN commit r18316.
2016-06-04 00:59:46 +00:00
elexis
4110fee44e
Session cleanup and bugfix.
...
Rename "hosts" following 903803ceec in session and join dialog.
Move join/leave code to new functions OnClientJoin and OnClientLeave.
This was SVN commit r18315.
2016-06-03 16:54:00 +00:00
elexis
80ea90ec4b
Summary screen cleanup.
...
Use 8b30273a50 to remove hardcoding of the available panels.
Access the summary panels by name instead of numerical index.
Move nested function to global scope.
Add newlines.
Remove unneeded comments.
Use join(" ") to construct the size property.
This was SVN commit r18314.
2016-06-03 16:22:02 +00:00
elexis
92f2a21ac5
Summary screen cleanup.
...
Thou shalt not repeat thyself when formatting numbers.
Renaming of 1-character variables by Imarok.
This was SVN commit r18313.
2016-06-03 16:17:21 +00:00
FeXoR
0bf90da597
Fixes a bug for random maps where Map.validT didn't apply the distance parameter properly on rectangular maps. Fixes #4012
...
This was SVN commit r18312.
2016-06-03 15:29:28 +00:00
sanderd17
3cf766126b
Fix garrison flags on Persian buildings + clean up some actors
...
This was SVN commit r18311.
2016-06-03 15:12:07 +00:00
sanderd17
4048c0e03c
Fix garrison flags on Mauryan buildings + clean up some actors
...
This was SVN commit r18310.
2016-06-03 14:21:07 +00:00
sanderd17
81eb22d01a
Fix garrison flags on Macedonian buildings + clean up some actors
...
This was SVN commit r18309.
2016-06-03 14:00:59 +00:00
sanderd17
03060c4307
Fix skirmish replacements
...
This was SVN commit r18308.
2016-06-03 13:49:26 +00:00
sanderd17
81512a5558
Fix garrison flags on iberian buildings + clean up some actors
...
This was SVN commit r18307.
2016-06-03 13:11:47 +00:00
sanderd17
8e2fb41f92
Rename the not-so-new celtic actors
...
This was SVN commit r18306.
2016-06-03 11:38:04 +00:00
sanderd17
80ffd7ecb6
Move old celtic actors to a separate directory
...
This was SVN commit r18305.
2016-06-03 11:26:03 +00:00
sanderd17
1a3ed203b6
Fix previous commit where SVN messed up a bit between copying and moving files
...
This was SVN commit r18304.
2016-06-03 11:04:41 +00:00
sanderd17
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
sanderd17
df622b5614
Remove magic number from credits code.
...
This was SVN commit r18301.
2016-06-03 09:37:58 +00:00
elexis
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
elexis
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
elexis
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
elexis
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
elexis
31a7181eb8
Hide the continue button from d9caf157e2 once pressed, refs #4031 .
...
This was SVN commit r18295.
2016-06-02 22:39:02 +00:00
sanderd17
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
sanderd17
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
sanderd17
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
sanderd17
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
mimo
5be948019b
ai cleanup
...
This was SVN commit r18290.
2016-06-02 18:08:14 +00:00
elexis
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
elexis
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
elexis
00c3b09008
Patch by Sandarac and bb, fixes #3859 .
...
This was SVN commit r18287.
2016-06-02 12:14:32 +00:00
elexis
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
elexis
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
elexis
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
elexis
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
sanderd17
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
mimo
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
sanderd17
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
elexis
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
elexis
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
elexis
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
mimo
3eea0df931
ai cleanup
...
This was SVN commit r18274.
2016-05-31 21:06:53 +00:00
mimo
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
elexis
246c758085
All wonders should have rallypoints. Patch by Sandarac, fixes #4002 .
...
This was SVN commit r18271.
2016-05-31 09:49:14 +00:00
elexis
2bcb5f7d18
Actually delete it, refs #4016 .
...
This was SVN commit r18270.
2016-05-31 02:16:11 +00:00
elexis
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
elexis
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
sanderd17
b18c4ac217
Code style improvements to df971c3885
...
This was SVN commit r18267.
2016-05-30 17:05:39 +00:00
sanderd17
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
sanderd17
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
mimo
92e28ba947
more petra cleanup
...
This was SVN commit r18263.
2016-05-29 18:37:02 +00:00
sanderd17
25e637dcac
Fix issue with undefined newValue while origValue is defined.
...
This was SVN commit r18262.
2016-05-29 18:10:57 +00:00
elexis
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
sanderd17
a8c05c8df3
Revert ba071f8b4e as it is unsafe for serialization
...
This was SVN commit r18260.
2016-05-29 14:51:15 +00:00
sanderd17
1a8f5f3490
Move rallypoint waypoints smoothly with moving targets
...
This was SVN commit r18259.
2016-05-29 12:49:32 +00:00
mimo
3d6c48e357
ai cleanup, mainly var -> let
...
This was SVN commit r18258.
2016-05-29 12:26:41 +00:00
mimo
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
sanderd17
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
elexis
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
sanderd17
50ba14d16d
Restructure unit_actions.js. Fixes #4007
...
This was SVN commit r18254.
2016-05-28 14:46:20 +00:00
elexis
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
elexis
6162c6388f
Show hotkeys in the tooltips of six buttons.
...
This was SVN commit r18252.
2016-05-27 23:49:14 +00:00
elexis
39bf451d49
Use relative template for 0b2f0ea042.
...
This was SVN commit r18251.
2016-05-27 23:42:34 +00:00
mimo
1b598eaccf
ai: remove some redundant get functions
...
This was SVN commit r18250.
2016-05-27 19:59:27 +00:00
elexis
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
elexis
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
elexis
06b77c1522
Update manual with some new hotkeys.
...
This was SVN commit r18247.
2016-05-27 17:01:18 +00:00
elexis
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
elexis
038e45cba8
Rotate icon, refs #3805 .
...
This was SVN commit r18244.
2016-05-27 13:22:10 +00:00
elexis
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
sanderd17
f422b67eb0
Fix issue with hidden techs after researching it
...
This was SVN commit r18242.
2016-05-27 08:37:44 +00:00
elexis
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
elexis
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
elexis
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
sanderd17
dacecd0f33
Better syntax for e84e0611b0
...
This was SVN commit r18237.
2016-05-26 20:04:20 +00:00
sanderd17
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
sanderd17
4bf0dddace
Add javelin to samnite skirmisher projectile attachpoint. Fixes #4005
...
This was SVN commit r18235.
2016-05-26 18:10:22 +00:00
mimo
0856dde011
fix a typo in 58e356babb, plus a missing semicolon
...
This was SVN commit r18234.
2016-05-26 17:58:08 +00:00
sanderd17
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
mimo
9c67cd6743
transfer the entities angles to the AIs
...
This was SVN commit r18231.
2016-05-25 19:03:41 +00:00
mimo
07007f1963
some cleanup in ai
...
This was SVN commit r18230.
2016-05-25 18:43:48 +00:00
LordGood
3d27d47d54
Seleucid corral
...
This was SVN commit r18229.
2016-05-25 12:39:16 +00:00
Itms
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
elexis
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
elexis
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
elexis
a99f314a61
Session cleanup.
...
Use let instead of var.
This was SVN commit r18225.
2016-05-24 12:06:22 +00:00
elexis
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
elexis
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
sanderd17
33f6713f94
New attempt to get the aura translations included. See 1606d40f68
...
This was SVN commit r18221.
2016-05-23 10:40:26 +00:00
mimo
6171f66d06
AI: fix serialization of template changes, fixes #3993 , refs #3858
...
This was SVN commit r18219.
2016-05-22 20:25:41 +00:00
sanderd17
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
elexis
38de20c989
Add missing init, refs #3991 .
...
This was SVN commit r18217.
2016-05-21 20:24:38 +00:00
mimo
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
mimo
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
elexis
4b5f8dfca6
Remove trailing whitespace and simplify some length checks. Refs #252 .
...
This was SVN commit r18214.
2016-05-21 16:20:27 +00:00
sanderd17
a2bd82d171
Complete phase tooltips. Patch by fatherbushido. Fixes #3451
...
This was SVN commit r18213.
2016-05-21 11:18:06 +00:00
sanderd17
1606d40f68
I18n of auras. Based on patch by fatherbushido. Fixes #3982
...
This was SVN commit r18212.
2016-05-21 09:18:05 +00:00
FeXoR
ff342619c7
Fixes a bug in random map schwarzwald.js introduced in 7471a0db63 that prevented the starting positions to be flattened.
...
This was SVN commit r18211.
2016-05-20 20:36:10 +00:00
sanderd17
a84b923380
Fix timing of previous patch
...
This was SVN commit r18210.
2016-05-20 14:05:19 +00:00
sanderd17
804fd4be61
Update 'survival of the fittest' to work with capturing (include siege engines in the attacking units) + add some randomness to the waves + make the timing a bit more challenging
...
This was SVN commit r18209.
2016-05-20 14:02:47 +00:00
elexis
7cd43ba8cf
Fix whitespace and remove duplicate comment, refs #1950 .
...
This was SVN commit r18208.
2016-05-20 12:51:27 +00:00
sanderd17
9368ffe345
Fix tech modifications calculations so we don't bump into stupid mistakes again (f.e. multiplying two positive numbers is now guaranteed to stay positive). See 7f300bbf3d and 0b8845eb4f
...
This was SVN commit r18207.
2016-05-20 11:20:51 +00:00
elexis
ec1696ded3
Send a network message to update the GUI if another player pauses a multiplayer game. Patch by echotangoecho, fixes #1950 .
...
Pause animations then and on disconnect.
Don't unpause unintentionally when closing a message box in
singleplayer.
This was SVN commit r18204.
2016-05-19 22:10:38 +00:00
elexis
856dc1c999
Network cleanup.
...
Send the "client has rejoined" message after the synchronization
finished instead of right after the loading screen.
Patch by echotangoecho, refs #1949 , #1950 .
This was SVN commit r18203.
2016-05-19 21:03:46 +00:00
elexis
6f744aef88
Simulation context cleanup, refs #3991 , #3168 .
...
Save the viewed player in the CGame class.
Add the const keyword back to the SimContext to help find mistakes at
compiletime.
This was SVN commit r18201.
2016-05-19 19:42:07 +00:00
elexis
1b3a12ea92
Also update this file following 1c5a7f6267.
...
This was SVN commit r18200.
2016-05-19 17:51:56 +00:00
sanderd17
09ceb841f3
Add some useful warnings on missing or abnormal template/technology data.
...
This was SVN commit r18199.
2016-05-19 15:12:28 +00:00
FeXoR
1c5a7f6267
Moved BUILDING_ANGlE from the maps to BUILDING_ORIENTATION in a random map lib. Made some arguments optional with the default set to that constant, renamed some arguments and moved "orientation" in placeCivDefaultEntities to kwargs. Removed unneeded comments. Fixes #3988
...
This was SVN commit r18198.
2016-05-19 14:48:21 +00:00
elexis
4921056b9e
Revert de06dc76f7 as it's broken in several ways and revealed a simulation bug. Refs #3288 .
...
This was SVN commit r18197.
2016-05-19 09:33:17 +00:00
mimo
b57a103e81
petra cleanup, mainly unneeded parentheses
...
This was SVN commit r18196.
2016-05-17 19:35:33 +00:00
mimo
329caed9dd
petra: be more inclined to help an ally attacked by several enemies
...
This was SVN commit r18195.
2016-05-17 19:31:03 +00:00
elexis
de06dc76f7
Show researchable techs of all selected entities, not only the first one. Fixes #3288 .
...
This was SVN commit r18194.
2016-05-17 19:05:18 +00:00
elexis
01d41cc8a5
Actually update the sound gain after changing the setting. Patch by dpiquet, fixes #3901 .
...
This was SVN commit r18193.
2016-05-17 16:40:36 +00:00
elexis
67cdbedb24
Fix an option comment.
...
This was SVN commit r18192.
2016-05-17 16:35:48 +00:00
elexis
b49414b03e
Gamesetup cleanup.
...
Use JSdoc comments and use rgbToGuiColor as pointed out by sanderd17.
This was SVN commit r18191.
2016-05-17 16:05:36 +00:00
sanderd17
0501ff9f59
Fix Seleucus aura
...
This was SVN commit r18190.
2016-05-17 11:44:29 +00:00
elexis
23a43cb0f6
Allow more choices for the wonder timeout, refs #3234 .
...
This was SVN commit r18189.
2016-05-16 18:32:24 +00:00
elexis
2de117618b
Fix typo in 46ead523b8. Patch by fatherbushido, refs #3792 .
...
This was SVN commit r18188.
2016-05-16 13:57:45 +00:00
elexis
c34998b85a
Show the playerselection dropdown in front of the "Follow player" observer option in case they overlap.
...
This was SVN commit r18187.
2016-05-16 13:18:26 +00:00
mimo
0b6c7ca1b0
ai: remove some unneeded parentheses
...
This was SVN commit r18186.
2016-05-16 10:48:52 +00:00
mimo
7ddfc89c18
petra: fix buildLimit when it is 0, reported by fatherbushido
...
This was SVN commit r18185.
2016-05-16 10:23:35 +00:00
elexis
f4e69b7c07
Cleanup of #3255 , fixes #3966 .
...
Don't create an empty oos_logs directory when starting the game.
Rename getDateIndexSubdirectory to createDateIndexSubdirectory.
Add a comment for the breakpoint argument of CreateDirectories.
This was SVN commit r18183.
2016-05-16 00:56:07 +00:00
elexis
24b262e4d1
Remove the trigger keyword from these maps as they either use the Tutorial AI for scripting or use a script only to place entities on load, refs #3013 .
...
This was SVN commit r18182.
2016-05-16 00:21:44 +00:00
elexis
9eccf5cd07
Use an actual playername instead of "You" in singleplayer, fixes #3979 .
...
Differentiate between SP and MP name and allow editing it in the
settings.
Defaults to the OS username.
Makes sharing singleplayer replays more effective.
Also fixes a troublesome colorization of "You" in a translated sentence,
refs #3501 .
This was SVN commit r18180.
2016-05-15 17:13:35 +00:00
elexis
6680fe82e2
Add maplist filter for maps that come with triggerscripts. Patch by fabio and Stan, refs #3013 .
...
This was SVN commit r18179.
2016-05-15 04:19:45 +00:00
elexis
4944d9b83c
GUI / messagebox cleanup.
...
Remove pointless "mode" argument from messageBox and add newlines to its
calls.
Remove unused variable codes, trailing whitespace and useless comments.
Remove redundant button init code by using a loop (forEach to avoid a
closure).
Inline many unneeded variables.
Add missing translate to gamesetup_mp.js.
Quote object keys and capitalize globals correctly.
This was SVN commit r18178.
2016-05-15 04:04:31 +00:00
elexis
b562db2f27
Update the loading screen tooltips following 60a2af2988.
...
This was SVN commit r18177.
2016-05-15 01:14:33 +00:00
elexis
f64f1c4ade
Show a hint when failed to connect to a game stating that it is likely caused by the host not forwarding the UDP port. Patch by Stan, fixes #3570 .
...
This was SVN commit r18176.
2016-05-15 00:37:58 +00:00
sanderd17
5a5f05f8d9
Remove gather penalty from some more units (the penalty is added as tech). Units discovered by fatherbushido.
...
This was SVN commit r18175.
2016-05-14 20:17:04 +00:00
mimo
6dbdaf1160
fix 58e356babb
...
This was SVN commit r18174.
2016-05-14 18:25:35 +00:00
elexis
dd26d683c6
Summary screen cleanup.
...
Few simplifications, newlines for sprintf calls.
This was SVN commit r18173.
2016-05-14 13:10:50 +00:00
mimo
58e356babb
allow trade with mirage markets, fixes #3894
...
This was SVN commit r18172.
2016-05-14 12:27:48 +00:00
elexis
866d04a22b
Fix typo.
...
This was SVN commit r18171.
2016-05-14 12:15:41 +00:00
mimo
ac525fcd2a
some cleanup in petra
...
This was SVN commit r18170.
2016-05-14 12:14:12 +00:00
elexis
f5cfda84b8
Gamesetup cleanup. Patch by Imarok, fixes #3980 .
...
Rename GUI objects to numPlayers, mapFilter and mapType for consistency.
Thus use loops to remove code duplication for hiding controls.
This was SVN commit r18169.
2016-05-14 12:07:41 +00:00
mimo
721c47a9e8
remove the hardcoded gain in petra, fixes #3943 , patch by LittleDev
...
This was SVN commit r18168.
2016-05-14 12:04:44 +00:00
mimo
0b8845eb4f
fix 7f300bbf3d
...
This was SVN commit r18167.
2016-05-13 20:14:02 +00:00
sanderd17
7f300bbf3d
Fix issue with elite units not being able to gather anything
...
This was SVN commit r18165.
2016-05-12 19:04:24 +00:00
mimo
148f485172
remove some unused var
...
This was SVN commit r18164.
2016-05-12 17:42:27 +00:00
mimo
a4cb84c8e0
ai cleanup, mainly trailing spaces
...
This was SVN commit r18163.
2016-05-12 17:38:58 +00:00
elexis
7eea4bd81a
GUI cleanup.
...
A commit against colored spaces.
Use helper function to shorten code while keeping the space apparent.
Inline username variable.
Rename playerIndex to playerID.
This was SVN commit r18162.
2016-05-12 16:08:26 +00:00
elexis
7c2ff117f3
Distinguish resign- and defeat-chatmessage. Patch by dpiquet, fixes #3501 .
...
For consistency, also colorize the "You" part in the singleplayer
variants.
This was SVN commit r18161.
2016-05-12 14:02:05 +00:00
elexis
366085e037
Savegame cleanup.
...
Simplify the error message for savegames with different mods enabled.
Remove deprecated for-each with map and for-of.
Simplify code that used conditional operator by replacing it with
logical operators.
Add linebreaks.
Quote object keys.
Early return.
Prefix global with g_.
Remove unneeded sprintf in error messages.
Capitalize comments.
This was SVN commit r18160.
2016-05-12 12:14:22 +00:00
elexis
518ad5380d
Replay menu cleanup
...
Add the version number to the incompatibility message.
Add missing translate for the comma-separation.
This was SVN commit r18159.
2016-05-12 11:48:08 +00:00
elexis
0e5815b78f
Remove trailing whitespace.
...
This was SVN commit r18158.
2016-05-12 11:27:21 +00:00
elexis
8b14bfe78b
Balance garrisoned regeneration rate as proposed by mimo and scythetwirler.
...
Reduce rate in village phase from 10 to 5.
Increase town phase addition from 2 to 7 and city phase addition from
1.5 to 9.
This was SVN commit r18157.
2016-05-11 22:32:33 +00:00
sanderd17
b0000da90e
Fix small issue discovered by fatherbushido
...
This was SVN commit r18156.
2016-05-11 09:35:52 +00:00
elexis
9414674cfc
Train naked fanatics in town phase to promote rushing, completes b5bf0c7e86.
...
This was SVN commit r18155.
2016-05-11 00:42:56 +00:00
elexis
f5dccae966
Display the carried resources when selecting a group of units. Patch by Imarok, fixes #3113 .
...
Shows the information for all selected units and for all units of a
given type.
Rename g_CostDisplayNames to g_CostDisplayIcons.
This was SVN commit r18154.
2016-05-11 00:07:38 +00:00
fabio
2a830fdb6a
Support building with mozjs 31.5 used in Ubuntu PPA.
...
Fixes #3039 .
This was SVN commit r18153.
2016-05-10 09:02:58 +00:00
elexis
2b0fa71d23
Session cleanup.
...
Use colorizePlayernameByID instead of replica.
This was SVN commit r18152.
2016-05-10 03:14:51 +00:00
elexis
71c441b092
GUI cleanup.
...
Remove a wrong translation comment.
Nuke duplicate calls.
This was SVN commit r18151.
2016-05-10 02:35:12 +00:00
LordGood
6ba0d86ab6
Seleucid market commit
...
This was SVN commit r18150.
2016-05-09 22:45:50 +00:00
elexis
7d4fb0d4d9
Limit population cost to at most 3, as suggested by scythetwirler.
...
This was SVN commit r18149.
2016-05-09 20:02:32 +00:00
elexis
18e9c4e558
Session cleanup.
...
Remove a pointless conditional operator (which had been introduced with
the other format-message functions that distinguish more strings).
Remove unneeded parenthesis and try once more to align this if-statement
properly.
This was SVN commit r18147.
2016-05-09 01:00:34 +00:00
mimo
b45e3e46f7
add non-blocking obstruction to mirages, fixes #3957 , refs #2951
...
This was SVN commit r18145.
2016-05-08 17:26:43 +00:00
elexis
883d1aaf48
Fix Windows build. Those includes in 1a3fb29ff3 didn't resolve properly on Windows, refs #3953 .
...
This was SVN commit r18143.
2016-05-08 16:25:00 +00:00
FeXoR
cf7a71965b
Removing function euclid_distance as duplication of getDistance. Fixes #3968
...
This was SVN commit r18142.
2016-05-08 15:15:43 +00:00
FeXoR
7471a0db63
Separate global heightmap manipulation functions to a library. Fixes #3764
...
This was SVN commit r18141.
2016-05-08 14:58:57 +00:00
elexis
1a3fb29ff3
Network cleanup, fixes #3953 .
...
Don't compare for "127.0.0.1" to identify the host, but check for a new
boolean flag that is set by the client, refs #2854 .
Remove an unneeded IP address conversion from u32 to string, refs #3241 .
This was SVN commit r18140.
2016-05-08 11:46:19 +00:00
sanderd17
cc3d7d58ea
Improve findIdleUnit and hasIdleUnit code. Patch by Clockwork-Muse. Fixes #3826
...
This was SVN commit r18139.
2016-05-08 09:32:16 +00:00
sanderd17
09fd6da38e
Update credits
...
This was SVN commit r18136.
2016-05-06 07:26:51 +00:00
mimo
cd4957144c
remove hardcoded inconsistencies in some templates, fixes #3954 , patch by fatherbushido
...
This was SVN commit r18134.
2016-05-05 12:12:42 +00:00
sanderd17
503cc428b4
Add team option to autostart. Patch by Jonbaer
...
This was SVN commit r18133.
2016-05-04 06:51:34 +00:00
mimo
dfad4ec7d7
fix petra typo reported by falsevision, fixes #3955
...
This was SVN commit r18132.
2016-05-03 18:49:33 +00:00
sanderd17
051ba38f36
Reduce gather speed for elite units, as in their original template.
...
This was SVN commit r18131.
2016-05-03 17:40:21 +00:00
sanderd17
77224548bf
Use references instead of copies
...
This was SVN commit r18130.
2016-05-02 19:03:19 +00:00
sanderd17
eaed715a13
Fix typo in aura tooltip
...
This was SVN commit r18129.
2016-05-02 18:02:24 +00:00
sanderd17
a2c3a8a8db
Fix typo in AuraManager
...
This was SVN commit r18128.
2016-05-02 17:32:04 +00:00
elexis
c1b5e8c8b7
Gamesetup cleanup. Ensure the existance of the AI property after selecting a map or loading the persistmatchsettings.
...
This was SVN commit r18127.
2016-05-02 17:08:22 +00:00
elexis
36d8e0bf5b
Remove unused function.
...
This was SVN commit r18126.
2016-05-02 16:53:38 +00:00
sanderd17
58569aa573
Fix some auras. Patch by fatherbushido. Fixes #3947
...
This was SVN commit r18125.
2016-05-02 16:26:27 +00:00
elexis
2378ecd35c
Swap the civilizations when swapping players in the gamesetup. Based on patch by Vladislav, fixes #3804 .
...
This was SVN commit r18124.
2016-05-02 13:42:37 +00:00
sanderd17
c3488df240
Clean up AuraManager objects while the game is running. Refs #3834
...
This was SVN commit r18123.
2016-05-02 10:31:32 +00:00
sanderd17
4ea49f374a
Disable serialization of the AI when no AI players are present. Disable serialization of cached AI templates overall. Improve serialization of repetitive vectors and templatenames. Refs #3834
...
This was SVN commit r18121.
2016-05-02 09:26:07 +00:00
Enrique
19ccdb8cf5
Updated Gaul Tavern. Thanks for Stan for the model and actors and wackyserious for the texture fix
...
This was SVN commit r18119.
2016-05-01 21:10:32 +00:00
mimo
bc19818e86
some petra cleaning
...
This was SVN commit r18118.
2016-05-01 15:03:23 +00:00
elexis
462540585b
Network cleanup.
...
Only send the network-warnings to clients that successfully joined the
gamesetup or game.
Thus save a bit performance and
prevents a rare, harmless FSM update error (like in refs #3199 ) in case
a client received the message while authenticating.
Reported by fatherbushido, refs #3264 .
This was SVN commit r18117.
2016-05-01 10:33:51 +00:00
sanderd17
3bb1058950
Allow more structures in the structure tree. Patch by s0600204. Fixes #3938
...
This was SVN commit r18116.
2016-05-01 08:42:27 +00:00
sanderd17
32d8c60239
Implement team bonuses. Patch by fatherbushido. Fixes #2445
...
This was SVN commit r18115.
2016-05-01 08:38:59 +00:00
LordGood
4471e0bf18
Colonnade for Seleucid city building
...
This was SVN commit r18114.
2016-05-01 04:35:24 +00:00
FeXoR
d8ed6d828a
Separate some random map libraries into a new directory. Fixes #3900
...
This was SVN commit r18113.
2016-04-30 14:42:10 +00:00
elexis
983ef2ed2c
Add translation context to the "Unknown" strings, allowing to chose a different translation for every occurance.
...
This was SVN commit r18112.
2016-04-30 14:01:07 +00:00
elexis
7ab5f8daf6
Allow filtering the replaylist by single/multiplayer, victorycondition and rated games. Patch by Imarok, fixes #3436 .
...
This was SVN commit r18111.
2016-04-30 13:24:28 +00:00
elexis
4cfd0d64fb
Only show the AI-difficulty button if there is an AI assigned to that playerslot. Patch by Imarok, fixes #3942 .
...
This was SVN commit r18110.
2016-04-30 12:14:08 +00:00
mimo
d420717eba
add some missing semicolon from b88f63b699
...
This was SVN commit r18109.
2016-04-29 19:56:58 +00:00
mimo
b88f63b699
Move the const from simulation/helpers/TraderGain.js into the templates (InternationalBonus and GainMultiplier)
...
Add a tech to improve the internalBonus and give an improved bonus to
cart
Patch from fatherbushido, fixes #3917
This was SVN commit r18108.
2016-04-29 18:52:44 +00:00
mimo
b780073e24
petra cleanup
...
This was SVN commit r18105.
2016-04-28 17:14:07 +00:00
elexis
c76b2a6c92
Session cleanup.
...
Remove an occurance of a hardcoded playerlimit.
This was SVN commit r18104.
2016-04-28 16:39:09 +00:00
elexis
3e177c7f84
Hide the link to the replay in the summary screen if the client rejoined, since the replay doesn't work in that case.
...
Patch by Imarok, refs #3437 .
This was SVN commit r18103.
2016-04-28 09:10:16 +00:00
sanderd17
ef3794f90a
Fix serialisationtest by serializing the territory trigger event, and sending the message only once.
...
This was SVN commit r18102.
2016-04-27 18:37:27 +00:00
sanderd17
f24523dc8f
Rename TechnologyTemplateManager to DataTemplateManager in order to reflect its new function. Fixes #3909 . Disable serialisation of technology templates. Refs #3834
...
This was SVN commit r18100.
2016-04-27 08:25:47 +00:00
LordGood
f7a618d233
Seleucid barracks edit
...
Seleucid wonder commit
This was SVN commit r18098.
2016-04-27 04:43:47 +00:00
mimo
7c6e2019e6
Petra: Prevent the AI to endlessly try building structures that none of its units can build,
...
This fixes the problem of romans not building defense towers
This was SVN commit r18097.
2016-04-26 19:14:13 +00:00
mimo
fd4d5cce64
petra: recomputes territory only when receiving some events, refs #3858
...
This was SVN commit r18096.
2016-04-26 18:26:18 +00:00
mimo
76a076e776
fix petra typos reported by falseVision, fixes #3926
...
This was SVN commit r18095.
2016-04-26 18:15:57 +00:00
sanderd17
d49f31cdcd
Display health bar for garrisoned units. Patch by Imarok. Fixes #3114
...
This was SVN commit r18094.
2016-04-25 07:24:05 +00:00
Itms
d70062c348
Cleanup of the network code (range-based for, remove spaces between angle brackets, and other little things).
...
Based on a patch by elexis, fixes #3907
This was SVN commit r18091.
2016-04-24 20:48:53 +00:00
Itms
c856bc296d
Slight improvement to the short range pathfinder. Patch by fsincos, refs #3925
...
This was SVN commit r18090.
2016-04-24 14:35:31 +00:00
sanderd17
6137fea5ed
Make order of persian buildings concistent in the panels. Patch by bb
...
This was SVN commit r18089.
2016-04-23 21:17:13 +00:00
Itms
644b3e6fa1
Improve the UI icon for the patrol button, refs #1720 .
...
This was SVN commit r18088.
2016-04-23 10:48:14 +00:00
Enrique
2f1c08de64
Greek rooftiles texture update
...
This was SVN commit r18087.
2016-04-23 09:04:22 +00:00
elexis
72421f97d8
Fix a typo (compability -> compatibility).
...
This was SVN commit r18086.
2016-04-22 22:32:20 +00:00
elexis
fca844eef6
Restore the previously selected item and filters when returning to the replay menu. Patch by Imarok, fixes #3742 .
...
Also few cleanups and translate the mapnames in the correct place.
This was SVN commit r18085.
2016-04-22 22:25:50 +00:00
Enrique
f0263086c4
Roman textures transparency fix
...
This was SVN commit r18084.
2016-04-22 16:47:56 +00:00
sanderd17
11d150ce59
Move animations for female citizens to separate variant files.
...
This was SVN commit r18083.
2016-04-22 12:51:09 +00:00
Enrique
f9a7494d3f
Roman rooftile update
...
This was SVN commit r18082.
2016-04-22 11:01:50 +00:00
sanderd17
7130e50d7f
Improve the length of the new wall models a bit (still doesn't fit perfectly)
...
This was SVN commit r18081.
2016-04-22 07:34:49 +00:00
LordGood
c226517f2f
Seleucid walls, finally
...
Placeholder normalmaps and specmaps added too
This was SVN commit r18079.
2016-04-22 06:10:01 +00:00
elexis
b120404141
Reveal AI settings in the gamesetup to all players. Based on patch by Imarok, fixes #3911 .
...
This was SVN commit r18078.
2016-04-21 20:07:39 +00:00
sanderd17
c2e42f0e55
Add capture animation to champion infantry of different civs
...
This was SVN commit r18077.
2016-04-21 09:05:13 +00:00
elexis
fa703a2613
Revert a copy&paste mistake in 46ead523b8 when auras were converted from XML to JSON. Patch by fatherbushido, refs #3792 .
...
This was SVN commit r18076.
2016-04-20 22:39:31 +00:00
elexis
b2fdfeba53
New gamesetup option enabling the host to vary the time required to win the wonder-gamemode. Patch by svott, fixes #3234 .
...
This was SVN commit r18075.
2016-04-20 21:01:58 +00:00
sanderd17
46443f92c9
Define animations for Spartan infantry in separate variant files.
...
This was SVN commit r18074.
2016-04-20 10:55:02 +00:00
sanderd17
d305371782
Define animations for Seleucid infantry in separate variant files.
...
This was SVN commit r18073.
2016-04-20 10:47:24 +00:00
sanderd17
2b3aa81c0e
Define animations for Ptolemy infantry in separate variant files.
...
This was SVN commit r18072.
2016-04-20 09:58:34 +00:00
sanderd17
9ee2f75390
Define animations for Roman infantry in separate variant files.
...
This was SVN commit r18071.
2016-04-20 09:49:54 +00:00
sanderd17
a40857556a
Define animations for Persian infantry in separate variant files.
...
This was SVN commit r18070.
2016-04-20 08:51:11 +00:00
sanderd17
532d495e6d
Define animations for Mauryan infantry in separate variant files.
...
This was SVN commit r18069.
2016-04-20 08:33:59 +00:00
sanderd17
a032d5c8b5
Define animations for Macedonian infantry in separate variant files.
...
This was SVN commit r18068.
2016-04-20 08:03:13 +00:00
sanderd17
70feece690
Define animations for Iberian infantry in separate variant files.
...
This was SVN commit r18067.
2016-04-20 07:07:05 +00:00
sanderd17
5602454fe2
Correctly support different javelin types for different javelinists
...
This was SVN commit r18066.
2016-04-20 06:51:50 +00:00
sanderd17
bdabc459b0
Define animations for Hellenistic infantry in separate variant files.
...
This was SVN commit r18065.
2016-04-20 06:21:07 +00:00
sanderd17
481f90d107
Define animations for Celtic infantry in separate variant files.
...
This was SVN commit r18064.
2016-04-19 19:09:05 +00:00
sanderd17
8311472a5c
Change include into forward declaration
...
This was SVN commit r18063.
2016-04-19 17:48:06 +00:00
sanderd17
2dea3f2ec4
Remove two more build limit tooltips. Patch by fatherbushido
...
This was SVN commit r18062.
2016-04-19 16:22:48 +00:00
sanderd17
61fcf29a9e
Define animations for Carthagian infantry in separate variant files.
...
This was SVN commit r18061.
2016-04-19 16:15:01 +00:00
elexis
04794599ed
GUI cleanup.
...
Use logical AND instead of the conditional operator.
This was SVN commit r18060.
2016-04-19 15:41:14 +00:00
sanderd17
82ad4998cc
Move attack animations definitions for the Athenian civ to variation files too.
...
This was SVN commit r18059.
2016-04-19 12:59:27 +00:00
sanderd17
4b4de5204b
Head and helmet of the Athenian hoplite must always appear together.
...
This was SVN commit r18058.
2016-04-19 12:25:48 +00:00
sanderd17
421a65ef41
Define civil tasks for infantry in separate variant files, and update the Athenian infantry to use it.
...
This was SVN commit r18057.
2016-04-19 10:10:49 +00:00
sanderd17
e81fdc3f4d
Not sure how I managed to commit the wrong contents in the variant file ...
...
This was SVN commit r18056.
2016-04-19 08:30:25 +00:00
sanderd17
1e6c12de7b
Allow variants to be defined in external files. Fixes #3286
...
This was SVN commit r18054.
2016-04-19 07:51:59 +00:00
Enrique
5d8e5edbfb
Improved farms from LordGood.
...
This was SVN commit r18053.
2016-04-18 22:46:46 +00:00
sanderd17
eb09c58b00
Remove build limit from tooltips (the limit text is generated automatically).
...
This was SVN commit r18051.
2016-04-18 13:09:00 +00:00
sanderd17
a60abaa1c8
Disable building most structures in unconnected territory. Fixes #3526
...
This was SVN commit r18049.
2016-04-18 07:00:22 +00:00
sanderd17
6dd8d77d32
The dialogs aren't unused, but used for triggers (currently at least the demo map)
...
This was SVN commit r18048.
2016-04-18 06:54:04 +00:00
Itms
de0500e274
Fix the shared dropsites unit action icon. Refs #3791
...
This was SVN commit r18047.
2016-04-17 21:00:51 +00:00
scythetwirler
07b368f064
Thanks, IDE, for proper indentation detection...
...
This was SVN commit r18046.
2016-04-17 20:29:02 +00:00
scythetwirler
27c46a0a68
Increases hack armour on buildings, since we have capturing now. Increase garrison regeneration rate for structures.
...
This was SVN commit r18045.
2016-04-17 20:18:13 +00:00
sanderd17
c25dc39b86
Distribute XP per hit. Fixes #3889
...
This was SVN commit r18044.
2016-04-17 17:52:22 +00:00
scythetwirler
c9eb2fd05c
Adds a build limit to Persian Halls.
...
This was SVN commit r18043.
2016-04-17 17:46:57 +00:00
mimo
ba56678bb3
Add market component to foundations. This is needed since 8f4dffe3f0 to be able to set
...
a market rallyPoint on a market foundation. refs #2951 "
This was SVN commit r18042.
2016-04-17 16:14:19 +00:00
sanderd17
df3c3c35b2
Cleanup cinema code. Fix some issues with resetting of times. Patch by Vladislav. Refs #3814
...
This was SVN commit r18041.
2016-04-17 15:43:29 +00:00
mimo
9c6e9f70b5
ai: fix typo from 317e2b259d
...
This was SVN commit r18039.
2016-04-16 17:52:50 +00:00
mimo
259af9effc
adapt the ai to recent changes in phase tech requirements
...
This was SVN commit r18038.
2016-04-16 13:15:41 +00:00
scythetwirler
d38adc7cd0
Makes siege less useless.
...
This was SVN commit r18037.
2016-04-15 17:37:38 +00:00
elexis
f905ee2c7e
Don't use the ternary operator as some people find that unreadable.
...
This was SVN commit r18035.
2016-04-15 06:11:38 +00:00
sanderd17
15e44a89ff
Fix structree with new 'notciv' tech requirement
...
This was SVN commit r18034.
2016-04-14 18:23:32 +00:00
sanderd17
3ddfa1695e
Fix tests
...
This was SVN commit r18033.
2016-04-14 17:25:22 +00:00
sanderd17
ec3fb36602
Fix build for gcc 4.6. Patch by Vladislav
...
This was SVN commit r18032.
2016-04-14 16:36:12 +00:00
elexis
a57bfc829e
Add a button to the summary screen to replay the game that was just played (or replayed). Patch by Imarok, fixes #3437 .
...
This was SVN commit r18031.
2016-04-14 14:45:03 +00:00
sanderd17
f4bfe7c3ad
Disallow certain civs to use certain techs (which could have become available after capturing a building of a different civ). Patch by fatherbushido. Fixes #3902
...
This was SVN commit r18030.
2016-04-14 11:33:48 +00:00
mimo
317e2b259d
AI: changes in the tech requirements (following what is done in the simulation) + some cleanup
...
This was SVN commit r18029.
2016-04-13 20:12:21 +00:00
mimo
8f4dffe3f0
add a new market component, fixes #3277
...
This was SVN commit r18028.
2016-04-13 19:56:18 +00:00
sanderd17
a69da3401f
Completely hide techs that aren't researchable by the civ of the owner + cleanup of requirements checking. Patch by fatherbushido. Fixes #3899
...
This was SVN commit r18027.
2016-04-13 09:15:16 +00:00
Itms
4e4f0dbbd8
Fixes the handling of teams in the summary screen, along with some cleanup. Patch by Imarok, fixes #3150 , #3561 .
...
This was SVN commit r18026.
2016-04-12 19:34:41 +00:00
scythetwirler
b5bf0c7e86
Nerfs champions and slows champion production speed.
...
This was SVN commit r18025.
2016-04-12 18:51:14 +00:00
scythetwirler
60a2af2988
Adds some more civ-specific structures and formerly atlas-only structures. Adds loyalty regen and epic healing auras..
...
This was SVN commit r18024.
2016-04-12 18:38:23 +00:00
mimo
e23daa11ec
AI: add a isMutualAlly function for #3526 and update the AI for e0cfcbd806
...
This was SVN commit r18023.
2016-04-12 17:37:04 +00:00
FeXoR
8aa5b1fa9e
Center lake in random map schwarzwald
...
This was SVN commit r18022.
2016-04-12 12:03:48 +00:00
sanderd17
e0cfcbd806
Enable technologies on captured buildings. Allow a negation on the civ selection in the technology json files. Patch by fatherbushido
...
This was SVN commit r18021.
2016-04-11 19:40:53 +00:00
mimo
8c870f8633
petra: remove a leftover test
...
This was SVN commit r18020.
2016-04-11 17:20:45 +00:00
elexis
f83505986e
Tune the size and angle of the valley generation of the Lion's Den map for smaller maps. Patch by _kali, fixes #3844 .
...
This was SVN commit r18019.
2016-04-11 10:43:56 +00:00
elexis
649cc82ff1
Only send a gamereport to the lobbybot for 1v1s (as only those are rated), fixes #3040 .
...
This was SVN commit r18018.
2016-04-11 09:54:06 +00:00
Itms
5ac76ecf89
Some style fixes reported by leper.
...
This was SVN commit r18016.
2016-04-10 16:57:12 +00:00
mimo
b5ff5a6969
make the force explicit such that the previous order is recorded in the workOrders
...
This was SVN commit r18015.
2016-04-10 16:41:00 +00:00
sanderd17
3183a4ea4a
Improve selection rings for animals. Patch by Palaxin. Fixes #3786
...
This was SVN commit r18014.
2016-04-10 08:31:11 +00:00
sanderd17
f8e986d057
Fix territory not being updated when diplomacy changes. Fixes #3891
...
This was SVN commit r18012.
2016-04-09 19:57:34 +00:00
Itms
8c436a8a41
Slight improvement of the flood filling algorithm in the hierarchical pathfinder.
...
Remove some useless check and a useless reverse loop, and add a flag to
prevent redundant checks.
Patch by fsincos, refs #3588
This was SVN commit r18011.
2016-04-09 19:47:09 +00:00
sanderd17
cc35f221c8
Add auras back to structure tree. Patch by bb. Fixes #3887
...
This was SVN commit r18010.
2016-04-09 16:00:42 +00:00
sanderd17
9f21806ef7
Properly round health and CP values. Patch by bb. Fixes #3855
...
This was SVN commit r18009.
2016-04-09 07:35:20 +00:00
mimo
e93c1e6bca
add diversity to corral production, fixes #3877
...
This was SVN commit r18008.
2016-04-08 20:51:24 +00:00
mimo
2392f6fe8e
lock/unlock simultaneously multiple dropsites when selected
...
This was SVN commit r18007.
2016-04-08 20:48:10 +00:00
mimo
90cb6ff6b6
petra: improve the sharing between support units and citizen soldiers
...
This was SVN commit r18006.
2016-04-08 18:31:09 +00:00
Itms
378c8bdf26
Remove references to a possibly undefined variable and improve some error messages.
...
This was SVN commit r18005.
2016-04-08 18:23:17 +00:00
mimo
fd8c181f9d
dropsites are now shared by default, but still can be locked
...
This was SVN commit r18004.
2016-04-08 18:05:45 +00:00
sanderd17
a4f10d53f2
Fix indentation due to pastebin patch losing a newline
...
This was SVN commit r18003.
2016-04-08 14:43:06 +00:00
sanderd17
59c6fd44a0
Remove stamina completely. Patch by fatherbushido
...
This was SVN commit r18002.
2016-04-08 14:36:18 +00:00
sanderd17
22bbe450e4
Move some methods out of the headers. Patch by Vladislav. Refs #3814
...
This was SVN commit r18000.
2016-04-07 17:47:30 +00:00
sanderd17
524d35ffdc
Stop defense tower techs from affecting wall tower stats
...
This was SVN commit r17999.
2016-04-07 16:57:00 +00:00
mimo
017d5cc7de
petra: fix serialization on f057eb5aba and fix placement of rotary mills
...
This was SVN commit r17998.
2016-04-07 16:55:08 +00:00
sanderd17
dd7ee8f53f
Rename StrictAlly to ExclusiveAlly, since that term was already used in the AI code.
...
This was SVN commit r17997.
2016-04-07 16:51:25 +00:00
elexis
3c40131c61
Player component cleanup.
...
Remove unneeded parenthesis.
Restore indentation.
This was SVN commit r17996.
2016-04-07 10:57:11 +00:00
sanderd17
f7099d364c
Fix typo
...
This was SVN commit r17995.
2016-04-07 08:23:06 +00:00
sanderd17
ffe2c7bbb4
Add methods to check for strickt alliance. Patch by fatherbushido
...
This was SVN commit r17994.
2016-04-07 08:12:15 +00:00
sanderd17
f8ce6819b9
Add s1lence to credits
...
This was SVN commit r17993.
2016-04-07 07:24:14 +00:00
sanderd17
6471a54c9f
Refactor GetEntityCollisions to make it clear what the function actually does since the new pathfinder
...
This was SVN commit r17992.
2016-04-06 17:36:47 +00:00
Itms
9aa829d034
Add female Greek voice and musicians credits.
...
This was SVN commit r17991.
2016-04-06 16:56:29 +00:00
sanderd17
7d9f64ca40
Set default model of cart wall tower to Idle while constructing. Fixes #3504
...
This was SVN commit r17990.
2016-04-06 12:59:23 +00:00
sanderd17
eeb07d8231
Don't show bridges on minimap, and don't let them change ownership
...
This was SVN commit r17989.
2016-04-06 11:44:05 +00:00
sanderd17
fd4e899f11
Remove useless History tags from the templates in preparation of #3212
...
This was SVN commit r17988.
2016-04-06 09:53:53 +00:00
elexis
ccf0f74970
Random-map-script cleanup.
...
Flatten 37 variables into 3 objects and give them proper names.
This was SVN commit r17987.
2016-04-05 22:32:51 +00:00
elexis
138724ce0f
Random-map-script cleanup.
...
Rename biomeID to g_BiomeID.
This was SVN commit r17986.
2016-04-05 18:49:37 +00:00
mimo
5744c2c6b0
petra: improve warning and warn only once when garrisonManager gets muddled
...
This was SVN commit r17985.
2016-04-05 18:44:15 +00:00
mimo
7029ddc2dd
fix autostart in maps with gaia in PlayerData, fixes #3880
...
This was SVN commit r17984.
2016-04-05 18:21:10 +00:00
sanderd17
8b0d24048a
First unit test for auras
...
This was SVN commit r17983.
2016-04-05 15:28:38 +00:00
sanderd17
4be96ece08
Implement stackable auras + fix an issue with techs, auras and ownership changes. Patch by fatherbushido. Fixes #3792
...
This was SVN commit r17982.
2016-04-05 14:13:44 +00:00
elexis
70a3201b23
Remove triple X comment pollution from maps.
...
This was SVN commit r17981.
2016-04-05 11:53:05 +00:00
elexis
62b7c07353
Remove unused author and version tag from ardennes forest.
...
This was SVN commit r17980.
2016-04-05 11:22:16 +00:00
scythetwirler
bfa94b87ae
Bumps up version number.
...
This was SVN commit r17978.
2016-04-04 21:20:45 +00:00
Itms
a7806675fb
This was SVN commit r17977.
2016-04-04 21:18:58 +00:00
Itms
6c3964f52a
Cleanup of SoundGroup XML files.
...
Remove some useless settings using the default values.
Remove the obsolete <Replacement> tag.
Update some documentation in the code, fix whitespace and unify line
endings.
Patch by otero, fixes #3268
This was SVN commit r17976.
2016-04-04 20:54:48 +00:00
sanderd17
2a11d3ca7b
Interpolate cinematic camera rotation + allow more points in cinematic path + add comments. Patch by Vladislav. Refs #3814
...
This was SVN commit r17975.
2016-04-04 20:31:18 +00:00
sanderd17
46ead523b8
Cleanup of the Auras code in preparation of stackable auras. Implements auras being enabled by techs. Refs #3792 . Patch by fatherbushido
...
This was SVN commit r17974.
2016-04-04 18:55:44 +00:00
mimo
d7b62e0af7
cleanup of the ai api, with removal of some old stuff
...
This was SVN commit r17973.
2016-04-04 18:12:48 +00:00
mimo
f057eb5aba
petra now uses corrals on maps with low starting resources
...
This was SVN commit r17971.
2016-04-03 09:16:14 +00:00
mimo
63fad07905
nerf a bit wall towers
...
This was SVN commit r17970.
2016-04-03 09:13:13 +00:00
mimo
1d0c0e00e5
allows destroying animals when controlAllUnits is set
...
This was SVN commit r17969.
2016-04-02 14:58:31 +00:00
mimo
8211f95978
petra cleanup
...
This was SVN commit r17968.
2016-04-02 14:49:08 +00:00
mimo
18960ddcf8
fix petra training of support units, fixes #3864
...
This was SVN commit r17967.
2016-04-02 14:23:14 +00:00
mimo
42b93c45b8
fix playerData of Forest Battle map
...
This was SVN commit r17966.
2016-04-02 14:21:20 +00:00