[Ohrrpgce] SVN: james/5776 Add a pair of functions to return the current resolution
James Paige
Bob at HamsterRepublic.com
Thu Apr 11 08:31:25 PDT 2013
On Fri, Apr 12, 2013 at 03:18:15AM +1200, Ralph Versteegen wrote:
> On 12 April 2013 03:01, <subversion at hamsterrepublic.com> wrote:
> > james
> > 2013-04-11 08:01:07 -0700 (Thu, 11 Apr 2013)
> > 57
> > Add a pair of functions to return the current resolution
> > ---
> > U wip/common.bi
> > U wip/common.rbas
>
> This may escalate quickly!
I don't doubt it for a moment :)
> BTW, my intention was that the resolution would be conveyed whereever
> possible by the dimensions of the root slice. (This pair of functions
> is still useful, of course)
Yes. I made those functions for something I am working on in custom. I
was not planning on exposing plotscripting commands for them.
> Hmm... UpdateScreenSlice updates the slice of ScreenSlice, which is a
> special slice that I completely forgot that we had (it's not in the
> slice tree), but it's only used in the slice editor. It ought to
> update the root slice too, and be called from more places including
> when playing a game. Might as well call it every tick from Game's main
> loop, to support the !+R debug key.
Ooh, interesting. Yes, that does seem important.
---
James
More information about the Ohrrpgce
mailing list