<div dir="ltr"><div>This reminds me, there is one dubious use of use_touch_textboxes(). waitforkey waits for a left mouse click only if txt.showing AND use_touch_textboxes(). (Regardless of the arg to waitforkey! That's a bug.)  So this means if you enable click_textboxes then you can advance waitforkey only if a textbox is up. But probably you want to advance regardless of textboxes. So this seems rather over-complicated.</div>Maybe we should just greatly simplify and always make waitforkey(anykey) and waitforkey(usekey) accept a mouse click (any button and left button respectively)? The onkeypress script is already called for mouse clicks if initmouse was called. The only games that would be affected would be ones that call waitforkey to wait for a keyboard key while simultaneously processing mouse input using an onkeypress/timer script. Which seems highly unlikely.<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 15 July 2017 at 19:38, James Paige <span dir="ltr"><<a target="_blank" href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Normally I would have written some upgrade code to preserve the old setting when converting from a bool stored in reload as an absent/present to a 0/1 integer but in the case of this specific key, it should definitely be on for all games.<br><br></div>I did toy with the idea of deleting the key entirely, but I decided to retain the ability to turn it off, just in case somebody thinks of a solid reason to want to do that in the future.<br></div><div class="gmail-m_4787713644918937127gmail-HOEnZb"><div class="gmail-m_4787713644918937127gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 15, 2017 at 5:34 PM,  <span dir="ltr"><<a target="_blank" href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">james<br>
2017-07-15 17:34:20 -0700 (Sat, 15 Jul 2017)<br>
374<br>
Touch Textboxes is now enabled for all games. (no Android ohrrpgce games currently exist that will be broken by this change)<br>
<br>
Previously this option was handled by the presence or absence of /mobile_options/touch_textboxe<wbr>s which as we previously agreed is a terrible way of storing booleans<br>
Now it is stored in /mobile_options/touch_textboxe<wbr>s/enabled which defaults to true.<br>
---<br>
U   wip/common.rbas<br>
U   wip/customsubs.rbas<br>
U   wip/moresubs.rbas<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a target="_blank" href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a target="_blank" href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a target="_blank" href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a target="_blank" href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div></div></div>