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

Map clone

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:52, 13 November 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (20:29, 30 November 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 28: Line 28:
| Insufficient memory || - There is insufficient memory available. This error doesn't occur often. ''(Console)'' | Insufficient memory || - There is insufficient memory available. This error doesn't occur often. ''(Console)''
|} |}
 +
 +{{Funcbox
 + | category = Maps
 +}}

Current revision


Contents

[edit] Definition

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

Clones a certain graphic and puts it in the system file.

[edit] Parameters

INT fileID - The fileID of the file holding the graphic.
INT graphID - The graphID of the graphic to be cloned.

[edit] Returns

INT : GraphID

0 - Invalid graphic specified;
>0 - The graphID of the clone graphic.

[edit] Errors

Unsupported color depth - The specified graph has a not supported color depth. (Console)
Insufficient memory - There is insufficient memory available. This error doesn't occur often. (Console)


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