ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::Sprite Class Reference

#include <sprite.h>

Collaboration diagram for Grim::Sprite:

List of all members.

Public Types

enum  SpriteFlags1 { BlendAdditive = 0x400 }
enum  SpriteFlags2 { DepthTest = 0x100, AlphaTest = 0x20000 }

Public Member Functions

 Sprite ()
void draw () const
void loadBinary (Common::SeekableReadStream *, EMICostume *costume)
void loadGrim (const Common::String &name, const char *comma, CMap *cmap)

Public Attributes

Math::Vector3d _pos
float _width
float _height
bool _visible
Material_material
Sprite_next
uint32 _flags1
int _red [4]
int _green [4]
int _blue [4]
int _alpha [4]
float _texCoordX [4]
float _texCoordY [4]
uint32 _flags2

Detailed Description

Definition at line 39 of file sprite.h.


Member Enumeration Documentation

Enumerator:
BlendAdditive 

Definition at line 41 of file sprite.h.

Enumerator:
DepthTest 
AlphaTest 

Definition at line 44 of file sprite.h.


Constructor & Destructor Documentation

Grim::Sprite::Sprite (  ) 

Definition at line 34 of file sprite.cpp.


Member Function Documentation

void Grim::Sprite::draw (  )  const

Definition at line 40 of file sprite.cpp.

void Grim::Sprite::loadBinary ( Common::SeekableReadStream stream,
EMICostume costume 
)

Definition at line 61 of file sprite.cpp.

void Grim::Sprite::loadGrim ( const Common::String name,
const char *  comma,
CMap cmap 
)

Definition at line 48 of file sprite.cpp.


Member Data Documentation

Definition at line 64 of file sprite.h.

Definition at line 63 of file sprite.h.

Definition at line 60 of file sprite.h.

Definition at line 67 of file sprite.h.

Definition at line 62 of file sprite.h.

Definition at line 56 of file sprite.h.

Definition at line 58 of file sprite.h.

Definition at line 59 of file sprite.h.

Definition at line 54 of file sprite.h.

Definition at line 61 of file sprite.h.

Definition at line 65 of file sprite.h.

Definition at line 66 of file sprite.h.

Definition at line 57 of file sprite.h.

Definition at line 55 of file sprite.h.


The documentation for this class was generated from the following files:


Generated on Sat Mar 23 2019 05:07:56 for ResidualVM by doxygen 1.7.1
curved edge   curved edge