marrub
/
Lithia
Archived
1
0
Fork 0
This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues/pull-requests.
Lithia/source/Headers/lith_attrib.h

39 lines
574 B
C

// Copyright © 2017 Graham Sanderson, all rights reserved.
#ifndef LITH_ATTRIB_H
#define LITH_ATTRIB_H
#define ATTR_MAX 150
#define ATTR_VIS_MAX 100
#define ATTR_VIS_DIFF (ATTR_MAX - ATTR_VIS_MAX)
enum
{
at_acc,
at_def,
at_str,
at_vit,
at_stm,
at_luk,
at_rge,
at_max
};
struct player_attr_theta
{
u32 points;
u32 attrs[at_max];
};
struct player_attributes
{
bool autolevel;
u64 exp, expnext;
u32 level;
__str names[at_max];
anonymous struct player_attr_theta cur;
struct player_attr_theta sup;
};
#endif