summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-10 12:34:12 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-10 12:34:12 +0300
commit08bbf9687742c0b159cc1d963ab470796f74c6c8 (patch)
tree2e49b47fd1572b36e78016f47b7df01a7926e029 /src/main.cpp
parentfd7a0735c9aeaa7978190049319e3cdfe48920a4 (diff)
downloadminetest-08bbf9687742c0b159cc1d963ab470796f74c6c8.tar.gz
minetest-08bbf9687742c0b159cc1d963ab470796f74c6c8.tar.bz2
minetest-08bbf9687742c0b159cc1d963ab470796f74c6c8.zip
items now fall by gravity... also some other random updating
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7749266d9..92c012a90 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -72,10 +72,6 @@ SUGG: Split MapBlockObject serialization to to-client and to-disk
them to clients
- Not applicable. MapBlockObjects will be removed in the future.
-SUGG: MovingObject::move and Player::move are basically the same.
- combine them.
- - NOTE: Player::move is more up-to-date.
-
SUGG: Precalculate lighting translation table at runtime (at startup)
- This is not doable because it is currently hand-made and not
based on some mathematical function.
@@ -204,6 +200,10 @@ Objects:
TODO: Get rid of MapBlockObjects and use ActiveObjects
+SUGG: MovingObject::move and Player::move are basically the same.
+ combine them.
+ - NOTE: Player::move is more up-to-date.
+
Map:
----
@@ -2602,7 +2602,8 @@ int main(int argc, char *argv[])
core::aabbox3d<f32> *selection_box
= selected_active_object->getSelectionBox();
- // Box should exist because it was returned in the first place
+ // Box should exist because object was returned in the
+ // first place
assert(selection_box);
v3f pos = selected_active_object->getPosition();
@@ -2614,8 +2615,8 @@ int main(int argc, char *argv[])
hilightboxes.push_back(box_on_map);
- infotext = narrow_to_wide("A ClientActiveObject");
- //infotext = narrow_to_wide(selected_object->infoText());
+ //infotext = narrow_to_wide("A ClientActiveObject");
+ infotext = narrow_to_wide(selected_active_object->infoText());
if(g_input->getLeftClicked())
{