Map unload

From Bennu Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Definition

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

Frees the memory used by the specified graphic. The associated (fileID,graphID) combination is no longer valid afterwards.

Also called map_del(). The previous name unload_map is deprecated.

Parameters

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

Returns

INT : Successrate

false - Invalid graphic.
true - Graphic unloaded.


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()