Atrinik Client 2.5
Data Fields
effect_struct Struct Reference

#include <effects.h>

Data Fields

struct effect_structnext
char name [MAX_BUF]
double wind_chance
double sprite_chance
struct effect_spritesprites
struct effect_spritesprites_end
struct effect_sprite_defsprite_defs
int chance_total
long wind
uint8 wind_blow_dir
uint32 delay
uint32 delay_ticks
int max_sprites
double wind_mod
int sprites_per_move
struct effect_overlayoverlay

Detailed Description

One effect definition in a linked list.

Definition at line 48 of file effects.h.


Field Documentation

Total chance value of all sprites in ::sprite_defs.

Definition at line 76 of file effects.h.

Delay in ticks that must pass until another sprite can be created (regardless of the actual chance to create one). Default is 0.

Definition at line 87 of file effects.h.

When a sprite was last created, in ticks.

Definition at line 90 of file effects.h.

Maximum number of visible sprites, -1 for infinite (default).

Definition at line 93 of file effects.h.

char effect_struct::name[MAX_BUF]

Name of this effect.

Definition at line 54 of file effects.h.

Next effect in the list.

Definition at line 51 of file effects.h.

Map overlay.

Definition at line 102 of file effects.h.

Controls how often to create a new sprite, should be a value between 0.0 (never) and 100.0 (always). Default is 60.0.

Definition at line 64 of file effects.h.

Linked list of sprite definitions.

Definition at line 73 of file effects.h.

Start of the currently shown list of sprites.

Definition at line 67 of file effects.h.

End of the currently shown list of sprites.

Definition at line 70 of file effects.h.

Sprites per move, defaults to 1.

Definition at line 99 of file effects.h.

Wind modifier.

Definition at line 79 of file effects.h.

Direction this sprite is getting blown into, one of Wind blow directions.

Definition at line 82 of file effects.h.

Chance to change the way the wind blows, should be a value between 0.0 (always) and 1.0 (never). Default is 0.98.

Definition at line 59 of file effects.h.

Wind blow modification (how strongly the wind blows to its direction).

Definition at line 96 of file effects.h.


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