void RenderMap(int x, int y, int destimage)
This function allows you to render the map and its entities to an image other than the screen. The x and y are the screen offset in pixels, often making xwin and ywin desirable arguments. If used in conjunction with curmap.rstring, you could do some interesting things.
//Make only Entities be rendered, and then... curmap.rstring = "E"; //...take a snapshot of the map... RenderMap(xwin, ywin, img); //...and copy it to the clipboard. CopyImageToClipboard(img);
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |