#define MAP_SIZE 96 // Rand.h #ifndef _RAND_H #define _RAND_H #define RAND_MAX 32767 #if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) extern "C" { #endif extern int rand(void); extern void srand(unsigned int); #if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) } #endif #endif // Abs.h #define Abs(a) ( ((a) < 0) ? (-(a)) : (a) ) void GenerateMap(u_char map[MAP_SIZE][MAP_SIZE], int seed);