From f0eb6a7b101afba52f33c5286e15a862ee68c64e Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 7 May 2011 16:06:08 +0200 Subject: Replace static heightmap with perlin noise using libnoise and noiseutils. --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index c046bb5..0c5f2b6 100644 --- a/SConstruct +++ b/SConstruct @@ -8,7 +8,7 @@ AddOption('--release', action = 'store_true') AddOption('--profiling', action = 'store_true') env.Append(CPPPATH = ['.']) -env.Append(LIBS = ['GL', 'GLU']) +env.Append(LIBS = ['GL', 'GLU', 'noise']) env.ParseConfig('sdl-config --cflags --libs') env.ParseConfig('pkg-config --cflags --libs SDL_image') env.ParseConfig('pkg-config --cflags --libs ftgl') @@ -24,6 +24,6 @@ if GetOption('profiling'): Export('env') -env.Program('foo', Glob('*.cpp')) +env.Program('foo', Glob('*.cpp') + ['noiseutils/noiseutils.cpp']) # vim: syn=python -- cgit v1.2.3 From 0073f833c88f4a25dadc777495639069ba9d7bed Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 9 May 2011 23:47:45 +0200 Subject: Simple flat file-based saving and loading of chunks. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 0c5f2b6..bec2ba8 100644 --- a/SConstruct +++ b/SConstruct @@ -8,7 +8,7 @@ AddOption('--release', action = 'store_true') AddOption('--profiling', action = 'store_true') env.Append(CPPPATH = ['.']) -env.Append(LIBS = ['GL', 'GLU', 'noise']) +env.Append(LIBS = ['GL', 'GLU', 'noise', 'boost_filesystem']) env.ParseConfig('sdl-config --cflags --libs') env.ParseConfig('pkg-config --cflags --libs SDL_image') env.ParseConfig('pkg-config --cflags --libs ftgl') -- cgit v1.2.3