xine-lib 1.2.11
|
Data Structures | |
struct | _FS_STAR |
struct | _FS_DATA |
Macros | |
#define | NCOL 15 |
#define | FIREWORKS_FX 0 |
#define | RAIN_FX 1 |
#define | FOUNTAIN_FX 2 |
#define | LAST_FX 3 |
Typedefs | |
typedef struct _FS_STAR | Star |
typedef struct _FS_DATA | FSData |
Functions | |
static void | fs_init (VisualFX *_this, PluginInfo *info) |
static void | fs_free (VisualFX *_this) |
static void | addABomb (FSData *fs, int mx, int my, float radius, float vage, float gravity, PluginInfo *info) |
static void | updateStar (Star *s) |
static void | fs_sound_event_occured (VisualFX *_this, PluginInfo *info) |
static void | fs_apply (VisualFX *_this, Pixel *src, Pixel *dest, PluginInfo *info) |
VisualFX | flying_star_create (void) |
Variables | |
static const int | colval [] |
#define FIREWORKS_FX 0 |
#define FOUNTAIN_FX 2 |
#define LAST_FX 3 |
#define NCOL 15 |
#define RAIN_FX 1 |
|
static |
Cree une nouvelle 'bombe', c'est a dire une particule appartenant a une fusee d'artifice.
References _FS_STAR::age, _FS_STAR::ax, _FS_STAR::ay, cos256, goom_irand(), _PLUGIN_INFO::gRandom, _FS_DATA::maxStars, _FS_DATA::min_age, _FS_DATA::nbStars, sin256, _FS_DATA::stars, _FS_STAR::vage, _FS_STAR::vx, _FS_STAR::vy, _FS_STAR::x, and _FS_STAR::y.
Referenced by fs_sound_event_occured().
VisualFX flying_star_create | ( | void | ) |
References fs_apply(), fs_free(), fs_init(), and _VISUAL_FX::init.
Referenced by goom_init().
|
static |
Main methode of the FX.
References _FS_STAR::age, _PARAM::change_listener, colval, _PLUGIN_INFO::draw_line, fs_sound_event_occured(), FVAL, _VISUAL_FX::fx_data, _FS_DATA::fx_mode, _FS_DATA::fx_mode_p, goom_irand(), _PLUGIN_INFO::gRandom, _PLUGIN_INFO::_SIZE_TYPE::height, IVAL, LAST_FX, _FS_DATA::max_age, _FS_DATA::max_age_p, _FS_DATA::maxStars, _PLUGIN_INFO::methods, _FS_DATA::min_age, _FS_DATA::min_age_p, _FS_DATA::nbStars, _FS_DATA::nbStars_limit_p, _FS_DATA::nbStars_p, NCOL, _PLUGIN_INFO::screen, _PLUGIN_INFO::sound, _FS_DATA::stars, _SOUND_INFO::timeSinceLastGoom, updateStar(), _FS_STAR::vx, _FS_STAR::vy, _PLUGIN_INFO::_SIZE_TYPE::width, _FS_STAR::x, and _FS_STAR::y.
Referenced by flying_star_create().
|
static |
References _VISUAL_FX::fx_data, _FS_DATA::params, _PARAMETERS::params, and _FS_DATA::stars.
Referenced by flying_star_create().
|
static |
References FIREWORKS_FX, _VISUAL_FX::fx_data, _FS_DATA::fx_mode, _FS_DATA::fx_mode_p, IMAX, IMIN, ISTEP, IVAL, _FS_DATA::max_age_p, _FS_DATA::maxStars, _FS_DATA::min_age_p, _FS_DATA::nbStars, _FS_DATA::nbStars_limit_p, _FS_DATA::nbStars_p, _FS_DATA::params, _PARAMETERS::params, _VISUAL_FX::params, plugin_parameters, secure_f_feedback, secure_i_param, and _FS_DATA::stars.
Referenced by flying_star_create().
|
static |
Ajoute de nouvelles particules au moment d'un evenement sonore.
References addABomb(), FIREWORKS_FX, FOUNTAIN_FX, _VISUAL_FX::fx_data, _FS_DATA::fx_mode, goom_irand(), _SOUND_INFO::goomPower, _PLUGIN_INFO::gRandom, _PLUGIN_INFO::_SIZE_TYPE::height, _FS_DATA::max_age, RAIN_FX, _PLUGIN_INFO::screen, _PLUGIN_INFO::sound, _SOUND_INFO::timeSinceLastBigGoom, and _PLUGIN_INFO::_SIZE_TYPE::width.
Referenced by fs_apply().
|
static |
Met a jour la position et vitesse d'une particule.
References _FS_STAR::age, _FS_STAR::ax, _FS_STAR::ay, _FS_STAR::vage, _FS_STAR::vx, _FS_STAR::vy, _FS_STAR::x, and _FS_STAR::y.
Referenced by fs_apply().
|
static |
Referenced by fs_apply().