Cloud Class Reference

#include <effects.h>

Collaboration diagram for Cloud:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 318 of file effects.h.


Constructor & Destructor Documentation

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:


Member Function Documentation

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:


Member Data Documentation

ShapeID Cloud::cloud [private]

Definition at line 320 of file effects.h.

long Cloud::wx [private]

Definition at line 321 of file effects.h.

long Cloud::wy [private]

Definition at line 321 of file effects.h.

short Cloud::deltax [private]

Definition at line 322 of file effects.h.

short Cloud::deltay [private]

Definition at line 322 of file effects.h.

int Cloud::count [private]

Definition at line 323 of file effects.h.

int Cloud::max_count [private]

Definition at line 324 of file effects.h.

uint32 Cloud::start_time [private]

Definition at line 325 of file effects.h.

int Cloud::randcnt [static, private]

Definition at line 326 of file effects.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:48:36 2007 for ExultEngine by  doxygen 1.5.1