]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
menu sounds improvements:
authorterencehill <piuntn@gmail.com>
Thu, 17 Feb 2011 21:27:59 +0000 (22:27 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 17 Feb 2011 21:27:59 +0000 (22:27 +0100)
commitdf68b740220db58838206d0627720bfc43f50912
treee8d8275b8c4e832cc8001ec9384bc12243e220ef
parenta264c5e229926ed99be77f49ed5c6b4a9e256ce0
menu sounds improvements:
- play menu2 sound on mouse release rather than on mouse press, it makes more sense (particularly for sliders)
- play menu1 sound in focusEnter rather in draw, with very simple (and less expensive) code; the behaviour is the same
- play menu1 sound in focusEnter for sliders too, it's more coherent this way
qcsrc/menu/item/button.c
qcsrc/menu/item/slider.c