Nilorea Library

- Main Page
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Macros
Data Fields
SPRITE Struct Reference

`#include <n_anim.h>`

## Data Fields

BITMAP ** | spr
int | w
int | h
int | x
int | y
int | type
int | delay
int | current
int | max
int | alive
int | namelenght
GLuint * | handles
char * | name

## Detailed Description

Struct of a cell of an animation

Definition at line 50 of file n_anim.h.

## Field Documentation

int alive

is the SPRITE filled with some data ?

Definition at line 56 of file n_anim.h.

int current

number of pictures in **spr

Definition at line 56 of file n_anim.h.

int delay

delays between image -1 if no (in msec)

Definition at line 56 of file n_anim.h.

int h

h size

Definition at line 56 of file n_anim.h.

GLuint* handles

handles to opengl textures if enable (dynamic value when ogl mode is on)

Definition at line 77 of file n_anim.h.

int max

max picture in **spr

Definition at line 56 of file n_anim.h.

char* name

name of sprite

Definition at line 80 of file n_anim.h.

int namelenght

namelenght

Definition at line 56 of file n_anim.h.

BITMAP** spr

sprite

Definition at line 53 of file n_anim.h.

int type

type of sprite blit( alpha , mask , normal )

Definition at line 56 of file n_anim.h.

int w

w size

Definition at line 56 of file n_anim.h.

int x

x center of sprite

Definition at line 56 of file n_anim.h.

int y

y center of sprite

Definition at line 56 of file n_anim.h.

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

- include/n_anim.h