view src/terrain.h @ 14:b7fe2e0e4b86

Added #defines which hold the chance of nebulous terrain affecting your weapons systems.
author darius
date Sat, 06 Dec 1997 06:27:50 +0000
parents 0836fb919dfa
children
line wrap: on
line source

#define TERRAIN_TYPE(X,Y) terrain_grid[X*TGRID_SIZE + Y].types

extern void generate_terrain();
extern void place_nebula(int num_nebula, int num_seeds, int minalt);
extern void place_asteroids(int altitude);
extern void doTerrainEffects();