51 _name(name), _hotspotX(hotspotX), _hotspotY(hotspotY) {
69 glTexCoord2f(0.0f, 0.0f);
70 glVertex2f(0.0f, 0.0f);
71 glTexCoord2f(1.0f, 0.0f);
73 glTexCoord2f(1.0f, 1.0f);
75 glTexCoord2f(0.0f, 1.0f);
112 _width = image->getMipMap(0).width;
113 _height = image->getMipMap(0).height;
119 if (
GfxMan.needManualDeS3TC()) {
#define ResMan
Shortcut for accessing the sound manager.
Generic image decoder interface.
DDS texture (DirectDraw Surface or BioWare's own format) loading).
The global graphics manager.
void render()
Render the cursor.
A class holding an UTF-8 string.
#define TextureMan
Shortcut for accessing the texture manager.
void reset(PointerType o=0)
Resets the pointer with the new value.
PointerType release()
Returns the plain pointer value and releases ScopedPtr.
static Texture * create(const Common::UString &name, bool deswizzle=false)
Create a texture from this image resource.
The Aurora texture manager.
A simple scoped smart pointer template.
Basic exceptions to throw.
const char * c_str() const
Return the (utf8 encoded) string data.
Utility templates and functions.
#define CursorMan
Shortcut for accessing the cursor manager.
A cursor as used in the Aurora engines.
Basic reading stream interfaces.
The Aurora cursor manager.
Basic type definitions to handle files used in BioWare's Aurora engine.
Decoding TGA (TarGa) images.
A texture as used in the Aurora engines.
Decoding Windows icon and cursor files (.ICO and .CUR).
FileType
Various file types used by the Aurora engine and found in archives.
Image, Truevision TARGA image.
const Features & getFeatures() const
T CLIP(T v, T amin, T amax)
Texture, DirectDraw Surface.
#define GfxMan
Shortcut for accessing the graphics manager.
The global resource manager for Aurora resources.