view src/terrain.h @ 13:ed82a42ba89d

Added code to cause missiles, fighters and plasmas to get confused in nebulous terrain. If it gets confused then it picks a random direction to go.
author darius
date Sat, 06 Dec 1997 06:27:03 +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();