summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-11-30 15:35:03 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-11-30 15:35:03 +0200
commit38353751c9f4e03fb6a0b855e6d8b5691af71dc0 (patch)
treefb3b6b96b37704382560ed735d26099338853bae /src/main.cpp
parent4a8973aeac1d44b78e44efde113e5c47bb3a803b (diff)
downloadminetest-38353751c9f4e03fb6a0b855e6d8b5691af71dc0.tar.gz
minetest-38353751c9f4e03fb6a0b855e6d8b5691af71dc0.tar.bz2
minetest-38353751c9f4e03fb6a0b855e6d8b5691af71dc0.zip
better water
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a2185450f..677f03843 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -167,6 +167,12 @@ TODO: Check what goes wrong with caching map to disk (Kray)
TODO: Remove LazyMeshUpdater. It is not used as supposed.
+FIXME: Rats somehow go underground sometimes (you can see it in water)
+ - Does their position get saved to a border value or something?
+
+TODO: MovingObject::move and Player::move are basically the same.
+ combine them.
+
Doing now:
======================================================================
@@ -1013,6 +1019,19 @@ int main(int argc, char *argv[])
*/
std::cout<<std::endl<<std::endl;
+
+ std::cout
+ <<" .__ __ __ "<<std::endl
+ <<" _____ |__| ____ _____/ |_ ____ _______/ |_ "<<std::endl
+ <<" / \\| |/ \\_/ __ \\ __\\/ __ \\ / ___/\\ __\\"<<std::endl
+ <<"| Y Y \\ | | \\ ___/| | \\ ___/ \\___ \\ | | "<<std::endl
+ <<"|__|_| /__|___| /\\___ >__| \\___ >____ > |__| "<<std::endl
+ <<" \\/ \\/ \\/ \\/ \\/ "<<std::endl
+ <<std::endl
+ <<"Now with more waterish water!"
+ <<std::endl;
+
+ std::cout<<std::endl;
char templine[100];
// Dedicated?
@@ -1830,9 +1849,8 @@ int main(int argc, char *argv[])
for(s16 x = xstart; x <= xend; x++)
{
try{
- if(client.getNode(v3s16(x,y,z)).d == MATERIAL_AIR){
+ if(material_pointable(client.getNode(v3s16(x,y,z)).d) == false)
continue;
- }
}catch(InvalidPositionException &e){
continue;
}