From 6a3fa9df12d5982f84e83e1c61ff757edc1043f4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 18 Oct 2013 11:53:19 +0300 Subject: Add player:override_day_night_ratio() for arbitrarily controlling sunlight brightness --- src/clientserver.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/clientserver.h') diff --git a/src/clientserver.h b/src/clientserver.h index ecdc644dc..29d01e5ae 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -519,6 +519,13 @@ enum ToClientCommand u8 len u8[len] param */ + + TOCLIENT_OVERRIDE_DAY_NIGHT_RATIO = 0x50, + /* + u16 command + u8 do_override (boolean) + u16 day-night ratio 0...65535 + */ }; enum ToServerCommand -- cgit v1.2.3