[Ohrrpgce] SVN: teeemcee/11612 anykeypressed: check both mouse.buttons and mouse.release when looking f

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Feb 17 20:04:24 PST 2020


teeemcee
2020-02-17 20:04:24 -0800 (Mon, 17 Feb 2020)
445
anykeypressed: check both mouse.buttons and mouse.release when looking for buttons down

This change affects only two calls to anykeypressed (with trigger_level=1).

Also change the trigger_level argument to make more sense.

This ensures that waitforkeyrelease waits until mouse.release is 0.
It also means that on-keypress scripts are now triggered when a mouse release
happens, not just when mouse button down (assuming gam.mous_enabled=YES).
---
U   wip/allmodex.bas
U   wip/allmodex.bi
U   wip/scriptcommands.bas


More information about the Ohrrpgce mailing list