enable/disable moving with mouse left-click

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

enable/disable moving with mouse left-click

#1 Post by tiger_eye »

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!
Attachments
mouse_move_option.txt
(7.74 KiB) Downloaded 152 times

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: enable/disable moving with mouse left-click

#2 Post by darkgod »

Applied
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply