#include <effects.h>
Collaboration diagram for Cloud:
Public Member Functions | |
Cloud (short dx, short dy) | |
void | next (Game_window *gwin, unsigned long curtime, int w, int h) |
void | paint () |
Private Member Functions | |
void | set_start_pos (Shape_frame *shape, int w, int h, int &x, int &y) |
Private Attributes | |
ShapeID | cloud |
long | wx |
long | wy |
short | deltax |
short | deltay |
int | count |
int | max_count |
uint32 | start_time |
Static Private Attributes | |
static int | randcnt |
Definition at line 318 of file effects.h.
Cloud::Cloud | ( | short | dx, | |
short | dy | |||
) |
Definition at line 1304 of file effects.cc.
References Game_window::get_height(), Game_window::get_instance(), Game_window::get_width(), and gwin.
Here is the call graph for this function:
void Cloud::set_start_pos | ( | Shape_frame * | shape, | |
int | w, | |||
int | h, | |||
int & | x, | |||
int & | y | |||
) | [private] |
Definition at line 1324 of file effects.cc.
References Shape_frame::get_xleft(), Shape_frame::get_xright(), Shape_frame::get_yabove(), and Shape_frame::get_ybelow().
Here is the call graph for this function:
void Cloud::next | ( | Game_window * | gwin, | |
unsigned long | curtime, | |||
int | w, | |||
int | h | |||
) | [inline] |
Definition at line 1364 of file effects.cc.
References Game_window::add_dirty(), c_tilesize, Game_window::clip_to_win(), Rectangle::enlarge(), Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_shape_rect(), Game::get_ticks(), and gwin.
Here is the call graph for this function:
void Cloud::paint | ( | ) |
Definition at line 1407 of file effects.cc.
References c_tilesize, Game_window::get_instance(), Game_window::get_scrolltx(), Game_window::get_scrollty(), and gwin.
Here is the call graph for this function:
ShapeID Cloud::cloud [private] |
short Cloud::deltax [private] |
short Cloud::deltay [private] |
int Cloud::count [private] |
int Cloud::max_count [private] |
uint32 Cloud::start_time [private] |
int Cloud::randcnt [static, private] |