This wiki is out of date, use the continuation of this wiki instead

Clear screen

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:09, 25 February 2008 (edit)
85.144.194.29 (Talk)
(Note about clear_screen() vs map_clear().)
← Previous diff
Current revision (18:05, 16 April 2008) (edit) (undo)
Sandman (Talk | contribs)
m (Notes)
 
(2 intermediate revisions not shown.)
Line 11: Line 11:
== Notes == == Notes ==
-'''clear_screen'''() is recommended over using [[map_clear]]() to clear the screen background as it is a little bit faster.+This is the same as <code>'''[[map_clear]]'''(0,[[BACKGROUND]])</code>. When the background is cleared in either way, Fenix knows the background is empty and will take advantage of this knowledge.
== Errors == == Errors ==

Current revision


Contents

[edit] Definition

INT clear_screen ( )

Clears the background of the screen.

[edit] Returns

INT : true

[edit] Notes

This is the same as map_clear(0,BACKGROUND). When the background is cleared in either way, Fenix knows the background is empty and will take advantage of this knowledge.

[edit] Errors

Unsupported color depth - The specified graph has a not supported color depth.


Screen Functions
Clear_screen() • Get_screen() • Put() • Put_screen() • Xput() •
Personal tools