Lephisto/src/faction.h
2013-08-09 20:45:17 +01:00

25 lines
495 B
C

#pragma once
#include "colour.h"
#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);
glColour* faction_getColour(int f);
/* 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);