skills.cc File Reference

#include "AppHdr.h"
#include "skills.h"
#include <algorithm>
#include <string.h>
#include <stdlib.h>
#include "externs.h"
#include "godabil.h"
#include "hints.h"
#include "itemprop.h"
#include "notes.h"
#include "output.h"
#include "player.h"
#include "random.h"
#include "skills2.h"
#include "spl-cast.h"
#include "sprint.h"
#include "state.h"

Include dependency graph for skills.cc:


Defines

#define MAX_COST_LIMIT   250
#define MAX_SPENDING_LIMIT   250

Functions

int skill_cost_needed (int level)
void calc_total_skill_points (void)
int calc_skill_cost (int skill_cost_level, int skill_level)
void check_skill_level_change (skill_type sk, bool do_level_up)
int exercise (skill_type exsk, int deg)
void change_skill_points (skill_type sk, int points, bool do_level_up)

Define Documentation

#define MAX_COST_LIMIT   250

#define MAX_SPENDING_LIMIT   250


Function Documentation

int calc_skill_cost ( int  skill_cost_level,
int  skill_level 
)

Here is the call graph for this function:

void calc_total_skill_points ( void   ) 

Here is the call graph for this function:

void change_skill_points ( skill_type  sk,
int  points,
bool  do_level_up 
)

Here is the call graph for this function:

void check_skill_level_change ( skill_type  sk,
bool  do_level_up 
)

Here is the call graph for this function:

int exercise ( skill_type  exsk,
int  deg 
)

Here is the call graph for this function:

int skill_cost_needed ( int  level  ) 


Generated on Thu Jan 13 13:22:12 2011 by  doxygen 1.5.6