A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/room/query_day
Name: query_day - get day information from a room
Syntax:
#include <room2.h>
int query_day()
Description:
The query_day call returns the day condition, set by the weather
object, from a room. This information is also directly available
from the weather object, but normally it is faster to query it from
the room you are in.
Return value:
1 if it is day, 0 if it is night
Examples:
int day;
day=query_day();
See also:
This page was generated in LPC
Imprint / Impressum