5aa7a232a4
Ceasefiremanager cleanup.
...
Let instead of var.
Remove unneeded comments.
Remove trailing whitespace.
This was SVN commit r17767.
2016-02-16 16:23:40 +00:00
badc75b0ad
Show wall-aura in the construction tooltip. Patch by s0600204, fixes #3766 .
...
This was SVN commit r17762.
2016-02-15 16:18:57 +00:00
ab57951198
Don't lose the player-offline hint on diplomacy change. Patch by dalerank, fixes #3677 .
...
Also remove the "disconnected" property which has apparently never been
used since its introduction in 81f5e0ac5f
.
This was SVN commit r17760.
2016-02-15 15:38:56 +00:00
5485f50948
Defeat the player if the only building owned is an athenian theatron. Patch by fatherbushido, refs #3229 .
...
This was SVN commit r17759.
2016-02-15 13:08:59 +00:00
9ec4f35959
Improve and fix some wrong observer-checks that didn't take defeated players into account. Refs #3168 , #3215 .
...
Introduce isPlayerObserver to easily cover that case.
Move some checks and updates into selectViewPlayer and eliminate
setObserverMode.
Initialize the music before changing the perspective.
This was SVN commit r17758.
2016-02-15 12:53:06 +00:00
e3bd2e3fa8
Session cleanup, some simplifications.
...
This was SVN commit r17757.
2016-02-15 11:39:02 +00:00
823fe17dd4
Entity selection cleanup.
...
Replace deprecated for-each and remove trailing whitespace.
This was SVN commit r17755.
2016-02-14 23:25:28 +00:00
cb4f8989f1
add a small vision range for aggressive/violent animals, refs #3783
...
This was SVN commit r17754.
2016-02-14 17:08:55 +00:00
ecb65cd58d
petra cleanup
...
This was SVN commit r17753.
2016-02-13 16:28:23 +00:00
2695e7c77b
Remove trailing whitespace, refs #3586 .
...
This was SVN commit r17752.
2016-02-13 11:44:46 +00:00
07133ceb8c
fix sound options not propagated to sound manager when reverting/resetting options
...
This was SVN commit r17749.
2016-02-09 19:00:10 +00:00
ac1f935bad
Split GUI updates from onSimulationUpdate.
...
This was SVN commit r17743.
2016-02-08 14:01:21 +00:00
971d70fa99
allows the user to restore the default game options, refs #3737
...
This was SVN commit r17739.
2016-02-07 15:10:44 +00:00
43f358563c
when saving an option to file, write only that value and not all the content of the user configDB, refs #3737
...
This was SVN commit r17738.
2016-02-07 11:31:23 +00:00
a2f7d4d82a
Show fog of war in observermode, fixes #3168 .
...
This was SVN commit r17735.
2016-02-06 12:56:41 +00:00
875a774da9
New random map "Island Stronghold" by _kali, reworked by niektb. Refs #3455 .
...
This was SVN commit r17734.
2016-02-06 12:30:40 +00:00
b973eebeda
Add color indicator to the playerselection in observermode, refs #3168 .
...
This was SVN commit r17733.
2016-02-06 12:19:02 +00:00
22f5b00fce
Implement network-warnings, fixes #3264 .
...
Shows a notification if the local client or other players connections
timeout or have bad latency.
This was SVN commit r17730.
2016-02-04 17:14:46 +00:00
4d41bd9622
reorganize options, adding dependences, refs #3737
...
This was SVN commit r17729.
2016-02-02 21:50:00 +00:00
6052716a78
Random-map-script cleanup.
...
Move duplicate code of the area- and object-group placing methods to
retryPlacing and two coordinate-randomization functions.
Remove three unused functions (println obsolete since 0e0ed94926
,
chooseRand and its helper argsToArray since before 34f1817869
).
Inline local calls to GetMapSize() and IsCircularMap(). Keep unused
isCircularMap for API access. Cache variables when retrying.
Map-generation can finish 2% faster.
This was SVN commit r17728.
2016-02-02 16:33:36 +00:00
fdc67768f0
Random random-map-script cleanup.
...
Simplify sortPlayers.
Use [] instead of new Array.
Remove unneeded braces.
Use JSDoc comments.
Use let instead of var.
This was SVN commit r17727.
2016-02-02 13:35:03 +00:00
b1fbc5b6bd
Add newlines, remove unneeded braces.
...
This was SVN commit r17726.
2016-02-02 11:23:01 +00:00
254f6357f6
Fix a typo (terreins -> terrains).
...
This was SVN commit r17725.
2016-02-02 10:56:39 +00:00
d8b0404281
petra: some tweaks to be able to better deal with maps like the Migration scenario
...
i.e. maps with a small starting island, no initial population and no
initial gathering food
This was SVN commit r17723.
2016-01-29 19:41:34 +00:00
30bd2baeeb
fix Migration scenario map
...
This was SVN commit r17722.
2016-01-29 18:53:09 +00:00
b65f2a338c
petra cleanup
...
This was SVN commit r17720.
2016-01-28 19:44:18 +00:00
c46e64c4d2
fix dropdown option
...
This was SVN commit r17719.
2016-01-28 18:44:50 +00:00
30d0bcd350
petra remove some useless code
...
This was SVN commit r17718.
2016-01-28 18:30:39 +00:00
75d91c6a26
petra: fix account of foundation popbonus when checking if new houses are needed
...
This was SVN commit r17717.
2016-01-27 18:30:49 +00:00
06eadf2bc4
petra cleanup + some tweaks
...
This was SVN commit r17716.
2016-01-27 18:17:55 +00:00
564941c477
fix wall buildings after f34dc412b6
, refs #3647
...
This was SVN commit r17715.
2016-01-26 19:04:29 +00:00
91ed318f0d
fix typo
...
This was SVN commit r17714.
2016-01-26 18:36:59 +00:00
08d326cef5
clone the rallypoint data from cmd, fixes #3751
...
This was SVN commit r17713.
2016-01-26 18:03:06 +00:00
090f2ccfe5
Don't modify the command object. Refs #3647 .
...
This was SVN commit r17712.
2016-01-26 17:58:15 +00:00
ab16ddb256
Show a more specific disconnect-message in case the host closed the server. Refs #3264 , #3570 .
...
This was SVN commit r17710.
2016-01-25 12:56:30 +00:00
68f87cb556
Proportionally adapt cost for civ-specific fortresses since the generic template was changed in 6b9b863747
.
...
Thanks Hannibal Barca for reporting.
This was SVN commit r17706.
2016-01-25 00:38:33 +00:00
4a58c7f8b6
petra: improve performance of docks positioning (was really slow) + some cleanup
...
This was SVN commit r17705.
2016-01-24 20:43:27 +00:00
7c6f35b2c0
Update the unit selection for observers, refs #3168 .
...
Don't disable the deselect button.
This was SVN commit r17704.
2016-01-24 12:33:34 +00:00
aa8541e8ce
2-player skirmish map "Golden Island". Created by scythetwirler and updated by niektb.
...
This was SVN commit r17697.
2016-01-23 23:02:25 +00:00
27d04d0165
Close previously opened dialogs before opening a new one. Fixes #3535 . Also remove many duplicate calls.
...
This was SVN commit r17692.
2016-01-23 03:40:31 +00:00
4fbd550cda
Correct z-ordering issue for chat panel and input form. Patch by dalerank, refs #3535 .
...
This was SVN commit r17691.
2016-01-23 03:24:00 +00:00
c97a91f7bd
Change displayed string instead of throwing errors in case of unspecified civs in replays.
...
This was SVN commit r17690.
2016-01-23 02:41:35 +00:00
dd7287c1c8
additionnal petra cleanup
...
fix a case with foundation access not defined
This was SVN commit r17688.
2016-01-22 19:46:51 +00:00
c955d74330
petra cleanup (thanks to leper's suggestion)
...
This was SVN commit r17687.
2016-01-22 18:45:28 +00:00
fdf7dabe18
check that the target can be built or repaired inside the canRepair function
...
This was SVN commit r17685.
2016-01-21 20:49:57 +00:00
edb16dafbb
petra cleanup
...
This was SVN commit r17684.
2016-01-21 20:38:56 +00:00
df7da846ad
some cleanup in ai api
...
This was SVN commit r17683.
2016-01-21 20:23:19 +00:00
cccd33e7fe
petra cleanup
...
This was SVN commit r17679.
2016-01-20 19:45:47 +00:00
87886b7b03
fix the AI for the switch to the Repairable component
...
This was SVN commit r17678.
2016-01-20 19:04:38 +00:00
dd545bdbf1
petra cleanup
...
This was SVN commit r17677.
2016-01-19 23:19:40 +00:00