- Fixed some crashes that could occur when you end a game with units
mouseover'ed or with the building placer active (it tries to render them
after the game world is gone).
This was SVN commit r4543.
JS and XML changes to allow entities to respond to TargetExhausted
events. (They will look around for a new target to build or gather,
depending on the type of the previous action).
This was SVN commit r4530.
- Added "Screenshot Mode" and "Fog of War" game attributes. (Screenshot
Mode causes units to be initialized to Hold stance instead of Aggress
and also forces LOS to be All Visible. Atlas turn on Screenshot Mode by
default so units don't try to kill each other in there.)
- Modified LOSManager to allow disabling fog of war.
- Removed some debug message spam.
- Enabled line antialiasing for aura rendering and fixed some bugs that
caused strange effects (color was not set properly for the center point,
and when a unit was both mouseover'ed and selected, the aura was drawn
twice).
- Modified Stand stance to allow retaliation on attacks (normally Stand
will attack any enemy in LOS, but this is useful if a neutral unit is in
LOS).
- Modified pathfinder to not take into account terrain slope, which is
an expensive calculation - we'll eventually take into account terrain
type instead.
This was SVN commit r4527.
- Added "Screenshot Mode" checkbox on game setup screen, which will set
units to Hold stance by default (normally, they'll be in aggress).
- Made the "Fog of War" checkbox actually work.
- Fixed a bug where repairing a building could cause you to reach
negative resources.
- Increased ranged unit LOS so they can pursue things that go out of
attack range.
- Made visibility permanent for Settlements.
- Removed a stray "s" in template_unit_cavalry_melee.xml.
This was SVN commit r4526.