You must be logged in to do that.

GetUrlImage

GetUrlImage
int GetUrlImage(string url)

Documentation

Attempts to connect to the a given URL, and downloads and returns an image pointer. If it fails, the pointer will be 0 VERGE will totally crash!

Example Usage

void AutoExec()
{
	// Get a picture of Grue wearing a Verge T-Shirt. Bleh.
	int img = GetUrlImage("http://www.verge-rpg.com/images/store/shirt_00_sidebar.jpg");


	Blit(0, 0, img, screen);
	while(1)
	{
		ShowPage();
	}
}
Talkback

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

Post a new comment?

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.