2022-05-19 01:51:26 -07:00
|
|
|
#ifndef TRAIT_H
|
|
|
|
#define TRAIT_H
|
|
|
|
|
|
|
|
#include "db.h"
|
|
|
|
#include "trait_defs.h"
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
namespace fallout {
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
int traitsInit();
|
|
|
|
void traitsReset();
|
|
|
|
void traitsExit();
|
|
|
|
int traitsLoad(File* stream);
|
|
|
|
int traitsSave(File* stream);
|
|
|
|
void traitsSetSelected(int trait1, int trait2);
|
|
|
|
void traitsGetSelected(int* trait1, int* trait2);
|
|
|
|
char* traitGetName(int trait);
|
|
|
|
char* traitGetDescription(int trait);
|
|
|
|
int traitGetFrmId(int trait);
|
|
|
|
bool traitIsSelected(int trait);
|
|
|
|
int traitGetStatModifier(int stat);
|
|
|
|
int traitGetSkillModifier(int skill);
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
} // namespace fallout
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
#endif /* TRAIT_H */
|