Commit Graph

15755 Commits

Author SHA1 Message Date
2e7e1c0b2b Prevent the local client of the host from becoming disconnected in case of lag, fixes #2854.
This was SVN commit r17772.
2016-02-18 13:10:59 +00:00
f8b20d181d Add chat-addressee dropdown, refs #1767.
Add observer-only chat and allow private messages from observer to
observer.
Prevent defeated players from using the team-chat, fixes #3441.

This was SVN commit r17771.
2016-02-18 01:09:56 +00:00
365cbf5b64 Apply auras to resource costs of buildings. Fix some broken loops over a Map. Patch by fatherbushido, fixes #3769.
This was SVN commit r17770.
2016-02-17 23:27:36 +00:00
6289251b3b Improve unitMotion in the final step before reaching the target,
which decreases the proportion of units going back and forth around the
target

This was SVN commit r17769.
2016-02-17 19:00:34 +00:00
4584a81656 be less restrictive with fix for #3785
This was SVN commit r17768.
2016-02-17 18:31:01 +00:00
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
41d7e64271 prevent short pathfinder to go into impassable region, fixes #3785
This was SVN commit r17765.
2016-02-15 21:24:27 +00:00
a9376eeebb update goal before pathing when moving target refs #3472 and improve unitMotion overlay
This was SVN commit r17764.
2016-02-15 19:30:17 +00:00
c3ac6cf7fc Save target-nodes (lookAt-coordinates) for cinematic-camera paths. Patch by Vladislav, refs #3301.
This was SVN commit r17763.
2016-02-15 17:18:59 +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
5998d13442 Use date and sequential ID for replay-directorynames, fixes #3255.
Save replays in userdata (screenshots, savegames)  and create one
subdirectory for every release.

This was SVN commit r17761.
2016-02-15 15:57:23 +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
3244d91add Don't render a selection box instead of crashing due to ENSURE when elements are removed from a dropdownlist
(while the list is rendered and the last element being selected).

This was SVN commit r17751.
2016-02-12 16:38:25 +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
4ad601a301 Sorry for the surprise fix but that really hurts my eyes :p
This was SVN commit r17748.
2016-02-09 16:12:52 +00:00
cd9106b664 Fix / finish previous commit.
This was SVN commit r17747.
2016-02-09 14:34:59 +00:00
ca9d06d6ad Correct handling of replays with no turns or only turn 0.
Add a comment for 3ec3f0b160.
Some style fixes.

This was SVN commit r17746.
2016-02-09 12:09:17 +00:00
4ac89001f4 Fix compile error for gcc 4.6, refs #3168.
This was SVN commit r17745.
2016-02-08 22:44:23 +00:00
ca19d42a68 fix typos in renderer's initialization, refs #3737
This was SVN commit r17744.
2016-02-08 18:27:56 +00:00
ac1f935bad Split GUI updates from onSimulationUpdate.
This was SVN commit r17743.
2016-02-08 14:01:21 +00:00
a9de2bf397 cleanup of 971d70fa99
This was SVN commit r17741.
2016-02-07 19:06:15 +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
26f7a3df96 init configDB with renderer initial values, refs #3737
This was SVN commit r17737.
2016-02-07 11:24:09 +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