chiark / gitweb /
The 3-D graphics in Towers need a corresponding change on the input
authorSimon Tatham <anakin@pobox.com>
Mon, 11 Jan 2010 18:41:29 +0000 (18:41 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 11 Jan 2010 18:41:29 +0000 (18:41 +0000)
commit056465cb03a9753020014529531b348e231898ba
treecd76f75218fbb9b1934c7de2901ad435426d5449
parent67d55dc5f4c6a59f974a6e68417f6bf9009af48a
The 3-D graphics in Towers need a corresponding change on the input
side: instead of locating a mouse click in whichever base grid
square contained the click location, we should check to see if a
tower protrudes on to that location from a neighbouring square. That
way, a click should reliably activate the tower that was actually
drawn under the mouse pointer.

[originally from svn r8826]
towers.c