cloud.cc File Reference

#include "AppHdr.h"
#include <algorithm>
#include "externs.h"
#include "areas.h"
#include "branch.h"
#include "cloud.h"
#include "colour.h"
#include "coord.h"
#include "coordit.h"
#include "dungeon.h"
#include "env.h"
#include "fight.h"
#include "fprop.h"
#include "godconduct.h"
#include "los.h"
#include "mon-behv.h"
#include "monster.h"
#include "mapmark.h"
#include "mutation.h"
#include "ouch.h"
#include "player.h"
#include "random.h"
#include "state.h"
#include "stuff.h"
#include "terrain.h"

Include dependency graph for cloud.cc:


Functions

void cloud_interacts_with_terrain (const cloud_struct &cloud)
void manage_clouds ()
void delete_cloud_at (coord_def p)
void delete_cloud (int cloud)
void move_cloud_to (coord_def src, coord_def dst)
void move_cloud (int cloud, const coord_def &newpos)
void swap_clouds (coord_def p1, coord_def p2)
void check_place_cloud (cloud_type cl_type, const coord_def &p, int lifetime, const actor *agent, int spread_rate, int colour, std::string name, std::string tile)
int steam_cloud_damage (const cloud_struct &cloud)
int steam_cloud_damage (int decay)
bool cloud_is_inferior (cloud_type inf, cloud_type superior)
void place_cloud (cloud_type cl_type, const coord_def &ctarget, int cl_range, const actor *agent, int _spread_rate, int colour, std::string name, std::string tile)
bool is_opaque_cloud (int cloud_idx)
cloud_type cloud_type_at (const coord_def &c)
cloud_type random_smoke_type ()
cloud_type beam2cloud (beam_type flavour)
beam_type cloud2beam (cloud_type flavour)
int resist_fraction (int resist, int bonus_res)
int max_cloud_damage (cloud_type cl_type, int power)
bool cloud_has_negative_side_effects (cloud_type cloud)
bool actor_cloud_immune (const actor *act, const cloud_struct &cloud, bool temp)
int actor_cloud_resist (const actor *act, const cloud_struct &cloud)
int actor_apply_cloud (actor *act)
bool is_damaging_cloud (cloud_type type, bool accept_temp_resistances)
bool cloud_is_smoke (cloud_type type)
bool cloud_is_cosmetic (cloud_type type)
bool is_harmless_cloud (cloud_type type)
bool in_what_cloud (cloud_type type)
cloud_type in_what_cloud ()
std::string cloud_name_at_index (int cloudno)
std::string cloud_type_name (cloud_type type, bool terse)
int get_cloud_colour (int cloudno)
coord_def get_cloud_originator (const coord_def &pos)
void place_fog_machine (fog_machine_type fm_type, cloud_type cl_type, int x, int y, int size, int power)
void place_fog_machine (fog_machine_data data, int x, int y)
bool valid_fog_machine_data (fog_machine_data data)
int num_fogs_for_place (int level_number, const level_id &place)
fog_machine_data random_fog_for_place (int level_number, const level_id &place)
int fogs_pan_number (int level_number)
fog_machine_data fogs_pan_type (int level_number)
int fogs_abyss_number (int level_number)
fog_machine_data fogs_abyss_type (int level_number)
int fogs_lab_number (int level_number)
fog_machine_data fogs_lab_type (int level_number)

Function Documentation

int actor_apply_cloud ( actor act  ) 

Here is the call graph for this function:

bool actor_cloud_immune ( const actor act,
const cloud_struct cloud,
bool  temp 
)

Here is the call graph for this function:

int actor_cloud_resist ( const actor act,
const cloud_struct cloud 
)

Here is the call graph for this function:

cloud_type beam2cloud ( beam_type  flavour  ) 

void check_place_cloud ( cloud_type  cl_type,
const coord_def p,
int  lifetime,
const actor agent,
int  spread_rate,
int  colour,
std::string  name,
std::string  tile 
)

Here is the call graph for this function:

beam_type cloud2beam ( cloud_type  flavour  ) 

bool cloud_has_negative_side_effects ( cloud_type  cloud  ) 

void cloud_interacts_with_terrain ( const cloud_struct cloud  ) 

bool cloud_is_cosmetic ( cloud_type  type  ) 

Here is the call graph for this function:

bool cloud_is_inferior ( cloud_type  inf,
cloud_type  superior 
)

bool cloud_is_smoke ( cloud_type  type  ) 

std::string cloud_name_at_index ( int  cloudno  ) 

Here is the call graph for this function:

cloud_type cloud_type_at ( const coord_def c  ) 

std::string cloud_type_name ( cloud_type  type,
bool  terse 
)

void delete_cloud ( int  cloud  ) 

Here is the call graph for this function:

void delete_cloud_at ( coord_def  p  ) 

Here is the call graph for this function:

int fogs_abyss_number ( int  level_number  ) 

fog_machine_data fogs_abyss_type ( int  level_number  ) 

int fogs_lab_number ( int  level_number  ) 

fog_machine_data fogs_lab_type ( int  level_number  ) 

int fogs_pan_number ( int  level_number  ) 

fog_machine_data fogs_pan_type ( int  level_number  ) 

int get_cloud_colour ( int  cloudno  ) 

Here is the call graph for this function:

coord_def get_cloud_originator ( const coord_def pos  ) 

Here is the call graph for this function:

cloud_type in_what_cloud (  ) 

Here is the call graph for this function:

bool in_what_cloud ( cloud_type  type  ) 

Here is the call graph for this function:

bool is_damaging_cloud ( cloud_type  type,
bool  accept_temp_resistances 
)

Here is the call graph for this function:

bool is_harmless_cloud ( cloud_type  type  ) 

Here is the call graph for this function:

bool is_opaque_cloud ( int  cloud_idx  ) 

void manage_clouds ( void   ) 

Here is the call graph for this function:

int max_cloud_damage ( cloud_type  cl_type,
int  power 
)

void move_cloud ( int  cloud,
const coord_def newpos 
)

void move_cloud_to ( coord_def  src,
coord_def  dst 
)

Here is the call graph for this function:

int num_fogs_for_place ( int  level_number,
const level_id place 
)

Here is the call graph for this function:

void place_cloud ( cloud_type  cl_type,
const coord_def ctarget,
int  cl_range,
const actor agent,
int  _spread_rate,
int  colour,
std::string  name,
std::string  tile 
)

Here is the call graph for this function:

void place_fog_machine ( fog_machine_data  data,
int  x,
int  y 
)

Here is the call graph for this function:

void place_fog_machine ( fog_machine_type  fm_type,
cloud_type  cl_type,
int  x,
int  y,
int  size,
int  power 
)

Here is the call graph for this function:

fog_machine_data random_fog_for_place ( int  level_number,
const level_id place 
)

Here is the call graph for this function:

cloud_type random_smoke_type (  ) 

Here is the call graph for this function:

int resist_fraction ( int  resist,
int  bonus_res 
)

int steam_cloud_damage ( int  decay  ) 

Here is the call graph for this function:

int steam_cloud_damage ( const cloud_struct cloud  ) 

Here is the call graph for this function:

void swap_clouds ( coord_def  p1,
coord_def  p2 
)

Here is the call graph for this function:

bool valid_fog_machine_data ( fog_machine_data  data  ) 


Generated on Thu Jan 13 13:03:29 2011 by  doxygen 1.5.6