-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
61 lines (44 loc) · 2.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
###########################################################################
# ABOUT
###########################################################################
Digbuild is an experimental project to create a voxel-based game with many
similarities to Minecraft (and many improvements as well).
###########################################################################
# DEPENDENCIES
###########################################################################
The following libraries are required to build Digbuild:
* Agar (http://libagar.org)
* Boost
* GL
* GLEW
* GLU
* GMTL (http://sourceforge.net/projects/ggt)
* SDL
* SDL Image
* Threadpool (http://threadpool.sourceforge.net)
On Ubuntu 11.04 you can use ubuntu1104.sh to install these.
###########################################################################
# BUILDING
###########################################################################
In the top-level Digbuild directory, run 'scons'. Depending on where your
Boost and GMTL header files are installed, you may need to use the following
options:
--boost-include-dir=<PATH>
--gmtl-include-dir=<PATH>
The following arguments may also be used to configure the build:
optimize=(1|0) # Build the binary with optimizations.
assert=(1|0) # Build the binary with assertions left in.
release=(1|0) # Strip the binary, etc.
profile=(1|0) # Build gprof profiling information into the binary.
The 'define' argument accepts a comma separated list of C++ macros to define:
define=DEBUG_CHUNKS,DEBUG_COLLISIONS,DEBUG_CHUNK_UPDATES,DEBUG_TIMERS
The following build targets may be useful:
run # Run the binary (after building it if necessary).
prof # Run the binary and generate profiling output when it exits.
src/tags # Build an exuberant-ctags database file.
###########################################################################
# CREDITS
###########################################################################
Author: Evan Mezeske
Special thanks to Paul Bourke for his excellent free textures:
http://paulbourke.net/texture_colour/