19,298 Commits over 1,614 Days - 0.50cph!
Subscription/InteractionPosition tweaks, ActionChain constructor overloaded to take Behaviour
More InteractionPosition stuff
EntityViewEditor with InteractionPosition editing stuffs
5.2.0p1
Campfire prefab tweaks
Island 001 topo tweak
Added LogString Action
Added GoToDistance Action
Added AddEffect Action
Added numerous actions and considerations for basic combat
Work in progress on optimizing Alloc/Dealloc/GC-issues in DM and Unit+Senses.
Perceived/Known Units and Perceived/Known Smart Objects in Unit+Senses and DM are now optimized.
Known Smart Objects in Group+Knowledge is now optimized.
-Camera: Standard with B&W2 height adjustment plus fixes for running straight into a wall
-merged with main
-merged in new camera on main
KnownBuildings and misc touchups.
Deleting and ignoring /.vs
Surrounding Units and Surrounding SmartObjects are now moved to the new fixed array approach.
Created a FixedArray class that handles all this fixed array stuff, letting us work safely with the arrays using IEnumerable (foreach, etc).
DM decisions optimized (but not tested yet).
Agents that are Units actually store unit properly (well, semi-properly) now in DM.
Merged from GC optimization branch to main.
We no longer sort the decisions best to worst, but rather ask DM for best decision.
Fixed potential NREs in InteractionPosition
fixed bad string formatting in Group+Knowledge
Make sure we don't instanciate PerceivedSmartobjectData or PerceivedUnitData more than once per index of the FixedArrays, and only on demand. After that, we just replace the internals.
disable breeding group for DM scoring
Minor changes in FixedArray.
Starving had a list of 1 modifier, but nothing was assigned.
Misc tweaks to Unit+Senses.
-B&W2: proto implementation
string.Format fix in Unit.FindPerceivedSmartObjects
and another string.format fail
Moving perception classes to their own files
Group+Knowledge listens for smart_object.OnSmartObjectDestroyed
some container and unit item related convenience methods
OnPercievedUnitDestroyed de-linqing
Radial menu tinkering
Commented out log warnings in FixedArray that were killing the profiler
our OnEntityDestroyed delegate was the reason for the crazy GC Allocations, not poor old Raycast!
Optimized GroupBy in Stat+Tickable and Stat+Modifiable.
SmartObjectManager does the same add/remove dance as UnitManager (we should centralise to an EntityManager ptrefall?)
Refactoring PlayerController radial menu callback stuff a bit to work with new RadialButton type instead of lots of bespoke delegates
Entity destruction cleanup
Added EntityManager
Added Agent.Destroy, tweaked Unit/Agent/Group destructors
Fixed BiomeMaterialObject being added to UnitView twice
Consumable.Consume() calls SmartObject.Destroy instead of the entity base method
Unit+Senses removal code tweaks
Removed the warning for when an element in the array is null.
Cleaning up Removal a bit in FixedArray, still a little bit of fiddling left.
shouldn't set any elements in FixedArray to default(T) unless removal allows it.
Updated human assets and fixed some issues with prefab creation and updating in BeforeEditor
Some touchups to FixedArray