[WF-CVS] [worldforge/cyphesis] fd173f: Record "_origin" as property on entity.

Erik Ogenvik noreply at github.com
Sat Jul 25 15:09:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/worldforge/cyphesis
  Commit: fd173f34e553ed134901f53b494438d4af811dc2
      https://github.com/worldforge/cyphesis/commit/fd173f34e553ed134901f53b494438d4af811dc2
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-12 (Sun, 12 Jul 2020)

  Changed paths:
    M data/rulesets/basic/scripts/mind/NPCMind.py
    M data/rulesets/basic/scripts/mind/goals/common/move.py
    M data/rulesets/deeds/rules/creatures/creature.xml
    M data/rulesets/deeds/rules/properties.xml
    A data/rulesets/deeds/scripts/world/traits/OriginRecording.py

  Log Message:
  -----------
  Record "_origin" as property on entity.

Otherwise it would be re-calculated each time the entity mind was recreated.


  Commit: dfc164ba69f3de420d3a86c7197e899cf70b57a4
      https://github.com/worldforge/cyphesis/commit/dfc164ba69f3de420d3a86c7197e899cf70b57a4
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M data/rulesets/deeds/rules/creatures/chicken.xml
    M data/rulesets/deeds/rules/environment/land.xml
    A data/rulesets/deeds/scripts/world/tasks/Graze.py
    A data/rulesets/deeds/scripts/world/traits/GrazeNourishing.py

  Log Message:
  -----------
  Added ability for animals to graze.


  Commit: 192da589edda1e64728c5f0926e554634f4dae5a
      https://github.com/worldforge/cyphesis/commit/192da589edda1e64728c5f0926e554634f4dae5a
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M data/rulesets/basic/scripts/mind/goals/common/common.py
    M data/rulesets/basic/scripts/mind/goals/common/misc_goal.py
    M data/rulesets/deeds/rules/creatures/chicken.xml
    M data/rulesets/deeds/rules/creatures/cow.xml
    M data/rulesets/deeds/scripts/world/tasks/Graze.py

  Log Message:
  -----------
  Added "grazing" to cow and chicken.

This allows them to graze the land.


  Commit: 045d9cc59851a302a900d26faa0764b2e993df82
      https://github.com/worldforge/cyphesis/commit/045d9cc59851a302a900d26faa0764b2e993df82
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M src/client/ClientPropertyManager.cpp
    M src/client/aiclient/CMakeLists.txt
    M src/navigation/Steering.cpp
    M src/rules/Vector3Property.cpp
    M src/rules/ai/BaseMind.cpp
    M src/rules/simulation/PropelProperty.cpp

  Log Message:
  -----------
  Stop propel when steering stops.


  Commit: a6be76740d0ba394ddbbde6df2c3527e04c7722e
      https://github.com/worldforge/cyphesis/commit/a6be76740d0ba394ddbbde6df2c3527e04c7722e
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M src/common/CMakeLists.txt
    R src/common/EntityKit.cpp
    M src/common/EntityKit.h
    M tests/CMakeLists.txt

  Log Message:
  -----------
  Removed obsolete .cpp file.


  Commit: dd51ad83069ca451ce1c5e2ef7cd87464ffcb7bc
      https://github.com/worldforge/cyphesis/commit/dd51ad83069ca451ce1c5e2ef7cd87464ffcb7bc
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    R src/common/EntityKit.h
    M src/server/ArchetypeFactory.h
    M src/server/EntityBuilder.h
    M src/server/EntityFactory.h
    A src/server/EntityKit.h
    M tests/rules/EntityKitTest.cpp
    M tests/stubs/common/stubEntityKit.h

  Log Message:
  -----------
  Moved EntityKit to "server".


  Commit: d6c1bd8c75463b1fe903cd92bc76f4762556cb84
      https://github.com/worldforge/cyphesis/commit/d6c1bd8c75463b1fe903cd92bc76f4762556cb84
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M src/rules/simulation/EntityCreator.h
    M src/server/ArchetypeFactory.cpp
    M src/server/ArchetypeFactory.h
    M src/server/EntityBuilder.cpp
    M src/server/EntityBuilder.h
    M src/server/EntityFactory.cpp
    M src/server/EntityFactory.h
    M src/server/EntityFactory_impl.h
    M src/server/EntityKit.h
    M tests/rules/EntityKitTest.cpp
    M tests/server/CorePropertyManagerTest.cpp
    M tests/server/EntityBuilderTest.cpp
    M tests/server/RulesetIntegration.cpp
    M tests/server/WorldRouterIntegration.cpp
    M tests/stubs/common/stubEntityKit.h
    M tests/stubs/server/stubArchetypeFactory.h
    M tests/stubs/server/stubEntityFactory.h

  Log Message:
  -----------
  Make EntityKit create Entity instances.

As it's used on the server only.


  Commit: 3c5653c864f8bc888c88a80270bfa680e590acbf
      https://github.com/worldforge/cyphesis/commit/3c5653c864f8bc888c88a80270bfa680e590acbf
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M tests/CMakeLists.txt
    M tests/NullEntityCreator.h
    M tests/client/ClientPropertyManagerTest.cpp
    M tests/server/CorePropertyManagerTest.cpp
    M tests/server/EntityBuilderTest.cpp
    M tests/server/EntityRuleHandlerTest.cpp
    M tests/server/RulesetTest.cpp
    M tests/server/WorldRouterTest.cpp
    R tests/stubs/common/stubEntityKit.h
    R tests/stubs/common/stubEntityKit_custom.h
    M tests/stubs/rules/simulation/stubEntityCreator.h
    M tests/stubs/server/stubArchetypeFactory.h
    M tests/stubs/server/stubEntityBuilder.h
    M tests/stubs/server/stubEntityFactory.h
    A tests/stubs/server/stubEntityKit.h
    A tests/stubs/server/stubEntityKit_custom.h

  Log Message:
  -----------
  Fixed tests.


  Commit: 69d9aa152c26fa0b26f28a07004bb814632154d2
      https://github.com/worldforge/cyphesis/commit/69d9aa152c26fa0b26f28a07004bb814632154d2
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M src/common/Inheritance.h
    M src/common/Property.cpp
    M src/common/Property.h
    M src/common/PropertyFactory.h
    M src/common/PropertyFactory_impl.h
    M src/common/PropertyManager.h
    M src/common/Property_impl.h
    M src/common/TypeNode.cpp
    M src/common/TypeNode.h
    M src/rules/LocatedEntity.cpp
    M src/rules/LocatedEntity.h
    M src/rules/simulation/CorePropertyManager.cpp
    M src/rules/simulation/CorePropertyManager.h
    M src/rules/simulation/GeometryProperty.cpp
    M src/rules/simulation/PhysicalDomain.h
    M src/rules/simulation/StackableDomain.cpp
    M src/server/StorageManager.h
    M tests/PropertyCoverage.h
    M tests/PropertyExerciser.h
    M tests/common/PropertyFactoryTest.cpp
    M tests/common/PropertyTest.cpp
    M tests/server/EntityBuilderTest.cpp
    M tests/server/StorageManagerTest.cpp
    M tests/stubs/common/stubProperty.h
    M tests/stubs/common/stubProperty_custom.h

  Log Message:
  -----------
  Initial work on making properties templated to entities.

The idea is to provide props which are templated to either LocatedEntity or Entity
depending on their usage.


  Commit: 72898e8ed7ee154616188756e1323b90259af316
      https://github.com/worldforge/cyphesis/commit/72898e8ed7ee154616188756e1323b90259af316
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M src/rules/LocatedEntity.cpp

  Log Message:
  -----------
  Don't ignore properties not handled by Location.

Though we should really refactor how Location handles data, and
how Entity and MemEntity performs "merge".


  Commit: 977e8326f0752b297e03367cd39b6ff0de1768a8
      https://github.com/worldforge/cyphesis/commit/977e8326f0752b297e03367cd39b6ff0de1768a8
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M data/rulesets/basic/scripts/mind/goals/common/misc_goal.py
    M data/rulesets/deeds/scripts/world/tasks/Graze.py

  Log Message:
  -----------
  Remove extra logging.


  Commit: f2bf5876dbbbcc86d31ef55b5f502dc7cda40f91
      https://github.com/worldforge/cyphesis/commit/f2bf5876dbbbcc86d31ef55b5f502dc7cda40f91
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M data/rulesets/deeds/rules/creatures/deer.xml
    M data/rulesets/deeds/rules/creatures/donkey.xml
    M data/rulesets/deeds/rules/creatures/duck.xml
    M data/rulesets/deeds/rules/creatures/rabbit.xml

  Log Message:
  -----------
  Made more creatures grazing.


  Commit: 3e911e3f426b869d0c91c71086a62649ec6ab860
      https://github.com/worldforge/cyphesis/commit/3e911e3f426b869d0c91c71086a62649ec6ab860
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Only mark entities that has moved as dirty.


  Commit: e8f80b9dc39f33c36995b8b687023170b57a8dc3
      https://github.com/worldforge/cyphesis/commit/e8f80b9dc39f33c36995b8b687023170b57a8dc3
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Use "move" to optimize slightly.


  Commit: 70b50cd33f2bc362e2c796b24b38994a852cc056
      https://github.com/worldforge/cyphesis/commit/70b50cd33f2bc362e2c796b24b38994a852cc056
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Only update 20 dirty entries at a time.

This is to avoid large spikes when many things change at once.


  Commit: 53aa4485ccfa87d58cd762abc285c2a503018dc1
      https://github.com/worldforge/cyphesis/commit/53aa4485ccfa87d58cd762abc285c2a503018dc1
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Use unordered_set for slightly better performance.


  Commit: a477d0df8e0016599830f53d6f18e8767b1e4017
      https://github.com/worldforge/cyphesis/commit/a477d0df8e0016599830f53d6f18e8767b1e4017
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Check appear and disappear more efficiently.

Erasing and adding entries from sets is more expensive than doing
a sorted iteration comparison.


  Commit: 8059e8a8e17c4257f68a8cd085947a24f5734bc8
      https://github.com/worldforge/cyphesis/commit/8059e8a8e17c4257f68a8cd085947a24f5734bc8
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Use vectors instead of sets.

It's more efficient for our use cases.


  Commit: 560070b6821e8a1dca8ca77d4cb0cf23fbc08914
      https://github.com/worldforge/cyphesis/commit/560070b6821e8a1dca8ca77d4cb0cf23fbc08914
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/client/cyclient/client.cpp
    M src/common/Property_impl.h

  Log Message:
  -----------
  Make sure PropertyCore is defined.


  Commit: be08ad07f81e5e050a53b46923126859d3bba92a
      https://github.com/worldforge/cyphesis/commit/be08ad07f81e5e050a53b46923126859d3bba92a
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Don't use std::set when processing entities.


  Commit: f4b1d53e7a0ab7612cfefd709252baa37ca5a6bb
      https://github.com/worldforge/cyphesis/commit/f4b1d53e7a0ab7612cfefd709252baa37ca5a6bb
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Optimize processing of moving entities.


  Commit: 0f5d7034a296a92ca5da82875aefa508afb4f574
      https://github.com/worldforge/cyphesis/commit/0f5d7034a296a92ca5da82875aefa508afb4f574
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Generalize the function processing changes to the sets through sorted vectors.


  Commit: c4b8608eb855c276c5d5cc42445b9aedab9e7553
      https://github.com/worldforge/cyphesis/commit/c4b8608eb855c276c5d5cc42445b9aedab9e7553
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Use const for tick size.


  Commit: bc753a9fb45a7bf266bf808d7be32d3b59e16f10
      https://github.com/worldforge/cyphesis/commit/bc753a9fb45a7bf266bf808d7be32d3b59e16f10
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Allow two projectiles to hit each other.


  Commit: 88c1c5088f5fdb10332801a002923d5ef1b44934
      https://github.com/worldforge/cyphesis/commit/88c1c5088f5fdb10332801a002923d5ef1b44934
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Use vector instead of map for projectiles.

For speed. This might have the effect that a projectile could hit multiple targets. Which perhaps isn't incorrect.


  Commit: fa8fa3e67cebd22628cbb5cf69dea7267776668f
      https://github.com/worldforge/cyphesis/commit/fa8fa3e67cebd22628cbb5cf69dea7267776668f
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Comments and clarifications.


  Commit: b2ee7df6406d1082b464e822f064215ac4e0b54b
      https://github.com/worldforge/cyphesis/commit/b2ee7df6406d1082b464e822f064215ac4e0b54b
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h
    M tests/rules/ObserverIntegrationTest.cpp
    M tests/rules/RulesIntegrationTest.cpp
    M tests/rules/ThingIntegration.cpp

  Log Message:
  -----------
  Be more efficient when doing visibility calculations.

Instead of going through the whole collision world we optimize
for our specific use case of only wanting to check distance between spheres.


  Commit: e6f909ea55c025adcea093c00c42667819a6f1ef
      https://github.com/worldforge/cyphesis/commit/e6f909ea55c025adcea093c00c42667819a6f1ef
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Handle visibility changes by callbacks.

This is more efficient than doing queries.


  Commit: 24e0f9b994183d4e19b3750146908ff7d971524c
      https://github.com/worldforge/cyphesis/commit/24e0f9b994183d4e19b3750146908ff7d971524c
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M tests/rules/ObserverIntegrationTest.cpp

  Log Message:
  -----------
  Added extra appear/disappear checks.


  Commit: 6f2ffaee15b147422fb84975e4dcf754468d157d
      https://github.com/worldforge/cyphesis/commit/6f2ffaee15b147422fb84975e4dcf754468d157d
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Clean up some code.


  Commit: a97b72ebbdc988707823c2e47259cf1feaf3a632
      https://github.com/worldforge/cyphesis/commit/a97b72ebbdc988707823c2e47259cf1feaf3a632
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M tests/server/PhysicalDomainIntegrationTest.cpp

  Log Message:
  -----------
  Use "less" comparison.


  Commit: 5ec04de331530312dfaffdbfac4e49d857226e1a
      https://github.com/worldforge/cyphesis/commit/5ec04de331530312dfaffdbfac4e49d857226e1a
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Optimize water handling.

Since we don't expect water bodies to move much we can optimize for that.


  Commit: 7fc892d93cc8fc055a770beb0d024659b757848a
      https://github.com/worldforge/cyphesis/commit/7fc892d93cc8fc055a770beb0d024659b757848a
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Simplify water body movement handling.

Since we don't expect water bodies to move much in game we optimize for this
by not having extra lookups in place. Instead we just brute force go through
all entities when a water body move (which we expect them pretty much never to do).

Also removed the "floats" handling. If an entity should be placed on top of a
water body it needs to be planted on it. There's work remaining to make sure that
free moving entities that naturally float can do so.


  Commit: 5c625c9ed2eccdd88a917ee262c7325f8512fba9
      https://github.com/worldforge/cyphesis/commit/5c625c9ed2eccdd88a917ee262c7325f8512fba9
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Discount water when looking for solid ground.


  Commit: 0991775bb0df7c88481da3049a81c48517d52597
      https://github.com/worldforge/cyphesis/commit/0991775bb0df7c88481da3049a81c48517d52597
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Make sure an observer always sees itself.


  Commit: 17936d73885fd38df13aec0896693693237a0d88
      https://github.com/worldforge/cyphesis/commit/17936d73885fd38df13aec0896693693237a0d88
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Measure post tick duration.


  Commit: e9b0e5e07969b5d0d136648260de09f323992237
      https://github.com/worldforge/cyphesis/commit/e9b0e5e07969b5d0d136648260de09f323992237
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/common/MainLoop.cpp

  Log Message:
  -----------
  Poll using error code.

To contain the error within the polling call.


  Commit: 2f4d7f50ae4dc0f96120e449020aa33a285122e6
      https://github.com/worldforge/cyphesis/commit/2f4d7f50ae4dc0f96120e449020aa33a285122e6
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Hide diagnostics behind debug flag.


  Commit: 5ac78de8d0e793559d9434105363954117b51321
      https://github.com/worldforge/cyphesis/commit/5ac78de8d0e793559d9434105363954117b51321
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M data/rulesets/deeds/scripts/world/traits/GrazeNourishing.py

  Log Message:
  -----------
  No need to log.


  Commit: a41e4152b7a8e0cbd1e3c55a9d11b0fe86a29311
      https://github.com/worldforge/cyphesis/commit/a41e4152b7a8e0cbd1e3c55a9d11b0fe86a29311
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h

  Log Message:
  -----------
  Define visibility better using angular resolution.


  Commit: 9e236aaf42e2539ab96d1fbca6c2387b68c0ff46
      https://github.com/worldforge/cyphesis/commit/9e236aaf42e2539ab96d1fbca6c2387b68c0ff46
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp

  Log Message:
  -----------
  Mark constants as such.


  Commit: 375a154f12e4488cfc46854d728f9b8cdc28bf1c
      https://github.com/worldforge/cyphesis/commit/375a154f12e4488cfc46854d728f9b8cdc28bf1c
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M src/rules/simulation/PhysicalDomain.cpp
    M src/rules/simulation/PhysicalDomain.h
    M tests/rules/ObserverIntegrationTest.cpp

  Log Message:
  -----------
  Use thresholds for visibility distances.

In order to make it more efficient we'll only use a certain set of visibility distances
for the visibility spheres. This prevents us from having to do visibility recalculations
every time an entity changes in size.


  Commit: 8075c19cd56a4f5d8909081abeac437353b75594
      https://github.com/worldforge/cyphesis/commit/8075c19cd56a4f5d8909081abeac437353b75594
  Author: Erik Ogenvik <erik at ogenvik.org>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M data/rulesets/deeds/scripts/world/traits/Growing.py

  Log Message:
  -----------
  Add jitter to growing entities.

So that they don't all grow at the same time, as they are wont to do since
they often are created at the same time during world creation.


Compare: https://github.com/worldforge/cyphesis/compare/be094c1a6b70...8075c19cd56a


More information about the CVS mailing list