-
Notifications
You must be signed in to change notification settings - Fork 1
/
kots_player.h
29 lines (25 loc) · 932 Bytes
/
kots_player.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef KOTS_PLAYER_H
#define KOTS_PLAYER_H
#include "kots_character.h"
typedef struct
{
char *name;
int player;
void (*add)(edict_t *ent);
} playerpoint_t;
playerpoint_t *Kots_GetPlayerTree(char *name);
qboolean Kots_CharacterCanAddPlayer(edict_t *ent, int level, int max, int cost);
int Kots_CharacterGetNextPlayerLevelCost(edict_t *ent, int player, int level);
void Kots_CharacterAddDexterity(edict_t *ent);
void Kots_CharacterAddStrength(edict_t *ent);
void Kots_CharacterAddKarma(edict_t *ent);
void Kots_CharacterAddWisdom(edict_t *ent);
void Kots_CharacterAddTechnical(edict_t *ent);
void Kots_CharacterAddSpirit(edict_t *ent);
void Kots_CharacterAddRage(edict_t *ent);
void Kots_CharacterAddVitHealth(edict_t *ent);
void Kots_CharacterAddVitArmor(edict_t *ent);
void Kots_CharacterAddMunition(edict_t *ent);
void Kots_CharacterAddPlayer(edict_t *ent, char *player);
void Kots_CharacterSetPlayer(edict_t *ent);
#endif