Lephisto/src/faction.h

23 lines
439 B
C

#pragma once
#define FACTION_PLAYER 0
/* Get stuff. */
int faction_get(const char* name);
char* faction_name(int f);
char* faction_longname(int f);
/* Player stuff. */
void faction_modPlayer(int f, int mod);
int faction_getPlayer(int f);
char* faction_getStanding(int mod);
/* Works with only factions. */
int areEnemies(int a, int b);
int areAllies(int a, int b);
/* Load/Free. */
int factions_load(void);
void factions_free(void);