version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.13 2003/03/08 05:35:32 mwedel Exp $"; | | * "$Id: monster.c,v 1.14 2005/07/08 23:48:59 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
int failed_placements; | | int failed_placements; |
sint64 exp_per_sq, total_experience; | | sint64 exp_per_sq, total_experience; |
int number_monsters=0; | | int number_monsters=0; |
| | archetype *at; |
| | |
sprintf(styledirname,"%s","/styles/monsterstyles"); | | sprintf(styledirname,"%s","/styles/monsterstyles"); |
style_map = find_style(styledirname,monsterstyle,difficulty); | | style_map = find_style(styledirname,monsterstyle,difficulty); |
| | |
new_monster->y = y; | | new_monster->y = y; |
insert_multisquare_ob_in_map(new_monster,map); | | insert_multisquare_ob_in_map(new_monster,map); |
total_experience+= this_monster->stats.exp; | | total_experience+= this_monster->stats.exp; |
| | for(at = new_monster->arch; at != NULL; at = at->more) |
number_monsters++; | | number_monsters++; |
RP->total_map_hp+=new_monster->stats.hp; /* a global count */ | | RP->total_map_hp+=new_monster->stats.hp; /* a global count */ |
} | | } |