src/resobjects.cpp
// Load: our function for loading and setting the resource this object
// contains up.

our function for loading and setting the resource this object
contains up.
our function for loading and setting the resource this object contains up .
bool graphicResourceClass::load()
{
	if (isLoaded()) return true;
	if (fileName==NULL) {
		if (!surface.create(desiredWidth, desiredHeight, useVideoMemory))
			return false;
	}
	if (!rawLoad()) return false;
	return true;
}
bool graphicResourceClass :: load ( ) { if ( isLoaded ( ) ) return true ; if ( fileName == NULL ) { if ( ! surface . create ( desiredWidth , desiredHeight , useVideoMemory ) ) return false ; } if ( ! rawLoad ( ) ) return false ; return true ; }
Load: our function for loading and setting the resource this object
contains up.
Load : our function for loading and setting the resource this object contains up .
// not even try to load the resource if it's already up and running
 // If it's needed, create the surface (it's only needed if it doesn't
 // require being loaded)
 // create the surface...
 // Load the surface itself, and check there aren't errors.
