tbamud/src/class.h

36 lines
1.3 KiB
C

/**
* @file class.h
* Header file for class specific functions and variables.
*
* Part of the core tbaMUD source code distribution, which is a derivative
* of, and continuation of, CircleMUD.
*
* All rights reserved. See license for complete information.
* Copyright (C) 1993, 94 by the Trustees of the Johns Hopkins University
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991.
*
*/
#ifndef _CLASS_H_
#define _CLASS_H_
/* Functions available through class.c */
int backstab_mult(int level);
void do_start(struct char_data *ch);
bitvector_t find_class_bitvector(const char *arg);
int invalid_class(struct char_data *ch, struct obj_data *obj);
int level_exp(int chclass, int level);
int parse_class(char arg);
void roll_real_abils(struct char_data *ch);
bool has_save_proficiency(int class_num, int ability);
void grant_class_skills(struct char_data *ch, bool reset);
void init_class_skill_caps(void);
int class_skill_max(int chclass, int skillnum);
/* Global variables */
extern const char *class_abbrevs[];
extern const char *pc_class_types[];
extern const char *class_menu;
extern struct guild_info_type guild_info[];
#endif /* _CLASS_H_*/