summaryrefslogtreecommitdiff
path: root/src/serverobject.h
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/serverobject.h
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/serverobject.h')
-rw-r--r--src/serverobject.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index a307c421f..5e3afb57b 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -32,9 +32,11 @@ Some planning
* Server environment adds an active object, which gets the id 1
* The active object list is scanned for each client once in a while,
and it finds out what objects have been added that are not known
- by the client yet. This scan is initiated by the server and the
- result ends up directly to the server.
+ by the client yet. This scan is initiated by the Server class and
+ the result ends up directly to the server.
* A network packet is created with the info and sent to the client.
+* Environment converts objects to static data and static data to
+ objects, based on how close players are to them.
*/
@@ -148,6 +150,7 @@ public:
InventoryItem* createInventoryItem();
private:
std::string m_inventorystring;
+ v3f m_speed_f;
};
#endif