projects
/
traingame.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e8f1e
)
Add cloud tree
author
Nick Gasson <nick@nickg.me.uk>
Fri, 6 Nov 2009 20:37:43 +0000
(20:37 +0000)
committer
Nick Gasson <nick@nickg.me.uk>
Fri, 6 Nov 2009 20:37:43 +0000
(20:37 +0000)
src/Tree.cpp
patch
|
blob
|
history
diff --git
a/src/Tree.cpp
b/src/Tree.cpp
index 54c5a993e670bcf3cd1f01409b9d5430f793b345..463d3042de5b65db9728e1c8c53948c733fd7f96 100644
(file)
--- a/
src/Tree.cpp
+++ b/
src/Tree.cpp
@@
-38,10
+38,11
@@
Tree::Tree()
{
const char* trees[] = {
"data/images/a-tree.png",
- "data/images/a-nother-tree.png"
+ "data/images/a-nother-tree.png",
+ "data/images/cloud-tree.png"
};
- static UniformInt rnd(0,
1
);
+ static UniformInt rnd(0,
2
);
billboard = makeCylindricalBillboard(
loadTexture(trees[rnd()]));