Changes between Version 1 and Version 2 of InputRework


Ignore:
Timestamp:
11/17/10 12:09:51 (9 years ago)
Author:
takkaria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InputRework

    v1 v2  
    4242To map some across, we might need macros like NEAREST_MONSTER or DEFAULT_AMMO, e.g. 
    4343 
    44 {{ 
     44{{{ 
    4545'f' => { fire() } 
    4646'\'' => { fire(DEFAULT_AMMO, NEAREST_MONSTER) } 
    47 }} 
     47}}} 
    4848 
    4949The relevant frontend UI code should be dealing with the platform keycode -> angband keycode mapping, so the game will just get a key, find the relevant command chain, and run it.