Setting up 3.5.0 as trunk
This commit is contained in:
33
src/genmob.h
Normal file
33
src/genmob.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/************************************************************************
|
||||
* Generic OLC Library - Mobiles / genmob.h v1.0 *
|
||||
* Copyright 1996 by Harvey Gilpin *
|
||||
* Copyright 1997-2001 by George Greer (greerga@circlemud.org) *
|
||||
************************************************************************/
|
||||
|
||||
int delete_mobile(mob_rnum);
|
||||
int copy_mobile(struct char_data *to, struct char_data *from);
|
||||
int add_mobile(struct char_data *, mob_vnum);
|
||||
int copy_mob_strings(struct char_data *to, struct char_data *from);
|
||||
int free_mob_strings(struct char_data *);
|
||||
int free_mobile(struct char_data *mob);
|
||||
int save_mobiles(zone_rnum rznum);
|
||||
void extract_mobile_all(mob_vnum vnum);
|
||||
int update_mobile_strings(struct char_data *t, struct char_data *f);
|
||||
void check_mobile_strings(struct char_data *mob);
|
||||
void check_mobile_string(mob_vnum i, char **string, const char *desc);
|
||||
int write_mobile_record(mob_vnum mvnum, struct char_data *mob, FILE *fd);
|
||||
int write_mobile_espec(mob_vnum mvnum, struct char_data *mob, FILE *fd);
|
||||
int free_mobile_strings(struct char_data *mob);
|
||||
int copy_mobile_strings(struct char_data *t, struct char_data *f);
|
||||
#if CONFIG_GENOLC_MOBPROG
|
||||
int write_mobile_mobprog(mob_vnum mvnum, struct char_data *mob, FILE *fd);
|
||||
#endif
|
||||
|
||||
/* Handy macros. */
|
||||
#define GET_NDD(mob) ((mob)->mob_specials.damnodice)
|
||||
#define GET_SDD(mob) ((mob)->mob_specials.damsizedice)
|
||||
#define GET_ALIAS(mob) ((mob)->player.name)
|
||||
#define GET_SDESC(mob) ((mob)->player.short_descr)
|
||||
#define GET_LDESC(mob) ((mob)->player.long_descr)
|
||||
#define GET_DDESC(mob) ((mob)->player.description)
|
||||
#define GET_ATTACK(mob) ((mob)->mob_specials.attack_type)
|
||||
Reference in New Issue
Block a user