map[5][7].
{1,1}, {metrics[WIDTH],metrics[HEIGHT]} is impassable, and should be treated as WALL.
units[unit_handle].
units sequence is units[unit_handle][unit_property]Success or Failure depends on the order given.
If a MOVE order was given, success is dependent on that unit not being blocked.
If an ATTACK order was given, success depends on the attacked unit dying.
If a WAIT order was given, it always succeeds.
The value of S_FLAG will be positive if the order succeeded, or a negative value otherwise.
NOTE: On the first turn, every S_FLAG will contain WAIT_SUCCESS.
metrics[TOTAL_UNITS].