Standardize the status.c file

Standardizes all (or almost) of the documentation for this file
Now has documentation for functions which will support Doxygen
Also standardized conditional bracketing
Removed some scopes in status_calc_speed (please double test)
Removed an unused function

'///' Is a Doxygen comment for one line
'///<' Used for variable declaration commenting
'/** **/' Standard function documentation
'//!' For TODO and FIXME
'//' Regular comment not shown in Doxygen

I apologize for conflicts
More to come, so please keep an eye out when updating that there may be updates causing many conflicts
This commit is contained in:
Akinari1087 2013-11-09 09:16:46 -07:00
parent e0397a6e34
commit 9744ba49d4
2 changed files with 2404 additions and 2135 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1876,7 +1876,6 @@ unsigned char status_calc_attack_element(struct block_list *bl, struct status_ch
int status_get_party_id(struct block_list *bl);
int status_get_guild_id(struct block_list *bl);
int status_get_emblem_id(struct block_list *bl);
int status_get_mexp(struct block_list *bl);
int status_get_race2(struct block_list *bl);
struct view_data *status_get_viewdata(struct block_list *bl);
@ -1900,7 +1899,7 @@ int kaahi_heal_timer(int tid, unsigned int tick, int id, intptr_t data);
int status_change_timer(int tid, unsigned int tick, int id, intptr_t data);
int status_change_timer_sub(struct block_list* bl, va_list ap);
int status_change_clear(struct block_list* bl, int type);
int status_change_clear_buffs(struct block_list* bl, int type);
void status_change_clear_buffs(struct block_list* bl, int type);
#define status_calc_bl(bl, flag) status_calc_bl_(bl, (enum scb_flag)(flag), false)
#define status_calc_mob(md, first) status_calc_bl_(&(md)->bl, SCB_ALL, first)