diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-01 19:31:19 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-01 19:31:19 +0200 |
commit | 6fdbdea4e65b75ac9ebda91320deb656655d3af5 (patch) | |
tree | 409c8a8da5ccdf8b527ffec9632ec3d6fbb9609e /terrain_loader.h | |
parent | 8771dde21514e754a7eb774f7047d17c226d6212 (diff) |
A bunch of network-related changes.
Diffstat (limited to 'terrain_loader.h')
-rw-r--r-- | terrain_loader.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/terrain_loader.h b/terrain_loader.h deleted file mode 100644 index 7efa596..0000000 --- a/terrain_loader.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef TERRAIN_LOADER_H -#define TERRAIN_LOADER_H - -#include <boost/filesystem.hpp> - -namespace fs = boost::filesystem; - -class TerrainLoader { - private: - int seed; - fs::path root; - - public: - TerrainLoader(int seed, fs::path root); - virtual ~TerrainLoader(); - - float *generate_heights(int x, int y, int width, int height); - float *get_chunk(int x, int y, int width, int height); - bool has_chunk(int x, int y); - void save_chunk(float *chunk, int x, int y, int width, int height); - float *load_chunk(int x, int y, int width, int height); - -}; - -#endif |