0406f62ea0
Fix a typo, reported by t4nk004 on IRC.
...
This was SVN commit r16076.
2014-12-28 16:35:32 +00:00
92af594986
Petra: rewrite a stupidly inefficient function spotted by the traceLogger
...
This was SVN commit r16073.
2014-12-27 18:44:34 +00:00
0dd6711afa
make Petra support passability and territory maps of different resolutions, addresses #2960
...
This was SVN commit r16072.
2014-12-27 15:23:20 +00:00
2ef3c0c42e
Compute the actual percentage of map explored by the team in the summary screen.
...
Fixes #2587 .
This was SVN commit r16071.
2014-12-26 19:13:40 +00:00
dbb4b2c920
Update the Greek Acropolis (4) map description to remove the reference to the old non-skirmish map.
...
This was SVN commit r16070.
2014-12-26 18:07:10 +00:00
ec9e0dfeed
Add missing file in 286112e0aa
.
...
Refs: #2937 .
This was SVN commit r16065.
2014-12-25 14:22:15 +00:00
286112e0aa
Fixes #2937 . Thanks to Lion_Kanzen and Pureon for making icons.
...
This was SVN commit r16064.
2014-12-25 05:12:39 +00:00
b2650e08ba
Fixes obelisks for player 2 and player 3 that were inverted.
...
Patch by silure, thanks!
Fixes #2962 .
This was SVN commit r16063.
2014-12-24 15:26:45 +00:00
9684bcd360
add AI support of maps of different dimensions, see #2960
...
This was SVN commit r16062.
2014-12-23 14:17:52 +00:00
4ce667412b
Improve performance when looking for new targets.
...
Tested in combat demo huge where nearly 50% of the replay time is spent
looking for new targets, and GetPreference is called a lot as used to
sort possible targets.
Caching the preferred classes before the second loop, the replay time of
combat demo huge is reduced by about 15%. Replacing the "for each" loops
by "for of" loops gains an additionnal 7%.
This was SVN commit r16057.
2014-12-21 14:30:47 +00:00
96c45eac61
Fix missing escapes.
...
This was SVN commit r16056.
2014-12-21 02:23:17 +00:00
01e2a33486
various small improvements in petra (choice of units in start game, ram management and team warnings when new trade route available)
...
This was SVN commit r16054.
2014-12-19 17:57:24 +00:00
39f6a8d3cd
reshuffle the petra deserialization to prevent it to modify the metadata infos
...
This was SVN commit r16053.
2014-12-16 21:33:07 +00:00
a13cc54fc3
Use correct variable. Fix #2957 .
...
This was SVN commit r16052.
2014-12-16 21:05:24 +00:00
a143c847e2
small fixes for petra
...
This was SVN commit r16051.
2014-12-14 21:35:24 +00:00
9b6981465a
improve a bit the fix of 639a174388
...
This was SVN commit r16048.
2014-12-13 21:30:13 +00:00
639a174388
petra: fix choice of target when enemy resigned + some cleanings
...
This was SVN commit r16047.
2014-12-13 16:47:37 +00:00
add113a2a1
Remove duplicated layers of unescaping which required multiple escapes in some places.
...
This was SVN commit r16043.
2014-12-13 01:08:29 +00:00
a22f30c9b0
Improve AI performances thanks to traceLogger diagnostics. The gain is about 10% of AI time. The patch includes also some code cleanings.
...
This was SVN commit r16042.
2014-12-12 17:41:10 +00:00
34855896d0
fix typo in 30fb8d0f57
...
This was SVN commit r16041.
2014-12-12 07:36:34 +00:00
30fb8d0f57
ResourceGatherer cleanup.
...
s/var/let/, check if cmpPlayer != null before using it, some whitespace.
This was SVN commit r16039.
2014-12-12 01:11:06 +00:00
92ee34d76f
Properly localize tribute messages.
...
This was SVN commit r16038.
2014-12-12 01:11:04 +00:00
539046f750
Improves performance for the ResourceGatherer component
...
The tracelogger has shown one of the functions as 4.9% and one as 2.2%
before the patch. After the patch, both functions were below 0.5%. 100%
is the time for all JS code being executed during a non-visual replay,
including GC, overhead for the tracelogger and JIT code compiling.
This was SVN commit r16036.
2014-12-11 23:12:08 +00:00
e435ef2704
several optimisations on the ai, refs #2370
...
This was SVN commit r16035.
2014-12-11 20:24:33 +00:00
21ecb22432
remove some now empty functions following previous patch
...
This was SVN commit r16032.
2014-12-09 20:30:27 +00:00
bce404adf2
Fixes the translation of the map size in the rihgt sidebar of the lobby
...
Fixes #2547
This was SVN commit r16031.
2014-12-09 20:11:16 +00:00
ae7c2f9586
ai: entitycollections switch to maps, see #2370
...
This was SVN commit r16030.
2014-12-09 19:55:37 +00:00
36187ea64a
petra: allow replacing civ center in game
...
This was SVN commit r16029.
2014-12-08 18:23:27 +00:00
6a785f791a
additional fix for inefficient EC, thanks to Yves for noticing
...
This was SVN commit r16028.
2014-12-07 22:19:59 +00:00
3e09cf4797
improve petra performances, see #2370
...
This was SVN commit r16027.
2014-12-07 16:36:56 +00:00
37ae9f4ad2
fix previous tag
...
This was SVN commit r16026.
2014-12-06 16:13:13 +00:00
0facb07ca6
petra: changes in farms and tributes management
...
This was SVN commit r16025.
2014-12-06 14:48:06 +00:00
b05879e151
Move template items GetRetainInFog and AlwaysVisible from Vision to Visibility.
...
Refs #2913
This was SVN commit r16022.
2014-12-05 18:33:59 +00:00
0df90c5c2b
ai common api : use maps for entitycollection lists + cleanings
...
This was SVN commit r16019.
2014-12-03 20:22:13 +00:00
4931652263
Non-fighting ships should not be agressive by default
...
This was SVN commit r16017.
2014-12-01 20:58:46 +00:00
5403c19cf0
petra: internal functions are now serialized
...
This was SVN commit r16016.
2014-11-30 19:05:39 +00:00
c0092aaca5
petra: some cleanings + (small) timing optimizations
...
This was SVN commit r16012.
2014-11-29 18:53:17 +00:00
049312e5a2
various small tunings for petra
...
This was SVN commit r16011.
2014-11-26 22:01:40 +00:00
89cc0fd0e1
Add support to escape dots (.) by using double dots (..) for aura keys. Fixes #2945 (I think)
...
This was SVN commit r16010.
2014-11-26 19:59:08 +00:00
1430efa9d6
Properly handle auto-research promotion techs at game start.
...
This was SVN commit r16009.
2014-11-25 22:47:02 +00:00
7102f86de3
petra: avoid updating some no-more-used entitycollections
...
This was SVN commit r16008.
2014-11-25 19:00:17 +00:00
347ffabaeb
Change the way we filter out selected entities when we draw a selection box. Add a hotkey to allow selecting only idle units.
...
Patch by Rolf Sievers, fixes #2407 .
This was SVN commit r16007.
2014-11-24 16:46:05 +00:00
882c1383e1
Add wall style for Seleucids in the random map scripts. Currently, Hellenic walls are used. Fixes a bug in the Fortress random map.
...
Patch by FeXoR.
Fixes #2942 , refs #2619 .
This was SVN commit r16006.
2014-11-24 16:19:17 +00:00
04343a8407
Fix a comment written too quickly
...
This was SVN commit r16005.
2014-11-23 21:47:15 +00:00
a7cc670a2d
petra: stop (after some time) to try gathering inaccessible resources (i.e. chicken inside buildings in random maps) + some cleanings
...
This was SVN commit r16004.
2014-11-23 14:48:26 +00:00
5f9c908abb
Allow techs to modify the resources that can be dropped of at dropsite. Patch by niektb. Fixes #2629 .
...
This was SVN commit r16003.
2014-11-22 23:21:11 +00:00
87d5d37488
Some source string fixes.
...
This was SVN commit r16002.
2014-11-22 22:21:54 +00:00
d1cdf8f952
display victory conditions when selecting a map, fixes #2727
...
This was SVN commit r16000.
2014-11-21 18:30:17 +00:00
0cc9cfd40c
fix a JS error in petra
...
This was SVN commit r15999.
2014-11-21 17:46:07 +00:00
2734982657
Escape a character.
...
This was SVN commit r15998.
2014-11-20 22:19:35 +00:00