Atrinik Client 2.5
Data Fields
_anim Struct Reference

#include <sprite.h>

Data Fields

struct _animnext
struct _animbefore
int type
uint32 start_tick
uint32 last_tick
int value
int x
int y
int xoff
float yoff
int mapx
int mapy

Detailed Description

Animation structure.

Definition at line 112 of file sprite.h.


Field Documentation

Pointer to anim before.

Definition at line 118 of file sprite.h.

This is the end-tick.

Definition at line 127 of file sprite.h.

Map position X.

Definition at line 145 of file sprite.h.

Map position Y.

Definition at line 148 of file sprite.h.

struct _anim* _anim::next

Pointer to next anim in queue.

Definition at line 115 of file sprite.h.

The time we started this anim.

Definition at line 124 of file sprite.h.

Type of the animation, one of Animation types.

Definition at line 121 of file sprite.h.

This is the number to display.

Definition at line 130 of file sprite.h.

int _anim::x

X position.

Definition at line 133 of file sprite.h.

Movement in X per tick.

Definition at line 139 of file sprite.h.

int _anim::y

Y position.

Definition at line 136 of file sprite.h.

float _anim::yoff

Movement in Y per tick.

Definition at line 142 of file sprite.h.


The documentation for this struct was generated from the following file: