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 16:53, 25 February 2008 (edit)
85.144.194.29 (Talk)
(Never mind. Man.)
← Previous diff
Current revision (18:05, 16 April 2008) (edit) (undo)
Sandman (Talk | contribs)
m (Notes)
 
(4 intermediate revisions not shown.)
Line 5: Line 5:
'''INT''' clear_screen ( ) '''INT''' clear_screen ( )
-Clears the background of the screen.+Clears the [[background]] of the screen.
== Returns == == Returns ==
-<If someone knows, please edit!>+'''INT''' : [[true]]
== Notes == == Notes ==
-Using this function to clear the background is faster than using [[map_clear]]() for it, because a quicker version of the routine that begins to write frames will be used because Fenix will know there isn't any background left. +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 ==
-<If someone knows, please edit!>+{|
- +| Unsupported color depth || - The specified graph has a not supported color depth.
-== Example ==+|}
-<None yet, please write one!>+
{{Funcbox {{Funcbox
| category = Screen | category = Screen
}} }}

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