|
| ResAnim (Resource *atlas=0) |
|
void | init (const std::string &file, int columns=1, int rows=1, float scaleFactor=1.0f) |
|
virtual void | init (Image *original, int columns=1, int rows=1, float scaleFactor=1.0f) |
|
void | init (animationFrames &frames, int columns, float scaleFactor=1.0f, float appliedScale=1.0f) |
|
void | init (spNativeTexture texture, const Point &originalSize, int columns=1, int rows=1, float scaleFactor=1.0f) |
|
float | getScaleFactor () const |
|
float | getAppliedScale () const |
|
int | getColumns () const |
|
int | getRows () const |
|
int | getTotalFrames () const |
|
int | getFrameRate () const |
|
const Resources * | getResources () const |
|
const AnimationFrame & | getFrame (int col, int row) const |
|
const AnimationFrame & | getFrame (int index) const |
|
Resource * | getAtlas () |
|
const Vector2 & | getSize () const |
|
float | getWidth () const |
|
float | getHeight () const |
|
void | setFrame (int col, int row, const AnimationFrame &frame) |
|
void | setFrameRate (int v) |
|
void | removeFrames () |
|
| operator const AnimationFrame & () |
|
void | load (LoadResourcesContext *context=0) |
|
void | unload () |
|
pugi::xml_attribute | getAttribute (const char *attr) const |
|
pugi::xml_node | getNode () const |
|
bool | getUseLoadCounter () const |
|
Resource * | getParent () const |
|
void | setUseLoadCounter (bool v) |
|
void | setParent (Resource *p) |
|
| Object (const Object &src) |
|
| Object (bool assignUniqueID=true) |
|
void | addRef () |
|
void | releaseRef () |
|
| ObjectBase (const ObjectBase &src) |
|
| ObjectBase (bool assignID=true) |
|
const std::string & | getName () const |
|
const void * | getUserData () const |
|
int | getObjectID () const |
|
bool | isName (const std::string &name) const |
|
bool | isName (const char *name) const |
|
void | setName (const std::string &name) |
|
void | setUserData (const void *data) |
|
void | dumpObject () const |
|
void | __removeFromDebugList () |
|
|
typedef std::vector< ObjectBase * > | __createdObjects |
|
static std::string | extractID (const pugi::xml_node &node, const std::string &file, const std::string &def) |
|
static std::string | extractID (const std::string &file) |
|
static void | dumpCreatedObjects () |
|
static void | showAssertInCtor (int id) |
|
static void | showAssertInDtor (int id) |
|
static __createdObjects & | __getCreatedObjects () |
|
static void | __startTracingLeaks () |
|
static void | __stopTracingLeaks () |
|
int | _ref_counter |
|
static void | setNode (Resource *res, const pugi::xml_node &node) |
|
static void | __addToDebugList (ObjectBase *base) |
|
static void | __removeFromDebugList (ObjectBase *base) |
|
static int | _lastID |
|
static int | _assertCtorID |
|
static int | _assertDtorID |
|