image * CreateImage(
std::string _fileName,
std::string _Name,
int _x,
int _y,
int _z,
std::string _AddtoCurrentRenderlist,
bool _Transparency,
)
Public function of the Epee Engine Class
Description:
Creates an image and adds it to the rendable list _AddtoCurrentRenderlist
Arguments:
Required:
std::string _fileName
Name of file to load
std::string _Name
Name of image
int _x
x location of the image
int _y
y location of the image
int _z
z location of the image
Optional:
std::string _AddtoCurrentRenderlist
render list to add the image to
defaults to "Current" the current active render list
bool _Transparency
does not draw pixel that matches the color of the top left pixel
defaults to false
Return Value:
if successful returns a pointer to the newly created image, otherwise returns a NULL pointer