Changeset 819 for trunk/src/externs.h

Show
Ignore:
Timestamp:
03/26/08 12:57:49 (2 years ago)
Author:
ajps
Message:

Revised the way mouse click targetting works to fix #326 and #327 - it
should now actually be possible to target and look around using clicks.

New behaviour is that first click moves the cursor and 'looks', another
click in the place highlighted carries out the action (setting target,
launching projectile, whatever). Clicks on monsters target monsters,
otherwise the grid is targetted.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/externs.h

    r816 r819  
    570570void target_set_monster(int m_idx); 
    571571void target_set_location(int y, int x); 
    572 bool target_set_interactive(int mode); 
     572bool target_set_interactive(int mode, int x, int y); 
    573573bool get_aim_dir(int *dp); 
    574574void target_get(s16b *col, s16b *row);