enable/disable moving with mouse left-click
Posted: Mon Mar 07, 2011 8:15 pm
Attached is a patch to allow an option to not move when left-clicking on the map. Default is to allow mouse movement.
Summary of behavior when disabled:
Right-click "Move to" works as it did before (in ToME).
Left-clicking on an empty tile never moves.
Left-clicking while in cheat mode does teleport to that spot.
Left-clicking on yourself does spend a turn. (do we want this behavior?)
Left-clicking on an adjacent hostile does attack.
Left-clicking on a non-adjacent hostile does not melee attack or move.
"Left click on target" still works as before.
I also removed the redundant "Smooth fog of war" option.
Cheers!
Summary of behavior when disabled:
Right-click "Move to" works as it did before (in ToME).
Left-clicking on an empty tile never moves.
Left-clicking while in cheat mode does teleport to that spot.
Left-clicking on yourself does spend a turn. (do we want this behavior?)
Left-clicking on an adjacent hostile does attack.
Left-clicking on a non-adjacent hostile does not melee attack or move.
"Left click on target" still works as before.
I also removed the redundant "Smooth fog of war" option.
Cheers!