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

Map clone

From FenixWiki

Jump to: navigation, search


[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