Clean up a little bit.
[runemen.git] / src / game.c
blobd8362405e66c29a3e446a3dd1d4dbc098b02c9de
1 #include "game.h"
2 #include "mana.h"
4 unit_t units[MAX_UNITS];
5 house_t houses[MAX_HOUSES];
6 int num_houses = 0;
7 int num_units = 0;
9 pool_t pools[MAX_POOLS];
10 int num_pools = 0;
12 faction_t factions[8];
14 /*** ***/
16 const char stat_names[MAX_STAT][80] = {
17 "STR", "DEX", "CON", "INT", "MET", "CHR",
20 const char stat_long_names[MAX_STAT][80] = {
21 "Strength", "Dexterity", "Constitution", "Intelligence",
22 "Metablosim", "Charisma"
25 const char stat_descriptions[MAX_STAT][1024] = {
26 /* STR */ "",
27 /* DEX */ "",
28 /* CON */ "",
29 /* INT */ "Improves magic ability,\nmemory and wits.",
30 /* MET */ "",
31 /* CHR */ "",
34 const char state_names[4][80] = {
35 "Free Man", "Devotee", "Vector", "Rune Lord"
38 Uint8 scent_human[LEVEL_H][LEVEL_W];
40 Uint8 fog[LEVEL_H][LEVEL_W] = { { 1 } }; /* could be condensed to 1-bpp */
42 unit_t* unit_grid[LEVEL_H][LEVEL_W];
43 house_t* house_grid[LEVEL_H][LEVEL_W];