<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://wiki.lostsouls.org/w/skins/common/feed.css"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.lostsouls.org/w/index.php?action=history&amp;feed=atom&amp;title=Man_calendar</id>
		<title>Man calendar - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.lostsouls.org/w/index.php?action=history&amp;feed=atom&amp;title=Man_calendar"/>
		<link rel="alternate" type="text/html" href="http://wiki.lostsouls.org/w/index.php?title=Man_calendar&amp;action=history"/>
		<updated>2026-04-29T14:40:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.8.2</generator>

	<entry>
		<id>http://wiki.lostsouls.org/w/index.php?title=Man_calendar&amp;diff=24141&amp;oldid=prev</id>
		<title>Bladestorm at 22:17, 14 November 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.lostsouls.org/w/index.php?title=Man_calendar&amp;diff=24141&amp;oldid=prev"/>
				<updated>2011-11-14T22:17:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 22:17, 14 November 2011&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 65:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 65:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;SEE ALSO&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;SEE ALSO&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;[[man cgtime|cgtime(efun)]], [[man cgtimef|cgtimef(efun)]], [[man gtime|gtime(efun)]], [[man time|time(build)]], [[man weather|weather(concept)]]&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;[[man cgtime|cgtime(efun)]], [[man cgtimef|cgtimef(efun)]], [[man gtime|gtime(efun)]], [[man time|time(build)]], [[man weather|weather(concept)]]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;Also from /txt/lit/game/Calendar_Template&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ||  Ispran   ||   Thoso   ||   Entil   ||   Chomo   ||   Harim   ||   Tuao    ||&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ||     1     ||     2     ||     3     ||     4     ||     5     ||     6     ||&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ||     7     ||     8     ||     9     ||    10     ||    11     ||    12     ||&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ||    13     ||    14     ||    15     ||    16     ||    17     ||    18     ||&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ||    19     ||    20     ||    21     ||    22     ||    23     ||    24     ||&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ||    25     ||    26     ||    27     ||    28     ||    29     ||    30     ||&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; ================================================================================&lt;/td&gt;&lt;/tr&gt;

			&lt;/table&gt;
		</summary>
		<author><name>Bladestorm</name></author>	</entry>

	<entry>
		<id>http://wiki.lostsouls.org/w/index.php?title=Man_calendar&amp;diff=4007&amp;oldid=prev</id>
		<title>Laine at 22:55, 11 June 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.lostsouls.org/w/index.php?title=Man_calendar&amp;diff=4007&amp;oldid=prev"/>
				<updated>2007-06-11T22:55:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This file will detail the effects of the calendar.  This will be a general&lt;br /&gt;
outline of the structure of the Lost Souls calendar, the gtime() efun&lt;br /&gt;
and the weather system (which are all tied together).&lt;br /&gt;
&lt;br /&gt;
Each year on Lost Souls has 10 months, each month is comprised of 30 days,&lt;br /&gt;
each day has 30 hours, and each hour is comprised of 60 minutes of 60&lt;br /&gt;
seconds each.  All of these values are stored in /lib/time.h in the form&lt;br /&gt;
of &amp;lt;Division&amp;gt;_Per_&amp;lt;Unit&amp;gt; (ie. Seconds_Per_Minute), and /lib/time.h&lt;br /&gt;
also provides shortcut functions for conversions, the most important of w&lt;br /&gt;
which is convert_date(), which accepts an integer in the form of gtime(),&lt;br /&gt;
and converts it into an array of integers representing the year, month,&lt;br /&gt;
etc.  The position of the values in the array are defined to be DATE_YEAR,&lt;br /&gt;
DATE_MONTH, DATE_DAY, DATE_HOUR, DATE_MINUTE, DATE_SECOND.&lt;br /&gt;
&lt;br /&gt;
The former game clock has been converted from a primitive call_out &lt;br /&gt;
mechanism to an algorithm based upon 'real' time.  As a result, all of &lt;br /&gt;
the functionality that the game clock provided can be handled by calling &lt;br /&gt;
the new efun gtime() and using the values stored in /lib/time.h to calculate&lt;br /&gt;
any value you think you need.&lt;br /&gt;
&lt;br /&gt;
Below are old functions from game_clock.c (now retired),&lt;br /&gt;
what they did, and the modern equivalent.&lt;br /&gt;
   [ query_season(),  query_moon(), and  query_night() are in&lt;br /&gt;
    the weather daemon now.]&lt;br /&gt;
&lt;br /&gt;
 query_month() - Returns numerical month value.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%l&amp;quot;,gtime()));&lt;br /&gt;
 query_month_s() - Returns month name.&lt;br /&gt;
   cgtimef(&amp;quot;%M&amp;quot;,gtime());&lt;br /&gt;
 query_day() - Returns numerical day of the month.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%d&amp;quot;,gtime()));&lt;br /&gt;
 query_year() - Returns year.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%y&amp;quot;,gtime()));&lt;br /&gt;
 query_date() - Returns date as mm/dd/yy.&lt;br /&gt;
   cgtimef(&amp;quot;%l/%d/%y&amp;quot;,gtime());&lt;br /&gt;
 query_date_s() - Returns date as Mm dd, yy.&lt;br /&gt;
   cgtimef(&amp;quot;%M %d, %y&amp;quot;,gtime());&lt;br /&gt;
 query_minute() - Returns minutes past the hour.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%m&amp;quot;,gtime()));&lt;br /&gt;
 query_hour() - Returns hour in 30 hour cycle.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%h&amp;quot;,gtime()));&lt;br /&gt;
 query_15_hour() - Returns hour in 15 hour cycle.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%H&amp;quot;,gtime()));&lt;br /&gt;
 query_10_hour() - Returns hour in 10 hour cycle.&lt;br /&gt;
   to_int(cgtimef(&amp;quot;%g&amp;quot;,gtime()));&lt;br /&gt;
 query_am() - Returns true if am.&lt;br /&gt;
   (cgtimef(&amp;quot;%D&amp;quot;,gtime())==AMPM15[0]); &lt;br /&gt;
 query_pm() - Returns true if pm.&lt;br /&gt;
   (cgtimef(&amp;quot;%D&amp;quot;,gtime())==AMPM15[1]);&lt;br /&gt;
 query_noon() - Returns true if noon.&lt;br /&gt;
   ( query_30_hour()==(Hours_Per_Day/2-1)&amp;amp;&amp;amp;! query_minute());&lt;br /&gt;
 query_midnight() - Returns true if midnight.&lt;br /&gt;
   ( query_30_hour()==0&amp;amp;&amp;amp;! query_minute());&lt;br /&gt;
 query_time() - Returns time in 30 hour cycle.&lt;br /&gt;
   cgtimef(&amp;quot;%T&amp;quot;,gtime());&lt;br /&gt;
 query_time_10() - Returns time in 10 hour cycle.&lt;br /&gt;
   cgtimef(&amp;quot;%I&amp;quot;,gtime());&lt;br /&gt;
 query_time_15() - Returns time in 15 hour cycle.&lt;br /&gt;
   cgtimef(&amp;quot;%i&amp;quot;,gtime());&lt;br /&gt;
 query_abs_day() - Returns day number since start of calendar system.&lt;br /&gt;
   gtime()/Minutes_Per_Day;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO&lt;br /&gt;
[[man cgtime|cgtime(efun)]], [[man cgtimef|cgtimef(efun)]], [[man gtime|gtime(efun)]], [[man time|time(build)]], [[man weather|weather(concept)]]&lt;/div&gt;</summary>
		<author><name>Laine</name></author>	</entry>

	</feed>