Lephisto/src/faction.h
Allanis d46f509ee5 [Add] Faction system almost done.
[Add] Fleets almost complete, just need to randomize start location.
2013-02-08 16:04:24 +00:00

20 lines
325 B
C

#pragma once
typedef struct Faction {
char* name;
struct Faction** enemies;
int nenemies;
struct Faction** allies;
int nallies;
} Faction;
Faction* faction_get(const char* name);
int areEnemies(Faction* a, Faction* b);
int areAllies(Faction* a, Faction* b);
int factions_load(void);
void factions_free(void);