add a "turns exposed for" variable to battleUnits

and a couple of functions to access it.
add some missing notations.
break all of the saved games.
add a "turns exposed" variable to battleUnits

and a couple of functions to access it.
add some missing notations.
break all of the saved games.
start manipulating the variable

oooh, yeah, just like that.
a little to the left.

an alien spots a soldier, set him "visible" to the aliens for a number of
turns relative to the alien's intelligence.

decrement the counter at the beginning of each XCom turn, and set it to 0
if the unit dies.

if a soldier panics or goes berserk, give away his position.
psi aliens and launchers

they should revert to blaster launcher target if applicable, as there won't
be a chance for them to pick another target for it if they decide not to use
Psi. also, they pick their targets from the list of "exposed" soldiers,
not from team LOS, when calculating targets for such attacks.
expose all soldiers on turn 20

screw the rules, i have a martians!
more psionic fixes.

panicking units shouldn't stop running because they spot an enemy, they
should keep running until the enemy shoots them.

also fixed a parenthesis error.
Merge branch 'master' into AlienAI
Cheating Aliens and bugfixes.
better names for variables

and a slightly lower chance to psi attack
more likely to take cover the more units that see us
set the old unit position of the enemy.
allow for a "rethink" if no aggressive action takes place.
Psionic chance calculations.

slightly lower chance to psi attack
more likely to take cover the more units that see us
set the old unit position of the enemy.
allow for a "rethink" if no aggressive action takes place.
instant offscreen unit movement

don't animate them, don't play sounds for them, just update their position.
DO move them through their paths, calculate their LOS etc. but don't update
their sprite until their path ends for any reason or if they come onscreen.

had to add better "onscreen" detection as a direct result of this ;)
while at this, i also fixed the "camera centering" for bullet hits to
ALWAYS center during the player's turn.
fix for unit circling issue
ruleset changes

add an example item (for modders) and a special alien psi weapon.
hard code the use of THIS instead of a psi-amp
add dependency in vc2010 for release builds.

fix unit walking, fix downward directional voxel check, fix colors in
delete game menu in battlescape.
Merge branch 'AlienAI'
Rename Bases.

allow for renaming of bases.