Map save

From Bennu Wiki
Jump to navigation Jump to search


Definition

INT map_save ( <INT fileID> , <INT graphID> , <STRING filename> )

Saves the specified graphic as filename with the format MAP.

The previous name save_map() is deprecated.

Parameters

INT fileID - The fileID of the file that holds the graphic.
INT graphID - The graphID of the graphic to unload.
STRING filename - The name of the MAP file to be saved, including a possible path.

Returns

INT : Successrate

false - An error: Invalid graphic; could not open file.
true - Graphic saved.


Mod_map
Constants
B'"`UNIQ--nowiki-00000003-QINU`"'CLEARCHARSET'"`UNIQ--nowiki-00000003-QINU`"'CP850CHARSET'"`UNIQ--nowiki-00000003-QINU`"'ISO8859G'"`UNIQ--nowiki-00000003-QINU`"'ANIMATION'"`UNIQ--nowiki-00000003-QINU`"'SPEEDG'"`UNIQ--nowiki-00000003-QINU`"'ANIMATION'"`UNIQ--nowiki-00000003-QINU`"'STEPG'"`UNIQ--nowiki-00000003-QINU`"'ANIMATION'"`UNIQ--nowiki-00000003-QINU`"'STEPSG'"`UNIQ--nowiki-00000003-QINU`"'CENTER'"`UNIQ--nowiki-00000003-QINU`"'XG'"`UNIQ--nowiki-00000003-QINU`"'CENTER'"`UNIQ--nowiki-00000003-QINU`"'YG'"`UNIQ--nowiki-00000003-QINU`"'DEPTHG'"`UNIQ--nowiki-00000003-QINU`"'FRAMESG'"`UNIQ--nowiki-00000003-QINU`"'HEIGHTG'"`UNIQ--nowiki-00000003-QINU`"'PITCHG'"`UNIQ--nowiki-00000003-QINU`"'WIDEG'"`UNIQ--nowiki-00000003-QINU`"'WIDTHG'"`UNIQ--nowiki-00000003-QINU`"'X'"`UNIQ--nowiki-00000003-QINU`"'CENTERG'"`UNIQ--nowiki-00000003-QINU`"'Y'"`UNIQ--nowiki-00000003-QINU`"'CENTERNFB'"`UNIQ--nowiki-00000003-QINU`"'FIXEDWIDTHNFB'"`UNIQ--nowiki-00000003-QINU`"'VARIABLEWIDTH
Functions Bdfload()Centerset()Colorfind()Colorsget()Colorsset()Fade()Fadeoff()Fadeon()Fntload()Fntnew()Fntsave()Fntunload()Fpgadd()Fpgdel()Fpgexists()Fpgload()Fpgnew()Fpgsave()Fpgunload()Getpixel()Glyphget()Glyphset()Graphicinfo()Graphicset()Mapblockcopy()Mapbuffer()Mapclear()Mapclone()Mapdel()Mapexists()Mapgetpixel()Mapinfo()Mapinfoget()Mapinfoset()Mapload()Mapname()Mapnew()Mapput()Mapputpixel()Mapsave()Mapsetname()Mapunload()Mapxput()Mapxputnp()Palclone()Paldel()Palget()Palload()Palmapassign()Palmapgetid()Palmapremove()Palnew()Palrefresh()Palsave()Palset()Palunload()Paletteconvert()Paletteroll()Pcxload()Pngload()Pngsave()Pointget()Pointset()Putpixel()Rgb()Rgbget()Rgba()Rgbaget()