Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: New Option Needed - "Do not recenter cursor".  (Read 368 times)

paxanadu

  • Bay Watcher
    • View Profile
New Option Needed - "Do not recenter cursor".
« on: May 07, 2010, 05:52:31 pm »

I wonder why this still is not in DF as the default setting.

Ever got tired of trying to build a room in the corner of a map, or simply that is not perfectly centered on the screen for some reason or another (--maybe you just want to be able to observe the rest of your fortress while at the same time building that room--), and then got frustrated because the cursor, instead of reappearing where you left it, re-centers itself on the screen each time.  Forcing you to rescroll it toward your work area where you are building stuff up?  Making you waste time for nothing?

What a pain that is.

Unless the cursor falls "outside" the current view, or within some arbitrary distance of the border (and easy numerical option to add in, ideally as a percentage), the cursor should always, by default, reappear .  If someone wants the cursor to ALWAYS reappear centered, well, he can always put an arbitrarily high number (say 100) as that option's value.
« Last Edit: May 07, 2010, 05:54:02 pm by paxanadu »
Logged

Felblood

  • Bay Watcher
  • No, you don't.
    • View Profile
Re: New Option Needed - "Do not recenter cursor".
« Reply #1 on: May 08, 2010, 01:10:31 am »

Cursor memory for designations would be nice, but it would need to re-center if you moved the view too much (but still allow for vertical movement, and a little bit of scrolling). If the last cursor location (ignoring z coordinates) is on the screen, it should place the cursor there, when you call up a cursor.

The cursor location won't take more than a few bytes of memory, and the checks should only increase CPU load when the game is paused.
Logged
The path through the wilderness is rarely direct. Reaching the destination is useless,
if you don't learn the lessons of the dessert.
--but you do have to keep walking.