summaryrefslogtreecommitdiff
path: root/src/clientserver.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-18 13:10:37 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-18 13:10:37 +0200
commit15a43c5ed02130f1b1e07a0385530da197b0c846 (patch)
tree94851572e9e711dd5c5f5d6ef2e84680166de35b /src/clientserver.h
parent385dd9917fd4ced23a704f0566779d58f5a6b727 (diff)
downloadminetest-15a43c5ed02130f1b1e07a0385530da197b0c846.tar.gz
minetest-15a43c5ed02130f1b1e07a0385530da197b0c846.tar.bz2
minetest-15a43c5ed02130f1b1e07a0385530da197b0c846.zip
before adding day/night lighting
--HG-- rename : data/light.png => data/cloud.png
Diffstat (limited to 'src/clientserver.h')
-rw-r--r--src/clientserver.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/clientserver.h b/src/clientserver.h
index 9d3545907..4526083da 100644
--- a/src/clientserver.h
+++ b/src/clientserver.h
@@ -159,22 +159,21 @@ enum ToServerCommand
[11] u16 item
*/
- TOSERVER_PRESS_GROUND = 0x28,
+ TOSERVER_GROUND_ACTION = 0x28,
/*
length: 17
[0] u16 command
- [2] u8 button (0=left, 1=right)
+ [2] u8 action
[3] v3s16 nodepos_undersurface
[9] v3s16 nodepos_abovesurface
[15] u16 item
+ actions:
+ 0: start digging (from undersurface)
+ 1: place block (to abovesurface)
+ 2: stop digging (all parameters ignored)
*/
- TOSERVER_RELEASE = 0x29,
- /*
- length: 3
- [0] u16 command
- [2] u8 button
- */
+ TOSERVER_RELEASE = 0x29, // Not used
TOSERVER_SIGNTEXT = 0x30,
/*