115 e.
add(
"Failed loading area background \"%s\"", name.
c_str());
136 const float *pos =
CameraMan.getPosition();
static const float kScreenHeight
#define ResMan
Shortcut for accessing the sound manager.
Table data, 2-dimensional text array.
void add(const char *s,...) GCC_PRINTF(2
Only render transparent parts.
Texture & getTexture() const
virtual void hide()
Hide the object.
A class holding an UTF-8 string.
#define TextureMan
Shortcut for accessing the texture manager.
double _distance
The distance of the object from the viewer.
static const float kVertexX2
PointerType release()
Returns the plain pointer value and releases ScopedPtr.
void setPosition(float x, float y)
static Texture * create(const Common::UString &name, bool deswizzle=false)
Create a texture from this image resource.
The Aurora texture manager.
static const float kVertexX1
static const float kVertexY1
static const float kCameraAngle
Exception that provides a stack of explanations.
Basic Sonic Chronicles: The Dark Brotherhood types and defines.
A simple scoped smart pointer template.
uint32 getImageHeight() const
static const float kBottomScreenX
Basic exceptions to throw.
AreaBackground(const Common::UString &name)
const char * c_str() const
Return the (utf8 encoded) string data.
Utility templates and functions.
static const float kScreenWidth
The scrolling background image panel in Sonic Chronicles: The Dark Brotherhood.
static const float kBottomScreenY
static const float kVertexY2
Basic reading stream interfaces.
PointerType get() const
Returns the plain pointer value.
A texture as used in the Aurora engines.
Graphics::Aurora::TextureHandle _texture
void loadTexture(const Common::UString &name)
void calculateDistance()
Calculate the object's distance.
uint32 getImageWidth() const
#define CameraMan
Shortcut for accessing the camera manager.
void render(Graphics::RenderPass pass)
Render the object.
Loader for CBGT, BioWare's Compressed BackGround Tiles, an image format found in Sonic, used as area background images.
Compressed BackGround Tiles, a BioWare image format found in Sonic.
static float deg2rad(float deg)
The global resource manager for Aurora resources.