0ad/source/simulation2
elexis e6dafe9efc Fix a map exploration OOS on rejoin when starting with territory at the map boundaries.
6aeb5c64de forgot to add a LosIsOffWorld check in ExploreTerritories
(aka UpdateTerritoriesLos) and thus marked tiles outside of the world as
explored.
f5e60157bf transformed the bug into a non-simulation desynchronization,
causing rejoined players to see a different score,
  as they excluded off-world tiles when filling the cache in
ResetDerivedData upon rejoin.
4a0673e44e transformed the bug into an actual simulation OOS by
serializing that map exploration percentage based on that cache.

Also tiles at the map border in square maps are not rendered as
expected, so this commit hides refs #4267.

Differential Revision: https://code.wildfiregames.com/D630
Fixes #4598
Proofread by: Itms
Tested By: Imarok
This was SVN commit r19790.
2017-06-16 19:39:30 +00:00
..
components Fix a map exploration OOS on rejoin when starting with territory at the map boundaries. 2017-06-16 19:39:30 +00:00
docs Update the documentation on how to write simulation components. 2017-04-30 23:48:54 +00:00
helpers Bump year number of files changed this year in the license headers. 2017-05-01 14:28:22 +00:00
scripting New economic tutorial based on triggers, accessible from the "learn to play" button 2017-05-17 17:33:36 +00:00
serialization Remove some obsolete backref logic from the deserializer. It was introduced in earlier versions of the SpiderMonkey API. 2016-11-24 14:47:49 +00:00
system Replace hardcoded copies of a C++ simulation constant in JS used to compute the mapsize with a call to a new getter in the C++ interface. 2017-05-31 16:43:57 +00:00
tests Add a test to the component manager to show a crash in dynamic subscriptions when components unsubscribe during deletion. Reviewed by wraitii. 2017-04-17 07:55:44 +00:00
MessageTypes.h Implement shared vision at the entity level 2017-01-26 21:10:46 +00:00
Simulation2.cpp Fix all broken checks for the absent (random-mapgen+simulation) Seed property in the engine, refs #3965. 2017-06-02 15:07:58 +00:00
Simulation2.h An awesome Rejoin-test tool by wraitii and Itms, fixes #4242, refs #3460. 2016-11-15 13:26:58 +00:00
TypeList.h Implement shared vision at the entity level 2017-01-26 21:10:46 +00:00