The interface of the image engine. The IImageEngine stores all of the information provided by all of the ImageSets in the loaded RuleSets. It groups the ImageSets by their keys and provides mechanisms for reading one an image out of an image set with a key/name combination, or reading all images for a given key. A separate function that reads images out of a .tex file is also provided. The IImageEngine is accessible through the GameEngine.
IImageEngine.h
The interface of the image engine. | |
Returns a single image based on the key/name combination. | |
Fills an array with all images belonging to a given key. | |
Reads images from a .tex file. | |
The IImageEngine destructor. |
|
Returns a single image based on the key/name combination. The image is scaled to the given size, if any.
| key | The image group key to search in. |
| name | The image name to look up. |
| size | The size of the outgoing image. |
The image. May be an empty image if the image was not based on the given key and name.
|
Fills an array with all images belonging to a given key. The array is filled with std::pair<wxString, wxImage> combinations The string is the name of the image, and the wxImage is the image itself.
| key | The image group key of the images to retrieve. |
| array | The outgoing array of string/image pairs. |
|
|
|
| virtual ~IImageEngine()=0 |