forked from 0ad/0ad
Matei
fa229121ec
- 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. |
||
---|---|---|
.. | ||
DOMEvent.cpp | ||
DOMEvent.h | ||
EventTypes.h | ||
GameEvents.h | ||
JSConversions.cpp | ||
JSConversions.h | ||
JSSerialization.h | ||
JSUtil.cpp | ||
JSUtil.h | ||
ScriptableComplex.cpp | ||
ScriptableComplex.h | ||
ScriptableComplex.inl | ||
ScriptableObject.cpp | ||
ScriptableObject.h | ||
ScriptCustomTypes.cpp | ||
ScriptCustomTypes.h | ||
ScriptGlue.cpp | ||
ScriptGlue.h | ||
ScriptingHost.cpp | ||
ScriptingHost.h | ||
SpiderMonkey.h | ||
SynchedJSObject.cpp | ||
SynchedJSObject.h |