You must be logged in to do that.

RenderMap

RenderMap
void RenderMap(int x, int y, int destimage)

Documentation

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.

Example Usage

//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);
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Doc Nav

Your docs
View All Docs

If you log in, you can edit the documentation, or create your own documents and tutorials!

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.