--- crossfire/include ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: tod.h
Revision 1.11mwedel 2006/03/08 00:58:19 +28 -1
Add proper banner/copyright to this file.
MSW 2006-03-07
Show difference between Revision 1.10 and 1.11
Revision 1.10akirschbaum 2005/11/01 02:58:43 +6 -6
General cleanup of weather code.
Show difference between Revision 1.9 and 1.10
Revision 1.9garbled 2003/07/15 11:45:28 +9 -1
Bah.. stupid me forgot to check in this file last night.
Show difference between Revision 1.8 and 1.9
Revision 1.8tchize 2003/06/30 14:14:13 +2 -1


Various code optimisations to help preventing peeks at maploads. Includes:
* rewritten saving of objects, removed needs for sprintf calls and most strlen calls
* modified map structures for saving of a very small amount of additionnal precalculated datas for weather
* added FAST_xxx macros for fast string manipulations
Show difference between Revision 1.7 and 1.8
Revision 1.7garbled 2002/12/08 22:03:39 +3 -2
Header changes for the weather stuff.
Show difference between Revision 1.6 and 1.7
Revision 1.6garbled 2002/11/26 19:51:04 +15 -0
Add yet another table and function. plant_a_garden(). Allows for herb
(and whatnot) growth on the map.
Show difference between Revision 1.5 and 1.6
Revision 1.5garbled 2002/11/26 15:53:28 +7 -0
Change singing_in_the_rain and let_it_snow to use a table lookup, rather
than embedding the names of all the special arches used to make it snow/rain.

Add my name to this file's copyright, as I think I deserve it. :)
Show difference between Revision 1.4 and 1.5
Revision 1.4garbled 2002/11/26 04:00:06 +5 -0
Change avoid_weather() to use a table lookup located at the beginning of
weather.c, rather than a mess of ifs/elses.
Show difference between Revision 1.3 and 1.4
Revision 1.3garbled 2002/11/08 02:45:26 +39 -0
Move the weather defines into tod.h. Add a function pointer for the
weather_effect command, so it can be called from ready_map.
Show difference between Revision 1.2 and 1.3
Revision 1.2garbled 2002/01/01 18:26:28 +6 -0
Clean up some missing prototypes, protect tod.h against multiple inclusion,
and generally make -Wmissing-prototypes happier.
Show difference between Revision 1.1 and 1.2
Revision 1.1garbled 2001/12/18 02:58:03 None
Lots of changes here. Basically implement a night and day system, as
well as tracking of game time. A clockdata file is now created and
updated by the server to increment time. Time increases by 1 hour,
approximately every 2 minutes of real time. Right now this code has
virtually no effect, but as maps are updated with outdoor settings,
nightfall will occur automatically. The time command has been modified
to show the current game time, and the clock objects have been changed to
show the game time as well.
garbled 2001-12-18
First version


File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:32