Re: Neil.e clear_screen() fix

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 19 Apr 2000 13:57:54 -0400, Lucius L. Hilley III wrote:

>Fiestaclear_screen() would fail for text modes.  This fixes it
>
>procedure oldclear_screen()
>  clear_screen()
>end procedure
>
>global procedure clear_screen()
>--> Clears the screen to the color set by bg_color and moves cursor to
(0,0)
>  if mode_type then
>    text_x = 0
>    text_y = 0
>    display_image({0,0}, repeat(repeat(back_color, SCREEN_W), SCREEN_H))
>  else
>    oldclear_screen()
>  end if
>end procedure

I don't know anything about Neil.e but I see an endless loop here if
 mode_type = 0

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu