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

Unload map

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:51, 16 December 2007 (edit)
Sandman (Talk | contribs)
(New page: Category:functions Category:maps ==Definition== '''INT''' unload_map ( <'''INT''' fileID> , <'''INT''' graphID> ) Frees the memory used by the specified graphic. The associat...)
← Previous diff
Current revision (00:51, 16 December 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 17: Line 17:
'''INT''' : Successrate '''INT''' : Successrate
{| {|
-| false || - Invalid graphic.+| [[false]] || - Invalid graphic.
|- |-
-| true || - Graphic unloaded.+| [[true]] || - Graphic unloaded.
|} |}

Current revision


[edit] Definition

INT unload_map ( <INT fileID> , <INT graphID> )

Frees the memory used by the specified graphic. The associated graphID is no longer valid when the graphic is freed.

[edit] Parameters

INT fileID - The fileID of the file that holds the graphic.
INT graphID - The graphID of the graphic to unload.

[edit] Returns

INT : Successrate

false - Invalid graphic.
true - Graphic unloaded.


Maps Functions
Graphic_info() • Map_block_copy() • Map_clear() • Map_clone() • Map_put() • Map_put_pixel() • Map_xput() • Map_xputnp() • New_map() • Save_png() • Unload_map() •
Personal tools